/linux-2.4.37.9/include/asm-m68k/ |
D | apollodma.h | 73 #define IO_DMA2_BASE 0x10D00 /* 16 bit master DMA, ch 4(=slave input)..7 */ macro 87 #define DMA2_CMD_REG (IO_DMA2_BASE+0x10) /* command register (w) */ 88 #define DMA2_STAT_REG (IO_DMA2_BASE+0x10) /* status register (r) */ 89 #define DMA2_REQ_REG (IO_DMA2_BASE+0x12) /* request register (w) */ 90 #define DMA2_MASK_REG (IO_DMA2_BASE+0x14) /* single-channel mask (w) */ 91 #define DMA2_MODE_REG (IO_DMA2_BASE+0x16) /* mode register (w) */ 92 #define DMA2_CLEAR_FF_REG (IO_DMA2_BASE+0x18) /* clear pointer flip-flop (w) */ 93 #define DMA2_TEMP_REG (IO_DMA2_BASE+0x1A) /* Temporary Register (r) */ 94 #define DMA2_RESET_REG (IO_DMA2_BASE+0x1A) /* Master Clear (w) */ 95 #define DMA2_CLR_MASK_REG (IO_DMA2_BASE+0x1C) /* Clear Mask */ [all …]
|
/linux-2.4.37.9/include/asm-ppc/ |
D | dma.h | 113 #define IO_DMA2_BASE 0xC0 /* 16 bit master DMA, ch 4(=slave input)..7 */ macro 298 dma_outb(phys & 0xff, ((dmanr & 3) << 2) + IO_DMA2_BASE ); in set_dma_addr() 300 IO_DMA2_BASE); in set_dma_addr() 303 dma_outb((phys >> 1) & 0xff, ((dmanr & 3) << 2) + IO_DMA2_BASE); in set_dma_addr() 304 dma_outb((phys >> 9) & 0xff, ((dmanr & 3) << 2) + IO_DMA2_BASE); in set_dma_addr() 326 dma_outb( count & 0xff, ((dmanr & 3) << 2) + 2 + IO_DMA2_BASE); in set_dma_count() 328 IO_DMA2_BASE); in set_dma_count() 331 IO_DMA2_BASE); in set_dma_count() 333 IO_DMA2_BASE); in set_dma_count() 349 : ((dmanr & 3) << 2) + 2 + IO_DMA2_BASE; in get_dma_residue()
|
/linux-2.4.37.9/include/asm-i386/ |
D | dma.h | 80 #define IO_DMA2_BASE 0xC0 /* 16 bit master DMA, ch 4(=slave input)..7 */ macro 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() 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() 274 : ((dmanr&3)<<2) + 2 + IO_DMA2_BASE; in get_dma_residue()
|
/linux-2.4.37.9/include/asm-mips/ |
D | dma.h | 96 #define IO_DMA2_BASE 0xC0 /* 16 bit master DMA, ch 4(=slave input)..7 */ macro 251 dma_outb( (a>>1) & 0xff, ((dmanr&3)<<2) + IO_DMA2_BASE ); in set_dma_addr() 252 dma_outb( (a>>9) & 0xff, ((dmanr&3)<<2) + IO_DMA2_BASE ); in set_dma_addr() 272 dma_outb( (count>>1) & 0xff, ((dmanr&3)<<2) + 2 + IO_DMA2_BASE ); in set_dma_count() 273 dma_outb( (count>>9) & 0xff, ((dmanr&3)<<2) + 2 + IO_DMA2_BASE ); in set_dma_count() 289 : ((dmanr&3)<<2) + 2 + IO_DMA2_BASE; in get_dma_residue()
|
/linux-2.4.37.9/include/asm-x86_64/ |
D | dma.h | 80 #define IO_DMA2_BASE 0xC0 /* 16 bit master DMA, ch 4(=slave input)..7 */ macro 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() 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() 274 : ((dmanr&3)<<2) + 2 + IO_DMA2_BASE; in get_dma_residue()
|
/linux-2.4.37.9/include/asm-mips64/ |
D | dma.h | 96 #define IO_DMA2_BASE 0xC0 /* 16 bit master DMA, ch 4(=slave input)..7 */ macro 251 dma_outb( (a>>1) & 0xff, ((dmanr&3)<<2) + IO_DMA2_BASE ); in set_dma_addr() 252 dma_outb( (a>>9) & 0xff, ((dmanr&3)<<2) + IO_DMA2_BASE ); in set_dma_addr() 272 dma_outb( (count>>1) & 0xff, ((dmanr&3)<<2) + 2 + IO_DMA2_BASE ); in set_dma_count() 273 dma_outb( (count>>9) & 0xff, ((dmanr&3)<<2) + 2 + IO_DMA2_BASE ); in set_dma_count() 289 : ((dmanr&3)<<2) + 2 + IO_DMA2_BASE; in get_dma_residue()
|
/linux-2.4.37.9/include/asm-ppc64/ |
D | dma.h | 84 #define IO_DMA2_BASE 0xC0 /* 16 bit master DMA, ch 4(=slave input)..7 */ macro 267 dma_outb( (phys>>1) & 0xff, ((dmanr&3)<<2) + IO_DMA2_BASE ); in set_dma_addr() 268 dma_outb( (phys>>9) & 0xff, ((dmanr&3)<<2) + IO_DMA2_BASE ); in set_dma_addr() 289 dma_outb( (count>>1) & 0xff, ((dmanr&3)<<2) + 2 + IO_DMA2_BASE ); in set_dma_count() 290 dma_outb( (count>>9) & 0xff, ((dmanr&3)<<2) + 2 + IO_DMA2_BASE ); in set_dma_count() 306 : ((dmanr&3)<<2) + 2 + IO_DMA2_BASE; in get_dma_residue()
|
/linux-2.4.37.9/include/asm-alpha/ |
D | dma.h | 128 #define IO_DMA2_BASE 0xC0 /* 16 bit master DMA, ch 4(=slave input)..7 */ macro 308 dma_outb( (a>>1) & 0xff, ((dmanr&3)<<2) + IO_DMA2_BASE ); in set_dma_addr() 309 dma_outb( (a>>9) & 0xff, ((dmanr&3)<<2) + IO_DMA2_BASE ); in set_dma_addr() 330 dma_outb( (count>>1) & 0xff, ((dmanr&3)<<2) + 2 + IO_DMA2_BASE ); in set_dma_count() 331 dma_outb( (count>>9) & 0xff, ((dmanr&3)<<2) + 2 + IO_DMA2_BASE ); in set_dma_count() 347 : ((dmanr&3)<<2) + 2 + IO_DMA2_BASE; in get_dma_residue()
|
/linux-2.4.37.9/include/asm-parisc/ |
D | dma.h | 48 #define IO_DMA2_BASE 0xC0 /* 16 bit master DMA, ch 4(=slave input)..7 */ macro 101 : ((dmanr&3)<<2) + 2 + IO_DMA2_BASE; in get_dma_residue()
|
/linux-2.4.37.9/drivers/net/ |
D | znet.c | 381 short dma_port = ((zn.tx_dma&3)<<2) + IO_DMA2_BASE; in znet_send_packet() 693 short dma_port = ((zn.tx_dma&3)<<2) + IO_DMA2_BASE; in show_dma()
|