Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/media/video/
Domap24xxcam-dma.c46 for (i = 0; i < NUM_CAMDMA_CHANNELS; ++i) { in omap24xxcam_dmahw_ack_all()
133 prev_dmach = NUM_CAMDMA_CHANNELS - 1; in omap24xxcam_dmahw_transfer_chain()
141 ch = (dmach + free_dmach) % NUM_CAMDMA_CHANNELS; in omap24xxcam_dmahw_transfer_chain()
153 ch = (ch + 1) % NUM_CAMDMA_CHANNELS; in omap24xxcam_dmahw_transfer_chain()
219 if (dma->free_dmach < NUM_CAMDMA_CHANNELS) { in omap24xxcam_dma_start()
230 dma->next_dmach = (dma->next_dmach + 1) % NUM_CAMDMA_CHANNELS; in omap24xxcam_dma_start()
254 dmach = (dma->next_dmach + dma->free_dmach) % NUM_CAMDMA_CHANNELS; in omap24xxcam_dma_abort()
255 for (i = 0; i < NUM_CAMDMA_CHANNELS; i++) { in omap24xxcam_dma_abort()
257 dmach = (dmach + 1) % NUM_CAMDMA_CHANNELS; in omap24xxcam_dma_abort()
265 while ((dma->free_dmach < NUM_CAMDMA_CHANNELS) && in omap24xxcam_dma_abort()
[all …]
Domap24xxcam.h50 #define NUM_CAMDMA_CHANNELS 4 macro
440 struct channel_state ch_state[NUM_CAMDMA_CHANNELS];