Lines Matching defs:psp
52 static int psp_ring_init(struct psp_context *psp, in psp_ring_init()
94 static void psp_check_pmfw_centralized_cstate_management(struct psp_context *psp) in psp_check_pmfw_centralized_cstate_management()
123 static int psp_init_sriov_microcode(struct psp_context *psp) in psp_init_sriov_microcode()
163 struct psp_context *psp = &adev->psp; in psp_early_init() local
248 static void psp_free_shared_bufs(struct psp_context *psp) in psp_free_shared_bufs()
279 static void psp_memory_training_fini(struct psp_context *psp) in psp_memory_training_fini()
288 static int psp_memory_training_init(struct psp_context *psp) in psp_memory_training_init()
402 struct psp_context *psp = &adev->psp; in psp_sw_init() local
508 struct psp_context *psp = &adev->psp; in psp_sw_fini() local
539 int psp_wait_for(struct psp_context *psp, uint32_t reg_index, in psp_wait_for()
564 int psp_wait_for_spirom_update(struct psp_context *psp, uint32_t reg_index, in psp_wait_for_spirom_update()
623 psp_cmd_submit_buf(struct psp_context *psp, in psp_cmd_submit_buf()
702 static struct psp_gfx_cmd_resp *acquire_psp_cmd_buf(struct psp_context *psp) in acquire_psp_cmd_buf()
713 static void release_psp_cmd_buf(struct psp_context *psp) in release_psp_cmd_buf()
718 static void psp_prep_tmr_cmd_buf(struct psp_context *psp, in psp_prep_tmr_cmd_buf()
753 static int psp_load_toc(struct psp_context *psp, in psp_load_toc()
774 static bool psp_boottime_tmr(struct psp_context *psp) in psp_boottime_tmr()
785 static int psp_tmr_init(struct psp_context *psp) in psp_tmr_init()
829 static bool psp_skip_tmr(struct psp_context *psp) in psp_skip_tmr()
843 static int psp_tmr_load(struct psp_context *psp) in psp_tmr_load()
869 static void psp_prep_tmr_unload_cmd_buf(struct psp_context *psp, in psp_prep_tmr_unload_cmd_buf()
878 static int psp_tmr_unload(struct psp_context *psp) in psp_tmr_unload()
902 static int psp_tmr_terminate(struct psp_context *psp) in psp_tmr_terminate()
907 int psp_get_fw_attestation_records_addr(struct psp_context *psp, in psp_get_fw_attestation_records_addr()
938 struct psp_context *psp = &adev->psp; in psp_boot_config_get() local
964 struct psp_context *psp = &adev->psp; in psp_boot_config_set() local
987 struct psp_context *psp = &adev->psp; in psp_rl_load() local
1011 int psp_spatial_partition(struct psp_context *psp, int mode) in psp_spatial_partition()
1032 static int psp_asd_initialize(struct psp_context *psp) in psp_asd_initialize()
1061 int psp_ta_unload(struct psp_context *psp, struct ta_context *context) in psp_ta_unload()
1077 static int psp_asd_terminate(struct psp_context *psp) in psp_asd_terminate()
1102 int psp_reg_program(struct psp_context *psp, enum psp_reg_prog_id reg, in psp_reg_program()
1139 int psp_ta_init_shared_buf(struct psp_context *psp, in psp_ta_init_shared_buf()
1163 int psp_ta_invoke(struct psp_context *psp, in psp_ta_invoke()
1182 int psp_ta_load(struct psp_context *psp, struct ta_context *context) in psp_ta_load()
1207 int psp_xgmi_invoke(struct psp_context *psp, uint32_t ta_cmd_id) in psp_xgmi_invoke()
1212 int psp_xgmi_terminate(struct psp_context *psp) in psp_xgmi_terminate()
1233 int psp_xgmi_initialize(struct psp_context *psp, bool set_extended_data, bool load_ta) in psp_xgmi_initialize()
1274 int psp_xgmi_get_hive_id(struct psp_context *psp, uint64_t *hive_id) in psp_xgmi_get_hive_id()
1294 int psp_xgmi_get_node_id(struct psp_context *psp, uint64_t *node_id) in psp_xgmi_get_node_id()
1314 static bool psp_xgmi_peer_link_info_supported(struct psp_context *psp) in psp_xgmi_peer_link_info_supported()
1328 static void psp_xgmi_reflect_topology_info(struct psp_context *psp, in psp_xgmi_reflect_topology_info()
1372 int psp_xgmi_get_topology_info(struct psp_context *psp, in psp_xgmi_get_topology_info()
1458 int psp_xgmi_set_topology_info(struct psp_context *psp, in psp_xgmi_set_topology_info()
1488 static void psp_ras_ta_check_status(struct psp_context *psp) in psp_ras_ta_check_status()
1516 int psp_ras_invoke(struct psp_context *psp, uint32_t ta_cmd_id) in psp_ras_invoke()
1554 int psp_ras_enable_features(struct psp_context *psp, in psp_ras_enable_features()
1580 int psp_ras_terminate(struct psp_context *psp) in psp_ras_terminate()
1600 int psp_ras_initialize(struct psp_context *psp) in psp_ras_initialize()
1694 int psp_ras_trigger_error(struct psp_context *psp, in psp_ras_trigger_error()
1752 static int psp_hdcp_initialize(struct psp_context *psp) in psp_hdcp_initialize()
1786 int psp_hdcp_invoke(struct psp_context *psp, uint32_t ta_cmd_id) in psp_hdcp_invoke()
1797 static int psp_hdcp_terminate(struct psp_context *psp) in psp_hdcp_terminate()
1819 static int psp_dtm_initialize(struct psp_context *psp) in psp_dtm_initialize()
1853 int psp_dtm_invoke(struct psp_context *psp, uint32_t ta_cmd_id) in psp_dtm_invoke()
1864 static int psp_dtm_terminate(struct psp_context *psp) in psp_dtm_terminate()
1886 static int psp_rap_initialize(struct psp_context *psp) in psp_rap_initialize()
1934 static int psp_rap_terminate(struct psp_context *psp) in psp_rap_terminate()
1948 int psp_rap_invoke(struct psp_context *psp, uint32_t ta_cmd_id, enum ta_rap_status *status) in psp_rap_invoke()
1984 static int psp_securedisplay_initialize(struct psp_context *psp) in psp_securedisplay_initialize()
2047 static int psp_securedisplay_terminate(struct psp_context *psp) in psp_securedisplay_terminate()
2067 int psp_securedisplay_invoke(struct psp_context *psp, uint32_t ta_cmd_id) in psp_securedisplay_invoke()
2086 struct psp_context *psp = &adev->psp; in amdgpu_psp_wait_for_bootloader() local
2095 static int psp_hw_start(struct psp_context *psp) in psp_hw_start()
2404 static void psp_print_fw_hdr(struct psp_context *psp, in psp_print_fw_hdr()
2470 int psp_execute_ip_fw_load(struct psp_context *psp, in psp_execute_ip_fw_load()
2487 static int psp_load_smu_fw(struct psp_context *psp) in psp_load_smu_fw()
2522 static bool fw_load_skip_check(struct psp_context *psp, in fw_load_skip_check()
2547 int psp_load_fw_list(struct psp_context *psp, in psp_load_fw_list()
2563 static int psp_load_non_psp_fw(struct psp_context *psp) in psp_load_non_psp_fw()
2625 struct psp_context *psp = &adev->psp; in psp_load_fw() local
2745 struct psp_context *psp = &adev->psp; in psp_hw_fini() local
2770 struct psp_context *psp = &adev->psp; in psp_suspend() local
2833 struct psp_context *psp = &adev->psp; in psp_resume() local
2928 int psp_rlc_autoload_start(struct psp_context *psp) in psp_rlc_autoload_start()
2943 int psp_ring_cmd_submit(struct psp_context *psp, in psp_ring_cmd_submit()
2993 int psp_init_asd_microcode(struct psp_context *psp, const char *chip_name) in psp_init_asd_microcode()
3017 int psp_init_toc_microcode(struct psp_context *psp, const char *chip_name) in psp_init_toc_microcode()
3041 static int parse_sos_bin_descriptor(struct psp_context *psp, in parse_sos_bin_descriptor()
3168 int psp_init_sos_microcode(struct psp_context *psp, const char *chip_name) in psp_init_sos_microcode()
3259 static int parse_ta_bin_descriptor(struct psp_context *psp, in parse_ta_bin_descriptor()
3320 static int parse_ta_v1_microcode(struct psp_context *psp) in parse_ta_v1_microcode()
3375 static int parse_ta_v2_microcode(struct psp_context *psp) in parse_ta_v2_microcode()
3403 int psp_init_ta_microcode(struct psp_context *psp, const char *chip_name) in psp_init_ta_microcode()
3434 int psp_init_cap_microcode(struct psp_context *psp, const char *chip_name) in psp_init_cap_microcode()
3571 void psp_copy_fw(struct psp_context *psp, uint8_t *start_addr, uint32_t bin_size) in psp_copy_fw()