Lines Matching refs:dataval
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()
831 dataval = ((datalong & 0x8000)>>13) ? EE_DATA_WRITE : 0; in eepro100_write_eeprom()
833 OUTW(dev, EE_ENB | dataval, SCBeeprom); in eepro100_write_eeprom()
835 OUTW(dev, EE_ENB | dataval | EE_SHIFT_CLK, SCBeeprom); in eepro100_write_eeprom()
837 OUTW(dev, EE_ENB | dataval, SCBeeprom); in eepro100_write_eeprom()
852 dataval = INW(dev, SCBeeprom); in eepro100_write_eeprom()
853 if (dataval & EE_DATA_READ) in eepro100_write_eeprom()