Searched refs:NUM_CAMDMA_CHANNELS (Results 1 – 2 of 2) sorted by relevance
46 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 …]
50 #define NUM_CAMDMA_CHANNELS 4 macro440 struct channel_state ch_state[NUM_CAMDMA_CHANNELS];