Searched refs:is_apmf_func_supported (Results 1 – 5 of 5) sorted by relevance
/Linux-v6.1/drivers/platform/x86/amd/pmf/ |
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() 218 if (!is_apmf_func_supported(dev, APMF_FUNC_GET_SYS_PARAMS)) in apmf_get_system_params() 252 if (is_apmf_func_supported(pmf_dev, APMF_FUNC_AUTO_MODE) && in apmf_install_handler() 253 is_apmf_func_supported(pmf_dev, APMF_FUNC_SBIOS_REQUESTS)) { in apmf_install_handler() 275 if (is_apmf_func_supported(pmf_dev, APMF_FUNC_AUTO_MODE) && in apmf_acpi_deinit() 276 is_apmf_func_supported(pmf_dev, APMF_FUNC_SBIOS_REQUESTS)) in apmf_acpi_deinit()
|
D | core.c | 263 if (is_apmf_func_supported(dev, APMF_FUNC_STATIC_SLIDER_GRANULAR)) { in amd_pmf_init_features() 269 if (is_apmf_func_supported(dev, APMF_FUNC_AUTO_MODE)) { in amd_pmf_init_features() 272 } else if (is_apmf_func_supported(dev, APMF_FUNC_DYN_SLIDER_AC) || in amd_pmf_init_features() 273 is_apmf_func_supported(dev, APMF_FUNC_DYN_SLIDER_DC)) { in amd_pmf_init_features() 283 if (is_apmf_func_supported(dev, APMF_FUNC_STATIC_SLIDER_GRANULAR)) in amd_pmf_deinit_features() 286 if (is_apmf_func_supported(dev, APMF_FUNC_AUTO_MODE)) { in amd_pmf_deinit_features() 288 } else if (is_apmf_func_supported(dev, APMF_FUNC_DYN_SLIDER_AC) || in amd_pmf_deinit_features() 289 is_apmf_func_supported(dev, APMF_FUNC_DYN_SLIDER_DC)) { in amd_pmf_deinit_features()
|
D | cnqf.c | 33 if (is_apmf_func_supported(dev, APMF_FUNC_SET_FAN_IDX)) in amd_pmf_set_cnqf() 89 if (is_apmf_func_supported(dev, APMF_FUNC_DYN_SLIDER_AC) && in amd_pmf_cnqf_get_power_source() 90 is_apmf_func_supported(dev, APMF_FUNC_DYN_SLIDER_DC)) in amd_pmf_cnqf_get_power_source() 92 else if (is_apmf_func_supported(dev, APMF_FUNC_DYN_SLIDER_DC)) in amd_pmf_cnqf_get_power_source() 261 if (is_apmf_func_supported(dev, APMF_FUNC_DYN_SLIDER_AC)) in amd_pmf_check_flags() 263 else if (is_apmf_func_supported(dev, APMF_FUNC_DYN_SLIDER_DC)) in amd_pmf_check_flags() 275 if (!is_apmf_func_supported(dev, APMF_FUNC_DYN_SLIDER_AC + i)) in amd_pmf_load_defaults_cnqf() 327 if (is_apmf_func_supported(pdev, APMF_FUNC_STATIC_SLIDER_GRANULAR)) in cnqf_enable_store()
|
D | auto-mode.c | 33 if (is_apmf_func_supported(dev, APMF_FUNC_SET_FAN_IDX)) in amd_pmf_set_automode() 277 if (is_apmf_func_supported(dev, APMF_FUNC_STATIC_SLIDER_GRANULAR)) { in amd_pmf_reset_amt()
|
D | pmf.h | 380 int is_apmf_func_supported(struct amd_pmf_dev *pdev, unsigned long index);
|