Lines Matching refs:dma_channel
1076 unsigned char irq, dma_channel, subversion, i, is_pci = 0; in port_detect() local
1181 dma_channel = dma_channel_table[3 - info.drqx]; in port_detect()
1188 dma_channel = NO_DMA; in port_detect()
1226 if (subversion == ISA && request_dma(dma_channel, driver_name)) { in port_detect()
1228 name, dma_channel); in port_detect()
1271 shost->dma_channel = dma_channel; in port_detect()
1294 disable_dma(dma_channel); in port_detect()
1295 clear_dma_ff(dma_channel); in port_detect()
1296 set_dma_mode(dma_channel, DMA_MODE_CASCADE); in port_detect()
1297 enable_dma(dma_channel); in port_detect()
1334 if (dma_channel == NO_DMA) in port_detect()
1337 sprintf(dma_name, "DMA %u", dma_channel); in port_detect()
1427 free_dma(dma_channel); in port_detect()
2566 if (shost->dma_channel != NO_DMA) in eata2x_release()
2567 free_dma(shost->dma_channel); in eata2x_release()