Searched refs:SMC_inb (Results 1 – 5 of 5) sorted by relevance
/external/u-boot/drivers/net/ |
D | lan91c96.h | 66 #define SMC_inb(edev, p) ({ \ macro 124 *(__b2 + __i) = SMC_inb(edev,\ 126 SMC_inb(edev, 0); \ 137 #define SMC_inb(edev, r) (((r)&1) ? SMC_inw(edev, (r)&~1)>>8 :\ macro 590 mask = SMC_inb(edev, LAN91C96_INT_MASK);\ 600 mask = SMC_inb(edev, LAN91C96_INT_MASK);\
|
D | smc91111.h | 73 #define SMC_inb(a,p) ({ \ macro 82 #define SMC_inb(a,p) ({ \ macro 143 *(__b2 + __i) = SMC_inb((a),(r)); \ 144 SMC_inb((a),0); \ 163 #define SMC_inb(a,p) ({ \ macro 213 *(__b2 + __i) = SMC_inb((a),(r)); \ 219 #define SMC_inb(a, r) (*((volatile byte*)((a)->iobase + ((r) ^ 0x01)))) macro 260 #define SMC_inb(a,r) (((r)&1) ? SMC_inw((a),(r)&~1)>>8 : SMC_inw((a),(r)&0xFF)) macro 761 mask = SMC_inb((a), IM_REG );\ 771 mask = SMC_inb( (a), IM_REG );\
|
D | smc91111.c | 183 static inline byte SMC_inb(struct eth_device *dev, dword offset) in SMC_inb() function 429 saved_pnr = SMC_inb( dev, PN_REG ); in smc_send() 471 status = SMC_inb (dev, SMC91111_INT_REG); in smc_send() 494 packet_no = SMC_inb (dev, AR_REG); in smc_send() 679 saved_pnr = SMC_inb( dev, PN_REG ); in smc_rcv() 1294 dev->enetaddr[i] = SMC_inb(dev, (ADDR0_REG + i)); in smc91111_initialize()
|
D | lan91c96.c | 348 status = SMC_inb(dev, LAN91C96_INT_STATS); in smc_send_packet() 373 packet_no = SMC_inb(dev, LAN91C96_ARR); in smc_send_packet() 731 v_rom_mac[i] = SMC_inb(dev, LAN91C96_IA0 + i); in get_rom_mac()
|
/external/u-boot/examples/standalone/ |
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()
|