Home
last modified time | relevance | path

Searched refs:new_hrs (Results 1 – 1 of 1) sorted by relevance

/drivers/infiniband/hw/ipath/
Dipath_eeprom.c870 uint32_t new_time, new_hrs; in ipath_update_eeprom_log() local
964 new_hrs = new_time / 3600; in ipath_update_eeprom_log()
965 atomic_sub((new_hrs * 3600), &dd->ipath_active_time); in ipath_update_eeprom_log()
966 new_hrs += dd->ipath_eep_hrs; in ipath_update_eeprom_log()
967 if (new_hrs > 0xFFFF) in ipath_update_eeprom_log()
968 new_hrs = 0xFFFF; in ipath_update_eeprom_log()
969 dd->ipath_eep_hrs = new_hrs; in ipath_update_eeprom_log()
970 if ((new_hrs & 0xFF) != ifp->if_powerhour[0]) { in ipath_update_eeprom_log()
971 ifp->if_powerhour[0] = new_hrs & 0xFF; in ipath_update_eeprom_log()
974 if ((new_hrs >> 8) != ifp->if_powerhour[1]) { in ipath_update_eeprom_log()
[all …]