Home
last modified time | relevance | path

Searched full:thresholds (Results 1 – 25 of 300) sorted by relevance

12345678910>>...12

/linux/drivers/thermal/
H A Dthermal_thresholds.c7 * Thermal thresholds
25 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
[all …]
/linux/mm/
H A Dmemcontrol-v1.c460 t = rcu_dereference(memcg->thresholds.primary); in __mem_cgroup_threshold()
477 * Iterate backward over array of thresholds starting from in __mem_cgroup_threshold()
479 * If none of thresholds below usage is crossed, we read in __mem_cgroup_threshold()
489 * Iterate forward over array of thresholds starting from in __mem_cgroup_threshold()
491 * If none of thresholds above usage is crossed, we read 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()
[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 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 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 Dlm92.rst43 alarms for high, low, and critical thresholds. There's also an hysteresis to
44 control the thresholds for resetting alarms.
H A Dchipcap2.rst35 minimum and maximum values are provided. Their thresholds and hystersis can be
38 Thresholds and hysteris must be provided as a per cent mille. These values
/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/fw/api/
H A Dphy.h227 * struct temp_report_ths_cmd - set temperature thresholds
229 * @num_temps: number of temperature thresholds passed
230 * @thresholds: array with the thresholds to be configured
234 __le16 thresholds[IWL_MAX_DTS_TRIPS]; member
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
H A Dtemp.c49 /* enforce a minimum hysteresis on thresholds */ in nvkm_therm_temp_safety_checks()
86 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()
198 "programmed thresholds [ %d(%d), %d(%d), %d(%d), %d(%d) ]\n", in nvkm_therm_program_alarms_polling()
/linux/drivers/net/ethernet/netronome/nfp/abm/
H A Dmain.h27 /* The possible actions if thresholds are exceeded */
48 * @thresholds: current threshold configuration
49 * @threshold_undef: bitmap of thresholds which have not been set
51 * @num_thresholds: number of @thresholds and bits in @threshold_undef
72 u32 *thresholds; member
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/thermal/ti-soc-thermal/
H A Dti-bandgap.h79 * @bgap_threshold: BANDGAP_THRESHOLD register offset (TALERT thresholds)
82 * @tshut_threshold: TSHUT_THRESHOLD register offset (TSHUT thresholds)
138 * struct temp_sensor_data - The thresholds and limits for temperature sensors.
146 * This data structure will hold the required thresholds and temperature limits
216 * @ts_data: pointer to struct with thresholds, limits of temperature sensor
253 * shutdown thresholds are programmable, for instance.
256 * a signal representing violation of programmable alert thresholds.
H A Ddra752-thermal-data.c148 /* Thresholds and limits for DRA752 MPU temperature sensor */
156 /* Thresholds and limits for DRA752 GPU temperature sensor */
164 /* Thresholds and limits for DRA752 CORE temperature sensor */
172 /* Thresholds and limits for DRA752 DSPEVE temperature sensor */
180 /* Thresholds and limits for DRA752 IVA temperature sensor */
/linux/drivers/net/wireless/intel/iwlwifi/mld/
H A Dsta.c174 /* According to the 11be spec, if for a specific BW the PPE Thresholds in iwl_mld_parse_ppe()
175 * isn't present - it should inherit the thresholds from the last in iwl_mld_parse_ppe()
176 * BW for which we had PPE Thresholds. In 11ax though, we don't have in iwl_mld_parse_ppe()
243 /* Set the PPE thresholds accordingly */ in iwl_mld_set_pkt_ext_from_nominal_padding()
284 /* Initialize the PPE thresholds to "None" (7), as described in Table in iwl_mld_fill_pkt_ext()
294 /* If PPE Thresholds exists, parse them into a FW-familiar in iwl_mld_fill_pkt_ext()
310 /* EHT PPE Thresholds doesn't exist - set the API according to in iwl_mld_fill_pkt_ext()
316 * Thresholds for BW 320Mhz, thresholds for this BW will in iwl_mld_fill_pkt_ext()
329 /* if PPE Thresholds doesn't present in both EHT IE and HE IE - in iwl_mld_fill_pkt_ext()
330 * take the Thresholds from Common Nominal Packet Padding field in iwl_mld_fill_pkt_ext()
[all …]
/linux/drivers/thermal/intel/
H A Dthermal_interrupt.h8 /* Interrupt Handler for package thermal thresholds */
11 /* Interrupt Handler for core thermal thresholds */
/linux/sound/soc/codecs/
H A Dcs42l73.h55 #define CS42L73_LMAXHL 0x28 /* Lmtr Thresholds HP/Line. */
58 #define CS42L73_LMAXSPK 0x2B /* Lmtr Thresholds Spkphone [A]. */
61 #define CS42L73_LMAXESL 0x2E /* Lmtr Thresholds */
64 #define CS42L73_ALCMINMAX 0x31 /* ALC Thresholds AB. */
/linux/include/uapi/linux/
H A Dthermal.h102 THERMAL_GENL_CMD_THRESHOLD_GET, /* List of thresholds */
105 THERMAL_GENL_CMD_THRESHOLD_FLUSH, /* Flush all the thresholds */
/linux/drivers/iio/adc/
H A Dhi8435.c48 unsigned threshold_lo[2]; /* GND-Open and Supply-Open thresholds */
49 unsigned threshold_hi[2]; /* GND-Open and Supply-Open thresholds */
239 /* program thresholds */ in hi8435_write_event_value()
498 * After chip reset the thresholds are in undefined state, so we need to in hi8435_probe()
499 * initialize thresholds to some initial values and then prevent in hi8435_probe()
/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/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/drivers/net/wireless/ath/ath5k/
H A Dani.h23 /* these thresholds are relative to the ATH5K_ANI_LISTEN_PERIOD */
30 /* average beacon RSSI thresholds */
/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

12345678910>>...12