Searched refs:dataval (Results 1 – 5 of 5) sorted by relevance
/external/u-boot/drivers/net/ |
D | eepro100.c | 762 short dataval = (read_cmd & (1 << i)) ? EE_DATA_WRITE : 0; in read_eeprom() local 764 OUTW (dev, EE_ENB | dataval, SCBeeprom); in read_eeprom() 766 OUTW (dev, EE_ENB | dataval | EE_SHIFT_CLK, SCBeeprom); in read_eeprom() 788 unsigned short dataval; in eepro100_write_eeprom() local 801 dataval = (enable_cmd & (1 << i)) ? EE_DATA_WRITE : 0; in eepro100_write_eeprom() 802 OUTW(dev, EE_ENB | dataval, SCBeeprom); in eepro100_write_eeprom() 804 OUTW(dev, EE_ENB | dataval | EE_SHIFT_CLK, SCBeeprom); in eepro100_write_eeprom() 818 dataval = (write_cmd & (1 << i)) ? EE_DATA_WRITE : 0; in eepro100_write_eeprom() 819 OUTW(dev, EE_ENB | dataval, SCBeeprom); in eepro100_write_eeprom() 821 OUTW(dev, EE_ENB | dataval | EE_SHIFT_CLK, SCBeeprom); in eepro100_write_eeprom() [all …]
|
D | dc2114x.c | 560 short dataval = (read_cmd & (1 << i)) ? EE_DATA_WRITE : 0; in do_read_eeprom() local 561 sendto_srom(dev, SROM_RD | SROM_SR | DT_CS | dataval, ioaddr); in do_read_eeprom() 563 sendto_srom(dev, SROM_RD | SROM_SR | DT_CS | dataval | DT_CLK, ioaddr); in do_read_eeprom() 616 short dataval = (cmd & (1 << cmd_len)) ? EE_WRITE_1 : EE_WRITE_0; in do_eeprom_cmd() local 617 sendto_srom(dev,dataval, ioaddr); in do_eeprom_cmd() 624 sendto_srom(dev,dataval | DT_CLK, ioaddr); in do_eeprom_cmd()
|
D | ns8382x.c | 480 int dataval = (mii_cmd & (1 << i)) ? MDIO_WRITE1 : MDIO_WRITE0; in mdio_read() local 482 OUTL(dev, dataval, EECtrl); in mdio_read() 484 OUTL(dev, dataval | MDIO_ShiftClk, EECtrl); in mdio_read() 507 int dataval = (mii_cmd & (1 << i)) ? MDIO_WRITE1 : MDIO_WRITE0; in mdio_write() local 509 OUTL(dev, dataval, EECtrl); in mdio_write() 511 OUTL(dev, dataval | MDIO_ShiftClk, EECtrl); in mdio_write()
|
D | rtl8139.c | 313 int dataval = (read_cmd & (1 << i)) ? EE_DATA_WRITE : 0; in read_eeprom() local 314 outb(EE_ENB | dataval, ee_addr); in read_eeprom() 316 outb(EE_ENB | dataval | EE_SHIFT_CLK, ee_addr); in read_eeprom()
|
D | natsemi.c | 507 short dataval = (read_cmd & (1 << i)) ? EE_Write1 : EE_Write0; in read_eeprom() local 508 OUTL(dev, dataval, ee_addr); in read_eeprom() 510 OUTL(dev, dataval | EE_ShiftClk, ee_addr); in read_eeprom()
|