Home
last modified time | relevance | path

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

/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
Dtemp.c32 therm->bios_sensor.thrs_fan_boost.hysteresis = 3; in nvkm_therm_temp_set_defaults()
35 therm->bios_sensor.thrs_down_clock.hysteresis = 3; in nvkm_therm_temp_set_defaults()
38 therm->bios_sensor.thrs_critical.hysteresis = 5; in nvkm_therm_temp_set_defaults()
41 therm->bios_sensor.thrs_shutdown.hysteresis = 5; /*not that it matters */ in nvkm_therm_temp_set_defaults()
50 s->thrs_fan_boost.hysteresis = max_t(u8, s->thrs_fan_boost.hysteresis, 2); in nvkm_therm_temp_safety_checks()
51 s->thrs_down_clock.hysteresis = max_t(u8, s->thrs_down_clock.hysteresis, 2); in nvkm_therm_temp_safety_checks()
52 s->thrs_critical.hysteresis = max_t(u8, s->thrs_critical.hysteresis, 2); in nvkm_therm_temp_safety_checks()
53 s->thrs_shutdown.hysteresis = max_t(u8, s->thrs_shutdown.hysteresis, 2); in nvkm_therm_temp_safety_checks()
150 } else if (temp <= thrs->temp - thrs->hysteresis && in nvkm_therm_threshold_hyst_polling()
200 sensor->thrs_fan_boost.hysteresis, in nvkm_therm_program_alarms_polling()
[all …]
Dg84.c67 nvkm_wr32(device, 0x20484, sensor->thrs_shutdown.hysteresis); in g84_therm_program_alarms()
83 sensor->thrs_fan_boost.hysteresis, in g84_therm_program_alarms()
85 sensor->thrs_down_clock.hysteresis, in g84_therm_program_alarms()
87 sensor->thrs_critical.hysteresis, in g84_therm_program_alarms()
89 sensor->thrs_shutdown.hysteresis); in g84_therm_program_alarms()
110 nvkm_wr32(device, thrs_reg, thrs->temp - thrs->hysteresis); in g84_therm_threshold_hyst_emulation()
122 cur < thrs->temp - thrs->hysteresis) in g84_therm_threshold_hyst_emulation()
Dbase.c55 temp > (last_trip->temp - last_trip->hysteresis)) in nvkm_therm_update_trip()
227 return therm->bios_sensor.thrs_fan_boost.hysteresis; in nvkm_therm_attr_get()
231 return therm->bios_sensor.thrs_down_clock.hysteresis; in nvkm_therm_attr_get()
235 return therm->bios_sensor.thrs_critical.hysteresis; in nvkm_therm_attr_get()
239 return therm->bios_sensor.thrs_shutdown.hysteresis; in nvkm_therm_attr_get()
271 therm->bios_sensor.thrs_fan_boost.hysteresis = value; in nvkm_therm_attr_set()
279 therm->bios_sensor.thrs_down_clock.hysteresis = value; in nvkm_therm_attr_set()
287 therm->bios_sensor.thrs_critical.hysteresis = value; in nvkm_therm_attr_set()
295 therm->bios_sensor.thrs_shutdown.hysteresis = value; in nvkm_therm_attr_set()
/drivers/platform/x86/
Dgpd-pocket-fan.c35 static int hysteresis = HYSTERESIS_DEFAULT; variable
36 module_param(hysteresis, int, 0444);
37 MODULE_PARM_DESC(hysteresis,
102 if (temp <= (temp_limits[i] - hysteresis)) in gpd_pocket_fan_worker()
140 if (hysteresis < 1000 || hysteresis > 10000) { in gpd_pocket_fan_probe()
142 hysteresis); in gpd_pocket_fan_probe()
143 hysteresis = HYSTERESIS_DEFAULT; in gpd_pocket_fan_probe()
/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
Dtherm.c103 sensor->thrs_critical.hysteresis = value & 0xf; in nvbios_therm_sensor_parse()
110 sensor->thrs_down_clock.hysteresis = value & 0xf; in nvbios_therm_sensor_parse()
117 sensor->thrs_fan_boost.hysteresis = value & 0xf; in nvbios_therm_sensor_parse()
143 sensor->thrs_shutdown.hysteresis = value & 0xf; in nvbios_therm_sensor_parse()
178 cur_trip->hysteresis = value & 0xf; in nvbios_therm_fan_parse()
/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/
Dtherm.h6 u8 hysteresis; member
35 int hysteresis; member
/drivers/thermal/
Dthermal_helpers.c133 int trip_temp, hysteresis; in thermal_zone_set_trips() local
145 tz->ops->get_trip_hyst(tz, i, &hysteresis); in thermal_zone_set_trips()
147 trip_low = trip_temp - hysteresis; in thermal_zone_set_trips()
Dthermal_core.h81 int hysteresis; member
Dthermal_of.c351 *hyst = data->trips[trip].hysteresis; in of_thermal_get_trip_hyst()
365 data->trips[trip].hysteresis = hyst; in of_thermal_set_trip_hyst()
859 trip->hysteresis = prop; in thermal_of_populate_trip()
Darmada_thermal.c503 unsigned int hysteresis = armada_mc_to_reg_hyst(data, hyst_mc); in armada_set_overheat_thresholds() local
518 ctrl1 |= hysteresis << data->hyst_shift; in armada_set_overheat_thresholds()
808 trips[i].hysteresis); in armada_configure_overheat_int()
/drivers/staging/iio/resolver/
Dad2s1210.c94 bool hysteresis; member
323 st->hysteresis = !!(data & AD2S1210_ENABLE_HYSTERESIS); in ad2s1210_store_control()
496 if (st->hysteresis) in ad2s1210_read_raw()
669 st->hysteresis = true; in ad2s1210_probe()
/drivers/hwmon/
Dacpi_power_meter.c69 u64 hysteresis; member
414 if (resource->caps.hysteresis == UNKNOWN_HYSTERESIS) in show_val()
417 val = resource->caps.hysteresis * 1000; in show_val()
/drivers/media/usb/gspca/
Dcpia1.c321 u8 hysteresis; member
654 params->compressionParams.hysteresis = 3; in reset_camera_params()
924 sd->params.compressionParams.hysteresis, in command_setcompressionparams()
/drivers/net/wireless/ti/wlcore/
Dacx.h638 u8 hysteresis; member
Dacx.c1240 acx->hysteresis = hyst; in wl1271_acx_rssi_snr_trigger()