Home
last modified time | relevance | path

Searched refs:NUM_SG_DMA (Results 1 – 2 of 2) sorted by relevance

/linux-3.4.99/drivers/media/video/
Domap24xxcam-dma.c449 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()
Domap24xxcam.h56 #define NUM_SG_DMA (VIDEO_MAX_FRAME) macro
450 struct sgdma_state sg_state[NUM_SG_DMA];