Searched refs:fw_pri_mc_addr (Results 1 – 8 of 8) sorted by relevance
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/ ! |
D | amdgpu_psp.h | 135 int (*load_usbc_pd_fw)(struct psp_context *psp, uint64_t fw_pri_mc_addr); 137 int (*update_spirom)(struct psp_context *psp, uint64_t fw_pri_mc_addr); 329 uint64_t fw_pri_mc_addr; member 448 #define psp_load_usbc_pd_fw(psp, fw_pri_mc_addr) \ argument 450 (psp)->funcs->load_usbc_pd_fw((psp), (fw_pri_mc_addr)) : -EINVAL) 456 #define psp_update_spirom(psp, fw_pri_mc_addr) \ argument 458 (psp)->funcs->update_spirom((psp), fw_pri_mc_addr) : -EINVAL)
|
D | psp_v14_0.c | 140 (uint32_t)(psp->fw_pri_mc_addr >> 20)); in psp_v14_0_bootloader_load_component() 214 (uint32_t)(psp->fw_pri_mc_addr >> 20)); in psp_v14_0_bootloader_load_sos() 520 static int psp_v14_0_load_usbc_pd_fw(struct psp_context *psp, uint64_t fw_pri_mc_addr) in psp_v14_0_load_usbc_pd_fw() argument 531 WREG32_SOC15(MP0, 0, regMPASP_SMN_C2PMSG_36, (fw_pri_mc_addr >> 20)); in psp_v14_0_load_usbc_pd_fw() 616 uint64_t fw_pri_mc_addr) in psp_v14_0_update_spirom() argument 629 WREG32_SOC15(MP0, 0, regMPASP_SMN_C2PMSG_116, lower_32_bits(fw_pri_mc_addr)); in psp_v14_0_update_spirom() 635 WREG32_SOC15(MP0, 0, regMPASP_SMN_C2PMSG_116, upper_32_bits(fw_pri_mc_addr)); in psp_v14_0_update_spirom()
|
D | psp_v13_0.c | 246 (uint32_t)(psp->fw_pri_mc_addr >> 20)); in psp_v13_0_bootloader_load_component() 323 (uint32_t)(psp->fw_pri_mc_addr >> 20)); in psp_v13_0_bootloader_load_sos() 632 static int psp_v13_0_load_usbc_pd_fw(struct psp_context *psp, uint64_t fw_pri_mc_addr) in psp_v13_0_load_usbc_pd_fw() argument 643 WREG32_SOC15(MP0, 0, regMP0_SMN_C2PMSG_36, (fw_pri_mc_addr >> 20)); in psp_v13_0_load_usbc_pd_fw() 725 uint64_t fw_pri_mc_addr) in psp_v13_0_update_spirom() argument 738 WREG32_SOC15(MP0, 0, regMP0_SMN_C2PMSG_116, lower_32_bits(fw_pri_mc_addr)); in psp_v13_0_update_spirom() 744 WREG32_SOC15(MP0, 0, regMP0_SMN_C2PMSG_116, upper_32_bits(fw_pri_mc_addr)); in psp_v13_0_update_spirom()
|
D | psp_v11_0.c | 200 (uint32_t)(psp->fw_pri_mc_addr >> 20)); in psp_v11_0_bootloader_load_component() 246 (uint32_t)(psp->fw_pri_mc_addr >> 20)); in psp_v11_0_bootloader_load_sos() 589 static int psp_v11_0_load_usbc_pd_fw(struct psp_context *psp, uint64_t fw_pri_mc_addr) in psp_v11_0_load_usbc_pd_fw() argument 600 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_36, (fw_pri_mc_addr >> 20)); in psp_v11_0_load_usbc_pd_fw()
|
D | psp_v12_0.c | 97 (uint32_t)(psp->fw_pri_mc_addr >> 20)); in psp_v12_0_bootloader_load_sysdrv() 136 (uint32_t)(psp->fw_pri_mc_addr >> 20)); in psp_v12_0_bootloader_load_sos()
|
D | psp_v13_0_4.c | 117 (uint32_t)(psp->fw_pri_mc_addr >> 20)); in psp_v13_0_4_bootloader_load_component() 180 (uint32_t)(psp->fw_pri_mc_addr >> 20)); in psp_v13_0_4_bootloader_load_sos()
|
D | psp_v3_1.c | 103 (uint32_t)(psp->fw_pri_mc_addr >> 20)); in psp_v3_1_bootloader_load_sysdrv() 142 (uint32_t)(psp->fw_pri_mc_addr >> 20)); in psp_v3_1_bootloader_load_sos()
|
D | amdgpu_psp.c | 497 &psp->fw_pri_mc_addr, in psp_sw_init() 526 &psp->fw_pri_mc_addr, &psp->fw_pri_buf); in psp_sw_init() 555 &psp->fw_pri_mc_addr, &psp->fw_pri_buf); in psp_sw_fini() 806 psp_prep_load_toc_cmd_buf(cmd, psp->fw_pri_mc_addr, psp->toc.size_bytes); in psp_load_toc() 1034 cmd->cmd.cmd_load_ip_fw.fw_phy_addr_lo = lower_32_bits(psp->fw_pri_mc_addr); in psp_rl_load() 1035 cmd->cmd.cmd_load_ip_fw.fw_phy_addr_hi = upper_32_bits(psp->fw_pri_mc_addr); in psp_rl_load() 1232 psp_prep_ta_load_cmd_buf(cmd, psp->fw_pri_mc_addr, context); in psp_ta_load() 3787 uint64_t fw_pri_mc_addr; in psp_usbc_pd_fw_sysfs_write() local 3806 &fw_buf_bo, &fw_pri_mc_addr, in psp_usbc_pd_fw_sysfs_write() 3814 ret = psp_load_usbc_pd_fw(&adev->psp, fw_pri_mc_addr); in psp_usbc_pd_fw_sysfs_write() [all …]
|