/kernel/linux/linux-5.10/drivers/thermal/intel/ |
D | intel_pch_thermal.c | 96 unsigned long trip_temp; in pch_wpt_add_acpi_psv_trip() local 98 trip_temp = deci_kelvin_to_millicelsius(r); in pch_wpt_add_acpi_psv_trip() 99 if (trip_temp) { in pch_wpt_add_acpi_psv_trip() 100 ptd->psv_temp = trip_temp; in pch_wpt_add_acpi_psv_trip() 119 u16 trip_temp; in pch_wpt_init() local 147 trip_temp = readw(ptd->hw_base + WPT_CTT); in pch_wpt_init() 148 trip_temp &= 0x1FF; in pch_wpt_init() 149 if (trip_temp) { in pch_wpt_init() 151 ptd->crt_temp = trip_temp * 1000 / 2 - 50000; in pch_wpt_init() 157 trip_temp = readw(ptd->hw_base + WPT_PHL); in pch_wpt_init() [all …]
|
/kernel/linux/linux-5.10/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() 55 if (instance->target == 0 && tz->temperature >= trip_temp) in thermal_zone_trip_update() 58 tz->temperature <= trip_temp - trip_hyst) in thermal_zone_trip_update()
|
D | thermal_helpers.c | 133 int trip_temp, hysteresis; in thermal_zone_set_trips() local 144 tz->ops->get_trip_temp(tz, i, &trip_temp); in thermal_zone_set_trips() 147 trip_low = trip_temp - hysteresis; in thermal_zone_set_trips() 152 if (trip_temp > tz->temperature && trip_temp < high) in thermal_zone_set_trips() 153 high = trip_temp; in thermal_zone_set_trips()
|
D | gov_step_wise.c | 118 int trip_temp; in thermal_zone_trip_update() local 126 trip_temp = tz->forced_passive; in thermal_zone_trip_update() 129 tz->ops->get_trip_temp(tz, trip, &trip_temp); in thermal_zone_trip_update() 135 if (tz->temperature >= trip_temp) { in thermal_zone_trip_update() 141 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 | 55 int trip_temp; member 135 nla_put_u32(p->msg, THERMAL_GENL_ATTR_TZ_TRIP_TEMP, p->trip_temp) || in thermal_genl_event_tz_trip_add() 303 int trip_temp, int trip_hyst) in thermal_notify_tz_trip_add() argument 306 .trip_type = trip_type, .trip_temp = trip_temp, in thermal_notify_tz_trip_add() 320 int trip_temp, int trip_hyst) in thermal_notify_tz_trip_change() argument 323 .trip_type = trip_type, .trip_temp = trip_temp, in thermal_notify_tz_trip_change()
|
D | thermal_core.c | 385 int trip_temp; in handle_critical_trips() local 387 tz->ops->get_trip_temp(tz, trip, &trip_temp); in handle_critical_trips() 390 if (trip_temp <= 0 || tz->temperature < trip_temp) in handle_critical_trips() 419 int trip_temp, hyst = 0; in handle_thermal_trip() local 425 tz->ops->get_trip_temp(tz, trip, &trip_temp); in handle_thermal_trip() 431 if (tz->last_temperature < trip_temp && in handle_thermal_trip() 432 tz->temperature >= trip_temp) in handle_thermal_trip() 434 if (tz->last_temperature >= trip_temp && in handle_thermal_trip() 435 tz->temperature < (trip_temp - hyst)) in handle_thermal_trip() 1392 int trip_temp; in thermal_zone_device_register() local [all …]
|
/kernel/linux/linux-5.10/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 | 1084 int trip_temp; member
|
/kernel/linux/linux-5.10/drivers/thermal/broadcom/ |
D | bcm2835_thermal.c | 228 int trip_temp, offset, slope; in bcm2835_thermal_probe() local 236 err = tz->ops->get_trip_temp(tz, 0, &trip_temp); in bcm2835_thermal_probe() 253 val |= bcm2835_thermal_temp2adc(trip_temp, in bcm2835_thermal_probe()
|
/kernel/linux/linux-5.10/drivers/thermal/tegra/ |
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() 641 int trip_temp, temp, last_temp, ret; in tegra_thermctl_get_trend() local 646 ret = tz->ops->get_trip_temp(zone->tz, trip, &trip_temp); in tegra_thermctl_get_trend() [all …]
|
/kernel/linux/linux-5.10/drivers/acpi/ |
D | thermal.c | 642 int trip_temp; in thermal_get_trend() local 645 if (thermal_get_trip_temp(thermal, trip, &trip_temp)) in thermal_get_trend() 648 if (temp > trip_temp) { in thermal_get_trend()
|
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/ |
D | 0033_linux_drivers_soc_scsi_spi_tee_thermal.patch | 4666 + int trip_temp; 4672 + trip_temp = (trip == IMX_TRIP_PASSIVE) ? sensor->temp_passive : sensor->temp_critical; 4674 + if (sensor->tzd->temperature >= (trip_temp - IMX_TEMP_PASSIVE_COOL_DELTA)) 4810 + int trip_temp; 4816 + trip_temp = (trip == IMX_TRIP_PASSIVE) ? sensor->temp_passive : 4820 + (trip_temp - IMX_SC_TEMP_PASSIVE_COOL_DELTA)) 4939 + int trip_temp; 4944 + trip_temp = (trip == TMU_TRIP_PASSIVE) ? qsensor->temp_passive : 4948 + (trip_temp - TMU_TEMP_PASSIVE_COOL_DELTA))
|