Home
last modified time | relevance | path

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

12345678910>>...13

/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/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/mm/
H A Dmemcontrol-v1.c438 t = rcu_dereference(memcg->thresholds.primary); in __mem_cgroup_threshold()
455 * Iterate backward over array of thresholds starting from in __mem_cgroup_threshold()
457 * If none of thresholds below usage is crossed, we read in __mem_cgroup_threshold()
467 * Iterate forward over array of thresholds starting from in __mem_cgroup_threshold()
469 * If none of thresholds above usage is crossed, we read in __mem_cgroup_threshold()
736 struct mem_cgroup_thresholds *thresholds; in __mem_cgroup_usage_register_event() local
749 thresholds = &memcg->thresholds; in __mem_cgroup_usage_register_event()
752 thresholds = &memcg->memsw_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()
[all …]
/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.
/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/xe/
H A Dxe_gt_sriov_pf_config_types.h38 /** @thresholds: GuC thresholds for adverse events notifications. */
39 u32 thresholds[XE_GUC_KLV_NUM_THRESHOLDS]; member
H A Dxe_guc_klv_thresholds_set_types.h12 * MAKE_XE_GUC_KLV_THRESHOLDS_SET - Generate various GuC thresholds definitions.
38 * XE_GUC_KLV_NUM_THRESHOLDS - Number of GuC thresholds KLVs.
/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/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/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/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/drivers/thermal/intel/
H A Dthermal_interrupt.h8 /* Interrupt Handler for package thermal thresholds */
11 /* Interrupt Handler for core thermal thresholds */
/linux/drivers/firmware/arm_scmi/
H A Dpowercap.c117 u64 thresholds; member
119 (lower_32_bits((p)->states[(id)].thresholds))
121 (upper_32_bits((p)->states[(id)].thresholds))
618 pi->states[domain_id].thresholds = in scmi_powercap_measurements_threshold_set()
622 /* Update thresholds if notification already enabled */ in scmi_powercap_measurements_threshold_set()
772 * thresholds to build a proper POWERCAP_MEASUREMENTS_NOTIFY in scmi_powercap_notify()
773 * enable request and we fail, complaining, if no thresholds in scmi_powercap_notify()
784 "Invalid Measurements Notify thresholds: %u/%u\n", in scmi_powercap_notify()
849 * as to be able to properly update the notification thresholds in scmi_powercap_set_notify_enabled()
/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.c50 unsigned threshold_lo[2]; /* GND-Open and Supply-Open thresholds */
51 unsigned threshold_hi[2]; /* GND-Open and Supply-Open thresholds */
241 /* program thresholds */ in hi8435_write_event_value()
500 * After chip reset the thresholds are in undefined state, so we need to in hi8435_probe()
501 * 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.

12345678910>>...13