Lines Matching refs:write_eeprom
5629 static int write_eeprom(struct s2io_nic *sp, int off, u64 data, int cnt) in write_eeprom() function
5824 if (write_eeprom(sp, (eeprom->offset + cnt), valid, 0)) { in s2io_ethtool_seeprom()
5929 if (!write_eeprom(sp, 0, 0, 3)) in s2io_eeprom_test()
5939 if (write_eeprom(sp, 0x4F0, 0x012345, 3)) in s2io_eeprom_test()
5953 write_eeprom(sp, 0x4F0, 0xFFFFFF, 3); in s2io_eeprom_test()
5957 if (!write_eeprom(sp, 0x07C, 0, 3)) in s2io_eeprom_test()
5961 if (write_eeprom(sp, 0x7F0, 0x012345, 3)) in s2io_eeprom_test()
5975 write_eeprom(sp, 0x7F0, 0xFFFFFF, 3); in s2io_eeprom_test()
5979 if (!write_eeprom(sp, 0x080, 0, 3)) in s2io_eeprom_test()
5983 if (!write_eeprom(sp, 0x0FC, 0, 3)) in s2io_eeprom_test()
5987 if (!write_eeprom(sp, 0x100, 0, 3)) in s2io_eeprom_test()
5991 if (!write_eeprom(sp, 0x4EC, 0, 3)) in s2io_eeprom_test()
5997 write_eeprom(sp, 0x4F0, org_4F0, 3); in s2io_eeprom_test()
5999 write_eeprom(sp, 0x7F0, org_7F0, 3); in s2io_eeprom_test()