Home
last modified time | relevance | path

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

12345

/linux-6.15/drivers/thermal/
H A Dthermal_thresholds.c25 struct list_head *thresholds = &tz->user_thresholds; in __thermal_thresholds_flush() local
65 list_for_each_entry(t, thresholds, list_node) in __thermal_thresholds_find()
77 list_for_each_entry(t, thresholds, list_node) { in thermal_thresholds_handle_raising()
113 list_for_each_entry(t, thresholds, list_node) { in thermal_threshold_find_boundaries()
130 struct list_head *thresholds = &tz->user_thresholds; in thermal_thresholds_handle() local
158 if (thermal_thresholds_handle_raising(thresholds, in thermal_thresholds_handle()
162 if (thermal_thresholds_handle_dropping(thresholds, in thermal_thresholds_handle()
171 struct list_head *thresholds = &tz->user_thresholds; in thermal_thresholds_add() local
191 list_add(&t->list_node, thresholds); in thermal_thresholds_add()
205 struct list_head *thresholds = &tz->user_thresholds; in thermal_thresholds_delete() local
[all …]
/linux-6.15/drivers/power/supply/
H A Dda9030_battery.c264 charger->thresholds.vbat_low) { in da9030_charger_check_state()
269 charger->thresholds.vbat_low); in da9030_charger_check_state()
378 charger->thresholds.vbat_crit); in da9030_battery_vbat_event()
382 charger->thresholds.vbat_crit) { in da9030_battery_vbat_event()
419 charger->thresholds.vbat_low = in da9030_battery_convert_thresholds()
421 charger->thresholds.vbat_crit = in da9030_battery_convert_thresholds()
425 charger->thresholds.vbat_charge_stop = in da9030_battery_convert_thresholds()
430 charger->thresholds.vcharge_min = in da9030_battery_convert_thresholds()
432 charger->thresholds.vcharge_max = in da9030_battery_convert_thresholds()
456 v[2] = charger->thresholds.tbat_high; in da9030_battery_charger_init()
[all …]
/linux-6.15/mm/
H A Dmemcontrol-v1.c749 thresholds = &memcg->thresholds; in __mem_cgroup_usage_register_event()
758 if (thresholds->primary) in __mem_cgroup_usage_register_event()
761 size = thresholds->primary ? thresholds->primary->size + 1 : 1; in __mem_cgroup_usage_register_event()
772 if (thresholds->primary) in __mem_cgroup_usage_register_event()
799 kfree(thresholds->spare); in __mem_cgroup_usage_register_event()
800 thresholds->spare = thresholds->primary; in __mem_cgroup_usage_register_event()
836 thresholds = &memcg->thresholds; in __mem_cgroup_usage_unregister_event()
844 if (!thresholds->primary) in __mem_cgroup_usage_unregister_event()
859 new = thresholds->spare; in __mem_cgroup_usage_unregister_event()
894 thresholds->spare = thresholds->primary; in __mem_cgroup_usage_unregister_event()
[all …]
/linux-6.15/Documentation/userspace-api/media/v4l/
H A Dext-ctrls-detect.rst38 detection threshold. These thresholds are set through the
42 value that specifies which per-region motion detection thresholds
43 should be used. Each region has its own thresholds. How these
44 per-region thresholds are set up is driver-specific. The region
55 Sets the motion detection thresholds for each cell in the grid. To
/linux-6.15/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-6.15/drivers/hwmon/peci/
H A Ddimmtemp.c81 struct peci_dimm_thresholds thresholds; member
126 if (!peci_sensor_need_update(&priv->dimm[dimm_no].thresholds.state)) in update_thresholds()
133 priv->dimm[dimm_no].thresholds.temp_max = GET_TEMP_MAX(data) * MILLIDEGREE_PER_DEGREE; in update_thresholds()
134 priv->dimm[dimm_no].thresholds.temp_crit = GET_TEMP_CRIT(data) * MILLIDEGREE_PER_DEGREE; in update_thresholds()
136 peci_sensor_mark_updated(&priv->dimm[dimm_no].thresholds.state); in update_thresholds()
146 mutex_lock(&priv->dimm[dimm_no].thresholds.state.lock); in get_dimm_thresholds()
153 *val = priv->dimm[dimm_no].thresholds.temp_max; in get_dimm_thresholds()
156 *val = priv->dimm[dimm_no].thresholds.temp_crit; in get_dimm_thresholds()
163 mutex_unlock(&priv->dimm[dimm_no].thresholds.state.lock); in get_dimm_thresholds()
350 mutex_init(&priv->dimm[i].thresholds.state.lock); in create_dimm_temp_info()
/linux-6.15/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.
/linux-6.15/drivers/net/wireless/intel/iwlwifi/mld/
H A Dthermal.c124 __le16 *thresholds; member
135 twd->thresholds[twd->count++] = in iwl_trip_temp_iter()
147 .thresholds = cmd.thresholds, in iwl_mld_config_temp_report_ths()
164 sort(cmd.thresholds, twd.count, sizeof(s16), in iwl_mld_config_temp_report_ths()
/linux-6.15/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-6.15/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-6.15/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-6.15/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-6.15/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-6.15/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-6.15/drivers/staging/media/atomisp/pci/isp/kernels/anr/anr_1.0/
H A Dia_css_anr_types.h23 s32 thresholds[4 * 4 * 4]; member
/linux-6.15/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dtt.c560 __le16 *thresholds; member
571 twd->thresholds[twd->count++] = cpu_to_le16((s16)(trip->temperature / 1000)); in iwl_trip_temp_cb()
581 struct iwl_trip_walk_data twd = { .thresholds = cmd.thresholds, .count = 0 }; in iwl_mvm_send_temp_report_ths_cmd()
599 sort(cmd.thresholds, twd.count, sizeof(s16), compare_temps, NULL); in iwl_mvm_send_temp_report_ths_cmd()
/linux-6.15/drivers/gpu/drm/xe/
H A Dxe_gt_sriov_pf_config_types.h39 u32 thresholds[XE_GUC_KLV_NUM_THRESHOLDS]; member
/linux-6.15/Documentation/devicetree/bindings/iio/adc/
H A Dmaxim,max34408.yaml19 user-programmable digital thresholds to indicate overcurrent conditions.
47 when any of the digital comparator thresholds are exceeded as long as the ENA
/linux-6.15/Documentation/networking/
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,
166 thresholds for an SA using XFRM_MSG_NEWAE (as described in #i above).
/linux-6.15/drivers/net/wireless/intel/iwlwifi/fw/api/
H A Dphy.h234 __le16 thresholds[IWL_MAX_DTS_TRIPS]; member
/linux-6.15/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-6.15/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.

12345