Searched refs:dma_alloc_map (Results 1 – 1 of 1) sorted by relevance
69 static char dma_alloc_map[MAX_DMA_CHANNELS]; variable592 if (dma_alloc_map[i] != DMA_MAP_UNAVAIL) { in oss_cleanup()616 dma_alloc_map[chn] = DMA_MAP_FREE; in sound_alloc_dma()629 if (dma_alloc_map[chn] != DMA_MAP_FREE) { in sound_open_dma()630 printk("sound_open_dma: DMA channel %d busy or not allocated (%d)\n", chn, dma_alloc_map[chn]); in sound_open_dma()633 dma_alloc_map[chn] = DMA_MAP_BUSY; in sound_open_dma()640 if (dma_alloc_map[chn] == DMA_MAP_UNAVAIL) { in sound_free_dma()645 dma_alloc_map[chn] = DMA_MAP_UNAVAIL; in sound_free_dma()651 if (dma_alloc_map[chn] != DMA_MAP_BUSY) { in sound_close_dma()655 dma_alloc_map[chn] = DMA_MAP_FREE; in sound_close_dma()