Searched refs:is_apmf_func_supported (Results 1 – 6 of 6) sorted by relevance
/linux-6.12.1/drivers/platform/x86/amd/pmf/ |
D | core.c | 63 if (is_apmf_func_supported(pmf, APMF_FUNC_AUTO_MODE) || in amd_pmf_pwr_src_notify_call() 64 is_apmf_func_supported(pmf, APMF_FUNC_DYN_SLIDER_DC) || in amd_pmf_pwr_src_notify_call() 65 is_apmf_func_supported(pmf, APMF_FUNC_DYN_SLIDER_AC)) { in amd_pmf_pwr_src_notify_call() 70 if (is_apmf_func_supported(pmf, APMF_FUNC_STATIC_SLIDER_GRANULAR)) in amd_pmf_pwr_src_notify_call() 73 if (is_apmf_func_supported(pmf, APMF_FUNC_OS_POWER_SLIDER_UPDATE)) in amd_pmf_pwr_src_notify_call() 312 if (is_apmf_func_supported(pdev, APMF_FUNC_SBIOS_HEARTBEAT_V2)) in amd_pmf_suspend_handler() 329 if (is_apmf_func_supported(pdev, APMF_FUNC_SBIOS_HEARTBEAT_V2)) in amd_pmf_resume_handler() 345 if (is_apmf_func_supported(dev, APMF_FUNC_STATIC_SLIDER_GRANULAR) || in amd_pmf_init_features() 346 is_apmf_func_supported(dev, APMF_FUNC_OS_POWER_SLIDER_UPDATE)) { in amd_pmf_init_features() 360 if (is_apmf_func_supported(dev, APMF_FUNC_AUTO_MODE)) { in amd_pmf_init_features() [all …]
|
D | acpi.c | 158 int is_apmf_func_supported(struct amd_pmf_dev *pdev, unsigned long index) in is_apmf_func_supported() function 167 if (!is_apmf_func_supported(pdev, APMF_FUNC_STATIC_SLIDER_GRANULAR)) in apts_get_static_slider_granular_v2() 176 if (!is_apmf_func_supported(pdev, APMF_FUNC_STATIC_SLIDER_GRANULAR)) in apmf_get_static_slider_granular_v2() 186 if (!is_apmf_func_supported(pdev, APMF_FUNC_STATIC_SLIDER_GRANULAR)) in apmf_get_static_slider_granular() 386 if (!is_apmf_func_supported(dev, APMF_FUNC_GET_SYS_PARAMS)) in apmf_get_system_params() 420 if (is_apmf_func_supported(pmf_dev, APMF_FUNC_AUTO_MODE) && in apmf_install_handler() 421 is_apmf_func_supported(pmf_dev, APMF_FUNC_SBIOS_REQUESTS)) { in apmf_install_handler() 475 if (!is_apmf_func_supported(dev, APMF_FUNC_NOTIFY_SMART_PC_UPDATES)) in amd_pmf_smartpc_apply_bios_output() 488 if (is_apmf_func_supported(pmf_dev, APMF_FUNC_AUTO_MODE) && in apmf_acpi_deinit() 489 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 | 375 if (is_apmf_func_supported(pmf, APMF_FUNC_OS_POWER_SLIDER_UPDATE)) { in amd_pmf_profile_set() 381 if (is_apmf_func_supported(pmf, APMF_FUNC_STATIC_SLIDER_GRANULAR)) { in amd_pmf_profile_set() 396 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 | 738 int is_apmf_func_supported(struct amd_pmf_dev *pdev, unsigned long index);
|