Home
last modified time | relevance | path

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

/kernel/
Ddma.c70 int request_dma(unsigned int dmanr, const char * device_id) in request_dma() argument
72 if (dmanr >= MAX_DMA_CHANNELS) in request_dma()
75 if (xchg(&dma_chan_busy[dmanr].lock, 1) != 0) in request_dma()
78 dma_chan_busy[dmanr].device_id = device_id; in request_dma()
88 void free_dma(unsigned int dmanr) in free_dma() argument
90 if (dmanr >= MAX_DMA_CHANNELS) { in free_dma()
91 printk(KERN_WARNING "Trying to free DMA%d\n", dmanr); in free_dma()
95 if (xchg(&dma_chan_busy[dmanr].lock, 0) == 0) { in free_dma()
96 printk(KERN_WARNING "Trying to free free DMA%d\n", dmanr); in free_dma()
104 int request_dma(unsigned int dmanr, const char *device_id) in request_dma() argument
[all …]