Home
last modified time | relevance | path

Searched refs:psp_context (Results 1 – 25 of 28) sorted by relevance

12

/linux-6.15/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_psp.h65 struct psp_context;
114 int (*init_microcode)(struct psp_context *psp);
126 int (*ring_create)(struct psp_context *psp,
128 int (*ring_stop)(struct psp_context *psp,
130 int (*ring_destroy)(struct psp_context *psp,
133 int (*mode1_reset)(struct psp_context *psp);
140 int (*vbflash_stat)(struct psp_context *psp);
150 int (*fn_ta_terminate)(struct psp_context *psp);
322 struct psp_context { struct
504 int psp_ta_invoke(struct psp_context *psp,
[all …]
H A Dpsp_v13_0_4.c35 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 Dpsp_v13_0.c88 static int psp_v13_0_init_microcode(struct psp_context *psp) in psp_v13_0_init_microcode()
144 static bool psp_v13_0_is_sos_alive(struct psp_context *psp) in psp_v13_0_is_sos_alive()
154 static int psp_v13_0_wait_for_vmbx_ready(struct psp_context *psp) in psp_v13_0_wait_for_vmbx_ready()
176 static int psp_v13_0_wait_for_bootloader(struct psp_context *psp) in psp_v13_0_wait_for_bootloader()
261 static int psp_v13_0_bootloader_load_kdb(struct psp_context *psp) in psp_v13_0_bootloader_load_kdb()
350 static int psp_v13_0_ring_stop(struct psp_context *psp, in psp_v13_0_ring_stop()
379 static int psp_v13_0_ring_create(struct psp_context *psp, in psp_v13_0_ring_create()
446 static int psp_v13_0_ring_destroy(struct psp_context *psp, in psp_v13_0_ring_destroy()
734 static int psp_v13_0_update_spirom(struct psp_context *psp, in psp_v13_0_update_spirom()
769 static int psp_v13_0_vbflash_status(struct psp_context *psp) in psp_v13_0_vbflash_status()
[all …]
H A Dpsp_v14_0.c59 static int psp_v14_0_init_microcode(struct psp_context *psp) in psp_v14_0_init_microcode()
92 static bool psp_v14_0_is_sos_alive(struct psp_context *psp) in psp_v14_0_is_sos_alive()
102 static int psp_v14_0_wait_for_bootloader(struct psp_context *psp) in psp_v14_0_wait_for_bootloader()
160 static int psp_v14_0_bootloader_load_kdb(struct psp_context *psp) in psp_v14_0_bootloader_load_kdb()
165 static int psp_v14_0_bootloader_load_spl(struct psp_context *psp) in psp_v14_0_bootloader_load_spl()
238 static int psp_v14_0_ring_stop(struct psp_context *psp, in psp_v14_0_ring_stop()
267 static int psp_v14_0_ring_create(struct psp_context *psp, in psp_v14_0_ring_create()
334 static int psp_v14_0_ring_destroy(struct psp_context *psp, in psp_v14_0_ring_destroy()
625 static int psp_v14_0_update_spirom(struct psp_context *psp, in psp_v14_0_update_spirom()
660 static int psp_v14_0_vbflash_status(struct psp_context *psp) in psp_v14_0_vbflash_status()
[all …]
H A Dpsp_v10_0.c47 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 Dpsp_v3_1.c54 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 Dpsp_v11_0.c88 static int psp_v11_0_init_microcode(struct psp_context *psp) in psp_v11_0_init_microcode()
145 static int psp_v11_0_wait_for_bootloader(struct psp_context *psp) in psp_v11_0_wait_for_bootloader()
168 static bool psp_v11_0_is_sos_alive(struct psp_context *psp) in psp_v11_0_is_sos_alive()
211 static int psp_v11_0_bootloader_load_kdb(struct psp_context *psp) in psp_v11_0_bootloader_load_kdb()
216 static int psp_v11_0_bootloader_load_spl(struct psp_context *psp) in psp_v11_0_bootloader_load_spl()
226 static int psp_v11_0_bootloader_load_sos(struct psp_context *psp) in psp_v11_0_bootloader_load_sos()
261 static int psp_v11_0_ring_stop(struct psp_context *psp, in psp_v11_0_ring_stop()
289 static int psp_v11_0_ring_create(struct psp_context *psp, in psp_v11_0_ring_create()
358 static int psp_v11_0_ring_destroy(struct psp_context *psp, in psp_v11_0_ring_destroy()
376 static int psp_v11_0_mode1_reset(struct psp_context *psp) in psp_v11_0_mode1_reset()
[all …]
H A Dpsp_v12_0.c48 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 Dpsp_v11_0_8.c31 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 Damdgpu_psp.c168 struct psp_context *psp = &adev->psp; in psp_early_init()
441 struct psp_context *psp = &adev->psp; in psp_sw_init()
547 struct psp_context *psp = &adev->psp; in psp_sw_fini()
989 struct psp_context *psp = &adev->psp; in psp_boot_config_get()
1015 struct psp_context *psp = &adev->psp; in psp_boot_config_set()
1038 struct psp_context *psp = &adev->psp; in psp_rl_load()
2307 struct psp_context *psp = &adev->psp; in amdgpu_psp_wait_for_bootloader()
2328 struct psp_context *psp = &adev->psp; in amdgpu_psp_tos_reload_needed()
2954 struct psp_context *psp = &adev->psp; in psp_load_fw()
3071 struct psp_context *psp = &adev->psp; in psp_hw_fini()
[all …]
H A Damdgpu_securedisplay.h31 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 Damdgpu_securedisplay.c48 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 Damdgpu_psp_ta.c72 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 Dpsp_v11_0_8.h28 void psp_v11_0_8_set_psp_funcs(struct psp_context *psp);
H A Dpsp_v11_0.h28 void psp_v11_0_set_psp_funcs(struct psp_context *psp);
H A Dpsp_v12_0.h28 void psp_v12_0_set_psp_funcs(struct psp_context *psp);
H A Dpsp_v10_0.h30 void psp_v10_0_set_psp_funcs(struct psp_context *psp);
H A Dpsp_v13_0_4.h28 void psp_v13_0_4_set_psp_funcs(struct psp_context *psp);
H A Dpsp_v13_0.h30 void psp_v13_0_set_psp_funcs(struct psp_context *psp);
H A Dpsp_v14_0.h30 void psp_v14_0_set_psp_funcs(struct psp_context *psp);
H A Dpsp_v3_1.h35 void psp_v3_1_set_psp_funcs(struct psp_context *psp);
H A Dsienna_cichlid.c152 struct psp_context *psp = &adev->psp; in sienna_cichlid_mode2_restore_ip()
H A Dsmu_v13_0_10.c143 struct psp_context *psp = &adev->psp; in smu_v13_0_10_mode2_restore_ip()
/linux-6.15/drivers/gpu/drm/amd/display/modules/hdcp/
H A Dhdcp_psp.c51 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-6.15/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_hdcp.c79 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()
467 struct psp_context *psp = hdcp.config.psp.handle; in enable_assr()

12