Home
last modified time | relevance | path

Searched refs:fw_pri_mc_addr (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_psp.h133 int (*load_usbc_pd_fw)(struct psp_context *psp, uint64_t fw_pri_mc_addr);
135 int (*update_spirom)(struct psp_context *psp, uint64_t fw_pri_mc_addr);
315 uint64_t fw_pri_mc_addr; member
425 #define psp_load_usbc_pd_fw(psp, fw_pri_mc_addr) \ argument
427 (psp)->funcs->load_usbc_pd_fw((psp), (fw_pri_mc_addr)) : -EINVAL)
433 #define psp_update_spirom(psp, fw_pri_mc_addr) \ argument
435 (psp)->funcs->update_spirom((psp), fw_pri_mc_addr) : -EINVAL)
Dpsp_v13_0.c191 (uint32_t)(psp->fw_pri_mc_addr >> 20)); in psp_v13_0_bootloader_load_component()
260 (uint32_t)(psp->fw_pri_mc_addr >> 20)); in psp_v13_0_bootloader_load_sos()
592 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
603 WREG32_SOC15(MP0, 0, regMP0_SMN_C2PMSG_36, (fw_pri_mc_addr >> 20)); in psp_v13_0_load_usbc_pd_fw()
684 uint64_t fw_pri_mc_addr) in psp_v13_0_update_spirom() argument
697 WREG32_SOC15(MP0, 0, regMP0_SMN_C2PMSG_116, lower_32_bits(fw_pri_mc_addr)); in psp_v13_0_update_spirom()
703 WREG32_SOC15(MP0, 0, regMP0_SMN_C2PMSG_116, upper_32_bits(fw_pri_mc_addr)); in psp_v13_0_update_spirom()
Dpsp_v11_0.c303 (uint32_t)(psp->fw_pri_mc_addr >> 20)); in psp_v11_0_bootloader_load_component()
349 (uint32_t)(psp->fw_pri_mc_addr >> 20)); in psp_v11_0_bootloader_load_sos()
718 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
729 WREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_36, (fw_pri_mc_addr >> 20)); in psp_v11_0_load_usbc_pd_fw()
Dpsp_v13_0_4.c125 (uint32_t)(psp->fw_pri_mc_addr >> 20)); in psp_v13_0_4_bootloader_load_component()
188 (uint32_t)(psp->fw_pri_mc_addr >> 20)); in psp_v13_0_4_bootloader_load_sos()
Dpsp_v3_1.c111 (uint32_t)(psp->fw_pri_mc_addr >> 20)); in psp_v3_1_bootloader_load_sysdrv()
150 (uint32_t)(psp->fw_pri_mc_addr >> 20)); in psp_v3_1_bootloader_load_sos()
Damdgpu_psp.c452 &psp->fw_pri_mc_addr, in psp_sw_init()
476 &psp->fw_pri_mc_addr, &psp->fw_pri_buf); in psp_sw_init()
523 &psp->fw_pri_mc_addr, &psp->fw_pri_buf); in psp_sw_fini()
734 psp_prep_load_toc_cmd_buf(cmd, psp->fw_pri_mc_addr, psp->toc.size_bytes); in psp_load_toc()
946 cmd->cmd.cmd_load_ip_fw.fw_phy_addr_lo = lower_32_bits(psp->fw_pri_mc_addr); in psp_rl_load()
947 cmd->cmd.cmd_load_ip_fw.fw_phy_addr_hi = upper_32_bits(psp->fw_pri_mc_addr); in psp_rl_load()
1151 psp_prep_ta_load_cmd_buf(cmd, psp->fw_pri_mc_addr, context); in psp_ta_load()
3438 uint64_t fw_pri_mc_addr; in psp_usbc_pd_fw_sysfs_write() local
3458 &fw_pri_mc_addr, in psp_usbc_pd_fw_sysfs_write()
3466 ret = psp_load_usbc_pd_fw(&adev->psp, fw_pri_mc_addr); in psp_usbc_pd_fw_sysfs_write()
[all …]
Dpsp_v12_0.c155 (uint32_t)(psp->fw_pri_mc_addr >> 20)); in psp_v12_0_bootloader_load_sysdrv()
194 (uint32_t)(psp->fw_pri_mc_addr >> 20)); in psp_v12_0_bootloader_load_sos()