/linux-6.1.9/drivers/thermal/ |
D | gov_bang_bang.c | 18 int trip_temp, trip_hyst; in thermal_zone_trip_update() local 21 tz->ops->get_trip_temp(tz, trip, &trip_temp); in thermal_zone_trip_update() 31 trip, trip_temp, tz->temperature, in thermal_zone_trip_update() 53 if (instance->target == 0 && tz->temperature >= trip_temp) in thermal_zone_trip_update() 56 tz->temperature <= trip_temp - trip_hyst) in thermal_zone_trip_update()
|
D | thermal_helpers.c | 134 int trip_temp, hysteresis; in __thermal_zone_set_trips() local 145 tz->ops->get_trip_temp(tz, i, &trip_temp); in __thermal_zone_set_trips() 148 trip_low = trip_temp - hysteresis; in __thermal_zone_set_trips() 153 if (trip_temp > tz->temperature && trip_temp < high) in __thermal_zone_set_trips() 154 high = trip_temp; in __thermal_zone_set_trips()
|
D | gov_step_wise.c | 100 int trip_temp; in thermal_zone_trip_update() local 107 tz->ops->get_trip_temp(tz, trip, &trip_temp); in thermal_zone_trip_update() 112 if (tz->temperature >= trip_temp) { in thermal_zone_trip_update() 118 trip, trip_type, trip_temp, trend, throttle); in thermal_zone_trip_update()
|
D | gov_fair_share.c | 25 int trip_temp; in get_trip_level() local 32 tz->ops->get_trip_temp(tz, count, &trip_temp); in get_trip_level() 33 if (tz->temperature < trip_temp) in get_trip_level()
|
D | thermal_netlink.c | 60 int trip_temp; member 143 nla_put_u32(p->msg, THERMAL_GENL_ATTR_TZ_TRIP_TEMP, p->trip_temp) || in thermal_genl_event_tz_trip_add() 348 int trip_temp, int trip_hyst) in thermal_notify_tz_trip_add() argument 351 .trip_type = trip_type, .trip_temp = trip_temp, in thermal_notify_tz_trip_add() 365 int trip_temp, int trip_hyst) in thermal_notify_tz_trip_change() argument 368 .trip_type = trip_type, .trip_temp = trip_temp, in thermal_notify_tz_trip_change()
|
D | thermal_core.c | 330 int trip, int trip_temp, enum thermal_trip_type trip_type) in handle_critical_trips() argument 333 if (trip_temp <= 0 || tz->temperature < trip_temp) in handle_critical_trips() 347 int trip_temp, hyst = 0; in handle_thermal_trip() local 353 tz->ops->get_trip_temp(tz, trip, &trip_temp); in handle_thermal_trip() 359 if (tz->last_temperature < trip_temp && in handle_thermal_trip() 360 tz->temperature >= trip_temp) in handle_thermal_trip() 363 if (tz->last_temperature >= trip_temp && in handle_thermal_trip() 364 tz->temperature < (trip_temp - hyst)) in handle_thermal_trip() 370 handle_critical_trips(tz, trip, trip_temp, type); in handle_thermal_trip() 1186 int trip_temp; in thermal_zone_device_register_with_trips() local [all …]
|
/linux-6.1.9/drivers/thermal/intel/ |
D | intel_pch_thermal.c | 116 unsigned long trip_temp; in pch_wpt_add_acpi_psv_trip() local 118 trip_temp = deci_kelvin_to_millicelsius(r); in pch_wpt_add_acpi_psv_trip() 119 if (trip_temp) { in pch_wpt_add_acpi_psv_trip() 120 ptd->psv_temp = trip_temp; in pch_wpt_add_acpi_psv_trip() 139 u16 trip_temp; in pch_wpt_init() local 167 trip_temp = readw(ptd->hw_base + WPT_CTT); in pch_wpt_init() 168 trip_temp &= 0x1FF; in pch_wpt_init() 169 if (trip_temp) { in pch_wpt_init() 170 ptd->crt_temp = GET_WPT_TEMP(trip_temp); in pch_wpt_init() 176 trip_temp = readw(ptd->hw_base + WPT_PHL); in pch_wpt_init() [all …]
|
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_thermal.c | 37 if (!adap->ch_thermal.trip_temp) in cxgb4_thermal_get_trip_type() 49 if (!adap->ch_thermal.trip_temp) in cxgb4_thermal_get_trip_temp() 52 *temp = adap->ch_thermal.trip_temp; in cxgb4_thermal_get_trip_temp() 82 ch_thermal->trip_temp = val * 1000; in cxgb4_thermal_init()
|
D | cxgb4.h | 1082 int trip_temp; member
|
/linux-6.1.9/drivers/thermal/broadcom/ |
D | bcm2835_thermal.c | 227 int trip_temp, offset, slope; in bcm2835_thermal_probe() local 235 err = tz->ops->get_trip_temp(tz, 0, &trip_temp); in bcm2835_thermal_probe() 252 val |= bcm2835_thermal_temp2adc(trip_temp, in bcm2835_thermal_probe()
|
/linux-6.1.9/drivers/thermal/tegra/ |
D | tegra30-tsensor.c | 321 int trip_temp; in tegra_tsensor_get_hw_channel_trips() local 323 tzd->ops->get_trip_temp(tzd, i, &trip_temp); in tegra_tsensor_get_hw_channel_trips() 327 *hot_trip = trip_temp; in tegra_tsensor_get_hw_channel_trips() 330 *crit_trip = trip_temp; in tegra_tsensor_get_hw_channel_trips()
|
D | soctherm.c | 447 static int enforce_temp_range(struct device *dev, int trip_temp) in enforce_temp_range() argument 451 temp = clamp_val(trip_temp, min_low_temp, max_high_temp); in enforce_temp_range() 452 if (temp != trip_temp) in enforce_temp_range() 454 trip_temp, temp); in enforce_temp_range() 476 int trip_temp) in thermtrip_program() argument 485 temp = enforce_temp_range(dev, trip_temp) / ts->soc->thresh_grain; in thermtrip_program() 516 int trip_temp) in throttrip_program() argument 526 temp = enforce_temp_range(dev, trip_temp) / ts->soc->thresh_grain; in throttrip_program()
|
/linux-6.1.9/drivers/acpi/ |
D | thermal.c | 639 int trip_temp; in thermal_get_trend() local 642 if (thermal_get_trip_temp(thermal, trip, &trip_temp)) in thermal_get_trend() 645 if (temp > trip_temp) { in thermal_get_trend()
|