Home
last modified time | relevance | path

Searched refs:dmanr (Results 1 – 3 of 3) sorted by relevance

/external/kernel-headers/original/asm-x86/
Ddma_32.h152 static __inline__ void enable_dma(unsigned int dmanr) in enable_dma() argument
154 if (dmanr<=3) in enable_dma()
155 dma_outb(dmanr, DMA1_MASK_REG); in enable_dma()
157 dma_outb(dmanr & 3, DMA2_MASK_REG); in enable_dma()
160 static __inline__ void disable_dma(unsigned int dmanr) in disable_dma() argument
162 if (dmanr<=3) in disable_dma()
163 dma_outb(dmanr | 4, DMA1_MASK_REG); in disable_dma()
165 dma_outb((dmanr & 3) | 4, DMA2_MASK_REG); in disable_dma()
175 static __inline__ void clear_dma_ff(unsigned int dmanr) in clear_dma_ff() argument
177 if (dmanr<=3) in clear_dma_ff()
[all …]
/external/kernel-headers/original/asm-mips/
Ddma.h170 static __inline__ void enable_dma(unsigned int dmanr) in enable_dma() argument
172 if (dmanr<=3) in enable_dma()
173 dma_outb(dmanr, DMA1_MASK_REG); in enable_dma()
175 dma_outb(dmanr & 3, DMA2_MASK_REG); in enable_dma()
178 static __inline__ void disable_dma(unsigned int dmanr) in disable_dma() argument
180 if (dmanr<=3) in disable_dma()
181 dma_outb(dmanr | 4, DMA1_MASK_REG); in disable_dma()
183 dma_outb((dmanr & 3) | 4, DMA2_MASK_REG); in disable_dma()
193 static __inline__ void clear_dma_ff(unsigned int dmanr) in clear_dma_ff() argument
195 if (dmanr<=3) in clear_dma_ff()
[all …]
/external/grub/netboot/
Dlance.c183 static void enable_dma(unsigned int dmanr) in enable_dma() argument
185 if (dmanr <= 3) in enable_dma()
186 outb_p(dmanr, DMA1_MASK_REG); in enable_dma()
188 outb_p(dmanr & 3, DMA2_MASK_REG); in enable_dma()
191 static void disable_dma(unsigned int dmanr) in disable_dma() argument
193 if (dmanr <= 3) in disable_dma()
194 outb_p(dmanr | 4, DMA1_MASK_REG); in disable_dma()
196 outb_p((dmanr & 3) | 4, DMA2_MASK_REG); in disable_dma()
200 static void set_dma_mode(unsigned int dmanr, char mode) in set_dma_mode() argument
202 if (dmanr <= 3) in set_dma_mode()
[all …]