Lines Matching refs:psp_context

65 struct psp_context;
113 int (*init_microcode)(struct psp_context *psp);
114 int (*wait_for_bootloader)(struct psp_context *psp);
115 int (*bootloader_load_kdb)(struct psp_context *psp);
116 int (*bootloader_load_spl)(struct psp_context *psp);
117 int (*bootloader_load_sysdrv)(struct psp_context *psp);
118 int (*bootloader_load_soc_drv)(struct psp_context *psp);
119 int (*bootloader_load_intf_drv)(struct psp_context *psp);
120 int (*bootloader_load_dbg_drv)(struct psp_context *psp);
121 int (*bootloader_load_ras_drv)(struct psp_context *psp);
122 int (*bootloader_load_ipkeymgr_drv)(struct psp_context *psp);
123 int (*bootloader_load_sos)(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,
130 bool (*smu_reload_quirk)(struct psp_context *psp);
131 int (*mode1_reset)(struct psp_context *psp);
132 int (*mem_training)(struct psp_context *psp, uint32_t ops);
133 uint32_t (*ring_get_wptr)(struct psp_context *psp);
134 void (*ring_set_wptr)(struct psp_context *psp, uint32_t value);
135 int (*load_usbc_pd_fw)(struct psp_context *psp, uint64_t fw_pri_mc_addr);
136 int (*read_usbc_pd_fw)(struct psp_context *psp, uint32_t *fw_ver);
137 int (*update_spirom)(struct psp_context *psp, uint64_t fw_pri_mc_addr);
138 int (*vbflash_stat)(struct psp_context *psp);
139 int (*fatal_error_recovery_quirk)(struct psp_context *psp);
140 bool (*get_ras_capability)(struct psp_context *psp);
141 bool (*is_aux_sos_load_required)(struct psp_context *psp);
145 int (*fn_ta_initialize)(struct psp_context *psp);
146 int (*fn_ta_invoke)(struct psp_context *psp, uint32_t ta_cmd_id);
147 int (*fn_ta_terminate)(struct psp_context *psp);
319 struct psp_context { struct
482 extern int psp_wait_for(struct psp_context *psp, uint32_t reg_index,
484 extern int psp_wait_for_spirom_update(struct psp_context *psp, uint32_t reg_index,
487 int psp_execute_ip_fw_load(struct psp_context *psp,
492 int psp_ta_init_shared_buf(struct psp_context *psp,
495 int psp_ta_unload(struct psp_context *psp, struct ta_context *context);
496 int psp_ta_load(struct psp_context *psp, struct ta_context *context);
497 int psp_ta_invoke(struct psp_context *psp,
501 int psp_xgmi_initialize(struct psp_context *psp, bool set_extended_data, bool load_ta);
502 int psp_xgmi_terminate(struct psp_context *psp);
503 int psp_xgmi_invoke(struct psp_context *psp, uint32_t ta_cmd_id);
504 int psp_xgmi_get_hive_id(struct psp_context *psp, uint64_t *hive_id);
505 int psp_xgmi_get_node_id(struct psp_context *psp, uint64_t *node_id);
506 int psp_xgmi_get_topology_info(struct psp_context *psp,
510 int psp_xgmi_set_topology_info(struct psp_context *psp,
513 int psp_ras_initialize(struct psp_context *psp);
514 int psp_ras_invoke(struct psp_context *psp, uint32_t ta_cmd_id);
515 int psp_ras_enable_features(struct psp_context *psp,
517 int psp_ras_trigger_error(struct psp_context *psp,
519 int psp_ras_terminate(struct psp_context *psp);
520 int psp_ras_query_address(struct psp_context *psp,
524 int psp_hdcp_invoke(struct psp_context *psp, uint32_t ta_cmd_id);
525 int psp_dtm_invoke(struct psp_context *psp, uint32_t ta_cmd_id);
526 int psp_rap_invoke(struct psp_context *psp, uint32_t ta_cmd_id, enum ta_rap_status *status);
527 int psp_securedisplay_invoke(struct psp_context *psp, uint32_t ta_cmd_id);
529 int psp_rlc_autoload_start(struct psp_context *psp);
531 int psp_reg_program(struct psp_context *psp, enum psp_reg_prog_id reg,
533 int psp_ring_cmd_submit(struct psp_context *psp,
537 int psp_init_asd_microcode(struct psp_context *psp,
539 int psp_init_toc_microcode(struct psp_context *psp,
541 int psp_init_sos_microcode(struct psp_context *psp,
543 int psp_init_ta_microcode(struct psp_context *psp,
545 int psp_init_cap_microcode(struct psp_context *psp,
547 int psp_get_fw_attestation_records_addr(struct psp_context *psp,
550 int psp_load_fw_list(struct psp_context *psp,
552 void psp_copy_fw(struct psp_context *psp, uint8_t *start_addr, uint32_t bin_size);
554 int psp_spatial_partition(struct psp_context *psp, int mode);
559 bool amdgpu_psp_get_ras_capability(struct psp_context *psp);