Lines Matching full:ee
613 struct ethtool_eeprom *ee, u8 *data) in lan743x_ethtool_get_eeprom() argument
620 ret = lan743x_hs_otp_read(adapter, ee->offset, in lan743x_ethtool_get_eeprom()
621 ee->len, data); in lan743x_ethtool_get_eeprom()
623 ret = lan743x_otp_read(adapter, ee->offset, in lan743x_ethtool_get_eeprom()
624 ee->len, data); in lan743x_ethtool_get_eeprom()
627 ret = lan743x_hs_eeprom_read(adapter, ee->offset, in lan743x_ethtool_get_eeprom()
628 ee->len, data); in lan743x_ethtool_get_eeprom()
630 ret = lan743x_eeprom_read(adapter, ee->offset, in lan743x_ethtool_get_eeprom()
631 ee->len, data); in lan743x_ethtool_get_eeprom()
638 struct ethtool_eeprom *ee, u8 *data) in lan743x_ethtool_set_eeprom() argument
645 if (ee->magic == LAN743X_OTP_MAGIC) { in lan743x_ethtool_set_eeprom()
647 ret = lan743x_hs_otp_write(adapter, ee->offset, in lan743x_ethtool_set_eeprom()
648 ee->len, data); in lan743x_ethtool_set_eeprom()
650 ret = lan743x_otp_write(adapter, ee->offset, in lan743x_ethtool_set_eeprom()
651 ee->len, data); in lan743x_ethtool_set_eeprom()
654 if (ee->magic == LAN743X_EEPROM_MAGIC) { in lan743x_ethtool_set_eeprom()
657 ee->offset, in lan743x_ethtool_set_eeprom()
658 ee->len, data); in lan743x_ethtool_set_eeprom()
660 ret = lan743x_eeprom_write(adapter, ee->offset, in lan743x_ethtool_set_eeprom()
661 ee->len, data); in lan743x_ethtool_set_eeprom()