Home
last modified time | relevance | path

Searched refs:current_level (Results 1 – 8 of 8) sorted by relevance

/drivers/regulator/
Dad5398.c24 unsigned int current_level; member
35 return chip->min_uA + (selector * range_uA / chip->current_level); in ad5398_calc_current()
101 selector = DIV_ROUND_UP((min_uA - chip->min_uA) * chip->current_level, in ad5398_set_current_limit()
239 chip->current_level = 1 << df->current_bits; in ad5398_probe()
241 chip->current_mask = (chip->current_level - 1) << chip->current_offset; in ad5398_probe()
/drivers/gpu/drm/nouveau/
Dnouveau_backlight.c303 u16 current_level; in nv50_backlight_init() local
317 &current_level, &current_mode); in nv50_backlight_init()
321 ret = drm_edp_backlight_enable(&nv_conn->aux, &bl->edp_info, current_level); in nv50_backlight_init()
329 props->brightness = current_level; in nv50_backlight_init()
/drivers/gpu/drm/i915/display/
Dintel_dp_aux_backlight.c345 u16 current_level; in intel_dp_aux_vesa_setup_backlight() local
351 &current_level, &current_mode); in intel_dp_aux_vesa_setup_backlight()
358 panel->backlight.level = current_level; in intel_dp_aux_vesa_setup_backlight()
/drivers/gpu/drm/
Ddrm_dp_helper.c3423 u16 *current_level, u8 *current_mode) in drm_edp_backlight_init() argument
3439 *current_level = ret; in drm_edp_backlight_init()
3443 aux->name, *current_level, bl->max, bl->pwm_freq_pre_divider, *current_mode); in drm_edp_backlight_init()
3509 u16 current_level; in drm_panel_dp_aux_backlight() local
3534 &current_level, &current_mode); in drm_panel_dp_aux_backlight()
3539 props.brightness = current_level; in drm_panel_dp_aux_backlight()
/drivers/gpu/drm/amd/pm/
Damdgpu_pm.c313 enum amd_dpm_forced_level current_level = 0xff; in amdgpu_set_power_dpm_force_performance_level() local
352 current_level = amdgpu_dpm_get_performance_level(adev); in amdgpu_set_power_dpm_force_performance_level()
354 if (current_level == level) { in amdgpu_set_power_dpm_force_performance_level()
362 if (current_level != AMD_DPM_FORCED_LEVEL_MANUAL && level == AMD_DPM_FORCED_LEVEL_MANUAL) in amdgpu_set_power_dpm_force_performance_level()
364 else if (current_level == AMD_DPM_FORCED_LEVEL_MANUAL && level != AMD_DPM_FORCED_LEVEL_MANUAL) in amdgpu_set_power_dpm_force_performance_level()
370 if (!(current_level & (AMD_DPM_FORCED_LEVEL_PROFILE_STANDARD | in amdgpu_set_power_dpm_force_performance_level()
/drivers/acpi/
Dacpi_video.c782 int max_level, int current_level) in acpi_video_bqc_quirk() argument
823 test_level = current_level == max_level in acpi_video_bqc_quirk()
/drivers/platform/x86/
Dthinkpad_acpi.c9007 u8 current_level = 7; in fan_resume() local
9016 (fan_get_status_safe(&current_level) < 0)) in fan_resume()
9022 do_set = (fan_control_resume_level > current_level); in fan_resume()
9045 do_set = !(current_level & TP_EC_FAN_FULLSPEED) && in fan_resume()
9046 (current_level != fan_control_resume_level); in fan_resume()
/drivers/net/wireless/marvell/
Dmwl8k.c2838 __le16 current_level; member