Lines Matching refs:write_eeprom
5625 static int write_eeprom(struct s2io_nic *sp, int off, u64 data, int cnt) in write_eeprom() function
5820 if (write_eeprom(sp, (eeprom->offset + cnt), valid, 0)) { in s2io_ethtool_seeprom()
5925 if (!write_eeprom(sp, 0, 0, 3)) in s2io_eeprom_test()
5935 if (write_eeprom(sp, 0x4F0, 0x012345, 3)) in s2io_eeprom_test()
5949 write_eeprom(sp, 0x4F0, 0xFFFFFF, 3); in s2io_eeprom_test()
5953 if (!write_eeprom(sp, 0x07C, 0, 3)) in s2io_eeprom_test()
5957 if (write_eeprom(sp, 0x7F0, 0x012345, 3)) in s2io_eeprom_test()
5971 write_eeprom(sp, 0x7F0, 0xFFFFFF, 3); in s2io_eeprom_test()
5975 if (!write_eeprom(sp, 0x080, 0, 3)) in s2io_eeprom_test()
5979 if (!write_eeprom(sp, 0x0FC, 0, 3)) in s2io_eeprom_test()
5983 if (!write_eeprom(sp, 0x100, 0, 3)) in s2io_eeprom_test()
5987 if (!write_eeprom(sp, 0x4EC, 0, 3)) in s2io_eeprom_test()
5993 write_eeprom(sp, 0x4F0, org_4F0, 3); in s2io_eeprom_test()
5995 write_eeprom(sp, 0x7F0, org_7F0, 3); in s2io_eeprom_test()