/drivers/gpu/drm/nouveau/nvkm/subdev/therm/ |
D | temp.c | 32 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 …]
|
D | g84.c | 67 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()
|
D | base.c | 55 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/ |
D | gpd-pocket-fan.c | 35 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/ |
D | therm.c | 103 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/ |
D | therm.h | 6 u8 hysteresis; member 35 int hysteresis; member
|
/drivers/thermal/ |
D | thermal_helpers.c | 133 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()
|
D | thermal_core.h | 81 int hysteresis; member
|
D | thermal_of.c | 351 *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()
|
D | armada_thermal.c | 503 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/ |
D | ad2s1210.c | 94 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/ |
D | acpi_power_meter.c | 69 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/ |
D | cpia1.c | 321 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/ |
D | acx.h | 638 u8 hysteresis; member
|
D | acx.c | 1240 acx->hysteresis = hyst; in wl1271_acx_rssi_snr_trigger()
|