| /linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
| H A D | therm.c | 164 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 D | fan.c | 86 fan->fan_mode = NVBIOS_THERM_FAN_LINEAR; in nvbios_fan_parse()
|
| /linux/drivers/platform/x86/ |
| H A D | msi-ec.c | 81 .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 D | msi-ec.h | 115 struct msi_ec_fan_mode_conf fan_mode; member
|
| H A D | lg-laptop.c | 526 static DEVICE_ATTR_RW(fan_mode);
|
| /linux/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/ |
| H A D | therm.h | 55 enum nvbios_therm_fan_mode fan_mode; member
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-platform-lg-laptop | 23 What: /sys/devices/platform/lg-laptop/fan_mode
|
| H A D | sysfs-platform-ideapad-laptop | 8 What: /sys/bus/platform/devices/VPC2004:*/fan_mode
|
| /linux/Documentation/admin-guide/laptops/ |
| H A D | lg-laptop.rst | 51 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 D | amdgpu_smu.c | 542 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 D | amd_powerplay.c | 513 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 D | ideapad-laptop.c | 192 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 D | base.c | 129 switch(therm->fan->bios.fan_mode) { in nvkm_therm_update()
|
| /linux/drivers/gpu/drm/amd/pm/ |
| H A D | amdgpu_dpm.c | 1481 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 D | smu_v11_0.c | 1142 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 D | si_dpm.c | 6703 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
|