Searched refs:temp_diff (Results 1 – 5 of 5) sorted by relevance
/linux-4.4.14/drivers/net/wireless/iwlegacy/ |
D | 4965.c | 1648 int temp_diff; in il4965_is_temp_calib_needed() local 1655 temp_diff = il->temperature - il->last_temperature; in il4965_is_temp_calib_needed() 1658 if (temp_diff < 0) { in il4965_is_temp_calib_needed() 1659 D_POWER("Getting cooler, delta %d\n", temp_diff); in il4965_is_temp_calib_needed() 1660 temp_diff = -temp_diff; in il4965_is_temp_calib_needed() 1661 } else if (temp_diff == 0) in il4965_is_temp_calib_needed() 1664 D_POWER("Getting warmer, delta %d\n", temp_diff); in il4965_is_temp_calib_needed() 1666 if (temp_diff < IL_TEMPERATURE_THRESHOLD) { in il4965_is_temp_calib_needed()
|
D | 3945.c | 1122 int temp_diff; in il3945_is_temp_calib_needed() local 1125 temp_diff = il->temperature - il->last_temperature; in il3945_is_temp_calib_needed() 1128 if (temp_diff < 0) { in il3945_is_temp_calib_needed() 1129 D_POWER("Getting cooler, delta %d,\n", temp_diff); in il3945_is_temp_calib_needed() 1130 temp_diff = -temp_diff; in il3945_is_temp_calib_needed() 1131 } else if (temp_diff == 0) in il3945_is_temp_calib_needed() 1134 D_POWER("Getting warmer, delta %d,\n", temp_diff); in il3945_is_temp_calib_needed() 1137 if (temp_diff < IL_TEMPERATURE_LIMIT_TIMER) { in il3945_is_temp_calib_needed()
|
/linux-4.4.14/include/linux/power/ |
D | charger-manager.h | 196 int temp_diff; member
|
/linux-4.4.14/drivers/power/ |
D | charger-manager.c | 657 upper_limit -= desc->temp_diff; in cm_check_thermal_status() 658 lower_limit += desc->temp_diff; in cm_check_thermal_status() 1480 if (!desc->temp_diff) in cm_init_thermal_data() 1481 desc->temp_diff = CM_DEFAULT_RECHARGE_TEMP_DIFF; in cm_init_thermal_data() 1550 of_property_read_u32(np, "cm-battery-temp-diff", &desc->temp_diff); in of_cm_parse_desc()
|
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmsmac/phy/ |
D | phy_lcn.c | 2389 s16 manp, meas_temp, temp_diff; in wlc_lcnphy_tempcompensated_txpwrctrl() local 2411 temp_diff = manp - meas_temp; in wlc_lcnphy_tempcompensated_txpwrctrl() 2412 if (temp_diff < 0) { in wlc_lcnphy_tempcompensated_txpwrctrl() 2414 temp_diff = -temp_diff; in wlc_lcnphy_tempcompensated_txpwrctrl() 2417 delta_temp = (s8) wlc_lcnphy_qdiv_roundup((u32) (temp_diff * 192), in wlc_lcnphy_tempcompensated_txpwrctrl() 4283 int temp1, temp2, temp_diff; in wlc_lcnphy_calib_modes() local 4300 temp_diff = temp1 - temp2; in wlc_lcnphy_calib_modes() 4302 (temp_diff > 60) || (temp_diff < -60)) { in wlc_lcnphy_calib_modes()
|