Lines Matching refs:amd_pmf_dev
334 struct amd_pmf_dev { struct
770 int apmf_acpi_init(struct amd_pmf_dev *pmf_dev);
771 void apmf_acpi_deinit(struct amd_pmf_dev *pmf_dev);
772 int is_apmf_func_supported(struct amd_pmf_dev *pdev, unsigned long index);
773 int amd_pmf_send_cmd(struct amd_pmf_dev *dev, u8 message, bool get, u32 arg, u32 *data);
774 int amd_pmf_init_metrics_table(struct amd_pmf_dev *dev);
776 int apmf_install_handler(struct amd_pmf_dev *pmf_dev);
777 int apmf_os_power_slider_update(struct amd_pmf_dev *dev, u8 flag);
778 int amd_pmf_set_dram_addr(struct amd_pmf_dev *dev, bool alloc_buffer);
779 int amd_pmf_notify_sbios_heartbeat_event_v2(struct amd_pmf_dev *dev, u8 flag);
783 int amd_pmf_get_pprof_modes(struct amd_pmf_dev *pmf);
784 void amd_pmf_update_slider(struct amd_pmf_dev *dev, bool op, int idx,
786 int amd_pmf_init_sps(struct amd_pmf_dev *dev);
787 int apmf_get_static_slider_granular(struct amd_pmf_dev *pdev,
789 bool is_pprof_balanced(struct amd_pmf_dev *pmf);
790 int amd_pmf_power_slider_update_event(struct amd_pmf_dev *dev);
795 int apmf_update_fan_idx(struct amd_pmf_dev *pdev, bool manual, u32 idx);
796 int amd_pmf_set_sps_power_limits(struct amd_pmf_dev *pmf);
797 int apmf_get_static_slider_granular_v2(struct amd_pmf_dev *dev,
799 int apts_get_static_slider_granular_v2(struct amd_pmf_dev *pdev,
803 int apmf_get_auto_mode_def(struct amd_pmf_dev *pdev, struct apmf_auto_mode *data);
804 void amd_pmf_init_auto_mode(struct amd_pmf_dev *dev);
805 void amd_pmf_deinit_auto_mode(struct amd_pmf_dev *dev);
806 void amd_pmf_trans_automode(struct amd_pmf_dev *dev, int socket_power, ktime_t time_elapsed_ms);
807 int apmf_get_sbios_requests(struct amd_pmf_dev *pdev, struct apmf_sbios_req *req);
808 int apmf_get_sbios_requests_v2(struct amd_pmf_dev *pdev, struct apmf_sbios_req_v2 *req);
810 void amd_pmf_update_2_cql(struct amd_pmf_dev *dev, bool is_cql_event);
811 int amd_pmf_reset_amt(struct amd_pmf_dev *dev);
812 void amd_pmf_handle_amt(struct amd_pmf_dev *dev);
815 int apmf_get_dyn_slider_def_ac(struct amd_pmf_dev *pdev, struct apmf_dyn_slider_output *data);
816 int apmf_get_dyn_slider_def_dc(struct amd_pmf_dev *pdev, struct apmf_dyn_slider_output *data);
817 int amd_pmf_init_cnqf(struct amd_pmf_dev *dev);
818 void amd_pmf_deinit_cnqf(struct amd_pmf_dev *dev);
819 int amd_pmf_trans_cnqf(struct amd_pmf_dev *dev, int socket_power, ktime_t time_lapsed_ms);
823 int amd_pmf_init_smart_pc(struct amd_pmf_dev *dev);
824 void amd_pmf_deinit_smart_pc(struct amd_pmf_dev *dev);
825 int apmf_check_smart_pc(struct amd_pmf_dev *pmf_dev);
826 int amd_pmf_smartpc_apply_bios_output(struct amd_pmf_dev *dev, u32 val, u32 preq, u32 idx);
829 void amd_pmf_populate_ta_inputs(struct amd_pmf_dev *dev, struct ta_pmf_enact_table *in);
830 void amd_pmf_dump_ta_inputs(struct amd_pmf_dev *dev, struct ta_pmf_enact_table *in);