| /drivers/thermal/ |
| A D | thermal_thresholds.c | 25 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 D | da9030_battery.c | 264 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 D | Kconfig | 938 This driver can manage charge thresholds and behaviour.
|
| /drivers/hwmon/peci/ |
| A D | dimmtemp.c | 81 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 D | thermal.c | 127 __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 D | temp.c | 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()
|
| /drivers/iio/adc/ |
| A D | palmas_gpadc.c | 126 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 D | cap11xx.c | 97 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 D | main.c | 480 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 D | ctrl.c | 82 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 D | main.h | 72 u32 *thresholds; member
|
| /drivers/net/wireless/intel/iwlwifi/mvm/ |
| A D | tt.c | 548 __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 D | ia_css_anr_types.h | 25 s32 thresholds[4 * 4 * 4]; member
|
| /drivers/gpu/drm/xe/ |
| A D | xe_gt_sriov_pf_config_types.h | 39 u32 thresholds[XE_GUC_KLV_NUM_THRESHOLDS]; member
|
| A D | xe_gt_sriov_pf_config.c | 306 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 D | solo6x10-disp.c | 201 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 D | solo6x10.h | 361 const u16 *thresholds);
|
| /drivers/net/wireless/intel/iwlwifi/fw/api/ |
| A D | phy.h | 234 __le16 thresholds[IWL_MAX_DTS_TRIPS]; member
|
| /drivers/firmware/arm_scmi/ |
| A D | powercap.c | 117 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 D | jr3_pci.h | 241 struct thresh_struct thresholds[4]; member
|
| /drivers/thermal/intel/ |
| A D | Kconfig | 43 and get/set thresholds on DTSs.
|
| /drivers/media/usb/go7007/ |
| A D | go7007-fw.c | 1429 u16 thresholds[] = { in modet_to_package() local 1448 ret = copy_packages(code, thresholds, 1, space); in modet_to_package()
|
| /drivers/video/fbdev/ |
| A D | fsl-diu-fb.c | 450 hw->syn_pol, hw->thresholds, hw->int_mask, hw->plut); in fsl_diu_dump()
|
| /drivers/gpu/drm/amd/display/dmub/inc/ |
| A D | dmub_cmd.h | 4714 uint32_t thresholds[ABM_MAX_NUM_OF_ACE_SEGMENTS]; member
|
| /drivers/hwmon/ |
| A D | Kconfig | 477 generated by the thresholds comparator only in synchronization with
|