Lines Matching refs:dma_outb

25 #define dma_outb	outb  macro
217 dma_outb(dmanr, DMA1_MASK_REG); in enable_dma()
219 dma_outb(dmanr & 3, DMA2_MASK_REG); in enable_dma()
225 dma_outb(dmanr | 4, DMA1_MASK_REG); in disable_dma()
227 dma_outb((dmanr & 3) | 4, DMA2_MASK_REG); in disable_dma()
240 dma_outb(0, DMA1_CLEAR_FF_REG); in clear_dma_ff()
242 dma_outb(0, DMA2_CLEAR_FF_REG); in clear_dma_ff()
249 dma_outb(mode | dmanr, DMA1_MODE_REG); in set_dma_mode()
251 dma_outb(mode | (dmanr&3), DMA2_MODE_REG); in set_dma_mode()
258 dma_outb(ext_mode | dmanr, DMA1_EXT_MODE_REG); in set_dma_ext_mode()
260 dma_outb(ext_mode | (dmanr&3), DMA2_EXT_MODE_REG); in set_dma_ext_mode()
271 dma_outb(pagenr, DMA_PAGE_0); in set_dma_page()
272 dma_outb((pagenr >> 8), DMA_HIPAGE_0); in set_dma_page()
275 dma_outb(pagenr, DMA_PAGE_1); in set_dma_page()
276 dma_outb((pagenr >> 8), DMA_HIPAGE_1); in set_dma_page()
279 dma_outb(pagenr, DMA_PAGE_2); in set_dma_page()
280 dma_outb((pagenr >> 8), DMA_HIPAGE_2); in set_dma_page()
283 dma_outb(pagenr, DMA_PAGE_3); in set_dma_page()
284 dma_outb((pagenr >> 8), DMA_HIPAGE_3); in set_dma_page()
287 dma_outb(pagenr & 0xfe, DMA_PAGE_5); in set_dma_page()
288 dma_outb((pagenr >> 8), DMA_HIPAGE_5); in set_dma_page()
291 dma_outb(pagenr & 0xfe, DMA_PAGE_6); in set_dma_page()
292 dma_outb((pagenr >> 8), DMA_HIPAGE_6); in set_dma_page()
295 dma_outb(pagenr & 0xfe, DMA_PAGE_7); in set_dma_page()
296 dma_outb((pagenr >> 8), DMA_HIPAGE_7); in set_dma_page()
308 dma_outb( a & 0xff, ((dmanr&3)<<1) + IO_DMA1_BASE ); in set_dma_addr()
309 dma_outb( (a>>8) & 0xff, ((dmanr&3)<<1) + IO_DMA1_BASE ); in set_dma_addr()
311 dma_outb( (a>>1) & 0xff, ((dmanr&3)<<2) + IO_DMA2_BASE ); in set_dma_addr()
312 dma_outb( (a>>9) & 0xff, ((dmanr&3)<<2) + IO_DMA2_BASE ); in set_dma_addr()
330 dma_outb( count & 0xff, ((dmanr&3)<<1) + 1 + IO_DMA1_BASE ); in set_dma_count()
331 dma_outb( (count>>8) & 0xff, ((dmanr&3)<<1) + 1 + IO_DMA1_BASE ); in set_dma_count()
333 dma_outb( (count>>1) & 0xff, ((dmanr&3)<<2) + 2 + IO_DMA2_BASE ); in set_dma_count()
334 dma_outb( (count>>9) & 0xff, ((dmanr&3)<<2) + 2 + IO_DMA2_BASE ); in set_dma_count()