Home
last modified time | relevance | path

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

1234

/linux-6.6.21/drivers/power/supply/
Dda9030_battery.c100 struct da9030_battery_thresholds thresholds; member
247 charger->thresholds.vbat_charge_start)) { in da9030_charger_check_state()
258 charger->thresholds.vbat_charge_stop) { in da9030_charger_check_state()
261 charger->thresholds.vbat_charge_restart); in da9030_charger_check_state()
263 charger->thresholds.vbat_low) { in da9030_charger_check_state()
268 charger->thresholds.vbat_low); in da9030_charger_check_state()
270 if (charger->adc.vchmax_res > charger->thresholds.vcharge_max || in da9030_charger_check_state()
271 charger->adc.vchmin_res < charger->thresholds.vcharge_min || in da9030_charger_check_state()
273 charger->adc.tbat_res < charger->thresholds.tbat_high || in da9030_charger_check_state()
274 charger->adc.tbat_res > charger->thresholds.tbat_low) { in da9030_charger_check_state()
[all …]
/linux-6.6.21/Documentation/userspace-api/media/v4l/
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.6.21/Documentation/ABI/testing/
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.
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.6.21/drivers/hwmon/peci/
Ddimmtemp.c81 struct peci_dimm_thresholds thresholds; member
126 if (!peci_sensor_need_update(&priv->dimm[dimm_no].thresholds.state)) in update_thresholds()
135 priv->dimm[dimm_no].thresholds.temp_max = GET_TEMP_MAX(data) * MILLIDEGREE_PER_DEGREE; in update_thresholds()
136 priv->dimm[dimm_no].thresholds.temp_crit = GET_TEMP_CRIT(data) * MILLIDEGREE_PER_DEGREE; in update_thresholds()
138 peci_sensor_mark_updated(&priv->dimm[dimm_no].thresholds.state); in update_thresholds()
148 mutex_lock(&priv->dimm[dimm_no].thresholds.state.lock); in get_dimm_thresholds()
155 *val = priv->dimm[dimm_no].thresholds.temp_max; in get_dimm_thresholds()
158 *val = priv->dimm[dimm_no].thresholds.temp_crit; in get_dimm_thresholds()
165 mutex_unlock(&priv->dimm[dimm_no].thresholds.state.lock); in get_dimm_thresholds()
352 mutex_init(&priv->dimm[i].thresholds.state.lock); in create_dimm_temp_info()
/linux-6.6.21/Documentation/hwmon/
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
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
Dlm92.rst43 alarms for high, low, and critical thresholds. There's also an hysteresis to
44 control the thresholds for resetting alarms.
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
Djc42.rst124 and critical thresholds.
126 There is also an hysteresis to control the thresholds for resetting alarms.
Dsbtsi_temp.rst41 Limits can be set through the writable thresholds, and if reached will trigger
Dbt1-pvt.rst32 thresholds checking synchronously with the data conversion procedure. Due to
107 low/high/standard thresholds).
/linux-6.6.21/Documentation/driver-api/thermal/
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.6.21/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
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.6.21/drivers/iio/adc/
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.6.21/drivers/net/ethernet/netronome/nfp/abm/
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.6.21/drivers/staging/media/atomisp/pci/isp/kernels/anr/anr_1.0/
Dia_css_anr_types.h32 s32 thresholds[4 * 4 * 4]; member
/linux-6.6.21/Documentation/networking/
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).
Ddctcp.rst18 thresholds. The default ECN marking threshold heuristic for DCTCP on
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/fw/api/
Dphy.h227 __le16 thresholds[IWL_MAX_DTS_TRIPS]; member
/linux-6.6.21/mm/
Dmemcontrol.c4208 t = rcu_dereference(memcg->thresholds.primary); in __mem_cgroup_threshold()
4300 struct mem_cgroup_thresholds *thresholds; in __mem_cgroup_usage_register_event() local
4313 thresholds = &memcg->thresholds; in __mem_cgroup_usage_register_event()
4316 thresholds = &memcg->memsw_thresholds; in __mem_cgroup_usage_register_event()
4322 if (thresholds->primary) in __mem_cgroup_usage_register_event()
4325 size = thresholds->primary ? thresholds->primary->size + 1 : 1; in __mem_cgroup_usage_register_event()
4336 if (thresholds->primary) in __mem_cgroup_usage_register_event()
4337 memcpy(new->entries, thresholds->primary->entries, in __mem_cgroup_usage_register_event()
4363 kfree(thresholds->spare); in __mem_cgroup_usage_register_event()
4364 thresholds->spare = thresholds->primary; in __mem_cgroup_usage_register_event()
[all …]
/linux-6.6.21/drivers/media/pci/solo6x10/
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.6.21/Documentation/admin-guide/cgroup-v1/
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-6.6.21/include/linux/
Dfsl-diu-fb.h152 __be32 thresholds; member
/linux-6.6.21/Documentation/input/devices/
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