Home
last modified time | relevance | path

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

12345678910>>...17

/linux-6.15/drivers/thermal/
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-6.15/drivers/power/supply/
Dda9030_battery.c101 struct da9030_battery_thresholds thresholds; member
248 charger->thresholds.vbat_charge_start)) { in da9030_charger_check_state()
259 charger->thresholds.vbat_charge_stop) { in da9030_charger_check_state()
262 charger->thresholds.vbat_charge_restart); in da9030_charger_check_state()
264 charger->thresholds.vbat_low) { in da9030_charger_check_state()
269 charger->thresholds.vbat_low); in da9030_charger_check_state()
271 if (charger->adc.vchmax_res > charger->thresholds.vcharge_max || in da9030_charger_check_state()
272 charger->adc.vchmin_res < charger->thresholds.vcharge_min || in da9030_charger_check_state()
274 charger->adc.tbat_res < charger->thresholds.tbat_high || in da9030_charger_check_state()
275 charger->adc.tbat_res > charger->thresholds.tbat_low) { in da9030_charger_check_state()
[all …]
/linux-6.15/drivers/thermal/ti-soc-thermal/
Ddra752-bandgap.h126 * Temperature limits and thresholds for DRA752
130 * and thresholds for DRA752. Definitions are grouped
143 /* interrupts thresholds */
151 /* interrupts thresholds */
159 /* interrupts thresholds */
167 /* interrupts thresholds */
175 /* interrupts thresholds */
Domap5xxx-bandgap.h102 * Temperature limits and thresholds for OMAP5430
106 * and thresholds for OMAP5430. Definitions are grouped
119 /* interrupts thresholds */
129 /* interrupts thresholds */
139 /* interrupts thresholds */
Domap4xxx-bandgap.h49 * Temperature limits and thresholds for OMAP4430
53 * and thresholds for OMAP4430.
136 * Temperature limits and thresholds for OMAP4460
140 * and thresholds for OMAP4460.
149 /* interrupts thresholds */
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.
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-6.15/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.15/mm/
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-6.15/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.15/Documentation/hwmon/
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
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
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/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.15/drivers/net/wireless/intel/iwlwifi/fw/api/
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-6.15/drivers/gpu/drm/xe/
Dxe_gt_sriov_pf_config_types.h38 /** @thresholds: GuC thresholds for adverse events notifications. */
39 u32 thresholds[XE_GUC_KLV_NUM_THRESHOLDS]; member
/linux-6.15/tools/thermal/thermal-engine/
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
99 ERROR("Failed to flush all previous thresholds\n"); in set_threshold()
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()
250 INFO("Thresholds flushed tz_id=%d\n", tz_id); in threshold_flush()
/linux-6.15/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
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-6.15/drivers/net/ethernet/netronome/nfp/abm/
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
/linux-6.15/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()
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/drivers/thermal/intel/
Dthermal_interrupt.h8 /* Interrupt Handler for package thermal thresholds */
11 /* Interrupt Handler for core thermal thresholds */
/linux-6.15/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).
/linux-6.15/drivers/net/wireless/intel/iwlwifi/mld/
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 …]
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()

12345678910>>...17