Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/wireless/intel/iwlegacy/
D4965.c1633 int temp_diff; in il4965_is_temp_calib_needed() local
1640 temp_diff = il->temperature - il->last_temperature; in il4965_is_temp_calib_needed()
1643 if (temp_diff < 0) { in il4965_is_temp_calib_needed()
1644 D_POWER("Getting cooler, delta %d\n", temp_diff); in il4965_is_temp_calib_needed()
1645 temp_diff = -temp_diff; in il4965_is_temp_calib_needed()
1646 } else if (temp_diff == 0) in il4965_is_temp_calib_needed()
1649 D_POWER("Getting warmer, delta %d\n", temp_diff); in il4965_is_temp_calib_needed()
1651 if (temp_diff < IL_TEMPERATURE_THRESHOLD) { in il4965_is_temp_calib_needed()
D3945.c1108 int temp_diff; in il3945_is_temp_calib_needed() local
1111 temp_diff = il->temperature - il->last_temperature; in il3945_is_temp_calib_needed()
1114 if (temp_diff < 0) { in il3945_is_temp_calib_needed()
1115 D_POWER("Getting cooler, delta %d,\n", temp_diff); in il3945_is_temp_calib_needed()
1116 temp_diff = -temp_diff; in il3945_is_temp_calib_needed()
1117 } else if (temp_diff == 0) in il3945_is_temp_calib_needed()
1120 D_POWER("Getting warmer, delta %d,\n", temp_diff); in il3945_is_temp_calib_needed()
1123 if (temp_diff < IL_TEMPERATURE_LIMIT_TIMER) { in il3945_is_temp_calib_needed()
/Linux-v5.10/include/linux/power/
Dcharger-manager.h188 int temp_diff; member
/Linux-v5.10/drivers/power/supply/
Dcharger-manager.c547 upper_limit -= desc->temp_diff; in cm_check_thermal_status()
548 lower_limit += desc->temp_diff; in cm_check_thermal_status()
1269 if (!desc->temp_diff) in cm_init_thermal_data()
1270 desc->temp_diff = CM_DEFAULT_RECHARGE_TEMP_DIFF; in cm_init_thermal_data()
1339 of_property_read_u32(np, "cm-battery-temp-diff", &desc->temp_diff); in of_cm_parse_desc()
Dpower_supply_core.c830 int best_temp_diff = INT_MAX, temp_diff; in power_supply_find_ocv2cap_table() local
837 temp_diff = abs(info->ocv_temp[i] - temp); in power_supply_find_ocv2cap_table()
839 if (temp_diff < best_temp_diff) { in power_supply_find_ocv2cap_table()
840 best_temp_diff = temp_diff; in power_supply_find_ocv2cap_table()
/Linux-v5.10/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
Dphy_lcn.c2318 s16 manp, meas_temp, temp_diff; in wlc_lcnphy_tempcompensated_txpwrctrl() local
2340 temp_diff = manp - meas_temp; in wlc_lcnphy_tempcompensated_txpwrctrl()
2341 if (temp_diff < 0) { in wlc_lcnphy_tempcompensated_txpwrctrl()
2343 temp_diff = -temp_diff; in wlc_lcnphy_tempcompensated_txpwrctrl()
2346 delta_temp = (s8) wlc_lcnphy_qdiv_roundup((u32) (temp_diff * 192), in wlc_lcnphy_tempcompensated_txpwrctrl()
4194 int temp1, temp2, temp_diff; in wlc_lcnphy_calib_modes() local
4211 temp_diff = temp1 - temp2; in wlc_lcnphy_calib_modes()
4213 (temp_diff > 60) || (temp_diff < -60)) { in wlc_lcnphy_calib_modes()