Lines Matching refs:amd_pmf_dev

265 struct amd_pmf_dev {
662 int apmf_acpi_init(struct amd_pmf_dev *pmf_dev);
663 void apmf_acpi_deinit(struct amd_pmf_dev *pmf_dev);
664 int is_apmf_func_supported(struct amd_pmf_dev *pdev, unsigned long index);
665 int amd_pmf_send_cmd(struct amd_pmf_dev *dev, u8 message, bool get, u32 arg, u32 *data);
666 int amd_pmf_init_metrics_table(struct amd_pmf_dev *dev);
668 int apmf_install_handler(struct amd_pmf_dev *pmf_dev);
669 int apmf_os_power_slider_update(struct amd_pmf_dev *dev, u8 flag);
670 int amd_pmf_set_dram_addr(struct amd_pmf_dev *dev, bool alloc_buffer);
671 int amd_pmf_notify_sbios_heartbeat_event_v2(struct amd_pmf_dev *dev, u8 flag);
674 int amd_pmf_get_pprof_modes(struct amd_pmf_dev *pmf);
675 void amd_pmf_update_slider(struct amd_pmf_dev *dev, bool op, int idx,
677 int amd_pmf_init_sps(struct amd_pmf_dev *dev);
678 void amd_pmf_deinit_sps(struct amd_pmf_dev *dev);
679 int apmf_get_static_slider_granular(struct amd_pmf_dev *pdev,
681 bool is_pprof_balanced(struct amd_pmf_dev *pmf);
682 int amd_pmf_power_slider_update_event(struct amd_pmf_dev *dev);
687 int apmf_update_fan_idx(struct amd_pmf_dev *pdev, bool manual, u32 idx);
688 int amd_pmf_set_sps_power_limits(struct amd_pmf_dev *pmf);
689 int apmf_get_static_slider_granular_v2(struct amd_pmf_dev *dev,
691 int apts_get_static_slider_granular_v2(struct amd_pmf_dev *pdev,
695 int apmf_get_auto_mode_def(struct amd_pmf_dev *pdev, struct apmf_auto_mode *data);
696 void amd_pmf_init_auto_mode(struct amd_pmf_dev *dev);
697 void amd_pmf_deinit_auto_mode(struct amd_pmf_dev *dev);
698 void amd_pmf_trans_automode(struct amd_pmf_dev *dev, int socket_power, ktime_t time_elapsed_ms);
699 int apmf_get_sbios_requests(struct amd_pmf_dev *pdev, struct apmf_sbios_req *req);
700 int apmf_get_sbios_requests_v2(struct amd_pmf_dev *pdev, struct apmf_sbios_req_v2 *req);
702 void amd_pmf_update_2_cql(struct amd_pmf_dev *dev, bool is_cql_event);
703 int amd_pmf_reset_amt(struct amd_pmf_dev *dev);
704 void amd_pmf_handle_amt(struct amd_pmf_dev *dev);
707 int apmf_get_dyn_slider_def_ac(struct amd_pmf_dev *pdev, struct apmf_dyn_slider_output *data);
708 int apmf_get_dyn_slider_def_dc(struct amd_pmf_dev *pdev, struct apmf_dyn_slider_output *data);
709 int amd_pmf_init_cnqf(struct amd_pmf_dev *dev);
710 void amd_pmf_deinit_cnqf(struct amd_pmf_dev *dev);
711 int amd_pmf_trans_cnqf(struct amd_pmf_dev *dev, int socket_power, ktime_t time_lapsed_ms);
715 int amd_pmf_init_smart_pc(struct amd_pmf_dev *dev);
716 void amd_pmf_deinit_smart_pc(struct amd_pmf_dev *dev);
717 int apmf_check_smart_pc(struct amd_pmf_dev *pmf_dev);
720 void amd_pmf_populate_ta_inputs(struct amd_pmf_dev *dev, struct ta_pmf_enact_table *in);
721 void amd_pmf_dump_ta_inputs(struct amd_pmf_dev *dev, struct ta_pmf_enact_table *in);
724 void amd_pmf_quirks_init(struct amd_pmf_dev *dev);