Home
last modified time | relevance | path

Searched refs:REG (Results 1 – 17 of 17) sorted by relevance

/linux-2.4.37.9/drivers/net/
Dmace.h13 #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 …]
Db44.h394 #define br32(REG) readl(bp->regs + (REG)) argument
395 #define bw32(REG,VAL) writel((VAL), bp->regs + (REG)) argument
Dtg3.c5729 #define TG3_STAT_ADD32(PSTAT, REG) \ argument
5730 do { u32 __val = tr32(REG); \
/linux-2.4.37.9/drivers/sound/
Dpss.c73 #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/
Dswim3.c56 #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/
Dsym_defs.h549 #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))
Dsym_fw.h224 #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/
Dtraps.c874 #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/
Dsym53c8xx_defs.h1377 #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))
Dncr53c8xx.c1415 #define RADDR(label) (RELOC_REGISTER | REG(label))
1416 #define FADDR(label,ofs)(RELOC_REGISTER | ((REG(label))+(ofs)))
Dsym53c8xx.c2593 #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/
Dfec.c250 #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/
Dfcc_enet.c357 #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/
Dcontrolfb.c135 #define CNTRL_REG(INFO,REG) (&(((INFO)->control_regs->REG).r)) argument
/linux-2.4.37.9/arch/sparc64/kernel/
Dpci_psycho.c78 #define PSYCHO_CONFIG_ENCODE(BUS, DEVFN, REG) \ argument
81 ((unsigned long)(REG)))
Dpci_sabre.c216 #define SABRE_CONFIG_ENCODE(BUS, DEVFN, REG) \ argument
219 ((unsigned long)(REG)))
Dpci_schizo.c86 #define SCHIZO_CONFIG_ENCODE(BUS, DEVFN, REG) \ argument
89 ((unsigned long)(REG)))