1MCA_SET_DMA_MODE(9) Hardware Interfaces MCA_SET_DMA_MODE(9)
2
3
4
6 mca_set_dma_mode - set the DMA mode
7
9 void mca_set_dma_mode(unsigned int dmanr, unsigned int mode);
10
12 dmanr
13 DMA channel
14
15 mode
16 mode to set
17
19 The DMA controller supports several modes. The mode values you can set
20 are-
21
22 MCA_DMA_MODE_READ when reading from the DMA device.
23
24 MCA_DMA_MODE_WRITE to writing to the DMA device.
25
26 MCA_DMA_MODE_IO to do DMA to or from an I/O port.
27
28 MCA_DMA_MODE_16 to do 16bit transfers.
29
31Kernel Hackers Manual 2.6. June 2019 MCA_SET_DMA_MODE(9)