Searched refs:SMC_outw (Results 1 – 5 of 5) sorted by relevance
/u-boot/drivers/net/ |
A D | lan91c96.c | 213 SMC_outw(dev, LAN91C96_RCR_SOFT_RST, LAN91C96_RCR); in smc_reset() 218 SMC_outw(dev, 0, LAN91C96_RCR); in smc_reset() 219 SMC_outw(dev, 0, LAN91C96_TCR); in smc_reset() 248 SMC_outw(dev, LAN91C96_TCR_TXENA, LAN91C96_TCR); in smc_enable() 401 SMC_outw(dev, 0, LAN91C96_DATA_HIGH); in smc_send_packet() 403 SMC_outw(dev, (length + 6), LAN91C96_DATA_HIGH); in smc_send_packet() 424 SMC_outw(dev, 0, LAN91C96_DATA_HIGH); in smc_send_packet() 430 SMC_outw(dev, LAN91C96_MMUCR_ENQUEUE, LAN91C96_MMU); in smc_send_packet() 496 SMC_outw(dev, address, LAN91C96_IA0 + i); in smc_open() 538 SMC_outw(dev, LAN91C96_PTR_READ | LAN91C96_PTR_RCV | in smc_rcv() [all …]
|
A D | smc91111.c | 223 SMC_outw(dev, *p++, offset); in SMC_outsw() 300 SMC_outw (dev, RCR_SOFTRST, RCR_REG); in smc_reset() 325 SMC_outw (dev, RCR_CLEAR, RCR_REG); in smc_reset() 326 SMC_outw (dev, TCR_CLEAR, TCR_REG); in smc_reset() 330 SMC_outw (dev, CTL_DEFAULT, CTL_REG); in smc_reset() 597 SMC_outw( dev, saved_ptr, PTR_REG ); in smc_send() 766 SMC_outw( dev, saved_ptr, PTR_REG ); in smc_rcv() 796 SMC_outw( dev, regval, 0 ); 820 SMC_outw( dev, val, reg ); 972 SMC_outw (dev, mii_reg, MII_REG); in smc_read_phy_register() [all …]
|
A D | smc91111.h | 93 #define SMC_outw(a,d,r) (*((volatile word *)((a)->iobase+(r<<1))) = d) macro 96 #define SMC_outw(a,d,r) (*((volatile word *)((a)->iobase+(r))) = d) macro 103 SMC_outw((a),__w,(r)&~1); \ 118 SMC_outw((a), *(__b2 + __i), r); \ 178 SMC_outw((a),__w,(r)&~1); \ 236 SMC_outw((a), __w, ((r)&(~1))); \ 243 SMC_outw(a, SWAB7206(*__b2), r); \ 266 #define SMC_outw(a, d, r) \ macro 269 #define SMC_outw(a, d, r) \ macro 276 SMC_outw((a),__w,(r)&~1); \ [all …]
|
A D | lan91c96.h | 74 #define SMC_outw(edev, d, r) (*((volatile word *)SMCREG(edev, r)) = d) macro 79 SMC_outw(edev, __w, (r)&~1); \ 95 SMC_outw(edev, *(__b2 + __i),\ 140 #define SMC_outw(edev, d, r) (*((volatile word *)((edev)->iobase+(r))) = d) macro 145 SMC_outw(edev, __w, (r)&~1); \ 151 SMC_outw(edev, *(__b2 + __i),\ 584 #define SMC_SELECT_BANK(edev, x) { SMC_outw(edev, x, LAN91C96_BANK_SELECT); }
|
/u-boot/examples/standalone/ |
A D | smc91111_eeprom.c | 204 SMC_outw (&dev, value, reg & 0xE); in smc91111_eeprom() 237 SMC_outw (dev, (SMC_inw (dev, CTL_REG) & !CTL_EEPROM_SELECT) | in copy_from_eeprom() 315 SMC_outw (dev, reg, PTR_REG); in read_eeprom_reg() 318 SMC_outw (dev, SMC_inw (dev, CTL_REG) | CTL_EEPROM_SELECT | in read_eeprom_reg() 337 SMC_outw (dev, reg, PTR_REG); in write_eeprom_reg() 340 SMC_outw (dev, value, GP_REG); in write_eeprom_reg() 341 SMC_outw (dev, SMC_inw (dev, CTL_REG) | CTL_EEPROM_SELECT | in write_eeprom_reg()
|
Completed in 12 milliseconds