| /kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
| D | amdgpu_psp.c | 61 static void psp_check_pmfw_centralized_cstate_management(struct psp_context *psp) in psp_check_pmfw_centralized_cstate_management() 81 struct psp_context *psp = &adev->psp; in psp_early_init() local 120 static void psp_memory_training_fini(struct psp_context *psp) in psp_memory_training_fini() 129 static int psp_memory_training_init(struct psp_context *psp) in psp_memory_training_init() 161 struct psp_context *psp = &adev->psp; in psp_sw_init() local 218 int psp_wait_for(struct psp_context *psp, uint32_t reg_index, in psp_wait_for() 244 psp_cmd_submit_buf(struct psp_context *psp, in psp_cmd_submit_buf() 323 static void psp_prep_tmr_cmd_buf(struct psp_context *psp, in psp_prep_tmr_cmd_buf() 346 static int psp_load_toc(struct psp_context *psp, in psp_load_toc() 370 static int psp_tmr_init(struct psp_context *psp) in psp_tmr_init() [all …]
|
| D | psp_v11_0.c | 76 static int psp_v11_0_init_microcode(struct psp_context *psp) in psp_v11_0_init_microcode() 199 int psp_v11_0_wait_for_bootloader(struct psp_context *psp) in psp_v11_0_wait_for_bootloader() 222 static bool psp_v11_0_is_sos_alive(struct psp_context *psp) in psp_v11_0_is_sos_alive() 232 static int psp_v11_0_bootloader_load_kdb(struct psp_context *psp) in psp_v11_0_bootloader_load_kdb() 265 static int psp_v11_0_bootloader_load_spl(struct psp_context *psp) in psp_v11_0_bootloader_load_spl() 298 static int psp_v11_0_bootloader_load_sysdrv(struct psp_context *psp) in psp_v11_0_bootloader_load_sysdrv() 334 static int psp_v11_0_bootloader_load_sos(struct psp_context *psp) in psp_v11_0_bootloader_load_sos() 371 static void psp_v11_0_reroute_ih(struct psp_context *psp) in psp_v11_0_reroute_ih() 402 static int psp_v11_0_ring_init(struct psp_context *psp, in psp_v11_0_ring_init() 433 static int psp_v11_0_ring_stop(struct psp_context *psp, in psp_v11_0_ring_stop() [all …]
|
| D | psp_v3_1.c | 56 static int psp_v3_1_init_microcode(struct psp_context *psp) in psp_v3_1_init_microcode() 85 static int psp_v3_1_bootloader_load_sysdrv(struct psp_context *psp) in psp_v3_1_bootloader_load_sysdrv() 126 static int psp_v3_1_bootloader_load_sos(struct psp_context *psp) in psp_v3_1_bootloader_load_sos() 166 static int psp_v3_1_ring_init(struct psp_context *psp, in psp_v3_1_ring_init() 192 static void psp_v3_1_reroute_ih(struct psp_context *psp) in psp_v3_1_reroute_ih() 223 static int psp_v3_1_ring_create(struct psp_context *psp, in psp_v3_1_ring_create() 287 static int psp_v3_1_ring_stop(struct psp_context *psp, in psp_v3_1_ring_stop() 315 static int psp_v3_1_ring_destroy(struct psp_context *psp, in psp_v3_1_ring_destroy() 333 static bool psp_v3_1_smu_reload_quirk(struct psp_context *psp) in psp_v3_1_smu_reload_quirk() 342 static int psp_v3_1_mode1_reset(struct psp_context *psp) in psp_v3_1_mode1_reset() [all …]
|
| D | psp_v12_0.c | 48 static int psp_v12_0_init_microcode(struct psp_context *psp) in psp_v12_0_init_microcode() 120 static int psp_v12_0_bootloader_load_sysdrv(struct psp_context *psp) in psp_v12_0_bootloader_load_sysdrv() 161 static int psp_v12_0_bootloader_load_sos(struct psp_context *psp) in psp_v12_0_bootloader_load_sos() 202 static void psp_v12_0_reroute_ih(struct psp_context *psp) in psp_v12_0_reroute_ih() 233 static int psp_v12_0_ring_init(struct psp_context *psp, in psp_v12_0_ring_init() 261 static int psp_v12_0_ring_create(struct psp_context *psp, in psp_v12_0_ring_create() 314 static int psp_v12_0_ring_stop(struct psp_context *psp, in psp_v12_0_ring_stop() 342 static int psp_v12_0_ring_destroy(struct psp_context *psp, in psp_v12_0_ring_destroy() 360 static int psp_v12_0_mode1_reset(struct psp_context *psp) in psp_v12_0_mode1_reset() 394 static uint32_t psp_v12_0_ring_get_wptr(struct psp_context *psp) in psp_v12_0_ring_get_wptr() [all …]
|
| D | psp_v10_0.c | 47 static int psp_v10_0_init_microcode(struct psp_context *psp) in psp_v10_0_init_microcode() 121 static int psp_v10_0_ring_init(struct psp_context *psp, in psp_v10_0_ring_init() 147 static int psp_v10_0_ring_create(struct psp_context *psp, in psp_v10_0_ring_create() 179 static int psp_v10_0_ring_stop(struct psp_context *psp, in psp_v10_0_ring_stop() 200 static int psp_v10_0_ring_destroy(struct psp_context *psp, in psp_v10_0_ring_destroy() 218 static int psp_v10_0_mode1_reset(struct psp_context *psp) in psp_v10_0_mode1_reset() 224 static uint32_t psp_v10_0_ring_get_wptr(struct psp_context *psp) in psp_v10_0_ring_get_wptr() 231 static void psp_v10_0_ring_set_wptr(struct psp_context *psp, uint32_t value) in psp_v10_0_ring_set_wptr() 249 void psp_v10_0_set_psp_funcs(struct psp_context *psp) in psp_v10_0_set_psp_funcs()
|
| D | amdgpu_psp.h | 312 #define psp_ring_init(psp, type) (psp)->funcs->ring_init((psp), (type)) argument 313 #define psp_ring_create(psp, type) (psp)->funcs->ring_create((psp), (type)) argument 314 #define psp_ring_stop(psp, type) (psp)->funcs->ring_stop((psp), (type)) argument 315 #define psp_ring_destroy(psp, type) ((psp)->funcs->ring_destroy((psp), (type))) argument 316 #define psp_init_microcode(psp) \ argument 318 #define psp_bootloader_load_kdb(psp) \ argument 320 #define psp_bootloader_load_spl(psp) \ argument 322 #define psp_bootloader_load_sysdrv(psp) \ argument 324 #define psp_bootloader_load_sos(psp) \ argument 326 #define psp_smu_reload_quirk(psp) \ argument [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
| 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() 92 static int psp_v13_0_4_bootloader_load_component(struct psp_context *psp, in psp_v13_0_4_bootloader_load_component() 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() 137 static int psp_v13_0_4_bootloader_load_sysdrv(struct psp_context *psp) in psp_v13_0_4_bootloader_load_sysdrv() 142 static int psp_v13_0_4_bootloader_load_soc_drv(struct psp_context *psp) in psp_v13_0_4_bootloader_load_soc_drv() 147 static int psp_v13_0_4_bootloader_load_intf_drv(struct psp_context *psp) in psp_v13_0_4_bootloader_load_intf_drv() 152 static int psp_v13_0_4_bootloader_load_dbg_drv(struct psp_context *psp) in psp_v13_0_4_bootloader_load_dbg_drv() [all …]
|
| D | psp_v13_0.c | 77 static int psp_v13_0_init_microcode(struct psp_context *psp) in psp_v13_0_init_microcode() 129 static bool psp_v13_0_is_sos_alive(struct psp_context *psp) in psp_v13_0_is_sos_alive() 139 static int psp_v13_0_wait_for_vmbx_ready(struct psp_context *psp) in psp_v13_0_wait_for_vmbx_ready() 161 static int psp_v13_0_wait_for_bootloader(struct psp_context *psp) in psp_v13_0_wait_for_bootloader() 187 static int psp_v13_0_wait_for_bootloader_steady_state(struct psp_context *psp) in psp_v13_0_wait_for_bootloader_steady_state() 200 static int psp_v13_0_bootloader_load_component(struct psp_context *psp, in psp_v13_0_bootloader_load_component() 235 static int psp_v13_0_bootloader_load_kdb(struct psp_context *psp) in psp_v13_0_bootloader_load_kdb() 240 static int psp_v13_0_bootloader_load_spl(struct psp_context *psp) in psp_v13_0_bootloader_load_spl() 245 static int psp_v13_0_bootloader_load_sysdrv(struct psp_context *psp) in psp_v13_0_bootloader_load_sysdrv() 250 static int psp_v13_0_bootloader_load_soc_drv(struct psp_context *psp) in psp_v13_0_bootloader_load_soc_drv() [all …]
|
| D | amdgpu_psp.c | 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() [all …]
|
| 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() 177 static int psp_v11_0_bootloader_load_component(struct psp_context *psp, in psp_v11_0_bootloader_load_component() 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() 220 static int psp_v11_0_bootloader_load_sysdrv(struct psp_context *psp) in psp_v11_0_bootloader_load_sysdrv() 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() [all …]
|
| D | psp_v3_1.c | 57 static int psp_v3_1_init_microcode(struct psp_context *psp) in psp_v3_1_init_microcode() 78 static int psp_v3_1_bootloader_load_sysdrv(struct psp_context *psp) in psp_v3_1_bootloader_load_sysdrv() 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 …]
|
| 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 …]
|
| D | psp_v10_0.c | 47 static int psp_v10_0_init_microcode(struct psp_context *psp) in psp_v10_0_init_microcode() 69 static int psp_v10_0_ring_create(struct psp_context *psp, in psp_v10_0_ring_create() 101 static int psp_v10_0_ring_stop(struct psp_context *psp, in psp_v10_0_ring_stop() 122 static int psp_v10_0_ring_destroy(struct psp_context *psp, in psp_v10_0_ring_destroy() 140 static int psp_v10_0_mode1_reset(struct psp_context *psp) in psp_v10_0_mode1_reset() 146 static uint32_t psp_v10_0_ring_get_wptr(struct psp_context *psp) in psp_v10_0_ring_get_wptr() 153 static void psp_v10_0_ring_set_wptr(struct psp_context *psp, uint32_t value) in psp_v10_0_ring_set_wptr() 170 void psp_v10_0_set_psp_funcs(struct psp_context *psp) in psp_v10_0_set_psp_funcs()
|
| 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()
|
| D | amdgpu_psp_ta.h | 28 #define psp_fn_ta_initialize(psp) ((psp)->ta_funcs->fn_ta_initialize((psp))) argument 29 #define psp_fn_ta_invoke(psp, ta_cmd_id) ((psp)->ta_funcs->fn_ta_invoke((psp), (ta_cmd_id))) argument 30 #define psp_fn_ta_terminate(psp) ((psp)->ta_funcs->fn_ta_terminate((psp))) argument
|
| D | amdgpu_psp.h | 402 #define psp_ring_create(psp, type) (psp)->funcs->ring_create((psp), (type)) argument 403 #define psp_ring_stop(psp, type) (psp)->funcs->ring_stop((psp), (type)) argument 404 #define psp_ring_destroy(psp, type) ((psp)->funcs->ring_destroy((psp), (type))) argument 405 #define psp_init_microcode(psp) \ argument 407 #define psp_bootloader_load_kdb(psp) \ argument 409 #define psp_bootloader_load_spl(psp) \ argument 411 #define psp_bootloader_load_sysdrv(psp) \ argument 413 #define psp_bootloader_load_soc_drv(psp) \ argument 415 #define psp_bootloader_load_intf_drv(psp) \ argument 417 #define psp_bootloader_load_dbg_drv(psp) \ argument [all …]
|
| 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() local
|
| 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() local 252 struct psp_context *psp = &adev->psp; in ta_if_unload_debugfs_write() local 301 struct psp_context *psp = &adev->psp; in ta_if_invoke_debugfs_write() local
|
| /kernel/linux/linux-5.10/drivers/crypto/ccp/ |
| D | psp-dev.c | 23 struct psp_device *psp; in psp_alloc_struct() local 39 struct psp_device *psp = data; in psp_irq_handler() local 60 static unsigned int psp_get_capability(struct psp_device *psp) in psp_get_capability() 79 static int psp_check_sev_support(struct psp_device *psp, in psp_check_sev_support() 91 static int psp_check_tee_support(struct psp_device *psp, in psp_check_tee_support() 103 static int psp_check_support(struct psp_device *psp, in psp_check_support() 116 static int psp_init(struct psp_device *psp, unsigned int capability) in psp_init() 138 struct psp_device *psp; in psp_dev_init() local 208 struct psp_device *psp = sp->psp_data; in psp_dev_destroy() local 223 void psp_set_sev_irq_handler(struct psp_device *psp, psp_irq_handler_t handler, in psp_set_sev_irq_handler() [all …]
|
| /kernel/linux/linux-6.6/drivers/crypto/ccp/ |
| D | psp-dev.c | 25 struct psp_device *psp; in psp_alloc_struct() local 41 struct psp_device *psp = data; in psp_irq_handler() local 59 static unsigned int psp_get_capability(struct psp_device *psp) in psp_get_capability() 85 static int psp_check_sev_support(struct psp_device *psp) in psp_check_sev_support() 96 static int psp_check_tee_support(struct psp_device *psp) in psp_check_tee_support() 107 static void psp_init_platform_access(struct psp_device *psp) in psp_init_platform_access() 124 static int psp_init(struct psp_device *psp) in psp_init() 149 struct psp_device *psp; in psp_dev_init() local 218 struct psp_device *psp = sp->psp_data; in psp_dev_destroy() local 237 void psp_set_sev_irq_handler(struct psp_device *psp, psp_irq_handler_t handler, in psp_set_sev_irq_handler() [all …]
|
| D | platform-access.c | 47 struct psp_device *psp = psp_get_master_device(); in psp_check_platform_access_status() local 59 struct psp_device *psp = psp_get_master_device(); in psp_send_platform_access_msg() local 143 struct psp_device *psp = psp_get_master_device(); in psp_ring_platform_doorbell() local 187 void platform_access_dev_destroy(struct psp_device *psp) in platform_access_dev_destroy() 199 int platform_access_dev_init(struct psp_device *psp) in platform_access_dev_init()
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/modules/hdcp/ |
| D | hdcp_psp.c | 51 struct psp_context *psp = hdcp->config.psp.handle; in remove_display_from_topology_v2() local 87 struct psp_context *psp = hdcp->config.psp.handle; in remove_display_from_topology_v3() local 125 struct psp_context *psp = hdcp->config.psp.handle; in add_display_to_topology_v2() local 172 struct psp_context *psp = hdcp->config.psp.handle; in add_display_to_topology_v3() local 253 struct psp_context *psp = hdcp->config.psp.handle; in mod_hdcp_hdcp1_create_session() local 292 struct psp_context *psp = hdcp->config.psp.handle; in mod_hdcp_hdcp1_destroy_session() local 325 struct psp_context *psp = hdcp->config.psp.handle; in mod_hdcp_hdcp1_validate_rx() local 366 struct psp_context *psp = hdcp->config.psp.handle; in mod_hdcp_hdcp1_enable_encryption() local 393 struct psp_context *psp = hdcp->config.psp.handle; in mod_hdcp_hdcp1_validate_ksvlist_vp() local 435 struct psp_context *psp = hdcp->config.psp.handle; in mod_hdcp_hdcp1_enable_dp_stream_encryption() local [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/modules/hdcp/ |
| D | hdcp_psp.c | 50 struct psp_context *psp = hdcp->config.psp.handle; in mod_hdcp_remove_display_from_topology() local 85 struct psp_context *psp = hdcp->config.psp.handle; in mod_hdcp_add_display_to_topology() local 132 struct psp_context *psp = hdcp->config.psp.handle; in mod_hdcp_hdcp1_create_session() local 171 struct psp_context *psp = hdcp->config.psp.handle; in mod_hdcp_hdcp1_destroy_session() local 204 struct psp_context *psp = hdcp->config.psp.handle; in mod_hdcp_hdcp1_validate_rx() local 245 struct psp_context *psp = hdcp->config.psp.handle; in mod_hdcp_hdcp1_enable_encryption() local 272 struct psp_context *psp = hdcp->config.psp.handle; in mod_hdcp_hdcp1_validate_ksvlist_vp() local 314 struct psp_context *psp = hdcp->config.psp.handle; in mod_hdcp_hdcp1_enable_dp_stream_encryption() local 350 struct psp_context *psp = hdcp->config.psp.handle; in mod_hdcp_hdcp1_link_maintenance() local 389 struct psp_context *psp = hdcp->config.psp.handle; in mod_hdcp_hdcp2_create_session() local [all …]
|
| /kernel/linux/linux-5.10/drivers/staging/greybus/ |
| D | power_supply.c | 106 static int get_psp_from_gb_prop(int gb_prop, enum power_supply_property *psp) in get_psp_from_gb_prop() 316 enum power_supply_property psp) in get_psy_prop() 327 enum power_supply_property psp) in is_psy_prop_writeable() 337 static int is_prop_valint(enum power_supply_property psp) in is_prop_valint() 513 enum power_supply_property psp; in gb_power_supply_prop_descriptors_get() local 590 enum power_supply_property psp) in __gb_power_supply_property_update() 623 enum power_supply_property psp, in __gb_power_supply_property_get() 637 enum power_supply_property psp, in __gb_power_supply_property_strval_get() 658 enum power_supply_property psp, in _gb_power_supply_property_get() 754 enum power_supply_property psp, in get_property() [all …]
|
| /kernel/linux/linux-6.6/drivers/staging/greybus/ |
| D | power_supply.c | 106 static int get_psp_from_gb_prop(int gb_prop, enum power_supply_property *psp) in get_psp_from_gb_prop() 316 enum power_supply_property psp) in get_psy_prop() 327 enum power_supply_property psp) in is_psy_prop_writeable() 337 static int is_prop_valint(enum power_supply_property psp) in is_prop_valint() 513 enum power_supply_property psp; in gb_power_supply_prop_descriptors_get() local 590 enum power_supply_property psp) in __gb_power_supply_property_update() 623 enum power_supply_property psp, in __gb_power_supply_property_get() 637 enum power_supply_property psp, in __gb_power_supply_property_strval_get() 658 enum power_supply_property psp, in _gb_power_supply_property_get() 754 enum power_supply_property psp, in get_property() [all …]
|