Home
last modified time | relevance | path

Searched full:thresholds (Results 1 – 25 of 322) 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/drivers/power/supply/
H A 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/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/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/mm/
H A Dmemcontrol-v1.c438 t = rcu_dereference(memcg->thresholds.primary); in mem_cgroup_under_move()
455 * Iterate backward over array of thresholds starting from in mem_cgroup_under_move()
457 * If none of thresholds below usage is crossed, we read
467 * Iterate forward over array of thresholds starting from in memcg1_wait_acct_move()
469 * If none of thresholds above usage is crossed, we read in memcg1_wait_acct_move()
636 struct mem_cgroup_thresholds *thresholds; in mem_cgroup_do_precharge()
649 thresholds = &memcg->thresholds; in mem_cgroup_do_precharge()
652 thresholds = &memcg->memsw_thresholds;
658 if (thresholds
1614 struct mem_cgroup_thresholds *thresholds; __mem_cgroup_usage_register_event() local
1706 struct mem_cgroup_thresholds *thresholds; __mem_cgroup_usage_unregister_event() local
[all...]
/linux/drivers/net/wireless/intel/iwlwifi/fw/api/
H A Dphy.h225 * struct temp_report_ths_cmd - set temperature thresholds
227 * @num_temps: number of temperature thresholds passed
228 * @thresholds: array with the thresholds to be configured
232 __le16 thresholds[IWL_MAX_DTS_TRIPS]; member
H A Dmac.h445 * struct iwl_he_pkt_ext_v1 - QAM thresholds
450 * Each entry contains 2 QAM thresholds for 8us and 16us:
456 * @pkt_ext_qam_th: QAM thresholds
469 * struct iwl_he_pkt_ext_v2 - QAM thresholds
474 * Each entry contains 2 QAM thresholds for 8us and 16us:
480 * @pkt_ext_qam_th: QAM thresholds
612 /* The below fields are set via PPE thresholds element */
680 /* The below fields are set via PPE thresholds element */
755 /* The below fields are set via PPE thresholds element */
/linux/drivers/gpu/drm/xe/
H A Dxe_gt_sriov_pf_config_types.h36 /** @thresholds: GuC thresholds for adverse events notifications. */
37 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()
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/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 */

12345678910>>...13