Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_psp.h132 int (*load_usbc_pd_fw)(struct psp_context *psp, uint64_t fw_pri_mc_addr);
134 int (*update_spirom)(struct psp_context *psp, uint64_t fw_pri_mc_addr);
321 uint64_t fw_pri_mc_addr; member
434 #define psp_load_usbc_pd_fw(psp, fw_pri_mc_addr) \ argument
436 (psp)->funcs->load_usbc_pd_fw((psp), (fw_pri_mc_addr)) : -EINVAL)
442 #define psp_update_spirom(psp, fw_pri_mc_addr) \ argument
444 (psp)->funcs->update_spirom((psp), fw_pri_mc_addr) : -EINVAL)
H A Dpsp_v13_0.c225 (uint32_t)(psp->fw_pri_mc_addr >> 20)); in psp_v13_0_bootloader_load_component()
294 (uint32_t)(psp->fw_pri_mc_addr >> 20)); in psp_v13_0_bootloader_load_sos()
600 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
611 WREG32_SOC15(MP0, 0, regMP0_SMN_C2PMSG_36, (fw_pri_mc_addr >> 20)); in psp_v13_0_load_usbc_pd_fw()
693 uint64_t fw_pri_mc_addr) in psp_v13_0_update_spirom() argument
706 WREG32_SOC15(MP0, 0, regMP0_SMN_C2PMSG_116, lower_32_bits(fw_pri_mc_addr)); in psp_v13_0_update_spirom()
712 WREG32_SOC15(MP0, 0, regMP0_SMN_C2PMSG_116, upper_32_bits(fw_pri_mc_addr)); in psp_v13_0_update_spirom()
H A Dpsp_v11_0.c200 (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()
H A Dpsp_v13_0_4.c117 (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()
H A Dpsp_v12_0.c97 (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()
H A Dpsp_v3_1.c103 (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()
H A Damdgpu_psp.c472 &psp->fw_pri_mc_addr, in psp_sw_init()
501 &psp->fw_pri_mc_addr, &psp->fw_pri_buf); in psp_sw_init()
530 &psp->fw_pri_mc_addr, &psp->fw_pri_buf); in psp_sw_fini()
1192 psp_prep_ta_load_cmd_buf(cmd, psp->fw_pri_mc_addr, context); in psp_ta_load()
3525 uint64_t fw_pri_mc_addr; in psp_usbc_pd_fw_sysfs_write() local
3545 &fw_buf_bo, &fw_pri_mc_addr, in psp_usbc_pd_fw_sysfs_write()
3553 ret = psp_load_usbc_pd_fw(&adev->psp, fw_pri_mc_addr); in psp_usbc_pd_fw_sysfs_write()
3556 amdgpu_bo_free_kernel(&fw_buf_bo, &fw_pri_mc_addr, &fw_pri_cpu_addr); in psp_usbc_pd_fw_sysfs_write()
3641 uint64_t fw_pri_mc_addr; in amdgpu_psp_vbflash_read() local
3654 &fw_pri_mc_addr, in amdgpu_psp_vbflash_read()
[all …]