Lines Matching refs:amd_pmf_dev
330 struct amd_pmf_dev { struct
736 int apmf_acpi_init(struct amd_pmf_dev *pmf_dev);
737 void apmf_acpi_deinit(struct amd_pmf_dev *pmf_dev);
738 int is_apmf_func_supported(struct amd_pmf_dev *pdev, unsigned long index);
739 int amd_pmf_send_cmd(struct amd_pmf_dev *dev, u8 message, bool get, u32 arg, u32 *data);
740 int amd_pmf_init_metrics_table(struct amd_pmf_dev *dev);
742 int apmf_install_handler(struct amd_pmf_dev *pmf_dev);
743 int apmf_os_power_slider_update(struct amd_pmf_dev *dev, u8 flag);
744 int amd_pmf_set_dram_addr(struct amd_pmf_dev *dev, bool alloc_buffer);
745 int amd_pmf_notify_sbios_heartbeat_event_v2(struct amd_pmf_dev *dev, u8 flag);
748 int amd_pmf_get_pprof_modes(struct amd_pmf_dev *pmf);
749 void amd_pmf_update_slider(struct amd_pmf_dev *dev, bool op, int idx,
751 int amd_pmf_init_sps(struct amd_pmf_dev *dev);
752 void amd_pmf_deinit_sps(struct amd_pmf_dev *dev);
753 int apmf_get_static_slider_granular(struct amd_pmf_dev *pdev,
755 bool is_pprof_balanced(struct amd_pmf_dev *pmf);
756 int amd_pmf_power_slider_update_event(struct amd_pmf_dev *dev);
761 int apmf_update_fan_idx(struct amd_pmf_dev *pdev, bool manual, u32 idx);
762 int amd_pmf_set_sps_power_limits(struct amd_pmf_dev *pmf);
763 int apmf_get_static_slider_granular_v2(struct amd_pmf_dev *dev,
765 int apts_get_static_slider_granular_v2(struct amd_pmf_dev *pdev,
769 int apmf_get_auto_mode_def(struct amd_pmf_dev *pdev, struct apmf_auto_mode *data);
770 void amd_pmf_init_auto_mode(struct amd_pmf_dev *dev);
771 void amd_pmf_deinit_auto_mode(struct amd_pmf_dev *dev);
772 void amd_pmf_trans_automode(struct amd_pmf_dev *dev, int socket_power, ktime_t time_elapsed_ms);
773 int apmf_get_sbios_requests(struct amd_pmf_dev *pdev, struct apmf_sbios_req *req);
774 int apmf_get_sbios_requests_v2(struct amd_pmf_dev *pdev, struct apmf_sbios_req_v2 *req);
776 void amd_pmf_update_2_cql(struct amd_pmf_dev *dev, bool is_cql_event);
777 int amd_pmf_reset_amt(struct amd_pmf_dev *dev);
778 void amd_pmf_handle_amt(struct amd_pmf_dev *dev);
781 int apmf_get_dyn_slider_def_ac(struct amd_pmf_dev *pdev, struct apmf_dyn_slider_output *data);
782 int apmf_get_dyn_slider_def_dc(struct amd_pmf_dev *pdev, struct apmf_dyn_slider_output *data);
783 int amd_pmf_init_cnqf(struct amd_pmf_dev *dev);
784 void amd_pmf_deinit_cnqf(struct amd_pmf_dev *dev);
785 int amd_pmf_trans_cnqf(struct amd_pmf_dev *dev, int socket_power, ktime_t time_lapsed_ms);
789 int amd_pmf_init_smart_pc(struct amd_pmf_dev *dev);
790 void amd_pmf_deinit_smart_pc(struct amd_pmf_dev *dev);
791 int apmf_check_smart_pc(struct amd_pmf_dev *pmf_dev);
792 int amd_pmf_smartpc_apply_bios_output(struct amd_pmf_dev *dev, u32 val, u32 preq, u32 idx);
795 void amd_pmf_populate_ta_inputs(struct amd_pmf_dev *dev, struct ta_pmf_enact_table *in);
796 void amd_pmf_dump_ta_inputs(struct amd_pmf_dev *dev, struct ta_pmf_enact_table *in);
799 void amd_pmf_quirks_init(struct amd_pmf_dev *dev);