Home
last modified time | relevance | path

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

/drivers/thermal/
A Dthermal_thresholds.c25 struct list_head *thresholds = &tz->user_thresholds; in __thermal_thresholds_flush() local
65 list_for_each_entry(t, thresholds, list_node) in __thermal_thresholds_find()
77 list_for_each_entry(t, thresholds, list_node) { in thermal_thresholds_handle_raising()
113 list_for_each_entry(t, thresholds, list_node) { in thermal_threshold_find_boundaries()
130 struct list_head *thresholds = &tz->user_thresholds; in thermal_thresholds_handle() local
158 if (thermal_thresholds_handle_raising(thresholds, in thermal_thresholds_handle()
162 if (thermal_thresholds_handle_dropping(thresholds, in thermal_thresholds_handle()
171 struct list_head *thresholds = &tz->user_thresholds; in thermal_thresholds_add() local
191 list_add(&t->list_node, thresholds); in thermal_thresholds_add()
205 struct list_head *thresholds = &tz->user_thresholds; in thermal_thresholds_delete() local
[all …]
/drivers/power/supply/
A Dda9030_battery.c264 charger->thresholds.vbat_low) { in da9030_charger_check_state()
269 charger->thresholds.vbat_low); in da9030_charger_check_state()
378 charger->thresholds.vbat_crit); in da9030_battery_vbat_event()
382 charger->thresholds.vbat_crit) { in da9030_battery_vbat_event()
419 charger->thresholds.vbat_low = in da9030_battery_convert_thresholds()
421 charger->thresholds.vbat_crit = in da9030_battery_convert_thresholds()
425 charger->thresholds.vbat_charge_stop = in da9030_battery_convert_thresholds()
430 charger->thresholds.vcharge_min = in da9030_battery_convert_thresholds()
432 charger->thresholds.vcharge_max = in da9030_battery_convert_thresholds()
456 v[2] = charger->thresholds.tbat_high; in da9030_battery_charger_init()
[all …]
A DKconfig938 This driver can manage charge thresholds and behaviour.
/drivers/hwmon/peci/
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()
/drivers/net/wireless/intel/iwlwifi/mld/
A Dthermal.c127 __le16 *thresholds; member
138 twd->thresholds[twd->count++] = in iwl_trip_temp_iter()
150 .thresholds = cmd.thresholds, in iwl_mld_config_temp_report_ths()
167 sort(cmd.thresholds, twd.count, sizeof(s16), in iwl_mld_config_temp_report_ths()
/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
A 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()
/drivers/iio/adc/
A 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()
/drivers/input/keyboard/
A Dcap11xx.c97 u32 thresholds[8]; member
260 priv->thresholds, priv->model->num_channels)) { in cap11xx_init_keys()
262 if (priv->thresholds[i] > 127) { in cap11xx_init_keys()
264 priv->thresholds[i]); in cap11xx_init_keys()
270 priv->thresholds[i]); in cap11xx_init_keys()
/drivers/net/ethernet/netronome/nfp/abm/
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()
A Dctrl.c82 if (abm->thresholds[id] == val) in __nfp_abm_ctrl_set_q_lvl()
94 abm->thresholds[id] = val; in __nfp_abm_ctrl_set_q_lvl()
A Dmain.h72 u32 *thresholds; member
/drivers/net/wireless/intel/iwlwifi/mvm/
A Dtt.c548 __le16 *thresholds; member
559 twd->thresholds[twd->count++] = cpu_to_le16((s16)(trip->temperature / 1000)); in iwl_trip_temp_cb()
569 struct iwl_trip_walk_data twd = { .thresholds = cmd.thresholds, .count = 0 }; in iwl_mvm_send_temp_report_ths_cmd()
587 sort(cmd.thresholds, twd.count, sizeof(s16), compare_temps, NULL); in iwl_mvm_send_temp_report_ths_cmd()
/drivers/staging/media/atomisp/pci/isp/kernels/anr/anr_1.0/
A Dia_css_anr_types.h25 s32 thresholds[4 * 4 * 4]; member
/drivers/gpu/drm/xe/
A Dxe_gt_sriov_pf_config_types.h39 u32 thresholds[XE_GUC_KLV_NUM_THRESHOLDS]; member
A Dxe_gt_sriov_pf_config.c306 cfg[n++] = config->thresholds[MAKE_XE_GUC_KLV_THRESHOLD_INDEX(TAG)]; \ in encode_config()
1940 config->thresholds[index] = value; in pf_provision_threshold()
1950 return config->thresholds[index]; in pf_get_threshold()
2012 config->thresholds[MAKE_XE_GUC_KLV_THRESHOLD_INDEX(TAG)] = 0; \ in pf_reset_config_thresholds()
/drivers/media/pci/solo6x10/
A 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()
A Dsolo6x10.h361 const u16 *thresholds);
/drivers/net/wireless/intel/iwlwifi/fw/api/
A Dphy.h234 __le16 thresholds[IWL_MAX_DTS_TRIPS]; member
/drivers/firmware/arm_scmi/
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()
/drivers/comedi/drivers/
A Djr3_pci.h241 struct thresh_struct thresholds[4]; member
/drivers/thermal/intel/
A DKconfig43 and get/set thresholds on DTSs.
/drivers/media/usb/go7007/
A Dgo7007-fw.c1429 u16 thresholds[] = { in modet_to_package() local
1448 ret = copy_packages(code, thresholds, 1, space); in modet_to_package()
/drivers/video/fbdev/
A Dfsl-diu-fb.c450 hw->syn_pol, hw->thresholds, hw->int_mask, hw->plut); in fsl_diu_dump()
/drivers/gpu/drm/amd/display/dmub/inc/
A Ddmub_cmd.h4714 uint32_t thresholds[ABM_MAX_NUM_OF_ACE_SEGMENTS]; member
/drivers/hwmon/
A DKconfig477 generated by the thresholds comparator only in synchronization with

Completed in 744 milliseconds