Searched refs:dma_chan_busy (Results 1 - 1 of 1) sorted by path

/kernel/
H A Ddma.c49 /* Channel n is busy iff dma_chan_busy[n].lock != 0.
59 static struct dma_chan dma_chan_busy[MAX_DMA_CHANNELS] = { variable in typeref:struct:dma_chan
74 if (xchg(&dma_chan_busy[dmanr].lock, 1) != 0)
77 dma_chan_busy[dmanr].device_id = device_id;
94 if (xchg(&dma_chan_busy[dmanr].lock, 0) == 0) {
122 if (dma_chan_busy[i].lock) {
124 dma_chan_busy[i].device_id);

Completed in 30 milliseconds