Lines Matching refs:amd_pmf_dev
394 struct amd_pmf_dev { struct
862 int apmf_acpi_init(struct amd_pmf_dev *pmf_dev);
863 void apmf_acpi_deinit(struct amd_pmf_dev *pmf_dev);
864 int is_apmf_func_supported(struct amd_pmf_dev *pdev, unsigned long index);
865 int amd_pmf_send_cmd(struct amd_pmf_dev *dev, u8 message, bool get, u32 arg, u32 *data);
866 int amd_pmf_init_metrics_table(struct amd_pmf_dev *dev);
868 int apmf_install_handler(struct amd_pmf_dev *pmf_dev);
869 int apmf_os_power_slider_update(struct amd_pmf_dev *dev, u8 flag);
870 int amd_pmf_set_dram_addr(struct amd_pmf_dev *dev, bool alloc_buffer);
871 int amd_pmf_notify_sbios_heartbeat_event_v2(struct amd_pmf_dev *dev, u8 flag);
873 int is_apmf_bios_input_notifications_supported(struct amd_pmf_dev *pdev);
876 int amd_pmf_get_pprof_modes(struct amd_pmf_dev *pmf);
877 void amd_pmf_update_slider(struct amd_pmf_dev *dev, bool op, int idx,
879 int amd_pmf_init_sps(struct amd_pmf_dev *dev);
880 int apmf_get_static_slider_granular(struct amd_pmf_dev *pdev,
882 bool is_pprof_balanced(struct amd_pmf_dev *pmf);
883 int amd_pmf_power_slider_update_event(struct amd_pmf_dev *dev);
888 int apmf_update_fan_idx(struct amd_pmf_dev *pdev, bool manual, u32 idx);
889 int amd_pmf_set_sps_power_limits(struct amd_pmf_dev *pmf);
890 int apmf_get_static_slider_granular_v2(struct amd_pmf_dev *dev,
892 int apts_get_static_slider_granular_v2(struct amd_pmf_dev *pdev,
896 int apmf_get_auto_mode_def(struct amd_pmf_dev *pdev, struct apmf_auto_mode *data);
897 void amd_pmf_init_auto_mode(struct amd_pmf_dev *dev);
898 void amd_pmf_deinit_auto_mode(struct amd_pmf_dev *dev);
899 void amd_pmf_trans_automode(struct amd_pmf_dev *dev, int socket_power, ktime_t time_elapsed_ms);
900 int apmf_get_sbios_requests(struct amd_pmf_dev *pdev, struct apmf_sbios_req *req);
901 int apmf_get_sbios_requests_v1(struct amd_pmf_dev *pdev, struct apmf_sbios_req_v1 *req);
902 int apmf_get_sbios_requests_v2(struct amd_pmf_dev *pdev, struct apmf_sbios_req_v2 *req);
904 void amd_pmf_update_2_cql(struct amd_pmf_dev *dev, bool is_cql_event);
905 int amd_pmf_reset_amt(struct amd_pmf_dev *dev);
906 void amd_pmf_handle_amt(struct amd_pmf_dev *dev);
909 int apmf_get_dyn_slider_def_ac(struct amd_pmf_dev *pdev, struct apmf_dyn_slider_output *data);
910 int apmf_get_dyn_slider_def_dc(struct amd_pmf_dev *pdev, struct apmf_dyn_slider_output *data);
911 int amd_pmf_init_cnqf(struct amd_pmf_dev *dev);
912 void amd_pmf_deinit_cnqf(struct amd_pmf_dev *dev);
913 int amd_pmf_trans_cnqf(struct amd_pmf_dev *dev, int socket_power, ktime_t time_lapsed_ms);
917 int amd_pmf_init_smart_pc(struct amd_pmf_dev *dev);
918 void amd_pmf_deinit_smart_pc(struct amd_pmf_dev *dev);
919 int apmf_check_smart_pc(struct amd_pmf_dev *pmf_dev);
920 int amd_pmf_smartpc_apply_bios_output(struct amd_pmf_dev *dev, u32 val, u32 preq, u32 idx);
923 void amd_pmf_populate_ta_inputs(struct amd_pmf_dev *dev, struct ta_pmf_enact_table *in);
924 void amd_pmf_dump_ta_inputs(struct amd_pmf_dev *dev, struct ta_pmf_enact_table *in);
925 int amd_pmf_invoke_cmd_enact(struct amd_pmf_dev *dev);
927 int amd_pmf_tee_init(struct amd_pmf_dev *dev, const uuid_t *uuid);
928 void amd_pmf_tee_deinit(struct amd_pmf_dev *dev);
929 int amd_pmf_start_policy_engine(struct amd_pmf_dev *dev);