Searched refs:dma_alloc_map (Results 1 – 1 of 1) sorted by relevance
69 static char dma_alloc_map[MAX_DMA_CHANNELS] = {0}; variable637 if (dma_alloc_map[i] != DMA_MAP_UNAVAIL) { in oss_cleanup()659 dma_alloc_map[chn] = DMA_MAP_FREE; in sound_alloc_dma()675 if (dma_alloc_map[chn] != DMA_MAP_FREE) { in sound_open_dma()676 printk("sound_open_dma: DMA channel %d busy or not allocated (%d)\n", chn, dma_alloc_map[chn]); in sound_open_dma()680 dma_alloc_map[chn] = DMA_MAP_BUSY; in sound_open_dma()687 if (dma_alloc_map[chn] == DMA_MAP_UNAVAIL) { in sound_free_dma()692 dma_alloc_map[chn] = DMA_MAP_UNAVAIL; in sound_free_dma()702 if (dma_alloc_map[chn] != DMA_MAP_BUSY) { in sound_close_dma()707 dma_alloc_map[chn] = DMA_MAP_FREE; in sound_close_dma()