/linux-2.4.37.9/drivers/net/ |
D | mace.h | 13 #define REG(x) volatile unsigned char x; char x ## _pad[15] macro 16 REG(rcvfifo); /* receive FIFO */ 17 REG(xmtfifo); /* transmit FIFO */ 18 REG(xmtfc); /* transmit frame control */ 19 REG(xmtfs); /* transmit frame status */ 20 REG(xmtrc); /* transmit retry count */ 21 REG(rcvfc); /* receive frame control */ 22 REG(rcvfs); /* receive frame status (4 bytes) */ 23 REG(fifofc); /* FIFO frame count */ 24 REG(ir); /* interrupt register */ [all …]
|
D | b44.h | 394 #define br32(REG) readl(bp->regs + (REG)) argument 395 #define bw32(REG,VAL) writel((VAL), bp->regs + (REG)) argument
|
D | tg3.c | 5729 #define TG3_STAT_ADD32(PSTAT, REG) \ argument 5730 do { u32 __val = tr32(REG); \
|
/linux-2.4.37.9/drivers/sound/ |
D | pss.c | 73 #define REG(x) (devc->base+x) macro 166 if (inw(REG(PSS_STATUS)) & PSS_WRITE_EMPTY) in pss_write() 168 outw(data, REG(PSS_DATA)); in pss_write() 193 id = inw(REG(PSS_ID)); in probe_pss() 216 tmp = inw(REG(dev)) & ~0x38; /* Load confreg, mask IRQ bits out */ in set_irq() 223 outw(tmp | bits, REG(dev)); in set_irq() 229 unsigned short tmp = inw(REG(dev)) & 0x003f; in set_io_base() 232 outw(bits | tmp, REG(dev)); in set_io_base() 250 tmp = inw(REG(dev)) & ~0x07; /* Load confreg, mask DMA bits out */ in set_dma() 257 outw(tmp | bits, REG(dev)); in set_dma() [all …]
|
/linux-2.4.37.9/drivers/block/ |
D | swim3.c | 56 #define REG(x) unsigned char x; char x ## _pad[15]; macro 63 REG(data); 64 REG(timer); /* counts down at 1MHz */ 65 REG(error); 66 REG(mode); 67 REG(select); /* controls CA0, CA1, CA2 and LSTRB signals */ 68 REG(setup); 69 REG(control); /* writing bits clears them */ 70 REG(status); /* writing bits sets them in control */ 71 REG(intr); [all …]
|
/linux-2.4.37.9/drivers/scsi/sym53c8xx_2/ |
D | sym_defs.h | 549 #define REG(r) REGJ (nc_, r) macro 749 (0x68000000 | (SCR_REG_OFS(REG(reg))) | (op) | (((data)&0xff)<<8ul)) 752 (0x70000000 | (SCR_REG_OFS(REG(reg))) | (op) | (((data)&0xff)<<8ul)) 755 (0x78000000 | (SCR_REG_OFS(REG(reg))) | (op) | (((data)&0xff)<<8ul)) 821 (0xe1000000 | how | (SCR_REG_OFS2(REG(reg))) | (n)) 824 (0xe0000000 | how | (SCR_REG_OFS2(REG(reg))) | (n))
|
D | sym_fw.h | 224 #define RADDR_1(label) (RELOC_REGISTER | REG(label)) 225 #define RADDR_2(label,ofs) (RELOC_REGISTER | ((REG(label))+(ofs)))
|
/linux-2.4.37.9/arch/i386/kernel/ |
D | traps.c | 874 #define REG 0x2e /* The register to read/write */ macro 881 outb(DEV, REG); in superio_outb() 883 outb(reg, REG); in superio_outb() 890 outb(DEV, REG); in superio_inb() 892 outb(reg, REG); in superio_inb()
|
/linux-2.4.37.9/drivers/scsi/ |
D | sym53c8xx_defs.h | 1377 #define REG(r) REGJ (nc_, r) macro 1557 (0x68000000 | (SCR_REG_OFS(REG(reg))) | (op) | (((data)&0xff)<<8ul)) 1560 (0x70000000 | (SCR_REG_OFS(REG(reg))) | (op) | (((data)&0xff)<<8ul)) 1563 (0x78000000 | (SCR_REG_OFS(REG(reg))) | (op) | (((data)&0xff)<<8ul)) 1629 (0xe1000000 | how | (SCR_REG_OFS2(REG(reg))) | (n)) 1632 (0xe0000000 | how | (SCR_REG_OFS2(REG(reg))) | (n))
|
D | ncr53c8xx.c | 1415 #define RADDR(label) (RELOC_REGISTER | REG(label)) 1416 #define FADDR(label,ofs)(RELOC_REGISTER | ((REG(label))+(ofs)))
|
D | sym53c8xx.c | 2593 #define RADDR(label) (RELOC_REGISTER | REG(label)) 2594 #define FADDR(label,ofs)(RELOC_REGISTER | ((REG(label))+(ofs)))
|
/linux-2.4.37.9/arch/ppc/8xx_io/ |
D | fec.c | 250 #define mk_mii_read(REG) (0x60020000 | ((REG & 0x1f) << 18)) argument 251 #define mk_mii_write(REG, VAL) (0x50020000 | ((REG & 0x1f) << 18) | \ argument
|
/linux-2.4.37.9/arch/ppc/cpm2_io/ |
D | fcc_enet.c | 357 #define mk_mii_read(REG) (0x60020000 | ((REG & 0x1f) << 18)) argument 358 #define mk_mii_write(REG, VAL) (0x50020000 | ((REG & 0x1f) << 18) | \ argument
|
/linux-2.4.37.9/drivers/video/ |
D | controlfb.c | 135 #define CNTRL_REG(INFO,REG) (&(((INFO)->control_regs->REG).r)) argument
|
/linux-2.4.37.9/arch/sparc64/kernel/ |
D | pci_psycho.c | 78 #define PSYCHO_CONFIG_ENCODE(BUS, DEVFN, REG) \ argument 81 ((unsigned long)(REG)))
|
D | pci_sabre.c | 216 #define SABRE_CONFIG_ENCODE(BUS, DEVFN, REG) \ argument 219 ((unsigned long)(REG)))
|
D | pci_schizo.c | 86 #define SCHIZO_CONFIG_ENCODE(BUS, DEVFN, REG) \ argument 89 ((unsigned long)(REG)))
|