Searched refs:ADDR0_REG (Results 1 – 4 of 4) sorted by relevance
/openbmc/u-boot/examples/standalone/ |
H A D | smc91111_eeprom.c | 256 printf ("%02x:", SMC_inb (dev, ADDR0_REG + i)); in print_macaddr() 259 printf ("%02x\n", SMC_inb (dev, ADDR0_REG + 5)); in print_macaddr()
|
/openbmc/u-boot/drivers/net/ |
H A D | smc91111.c | 613 SMC_outw(dev, address, (ADDR0_REG + i)); in smc_write_hwaddr() 617 SMC_outb(dev, dev->enetaddr[i], (ADDR0_REG + i)); in smc_write_hwaddr() 1294 dev->enetaddr[i] = SMC_inb(dev, (ADDR0_REG + i)); in smc91111_initialize()
|
H A D | smc91111.h | 482 #define ADDR0_REG 0x0004 macro
|
/openbmc/linux/drivers/net/ethernet/smsc/ |
H A D | smc91x.h | 586 #define ADDR0_REG(lp) SMC_REG(lp, 0x0004, 1) macro 1000 __v = SMC_inw(ioaddr, ADDR0_REG(lp)); \ 1011 SMC_outw(lp, addr[0] | (addr[1] << 8), ioaddr, ADDR0_REG(lp)); \
|