Home
last modified time | relevance | path

Searched refs:fan_mode (Results 1 – 16 of 16) sorted by relevance

/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
H A Dtherm.c164 fan->fan_mode = NVBIOS_THERM_FAN_OTHER; in nvbios_therm_fan_parse()
175 if (fan->fan_mode > NVBIOS_THERM_FAN_TRIP) in nvbios_therm_fan_parse()
176 fan->fan_mode = NVBIOS_THERM_FAN_TRIP; in nvbios_therm_fan_parse()
197 if (fan->fan_mode > NVBIOS_THERM_FAN_LINEAR) in nvbios_therm_fan_parse()
198 fan->fan_mode = NVBIOS_THERM_FAN_LINEAR; in nvbios_therm_fan_parse()
207 fan->fan_mode == NVBIOS_THERM_FAN_OTHER) { in nvbios_therm_fan_parse()
208 fan->fan_mode = NVBIOS_THERM_FAN_LINEAR; in nvbios_therm_fan_parse()
H A Dfan.c86 fan->fan_mode = NVBIOS_THERM_FAN_LINEAR; in nvbios_fan_parse()
/linux/drivers/platform/x86/
H A Dmsi-ec.c81 .fan_mode = {
162 .fan_mode = {
239 .fan_mode = {
317 .fan_mode = {
395 .fan_mode = {
474 .fan_mode = {
553 .fan_mode = {
633 .fan_mode = {
710 .fan_mode = {
787 .fan_mode = {
[all …]
H A Dmsi-ec.h115 struct msi_ec_fan_mode_conf fan_mode; member
H A Dlg-laptop.c526 static DEVICE_ATTR_RW(fan_mode);
/linux/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/
H A Dtherm.h55 enum nvbios_therm_fan_mode fan_mode; member
/linux/Documentation/ABI/testing/
H A Dsysfs-platform-lg-laptop23 What: /sys/devices/platform/lg-laptop/fan_mode
H A Dsysfs-platform-ideapad-laptop8 What: /sys/bus/platform/devices/VPC2004:*/fan_mode
/linux/Documentation/admin-guide/laptops/
H A Dlg-laptop.rst51 Writing 0/1/2 to /sys/devices/platform/lg-laptop/fan_mode sets fan mode to
/linux/drivers/gpu/drm/amd/pm/swsmu/
H A Damdgpu_smu.c542 if (smu->user_dpm_profile.fan_mode == AMD_FAN_CTRL_MANUAL || in smu_restore_dpm_user_profile()
543 smu->user_dpm_profile.fan_mode == AMD_FAN_CTRL_NONE) { in smu_restore_dpm_user_profile()
544 ret = smu_set_fan_control_mode(smu, smu->user_dpm_profile.fan_mode); in smu_restore_dpm_user_profile()
548 smu->user_dpm_profile.fan_mode = AMD_FAN_CTRL_AUTO; in smu_restore_dpm_user_profile()
822 smu->user_dpm_profile.fan_mode = -1; in smu_early_init()
3296 static int smu_get_fan_control_mode(void *handle, u32 *fan_mode) in smu_get_fan_control_mode() argument
3306 if (!fan_mode) in smu_get_fan_control_mode()
3309 *fan_mode = smu->ppt_funcs->get_fan_control_mode(smu); in smu_get_fan_control_mode()
3333 smu->user_dpm_profile.fan_mode = value; in smu_set_fan_control_mode()
/linux/drivers/gpu/drm/amd/pm/powerplay/
H A Damd_powerplay.c513 static int pp_dpm_get_fan_control_mode(void *handle, uint32_t *fan_mode) in pp_dpm_get_fan_control_mode() argument
523 if (!fan_mode) in pp_dpm_get_fan_control_mode()
526 *fan_mode = hwmgr->hwmgr_func->get_fan_control_mode(hwmgr); in pp_dpm_get_fan_control_mode()
/linux/drivers/platform/x86/lenovo/
H A Dideapad-laptop.c192 bool fan_mode : 1; member
735 static DEVICE_ATTR_RW(fan_mode);
908 supported = priv->features.fan_mode; in ideapad_is_visible()
2190 priv->features.fan_mode = true; in ideapad_check_features()
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
H A Dbase.c129 switch(therm->fan->bios.fan_mode) { in nvkm_therm_update()
/linux/drivers/gpu/drm/amd/pm/
H A Damdgpu_dpm.c1481 uint32_t *fan_mode) in amdgpu_dpm_get_fan_control_mode() argument
1491 fan_mode); in amdgpu_dpm_get_fan_control_mode()
/linux/drivers/gpu/drm/amd/pm/swsmu/smu11/
H A Dsmu_v11_0.c1142 return smu->user_dpm_profile.fan_mode; in smu_v11_0_get_fan_control_mode()
/linux/drivers/gpu/drm/amd/pm/legacy-dpm/
H A Dsi_dpm.c6703 static int si_dpm_get_fan_control_mode(void *handle, u32 *fan_mode) in si_dpm_get_fan_control_mode()
6709 if (!fan_mode) in si_dpm_get_fan_control_mode()
6716 *fan_mode = (tmp >> CG_FDO_CTRL2__FDO_PWM_MODE__SHIFT); in si_dpm_get_fan_control_mode()
6702 si_dpm_get_fan_control_mode(void * handle,u32 * fan_mode) si_dpm_get_fan_control_mode() argument