Searched refs:is_apmf_func_supported (Results 1 – 6 of 6) sorted by relevance
/Linux-v6.6/drivers/platform/x86/amd/pmf/ |
D | core.c | 68 if (is_apmf_func_supported(pmf, APMF_FUNC_AUTO_MODE) || in amd_pmf_pwr_src_notify_call() 69 is_apmf_func_supported(pmf, APMF_FUNC_DYN_SLIDER_DC) || in amd_pmf_pwr_src_notify_call() 70 is_apmf_func_supported(pmf, APMF_FUNC_DYN_SLIDER_AC)) { in amd_pmf_pwr_src_notify_call() 75 if (is_apmf_func_supported(pmf, APMF_FUNC_STATIC_SLIDER_GRANULAR)) in amd_pmf_pwr_src_notify_call() 78 if (is_apmf_func_supported(pmf, APMF_FUNC_OS_POWER_SLIDER_UPDATE)) in amd_pmf_pwr_src_notify_call() 304 if (is_apmf_func_supported(dev, APMF_FUNC_STATIC_SLIDER_GRANULAR) || in amd_pmf_init_features() 305 is_apmf_func_supported(dev, APMF_FUNC_OS_POWER_SLIDER_UPDATE)) { in amd_pmf_init_features() 313 if (is_apmf_func_supported(dev, APMF_FUNC_AUTO_MODE)) { in amd_pmf_init_features() 316 } else if (is_apmf_func_supported(dev, APMF_FUNC_DYN_SLIDER_AC) || in amd_pmf_init_features() 317 is_apmf_func_supported(dev, APMF_FUNC_DYN_SLIDER_DC)) { in amd_pmf_init_features() [all …]
|
D | acpi.c | 93 int is_apmf_func_supported(struct amd_pmf_dev *pdev, unsigned long index) in is_apmf_func_supported() function 102 if (!is_apmf_func_supported(pdev, APMF_FUNC_STATIC_SLIDER_GRANULAR)) in apmf_get_static_slider_granular() 239 if (!is_apmf_func_supported(dev, APMF_FUNC_GET_SYS_PARAMS)) in apmf_get_system_params() 273 if (is_apmf_func_supported(pmf_dev, APMF_FUNC_AUTO_MODE) && in apmf_install_handler() 274 is_apmf_func_supported(pmf_dev, APMF_FUNC_SBIOS_REQUESTS)) { in apmf_install_handler() 296 if (is_apmf_func_supported(pmf_dev, APMF_FUNC_AUTO_MODE) && in apmf_acpi_deinit() 297 is_apmf_func_supported(pmf_dev, APMF_FUNC_SBIOS_REQUESTS)) in apmf_acpi_deinit()
|
D | cnqf.c | 89 if (is_apmf_func_supported(dev, APMF_FUNC_SET_FAN_IDX)) in amd_pmf_set_cnqf() 145 if (is_apmf_func_supported(dev, APMF_FUNC_DYN_SLIDER_AC) && in amd_pmf_cnqf_get_power_source() 146 is_apmf_func_supported(dev, APMF_FUNC_DYN_SLIDER_DC)) in amd_pmf_cnqf_get_power_source() 148 else if (is_apmf_func_supported(dev, APMF_FUNC_DYN_SLIDER_DC)) in amd_pmf_cnqf_get_power_source() 336 if (is_apmf_func_supported(dev, APMF_FUNC_DYN_SLIDER_AC)) in amd_pmf_check_flags() 338 else if (is_apmf_func_supported(dev, APMF_FUNC_DYN_SLIDER_DC)) in amd_pmf_check_flags() 350 if (!is_apmf_func_supported(dev, APMF_FUNC_DYN_SLIDER_AC + i)) in amd_pmf_load_defaults_cnqf() 399 if (is_apmf_func_supported(pdev, APMF_FUNC_STATIC_SLIDER_GRANULAR)) in cnqf_enable_store()
|
D | sps.c | 236 if (is_apmf_func_supported(pmf, APMF_FUNC_OS_POWER_SLIDER_UPDATE)) { in amd_pmf_profile_set() 242 if (is_apmf_func_supported(pmf, APMF_FUNC_STATIC_SLIDER_GRANULAR)) { in amd_pmf_profile_set() 257 if (is_apmf_func_supported(dev, APMF_FUNC_STATIC_SLIDER_GRANULAR)) { in amd_pmf_init_sps()
|
D | auto-mode.c | 127 if (is_apmf_func_supported(dev, APMF_FUNC_SET_FAN_IDX)) in amd_pmf_set_automode() 420 if (is_apmf_func_supported(dev, APMF_FUNC_STATIC_SLIDER_GRANULAR)) { in amd_pmf_reset_amt()
|
D | pmf.h | 395 int is_apmf_func_supported(struct amd_pmf_dev *pdev, unsigned long index);
|