/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
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()
|
D | fan.c | 86 fan->fan_mode = NVBIOS_THERM_FAN_LINEAR; in nvbios_fan_parse()
|
/linux-6.1.9/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/ |
D | therm.h | 55 enum nvbios_therm_fan_mode fan_mode; member
|
/linux-6.1.9/Documentation/ABI/testing/ |
D | sysfs-platform-lg-laptop | 23 What: /sys/devices/platform/lg-laptop/fan_mode
|
D | sysfs-platform-ideapad-laptop | 8 What: /sys/bus/platform/devices/VPC2004:*/fan_mode
|
/linux-6.1.9/Documentation/admin-guide/laptops/ |
D | lg-laptop.rst | 51 Writing 1/0 to /sys/devices/platform/lg-laptop/fan_mode disables/enables
|
/linux-6.1.9/drivers/hwmon/ |
D | nct7904.c | 136 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/ |
D | amdgpu_smu.c | 389 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/ |
D | ideapad-laptop.c | 141 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()
|
D | acer-wmi.c | 1419 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()
|
D | lg-laptop.c | 542 static DEVICE_ATTR_RW(fan_mode);
|
/linux-6.1.9/drivers/gpu/drm/amd/pm/powerplay/ |
D | amd_powerplay.c | 479 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/ |
D | base.c | 129 switch(therm->fan->bios.fan_mode) { in nvkm_therm_update()
|
/linux-6.1.9/drivers/gpu/drm/amd/pm/inc/ |
D | amdgpu_dpm.h | 492 uint32_t *fan_mode);
|
/linux-6.1.9/drivers/gpu/drm/amd/include/ |
D | kgd_pp_interface.h | 320 int (*get_fan_control_mode)(void *handle, u32 *fan_mode);
|
/linux-6.1.9/drivers/gpu/drm/amd/pm/swsmu/inc/ |
D | amdgpu_smu.h | 233 uint32_t fan_mode; member
|
/linux-6.1.9/drivers/gpu/drm/amd/pm/ |
D | amdgpu_dpm.c | 1227 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/ |
D | smu_v11_0.c | 1161 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/ |
D | si_dpm.c | 6665 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()
|