Lines Matching refs:dma_outb

18 #define dma_outb	outb_p  macro
20 #define dma_outb outb macro
156 dma_outb(dmanr, DMA1_MASK_REG); in enable_dma()
158 dma_outb(dmanr & 3, DMA2_MASK_REG); in enable_dma()
164 dma_outb(dmanr | 4, DMA1_MASK_REG); in disable_dma()
166 dma_outb((dmanr & 3) | 4, DMA2_MASK_REG); in disable_dma()
179 dma_outb(0, DMA1_CLEAR_FF_REG); in clear_dma_ff()
181 dma_outb(0, DMA2_CLEAR_FF_REG); in clear_dma_ff()
188 dma_outb(mode | dmanr, DMA1_MODE_REG); in set_dma_mode()
190 dma_outb(mode | (dmanr&3), DMA2_MODE_REG); in set_dma_mode()
202 dma_outb(pagenr, DMA_PAGE_0); in set_dma_page()
205 dma_outb(pagenr, DMA_PAGE_1); in set_dma_page()
208 dma_outb(pagenr, DMA_PAGE_2); in set_dma_page()
211 dma_outb(pagenr, DMA_PAGE_3); in set_dma_page()
214 dma_outb(pagenr & 0xfe, DMA_PAGE_5); in set_dma_page()
217 dma_outb(pagenr & 0xfe, DMA_PAGE_6); in set_dma_page()
220 dma_outb(pagenr & 0xfe, DMA_PAGE_7); in set_dma_page()
233 dma_outb( a & 0xff, ((dmanr&3)<<1) + IO_DMA1_BASE ); in set_dma_addr()
234 dma_outb( (a>>8) & 0xff, ((dmanr&3)<<1) + IO_DMA1_BASE ); in set_dma_addr()
236 dma_outb( (a>>1) & 0xff, ((dmanr&3)<<2) + IO_DMA2_BASE ); in set_dma_addr()
237 dma_outb( (a>>9) & 0xff, ((dmanr&3)<<2) + IO_DMA2_BASE ); in set_dma_addr()
254 dma_outb( count & 0xff, ((dmanr&3)<<1) + 1 + IO_DMA1_BASE ); in set_dma_count()
255 dma_outb( (count>>8) & 0xff, ((dmanr&3)<<1) + 1 + IO_DMA1_BASE ); in set_dma_count()
257 dma_outb( (count>>1) & 0xff, ((dmanr&3)<<2) + 2 + IO_DMA2_BASE ); in set_dma_count()
258 dma_outb( (count>>9) & 0xff, ((dmanr&3)<<2) + 2 + IO_DMA2_BASE ); in set_dma_count()