/openbmc/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()
|
/openbmc/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 = {
|
H A D | msi-ec.h | 115 struct msi_ec_fan_mode_conf fan_mode; member
|
H A D | ideapad-laptop.c | 140 bool fan_mode : 1; member 514 static DEVICE_ATTR_RW(fan_mode); 651 supported = priv->features.fan_mode; in ideapad_is_visible() 1639 priv->features.fan_mode = true; in ideapad_check_features()
|
H A D | acer-wmi.c | 1420 static void WMID_gaming_set_fan_mode(u8 fan_mode) in WMID_gaming_set_fan_mode() argument 1433 gpu_fan_config1 |= fan_mode; in WMID_gaming_set_fan_mode() 1435 gpu_fan_config1 |= fan_mode << (2 * i + 2); in WMID_gaming_set_fan_mode() 1437 gpu_fan_config1 |= fan_mode << (2 * i + 6); in WMID_gaming_set_fan_mode()
|
H A D | lg-laptop.c | 518 static DEVICE_ATTR_RW(fan_mode);
|
/openbmc/linux/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/ |
H A D | therm.h | 55 enum nvbios_therm_fan_mode fan_mode; member
|
/openbmc/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
|
/openbmc/linux/drivers/hwmon/ |
H A 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()
|
/openbmc/linux/Documentation/admin-guide/laptops/ |
H A D | lg-laptop.rst | 51 Writing 1/0 to /sys/devices/platform/lg-laptop/fan_mode disables/enables
|
/openbmc/linux/drivers/gpu/drm/amd/pm/swsmu/ |
H A D | amdgpu_smu.c | 410 if (smu->user_dpm_profile.fan_mode == AMD_FAN_CTRL_MANUAL || in smu_restore_dpm_user_profile() 411 smu->user_dpm_profile.fan_mode == AMD_FAN_CTRL_NONE) { in smu_restore_dpm_user_profile() 412 ret = smu_set_fan_control_mode(smu, smu->user_dpm_profile.fan_mode); in smu_restore_dpm_user_profile() 416 smu->user_dpm_profile.fan_mode = AMD_FAN_CTRL_AUTO; in smu_restore_dpm_user_profile() 664 smu->user_dpm_profile.fan_mode = -1; in smu_early_init() 2660 static int smu_get_fan_control_mode(void *handle, u32 *fan_mode) in smu_get_fan_control_mode() argument 2670 if (!fan_mode) in smu_get_fan_control_mode() 2673 *fan_mode = smu->ppt_funcs->get_fan_control_mode(smu); in smu_get_fan_control_mode() 2697 smu->user_dpm_profile.fan_mode = value; in smu_set_fan_control_mode()
|
/openbmc/linux/drivers/gpu/drm/amd/pm/powerplay/ |
H A D | amd_powerplay.c | 526 static int pp_dpm_get_fan_control_mode(void *handle, uint32_t *fan_mode) in pp_dpm_get_fan_control_mode() argument 536 if (!fan_mode) in pp_dpm_get_fan_control_mode() 539 *fan_mode = hwmgr->hwmgr_func->get_fan_control_mode(hwmgr); in pp_dpm_get_fan_control_mode()
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/therm/ |
H A D | base.c | 129 switch(therm->fan->bios.fan_mode) { in nvkm_therm_update()
|
/openbmc/linux/drivers/gpu/drm/amd/pm/inc/ |
H A D | amdgpu_dpm.h | 498 uint32_t *fan_mode);
|
/openbmc/linux/drivers/gpu/drm/amd/include/ |
H A D | kgd_pp_interface.h | 327 int (*get_fan_control_mode)(void *handle, u32 *fan_mode);
|
/openbmc/linux/drivers/gpu/drm/amd/pm/ |
H A D | amdgpu_dpm.c | 1275 uint32_t *fan_mode) in amdgpu_dpm_get_fan_control_mode() argument 1285 fan_mode); in amdgpu_dpm_get_fan_control_mode()
|
/openbmc/linux/drivers/gpu/drm/amd/pm/swsmu/inc/ |
H A D | amdgpu_smu.h | 230 uint32_t fan_mode; member
|
/openbmc/linux/drivers/gpu/drm/amd/pm/swsmu/smu11/ |
H A D | smu_v11_0.c | 1135 return smu->user_dpm_profile.fan_mode; in smu_v11_0_get_fan_control_mode()
|
/openbmc/linux/drivers/gpu/drm/amd/pm/legacy-dpm/ |
H A 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()
|