/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_psp.h | 65 struct psp_context; 113 int (*init_microcode)(struct psp_context *psp); 124 int (*ring_create)(struct psp_context *psp, 126 int (*ring_stop)(struct psp_context *psp, 128 int (*ring_destroy)(struct psp_context *psp, 131 int (*mode1_reset)(struct psp_context *psp); 138 int (*vbflash_stat)(struct psp_context *psp); 147 int (*fn_ta_terminate)(struct psp_context *psp); 319 struct psp_context { struct 497 int psp_ta_invoke(struct psp_context *psp, [all …]
|
H A D | psp_v13_0_4.c | 35 static int psp_v13_0_4_init_microcode(struct psp_context *psp) in psp_v13_0_4_init_microcode() 59 static bool psp_v13_0_4_is_sos_alive(struct psp_context *psp) in psp_v13_0_4_is_sos_alive() 69 static int psp_v13_0_4_wait_for_bootloader(struct psp_context *psp) in psp_v13_0_4_wait_for_bootloader() 127 static int psp_v13_0_4_bootloader_load_kdb(struct psp_context *psp) in psp_v13_0_4_bootloader_load_kdb() 132 static int psp_v13_0_4_bootloader_load_spl(struct psp_context *psp) in psp_v13_0_4_bootloader_load_spl() 157 static int psp_v13_0_4_bootloader_load_sos(struct psp_context *psp) in psp_v13_0_4_bootloader_load_sos() 194 static int psp_v13_0_4_ring_stop(struct psp_context *psp, in psp_v13_0_4_ring_stop() 223 static int psp_v13_0_4_ring_create(struct psp_context *psp, in psp_v13_0_4_ring_create() 290 static int psp_v13_0_4_ring_destroy(struct psp_context *psp, in psp_v13_0_4_ring_destroy() 308 static uint32_t psp_v13_0_4_ring_get_wptr(struct psp_context *psp) in psp_v13_0_4_ring_get_wptr() [all …]
|
H A D | psp_v14_0.c | 57 static int psp_v14_0_init_microcode(struct psp_context *psp) in psp_v14_0_init_microcode() 82 static bool psp_v14_0_is_sos_alive(struct psp_context *psp) in psp_v14_0_is_sos_alive() 92 static int psp_v14_0_wait_for_bootloader(struct psp_context *psp) in psp_v14_0_wait_for_bootloader() 150 static int psp_v14_0_bootloader_load_kdb(struct psp_context *psp) in psp_v14_0_bootloader_load_kdb() 155 static int psp_v14_0_bootloader_load_spl(struct psp_context *psp) in psp_v14_0_bootloader_load_spl() 228 static int psp_v14_0_ring_stop(struct psp_context *psp, in psp_v14_0_ring_stop() 257 static int psp_v14_0_ring_create(struct psp_context *psp, in psp_v14_0_ring_create() 324 static int psp_v14_0_ring_destroy(struct psp_context *psp, in psp_v14_0_ring_destroy() 615 static int psp_v14_0_update_spirom(struct psp_context *psp, in psp_v14_0_update_spirom() 650 static int psp_v14_0_vbflash_status(struct psp_context *psp) in psp_v14_0_vbflash_status() [all …]
|
H A D | psp_v13_0.c | 86 static int psp_v13_0_init_microcode(struct psp_context *psp) in psp_v13_0_init_microcode() 141 static bool psp_v13_0_is_sos_alive(struct psp_context *psp) in psp_v13_0_is_sos_alive() 151 static int psp_v13_0_wait_for_vmbx_ready(struct psp_context *psp) in psp_v13_0_wait_for_vmbx_ready() 173 static int psp_v13_0_wait_for_bootloader(struct psp_context *psp) in psp_v13_0_wait_for_bootloader() 256 static int psp_v13_0_bootloader_load_kdb(struct psp_context *psp) in psp_v13_0_bootloader_load_kdb() 340 static int psp_v13_0_ring_stop(struct psp_context *psp, in psp_v13_0_ring_stop() 369 static int psp_v13_0_ring_create(struct psp_context *psp, in psp_v13_0_ring_create() 436 static int psp_v13_0_ring_destroy(struct psp_context *psp, in psp_v13_0_ring_destroy() 724 static int psp_v13_0_update_spirom(struct psp_context *psp, in psp_v13_0_update_spirom() 759 static int psp_v13_0_vbflash_status(struct psp_context *psp) in psp_v13_0_vbflash_status() [all …]
|
H A D | psp_v10_0.c | 47 static int psp_v10_0_init_microcode(struct psp_context *psp) in psp_v10_0_init_microcode() 70 static int psp_v10_0_ring_create(struct psp_context *psp, in psp_v10_0_ring_create() 102 static int psp_v10_0_ring_stop(struct psp_context *psp, in psp_v10_0_ring_stop() 123 static int psp_v10_0_ring_destroy(struct psp_context *psp, in psp_v10_0_ring_destroy() 141 static int psp_v10_0_mode1_reset(struct psp_context *psp) in psp_v10_0_mode1_reset() 147 static uint32_t psp_v10_0_ring_get_wptr(struct psp_context *psp) in psp_v10_0_ring_get_wptr() 154 static void psp_v10_0_ring_set_wptr(struct psp_context *psp, uint32_t value) in psp_v10_0_ring_set_wptr() 171 void psp_v10_0_set_psp_funcs(struct psp_context *psp) in psp_v10_0_set_psp_funcs()
|
H A D | psp_v3_1.c | 54 static int psp_v3_1_ring_stop(struct psp_context *psp, 57 static int psp_v3_1_init_microcode(struct psp_context *psp) in psp_v3_1_init_microcode() 117 static int psp_v3_1_bootloader_load_sos(struct psp_context *psp) in psp_v3_1_bootloader_load_sos() 155 static void psp_v3_1_reroute_ih(struct psp_context *psp) in psp_v3_1_reroute_ih() 186 static int psp_v3_1_ring_create(struct psp_context *psp, in psp_v3_1_ring_create() 251 static int psp_v3_1_ring_stop(struct psp_context *psp, in psp_v3_1_ring_stop() 279 static int psp_v3_1_ring_destroy(struct psp_context *psp, in psp_v3_1_ring_destroy() 297 static bool psp_v3_1_smu_reload_quirk(struct psp_context *psp) in psp_v3_1_smu_reload_quirk() 306 static int psp_v3_1_mode1_reset(struct psp_context *psp) in psp_v3_1_mode1_reset() 340 static uint32_t psp_v3_1_ring_get_wptr(struct psp_context *psp) in psp_v3_1_ring_get_wptr() [all …]
|
H A D | psp_v11_0.c | 88 static int psp_v11_0_init_microcode(struct psp_context *psp) in psp_v11_0_init_microcode() 144 static int psp_v11_0_wait_for_bootloader(struct psp_context *psp) in psp_v11_0_wait_for_bootloader() 167 static bool psp_v11_0_is_sos_alive(struct psp_context *psp) in psp_v11_0_is_sos_alive() 210 static int psp_v11_0_bootloader_load_kdb(struct psp_context *psp) in psp_v11_0_bootloader_load_kdb() 215 static int psp_v11_0_bootloader_load_spl(struct psp_context *psp) in psp_v11_0_bootloader_load_spl() 225 static int psp_v11_0_bootloader_load_sos(struct psp_context *psp) in psp_v11_0_bootloader_load_sos() 260 static int psp_v11_0_ring_stop(struct psp_context *psp, in psp_v11_0_ring_stop() 288 static int psp_v11_0_ring_create(struct psp_context *psp, in psp_v11_0_ring_create() 357 static int psp_v11_0_ring_destroy(struct psp_context *psp, in psp_v11_0_ring_destroy() 375 static int psp_v11_0_mode1_reset(struct psp_context *psp) in psp_v11_0_mode1_reset() [all …]
|
H A D | psp_v12_0.c | 48 static int psp_v12_0_init_microcode(struct psp_context *psp) in psp_v12_0_init_microcode() 72 static int psp_v12_0_bootloader_load_sysdrv(struct psp_context *psp) in psp_v12_0_bootloader_load_sysdrv() 111 static int psp_v12_0_bootloader_load_sos(struct psp_context *psp) in psp_v12_0_bootloader_load_sos() 150 static void psp_v12_0_reroute_ih(struct psp_context *psp) in psp_v12_0_reroute_ih() 181 static int psp_v12_0_ring_create(struct psp_context *psp, in psp_v12_0_ring_create() 236 static int psp_v12_0_ring_stop(struct psp_context *psp, in psp_v12_0_ring_stop() 264 static int psp_v12_0_ring_destroy(struct psp_context *psp, in psp_v12_0_ring_destroy() 282 static int psp_v12_0_mode1_reset(struct psp_context *psp) in psp_v12_0_mode1_reset() 316 static uint32_t psp_v12_0_ring_get_wptr(struct psp_context *psp) in psp_v12_0_ring_get_wptr() 329 static void psp_v12_0_ring_set_wptr(struct psp_context *psp, uint32_t value) in psp_v12_0_ring_set_wptr() [all …]
|
H A D | amdgpu_psp.c | 165 struct psp_context *psp = &adev->psp; in psp_early_init() 427 struct psp_context *psp = &adev->psp; in psp_sw_init() 533 struct psp_context *psp = &adev->psp; in psp_sw_fini() 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() 2248 struct psp_context *psp = &adev->psp; in amdgpu_psp_wait_for_bootloader() 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() [all …]
|
H A D | psp_v11_0_8.c | 31 static int psp_v11_0_8_ring_stop(struct psp_context *psp, in psp_v11_0_8_ring_stop() 60 static int psp_v11_0_8_ring_create(struct psp_context *psp, in psp_v11_0_8_ring_create() 127 static int psp_v11_0_8_ring_destroy(struct psp_context *psp, in psp_v11_0_8_ring_destroy() 145 static uint32_t psp_v11_0_8_ring_get_wptr(struct psp_context *psp) in psp_v11_0_8_ring_get_wptr() 158 static void psp_v11_0_8_ring_set_wptr(struct psp_context *psp, uint32_t value) in psp_v11_0_8_ring_set_wptr() 178 void psp_v11_0_8_set_psp_funcs(struct psp_context *psp) in psp_v11_0_8_set_psp_funcs()
|
H A D | amdgpu_securedisplay.h | 31 void psp_securedisplay_parse_resp_status(struct psp_context *psp, 33 void psp_prep_securedisplay_cmd_buf(struct psp_context *psp, struct ta_securedisplay_cmd **cmd,
|
H A D | amdgpu_securedisplay.c | 48 void psp_securedisplay_parse_resp_status(struct psp_context *psp, in psp_securedisplay_parse_resp_status() 80 void psp_prep_securedisplay_cmd_buf(struct psp_context *psp, struct ta_securedisplay_cmd **cmd, in psp_prep_securedisplay_cmd_buf() 95 struct psp_context *psp = &adev->psp; in amdgpu_securedisplay_debugfs_write()
|
H A D | amdgpu_psp_ta.c | 72 static void set_ta_context_funcs(struct psp_context *psp, in set_ta_context_funcs() 153 struct psp_context *psp = &adev->psp; in ta_if_load_debugfs_write() 255 struct psp_context *psp = &adev->psp; in ta_if_unload_debugfs_write() 304 struct psp_context *psp = &adev->psp; in ta_if_invoke_debugfs_write()
|
H A D | psp_v10_0.h | 30 void psp_v10_0_set_psp_funcs(struct psp_context *psp);
|
H A D | psp_v11_0.h | 28 void psp_v11_0_set_psp_funcs(struct psp_context *psp);
|
H A D | psp_v11_0_8.h | 28 void psp_v11_0_8_set_psp_funcs(struct psp_context *psp);
|
H A D | psp_v12_0.h | 28 void psp_v12_0_set_psp_funcs(struct psp_context *psp);
|
H A D | psp_v13_0_4.h | 28 void psp_v13_0_4_set_psp_funcs(struct psp_context *psp);
|
H A D | psp_v13_0.h | 30 void psp_v13_0_set_psp_funcs(struct psp_context *psp);
|
H A D | psp_v14_0.h | 30 void psp_v14_0_set_psp_funcs(struct psp_context *psp);
|
H A D | psp_v3_1.h | 35 void psp_v3_1_set_psp_funcs(struct psp_context *psp);
|
H A D | smu_v13_0_10.c | 149 struct psp_context *psp = &adev->psp; in smu_v13_0_10_mode2_restore_ip()
|
H A D | sienna_cichlid.c | 158 struct psp_context *psp = &adev->psp; in sienna_cichlid_mode2_restore_ip()
|
/linux/drivers/gpu/drm/amd/display/modules/hdcp/ |
H A D | hdcp_psp.c | 51 struct psp_context *psp = hdcp->config.psp.handle; in remove_display_from_topology_v2() 87 struct psp_context *psp = hdcp->config.psp.handle; in remove_display_from_topology_v3() 125 struct psp_context *psp = hdcp->config.psp.handle; in add_display_to_topology_v2() 172 struct psp_context *psp = hdcp->config.psp.handle; in add_display_to_topology_v3() 253 struct psp_context *psp = hdcp->config.psp.handle; in mod_hdcp_hdcp1_create_session() 292 struct psp_context *psp = hdcp->config.psp.handle; in mod_hdcp_hdcp1_destroy_session() 325 struct psp_context *psp = hdcp->config.psp.handle; in mod_hdcp_hdcp1_validate_rx() 366 struct psp_context *psp = hdcp->config.psp.handle; in mod_hdcp_hdcp1_enable_encryption() 393 struct psp_context *psp = hdcp->config.psp.handle; in mod_hdcp_hdcp1_validate_ksvlist_vp() 435 struct psp_context *psp = hdcp->config.psp.handle; in mod_hdcp_hdcp1_enable_dp_stream_encryption() [all …]
|
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm_hdcp.c | 79 static uint8_t *psp_get_srm(struct psp_context *psp, uint32_t *srm_version, uint32_t *srm_size) in psp_get_srm() 103 static int psp_set_srm(struct psp_context *psp, in psp_set_srm() 470 struct psp_context *psp = hdcp.config.psp.handle; in enable_assr()
|