Searched refs:NUM_SG_DMA (Results 1 – 2 of 2) sorted by relevance
449 queued_sgdma = NUM_SG_DMA - sgdma->free_sgdma; in omap24xxcam_sgdma_process()450 sgslot = (sgdma->next_sgdma + sgdma->free_sgdma) % NUM_SG_DMA; in omap24xxcam_sgdma_process()491 sgslot = (sgslot + 1) % NUM_SG_DMA; in omap24xxcam_sgdma_process()531 sgdma->next_sgdma = (sgdma->next_sgdma + 1) % NUM_SG_DMA; in omap24xxcam_sgdma_queue()559 if (sgdma->free_sgdma < NUM_SG_DMA) { in omap24xxcam_sgdma_sync()560 sgslot = (sgdma->next_sgdma + sgdma->free_sgdma) % NUM_SG_DMA; in omap24xxcam_sgdma_sync()587 sgdma->free_sgdma = NUM_SG_DMA; in omap24xxcam_sgdma_init()589 for (sg = 0; sg < NUM_SG_DMA; sg++) { in omap24xxcam_sgdma_init()
56 #define NUM_SG_DMA (VIDEO_MAX_FRAME) macro450 struct sgdma_state sg_state[NUM_SG_DMA];