Home
last modified time | relevance | path

Searched refs:dma_outb (Results 1 – 7 of 7) sorted by relevance

/arch/powerpc/include/asm/
Ddma.h37 #define dma_outb outb_p macro
39 #define dma_outb outb macro
191 dma_outb(0, DMA2_MASK_REG); /* This may not be enabled */ in enable_dma()
192 dma_outb(ucDmaCmd, DMA2_CMD_REG); /* Enable group */ in enable_dma()
195 dma_outb(dmanr, DMA1_MASK_REG); in enable_dma()
196 dma_outb(ucDmaCmd, DMA1_CMD_REG); /* Enable group */ in enable_dma()
198 dma_outb(dmanr & 3, DMA2_MASK_REG); in enable_dma()
205 dma_outb(dmanr | 4, DMA1_MASK_REG); in disable_dma()
207 dma_outb((dmanr & 3) | 4, DMA2_MASK_REG); in disable_dma()
220 dma_outb(0, DMA1_CLEAR_FF_REG); in clear_dma_ff()
[all …]
/arch/alpha/include/asm/
Ddma.h24 #define dma_outb outb macro
216 dma_outb(dmanr, DMA1_MASK_REG); in enable_dma()
218 dma_outb(dmanr & 3, DMA2_MASK_REG); in enable_dma()
224 dma_outb(dmanr | 4, DMA1_MASK_REG); in disable_dma()
226 dma_outb((dmanr & 3) | 4, DMA2_MASK_REG); in disable_dma()
239 dma_outb(0, DMA1_CLEAR_FF_REG); in clear_dma_ff()
241 dma_outb(0, DMA2_CLEAR_FF_REG); in clear_dma_ff()
248 dma_outb(mode | dmanr, DMA1_MODE_REG); in set_dma_mode()
250 dma_outb(mode | (dmanr&3), DMA2_MODE_REG); in set_dma_mode()
257 dma_outb(ext_mode | dmanr, DMA1_EXT_MODE_REG); in set_dma_ext_mode()
[all …]
/arch/x86/include/asm/
Ddma.h15 #define dma_outb outb_p macro
17 #define dma_outb outb macro
169 dma_outb(dmanr, DMA1_MASK_REG); in enable_dma()
171 dma_outb(dmanr & 3, DMA2_MASK_REG); in enable_dma()
177 dma_outb(dmanr | 4, DMA1_MASK_REG); in disable_dma()
179 dma_outb((dmanr & 3) | 4, DMA2_MASK_REG); in disable_dma()
192 dma_outb(0, DMA1_CLEAR_FF_REG); in clear_dma_ff()
194 dma_outb(0, DMA2_CLEAR_FF_REG); in clear_dma_ff()
201 dma_outb(mode | dmanr, DMA1_MODE_REG); in set_dma_mode()
203 dma_outb(mode | (dmanr & 3), DMA2_MODE_REG); in set_dma_mode()
[all …]
/arch/mips/include/asm/
Ddma.h21 #define dma_outb outb_p macro
23 #define dma_outb outb macro
175 dma_outb(dmanr, DMA1_MASK_REG); in enable_dma()
177 dma_outb(dmanr & 3, DMA2_MASK_REG); in enable_dma()
183 dma_outb(dmanr | 4, DMA1_MASK_REG); in disable_dma()
185 dma_outb((dmanr & 3) | 4, DMA2_MASK_REG); in disable_dma()
198 dma_outb(0, DMA1_CLEAR_FF_REG); in clear_dma_ff()
200 dma_outb(0, DMA2_CLEAR_FF_REG); in clear_dma_ff()
207 dma_outb(mode | dmanr, DMA1_MODE_REG); in set_dma_mode()
209 dma_outb(mode | (dmanr&3), DMA2_MODE_REG); in set_dma_mode()
[all …]
/arch/m68k/include/asm/
Dapollodma.h16 #define dma_outb(val,addr) (*((volatile unsigned char *)(addr+IO_BASE)) = (val)) macro
144 dma_outb(dmanr, DMA1_MASK_REG); in enable_dma()
146 dma_outb(dmanr & 3, DMA2_MASK_REG); in enable_dma()
152 dma_outb(dmanr | 4, DMA1_MASK_REG); in disable_dma()
154 dma_outb((dmanr & 3) | 4, DMA2_MASK_REG); in disable_dma()
167 dma_outb(0, DMA1_CLEAR_FF_REG); in clear_dma_ff()
169 dma_outb(0, DMA2_CLEAR_FF_REG); in clear_dma_ff()
176 dma_outb(mode | dmanr, DMA1_MODE_REG); in set_dma_mode()
178 dma_outb(mode | (dmanr&3), DMA2_MODE_REG); in set_dma_mode()
187 dma_outb( a & 0xff, ((dmanr&3)<<1) + IO_DMA1_BASE ); in set_dma_addr()
[all …]
/arch/parisc/include/asm/
Ddma.h13 #define dma_outb outb macro
110 dma_outb(dmanr, DMA1_MASK_REG); in enable_dma()
112 dma_outb(dmanr & 3, DMA2_MASK_REG); in enable_dma()
120 dma_outb(dmanr | 4, DMA1_MASK_REG); in disable_dma()
122 dma_outb((dmanr & 3) | 4, DMA2_MASK_REG); in disable_dma()
/arch/x86/kernel/
Di8237.c31 dma_outb(0, DMA1_RESET_REG); in i8237A_resume()
32 dma_outb(0, DMA2_RESET_REG); in i8237A_resume()