Home
last modified time | relevance | path

Searched refs:thresholds (Results 1 – 25 of 90) sorted by relevance

1234

/linux/drivers/thermal/
H A Dthermal_thresholds.c25 struct list_head *thresholds = &tz->user_thresholds; in __thermal_thresholds_flush() local
28 list_for_each_entry_safe(entry, tmp, thresholds, list_node) { in __thermal_thresholds_flush()
60 static struct user_threshold *__thermal_thresholds_find(const struct list_head *thresholds, in __thermal_thresholds_find() argument
65 list_for_each_entry(t, thresholds, list_node) in __thermal_thresholds_find()
72 static bool thermal_thresholds_handle_raising(struct list_head *thresholds, int temperature, in thermal_thresholds_handle_raising() argument
77 list_for_each_entry(t, thresholds, list_node) { in thermal_thresholds_handle_raising()
90 static bool thermal_thresholds_handle_dropping(struct list_head *thresholds, int temperature, in thermal_thresholds_handle_dropping() argument
95 list_for_each_entry_reverse(t, thresholds, list_node) { in thermal_thresholds_handle_dropping()
108 static void thermal_threshold_find_boundaries(struct list_head *thresholds, int temperature, in thermal_threshold_find_boundaries() argument
113 list_for_each_entry(t, thresholds, list_node) { in thermal_threshold_find_boundaries()
[all …]
/linux/drivers/power/supply/
H A Dda9030_battery.c101 struct da9030_battery_thresholds thresholds; member
248 charger->thresholds.vbat_charge_start)) { in da9030_charger_check_state()
259 charger->thresholds.vbat_charge_stop) { in da9030_charger_check_state()
262 charger->thresholds.vbat_charge_restart); in da9030_charger_check_state()
264 charger->thresholds.vbat_low) { in da9030_charger_check_state()
269 charger->thresholds.vbat_low); in da9030_charger_check_state()
271 if (charger->adc.vchmax_res > charger->thresholds.vcharge_max || in da9030_charger_check_state()
272 charger->adc.vchmin_res < charger->thresholds.vcharge_min || in da9030_charger_check_state()
274 charger->adc.tbat_res < charger->thresholds.tbat_high || in da9030_charger_check_state()
275 charger->adc.tbat_res > charger->thresholds.tbat_low) { in da9030_charger_check_state()
[all …]
/linux/mm/
H A Dmemcontrol-v1.c460 t = rcu_dereference(memcg->thresholds.primary); in __mem_cgroup_threshold()
758 struct mem_cgroup_thresholds *thresholds; in __mem_cgroup_usage_register_event() local
771 thresholds = &memcg->thresholds; in __mem_cgroup_usage_register_event()
774 thresholds = &memcg->memsw_thresholds; in __mem_cgroup_usage_register_event()
780 if (thresholds->primary) in __mem_cgroup_usage_register_event()
783 size = thresholds->primary ? thresholds->primary->size + 1 : 1; in __mem_cgroup_usage_register_event()
794 if (thresholds->primary) in __mem_cgroup_usage_register_event()
795 memcpy(new->entries, thresholds->primary->entries, in __mem_cgroup_usage_register_event()
821 kfree(thresholds->spare); in __mem_cgroup_usage_register_event()
822 thresholds->spare = thresholds->primary; in __mem_cgroup_usage_register_event()
[all …]
/linux/Documentation/userspace-api/media/v4l/
H A Dext-ctrls-detect.rst39 detection threshold. These thresholds are set through the
43 value that specifies which per-region motion detection thresholds
44 should be used. Each region has its own thresholds. How these
45 per-region thresholds are set up is driver-specific. The region
56 Sets the motion detection thresholds for each cell in the grid. To
/linux/Documentation/ABI/testing/
H A Dsysfs-bus-iio-light-lm3533-als6 Event generated when channel passes one of the four thresholds
16 Get the hysteresis for thresholds Y, that is,
32 These thresholds correspond to the eight zone-boundary
42 in_illuminance0_threshY_{falling,rising} thresholds.
H A Dsysfs-bus-iio-adc-hi843524 Hysteresis between low and high thresholds can not be lower then 2 and
44 Hysteresis between low and high thresholds can not be lower then 2 and
/linux/Documentation/hwmon/
H A Dxdpe152c4.rst37 The driver provides for current: input, maximum and critical thresholds
38 and maximum and critical alarms. Low Critical thresholds and Low critical alarm are
61 The driver provides for voltage: input, critical and low critical thresholds
106 The driver provides for temperature: input, maximum and critical thresholds
H A Dxdpe12284.rst48 The driver provides for current: input, maximum and critical thresholds
49 and maximum and critical alarms. Critical thresholds and critical alarm are
66 The driver provides for voltage: input, critical and low critical thresholds
94 The driver provides for temperature: input, maximum and critical thresholds
H A Dlm92.rst43 alarms for high, low, and critical thresholds. There's also an hysteresis to
44 control the thresholds for resetting alarms.
H A Dsmsc47m192.rst78 in[0-7]_max lower and upper alarm thresholds for in[0-7]_input reading
90 temp[1-3]_max lower and upper alarm thresholds for temperatures
/linux/tools/thermal/thermal-engine/
H A Dthermal-engine.c81 for_each_thermal_threshold(tz->thresholds, show_threshold, NULL); in show_tz()
93 int thresholds[] = { 43000, 65000, 49000, 55000, 57000 }; in set_threshold() local
103 for (i = 0; i < sizeof(thresholds) / sizeof(thresholds[0]); i++) in set_threshold()
104 if (thermal_cmd_threshold_add(th, tz, thresholds[i], in set_threshold()
/linux/drivers/hwmon/peci/
H A Ddimmtemp.c83 struct peci_dimm_thresholds thresholds; member
125 if (!peci_sensor_need_update(&priv->dimm[dimm_no].thresholds.state)) in update_thresholds()
132 priv->dimm[dimm_no].thresholds.temp_max = GET_TEMP_MAX(data) * MILLIDEGREE_PER_DEGREE; in update_thresholds()
133 priv->dimm[dimm_no].thresholds.temp_crit = GET_TEMP_CRIT(data) * MILLIDEGREE_PER_DEGREE; in update_thresholds()
135 peci_sensor_mark_updated(&priv->dimm[dimm_no].thresholds.state); in update_thresholds()
151 *val = priv->dimm[dimm_no].thresholds.temp_max; in get_dimm_thresholds()
154 *val = priv->dimm[dimm_no].thresholds.temp_crit; in get_dimm_thresholds()
/linux/Documentation/driver-api/thermal/
H A Dnouveau_thermal.rst29 temperature thresholds:
41 Some of these thresholds may not be used by Nouveau depending
44 The default value for these thresholds comes from the GPU's vbios. These
45 thresholds can be configured thanks to the following HWMON attributes:
/linux/drivers/net/wireless/intel/iwlwifi/mld/
H A Dthermal.c127 __le16 *thresholds; member
138 twd->thresholds[twd->count++] = in iwl_trip_temp_iter()
150 .thresholds = cmd.thresholds, in iwl_mld_config_temp_report_ths()
167 sort(cmd.thresholds, twd.count, sizeof(s16), in iwl_mld_config_temp_report_ths()
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
H A Dtemp.c86 static const char * const thresholds[] = { in nvkm_therm_sensor_event() local
97 temperature, thresholds[thrs]); in nvkm_therm_sensor_event()
100 temperature, thresholds[thrs]); in nvkm_therm_sensor_event()
/linux/drivers/iio/adc/
H A Dpalmas_gpadc.c126 struct palmas_gpadc_thresholds thresholds[PALMAS_ADC_CH_MAX]; member
479 int val = adc->thresholds[adc_chan].high; in palmas_gpadc_get_high_threshold_raw()
514 int val = adc->thresholds[adc_chan].low; in palmas_gpadc_get_low_threshold_raw()
719 adc->thresholds[adc_chan].high : in palmas_gpadc_read_event_value()
720 adc->thresholds[adc_chan].low; in palmas_gpadc_read_event_value()
756 old = adc->thresholds[adc_chan].high; in palmas_gpadc_write_event_value()
757 adc->thresholds[adc_chan].high = val; in palmas_gpadc_write_event_value()
759 old = adc->thresholds[adc_chan].low; in palmas_gpadc_write_event_value()
760 adc->thresholds[adc_chan].low = val; in palmas_gpadc_write_event_value()
/linux/drivers/input/keyboard/
H A Dcap11xx.c97 u32 thresholds[8]; member
260 priv->thresholds, priv->model->num_channels)) { in cap11xx_init_keys()
262 if (priv->thresholds[i] > 127) { in cap11xx_init_keys()
264 priv->thresholds[i]); in cap11xx_init_keys()
270 priv->thresholds[i]); in cap11xx_init_keys()
/linux/drivers/net/ethernet/netronome/nfp/abm/
H A Dmain.c480 abm->thresholds = kvcalloc(abm->num_thresholds, in nfp_abm_init()
481 sizeof(*abm->thresholds), GFP_KERNEL); in nfp_abm_init()
482 if (!abm->thresholds) in nfp_abm_init()
513 kvfree(abm->thresholds); in nfp_abm_init()
531 kvfree(abm->thresholds); in nfp_abm_clean()
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dtt.c548 __le16 *thresholds; member
559 twd->thresholds[twd->count++] = cpu_to_le16((s16)(trip->temperature / 1000)); in iwl_trip_temp_cb()
569 struct iwl_trip_walk_data twd = { .thresholds = cmd.thresholds, .count = 0 }; in iwl_mvm_send_temp_report_ths_cmd()
587 sort(cmd.thresholds, twd.count, sizeof(s16), compare_temps, NULL); in iwl_mvm_send_temp_report_ths_cmd()
/linux/drivers/staging/media/atomisp/pci/isp/kernels/anr/anr_1.0/
H A Dia_css_anr_types.h25 s32 thresholds[4 * 4 * 4]; member
/linux/Documentation/networking/xfrm/
H A Dxfrm_sync.rst26 the events. i.e we are going to set thresholds to say "let me
28 These thresholds are set system-wide via sysctls or can be updated
116 Programs installing SAs will need to specify the two thresholds, however,
169 thresholds for an SA using XFRM_MSG_NEWAE (as described in #i above).
/linux/Documentation/admin-guide/cgroup-v1/
H A Dmemcg_test.rst322 9.10 Memory thresholds
325 Memory controller implements memory thresholds using cgroups notification
340 the thresholds.
342 Use /cgroup/A/memory.memsw.usage_in_bytes to test memsw thresholds.
/linux/drivers/net/wireless/intel/iwlwifi/fw/api/
H A Dphy.h234 __le16 thresholds[IWL_MAX_DTS_TRIPS]; member
/linux/drivers/media/pci/solo6x10/
H A Dsolo6x10-disp.c201 const u16 *thresholds) in solo_set_motion_block() argument
214 buf[x] = cpu_to_le16(thresholds[y * SOLO_MOTION_SZ + x]); in solo_set_motion_block()
/linux/Documentation/input/devices/
H A Dntrig.rst93 events until it hits thresholds and begins propagating. In the interest in
103 Setting the activation size thresholds to large values will result in deciding
105 activation slack while reducing the size thresholds may suffice to eliminate

1234