Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
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()
Dfan.c86 fan->fan_mode = NVBIOS_THERM_FAN_LINEAR; in nvbios_fan_parse()
/linux-6.1.9/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/
Dtherm.h55 enum nvbios_therm_fan_mode fan_mode; member
/linux-6.1.9/Documentation/ABI/testing/
Dsysfs-platform-lg-laptop23 What: /sys/devices/platform/lg-laptop/fan_mode
Dsysfs-platform-ideapad-laptop8 What: /sys/bus/platform/devices/VPC2004:*/fan_mode
/linux-6.1.9/Documentation/admin-guide/laptops/
Dlg-laptop.rst51 Writing 1/0 to /sys/devices/platform/lg-laptop/fan_mode disables/enables
/linux-6.1.9/drivers/hwmon/
Dnct7904.c136 u8 fan_mode[FANCTL_MAX]; member
710 (val == 2 && !data->fan_mode[channel])) in nct7904_write_pwm()
713 val == 2 ? data->fan_mode[channel] : 0); in nct7904_write_pwm()
1128 data->fan_mode[i] = ret; in nct7904_probe()
/linux-6.1.9/drivers/gpu/drm/amd/pm/swsmu/
Damdgpu_smu.c389 if (smu->user_dpm_profile.fan_mode == AMD_FAN_CTRL_MANUAL || in smu_restore_dpm_user_profile()
390 smu->user_dpm_profile.fan_mode == AMD_FAN_CTRL_NONE) { in smu_restore_dpm_user_profile()
391 ret = smu_set_fan_control_mode(smu, smu->user_dpm_profile.fan_mode); in smu_restore_dpm_user_profile()
395 smu->user_dpm_profile.fan_mode = AMD_FAN_CTRL_AUTO; in smu_restore_dpm_user_profile()
636 smu->user_dpm_profile.fan_mode = -1; in smu_early_init()
2534 static int smu_get_fan_control_mode(void *handle, u32 *fan_mode) in smu_get_fan_control_mode() argument
2544 if (!fan_mode) in smu_get_fan_control_mode()
2547 *fan_mode = smu->ppt_funcs->get_fan_control_mode(smu); in smu_get_fan_control_mode()
2571 smu->user_dpm_profile.fan_mode = value; in smu_set_fan_control_mode()
/linux-6.1.9/drivers/platform/x86/
Dideapad-laptop.c141 bool fan_mode : 1; member
604 static DEVICE_ATTR_RW(fan_mode);
741 supported = priv->features.fan_mode; in ideapad_is_visible()
1702 priv->features.fan_mode = true; in ideapad_check_features()
Dacer-wmi.c1419 static void WMID_gaming_set_fan_mode(u8 fan_mode) in WMID_gaming_set_fan_mode() argument
1432 gpu_fan_config1 |= fan_mode; in WMID_gaming_set_fan_mode()
1434 gpu_fan_config1 |= fan_mode << (2 * i + 2); in WMID_gaming_set_fan_mode()
1436 gpu_fan_config1 |= fan_mode << (2 * i + 6); in WMID_gaming_set_fan_mode()
Dlg-laptop.c542 static DEVICE_ATTR_RW(fan_mode);
/linux-6.1.9/drivers/gpu/drm/amd/pm/powerplay/
Damd_powerplay.c479 static int pp_dpm_get_fan_control_mode(void *handle, uint32_t *fan_mode) in pp_dpm_get_fan_control_mode() argument
489 if (!fan_mode) in pp_dpm_get_fan_control_mode()
492 *fan_mode = hwmgr->hwmgr_func->get_fan_control_mode(hwmgr); in pp_dpm_get_fan_control_mode()
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
Dbase.c129 switch(therm->fan->bios.fan_mode) { in nvkm_therm_update()
/linux-6.1.9/drivers/gpu/drm/amd/pm/inc/
Damdgpu_dpm.h492 uint32_t *fan_mode);
/linux-6.1.9/drivers/gpu/drm/amd/include/
Dkgd_pp_interface.h320 int (*get_fan_control_mode)(void *handle, u32 *fan_mode);
/linux-6.1.9/drivers/gpu/drm/amd/pm/swsmu/inc/
Damdgpu_smu.h233 uint32_t fan_mode; member
/linux-6.1.9/drivers/gpu/drm/amd/pm/
Damdgpu_dpm.c1227 uint32_t *fan_mode) in amdgpu_dpm_get_fan_control_mode() argument
1237 fan_mode); in amdgpu_dpm_get_fan_control_mode()
/linux-6.1.9/drivers/gpu/drm/amd/pm/swsmu/smu11/
Dsmu_v11_0.c1161 return smu->user_dpm_profile.fan_mode; in smu_v11_0_get_fan_control_mode()
/linux-6.1.9/drivers/gpu/drm/amd/pm/legacy-dpm/
Dsi_dpm.c6665 static int si_dpm_get_fan_control_mode(void *handle, u32 *fan_mode) in si_dpm_get_fan_control_mode() argument
6671 if (!fan_mode) in si_dpm_get_fan_control_mode()
6678 *fan_mode = (tmp >> FDO_PWM_MODE_SHIFT); in si_dpm_get_fan_control_mode()