Lines Matching refs:psp_context

49 static int psp_load_smu_fw(struct psp_context *psp);
50 static int psp_rap_terminate(struct psp_context *psp);
51 static int psp_securedisplay_terminate(struct psp_context *psp);
53 static int psp_ring_init(struct psp_context *psp, in psp_ring_init()
95 static void psp_check_pmfw_centralized_cstate_management(struct psp_context *psp) in psp_check_pmfw_centralized_cstate_management()
124 static int psp_init_sriov_microcode(struct psp_context *psp) in psp_init_sriov_microcode()
165 struct psp_context *psp = &adev->psp; in psp_early_init()
271 static void psp_free_shared_bufs(struct psp_context *psp) in psp_free_shared_bufs()
302 static void psp_memory_training_fini(struct psp_context *psp) in psp_memory_training_fini()
311 static int psp_memory_training_init(struct psp_context *psp) in psp_memory_training_init()
427 struct psp_context *psp = &adev->psp; in psp_sw_init()
533 struct psp_context *psp = &adev->psp; in psp_sw_fini()
564 int psp_wait_for(struct psp_context *psp, uint32_t reg_index, in psp_wait_for()
589 int psp_wait_for_spirom_update(struct psp_context *psp, uint32_t reg_index, in psp_wait_for_spirom_update()
647 static bool psp_err_warn(struct psp_context *psp) in psp_err_warn()
662 psp_cmd_submit_buf(struct psp_context *psp, in psp_cmd_submit_buf()
746 static struct psp_gfx_cmd_resp *acquire_psp_cmd_buf(struct psp_context *psp) in acquire_psp_cmd_buf()
757 static void release_psp_cmd_buf(struct psp_context *psp) in release_psp_cmd_buf()
762 static void psp_prep_tmr_cmd_buf(struct psp_context *psp, in psp_prep_tmr_cmd_buf()
797 static int psp_load_toc(struct psp_context *psp, in psp_load_toc()
819 static int psp_tmr_init(struct psp_context *psp) in psp_tmr_init()
863 static bool psp_skip_tmr(struct psp_context *psp) in psp_skip_tmr()
878 static int psp_tmr_load(struct psp_context *psp) in psp_tmr_load()
904 static void psp_prep_tmr_unload_cmd_buf(struct psp_context *psp, in psp_prep_tmr_unload_cmd_buf()
913 static int psp_tmr_unload(struct psp_context *psp) in psp_tmr_unload()
937 static int psp_tmr_terminate(struct psp_context *psp) in psp_tmr_terminate()
942 int psp_get_fw_attestation_records_addr(struct psp_context *psp, in psp_get_fw_attestation_records_addr()
973 struct psp_context *psp = &adev->psp; in psp_boot_config_get()
999 struct psp_context *psp = &adev->psp; in psp_boot_config_set()
1022 struct psp_context *psp = &adev->psp; in psp_rl_load()
1046 int psp_spatial_partition(struct psp_context *psp, int mode) in psp_spatial_partition()
1067 static int psp_asd_initialize(struct psp_context *psp) in psp_asd_initialize()
1101 int psp_ta_unload(struct psp_context *psp, struct ta_context *context) in psp_ta_unload()
1117 static int psp_asd_terminate(struct psp_context *psp) in psp_asd_terminate()
1142 int psp_reg_program(struct psp_context *psp, enum psp_reg_prog_id reg, in psp_reg_program()
1179 int psp_ta_init_shared_buf(struct psp_context *psp, in psp_ta_init_shared_buf()
1203 int psp_ta_invoke(struct psp_context *psp, in psp_ta_invoke()
1222 int psp_ta_load(struct psp_context *psp, struct ta_context *context) in psp_ta_load()
1247 int psp_xgmi_invoke(struct psp_context *psp, uint32_t ta_cmd_id) in psp_xgmi_invoke()
1252 int psp_xgmi_terminate(struct psp_context *psp) in psp_xgmi_terminate()
1273 int psp_xgmi_initialize(struct psp_context *psp, bool set_extended_data, bool load_ta) in psp_xgmi_initialize()
1316 int psp_xgmi_get_hive_id(struct psp_context *psp, uint64_t *hive_id) in psp_xgmi_get_hive_id()
1336 int psp_xgmi_get_node_id(struct psp_context *psp, uint64_t *node_id) in psp_xgmi_get_node_id()
1356 static bool psp_xgmi_peer_link_info_supported(struct psp_context *psp) in psp_xgmi_peer_link_info_supported()
1372 static void psp_xgmi_reflect_topology_info(struct psp_context *psp, in psp_xgmi_reflect_topology_info()
1416 int psp_xgmi_get_topology_info(struct psp_context *psp, in psp_xgmi_get_topology_info()
1536 int psp_xgmi_set_topology_info(struct psp_context *psp, in psp_xgmi_set_topology_info()
1566 static void psp_ras_ta_check_status(struct psp_context *psp) in psp_ras_ta_check_status()
1594 static int psp_ras_send_cmd(struct psp_context *psp, in psp_ras_send_cmd()
1654 int psp_ras_invoke(struct psp_context *psp, uint32_t ta_cmd_id) in psp_ras_invoke()
1692 int psp_ras_enable_features(struct psp_context *psp, in psp_ras_enable_features()
1710 int psp_ras_terminate(struct psp_context *psp) in psp_ras_terminate()
1732 int psp_ras_initialize(struct psp_context *psp) in psp_ras_initialize()
1827 int psp_ras_trigger_error(struct psp_context *psp, in psp_ras_trigger_error()
1878 int psp_ras_query_address(struct psp_context *psp, in psp_ras_query_address()
1896 static int psp_hdcp_initialize(struct psp_context *psp) in psp_hdcp_initialize()
1934 int psp_hdcp_invoke(struct psp_context *psp, uint32_t ta_cmd_id) in psp_hdcp_invoke()
1948 static int psp_hdcp_terminate(struct psp_context *psp) in psp_hdcp_terminate()
1970 static int psp_dtm_initialize(struct psp_context *psp) in psp_dtm_initialize()
2008 int psp_dtm_invoke(struct psp_context *psp, uint32_t ta_cmd_id) in psp_dtm_invoke()
2022 static int psp_dtm_terminate(struct psp_context *psp) in psp_dtm_terminate()
2044 static int psp_rap_initialize(struct psp_context *psp) in psp_rap_initialize()
2092 static int psp_rap_terminate(struct psp_context *psp) in psp_rap_terminate()
2106 int psp_rap_invoke(struct psp_context *psp, uint32_t ta_cmd_id, enum ta_rap_status *status) in psp_rap_invoke()
2142 static int psp_securedisplay_initialize(struct psp_context *psp) in psp_securedisplay_initialize()
2209 static int psp_securedisplay_terminate(struct psp_context *psp) in psp_securedisplay_terminate()
2229 int psp_securedisplay_invoke(struct psp_context *psp, uint32_t ta_cmd_id) in psp_securedisplay_invoke()
2248 struct psp_context *psp = &adev->psp; in amdgpu_psp_wait_for_bootloader()
2257 bool amdgpu_psp_get_ras_capability(struct psp_context *psp) in amdgpu_psp_get_ras_capability()
2267 static int psp_hw_start(struct psp_context *psp) in psp_hw_start()
2615 static void psp_print_fw_hdr(struct psp_context *psp, in psp_print_fw_hdr()
2663 static int psp_prep_load_ip_fw_cmd_buf(struct psp_context *psp, in psp_prep_load_ip_fw_cmd_buf()
2682 int psp_execute_ip_fw_load(struct psp_context *psp, in psp_execute_ip_fw_load()
2699 static int psp_load_p2s_table(struct psp_context *psp) in psp_load_p2s_table()
2726 static int psp_load_smu_fw(struct psp_context *psp) in psp_load_smu_fw()
2761 static bool fw_load_skip_check(struct psp_context *psp, in fw_load_skip_check()
2789 int psp_load_fw_list(struct psp_context *psp, in psp_load_fw_list()
2805 static int psp_load_non_psp_fw(struct psp_context *psp) in psp_load_non_psp_fw()
2873 struct psp_context *psp = &adev->psp; in psp_load_fw()
2993 struct psp_context *psp = &adev->psp; in psp_hw_fini()
3018 struct psp_context *psp = &adev->psp; in psp_suspend()
3081 struct psp_context *psp = &adev->psp; in psp_resume()
3176 int psp_rlc_autoload_start(struct psp_context *psp) in psp_rlc_autoload_start()
3191 int psp_ring_cmd_submit(struct psp_context *psp, in psp_ring_cmd_submit()
3243 int psp_init_asd_microcode(struct psp_context *psp, const char *chip_name) in psp_init_asd_microcode()
3265 int psp_init_toc_microcode(struct psp_context *psp, const char *chip_name) in psp_init_toc_microcode()
3287 static int parse_sos_bin_descriptor(struct psp_context *psp, in parse_sos_bin_descriptor()
3420 int psp_init_sos_microcode(struct psp_context *psp, const char *chip_name) in psp_init_sos_microcode()
3526 static int parse_ta_bin_descriptor(struct psp_context *psp, in parse_ta_bin_descriptor()
3587 static int parse_ta_v1_microcode(struct psp_context *psp) in parse_ta_v1_microcode()
3642 static int parse_ta_v2_microcode(struct psp_context *psp) in parse_ta_v2_microcode()
3670 int psp_init_ta_microcode(struct psp_context *psp, const char *chip_name) in psp_init_ta_microcode()
3699 int psp_init_cap_microcode(struct psp_context *psp, const char *chip_name) in psp_init_cap_microcode()
3831 void psp_copy_fw(struct psp_context *psp, uint8_t *start_addr, uint32_t bin_size) in psp_copy_fw()