Home
last modified time | relevance | path

Searched refs:smc_start_address (Results 1 – 15 of 15) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/radeon/
Dci_smc.c48 u32 smc_start_address, in ci_copy_bytes_to_smc() argument
57 if (smc_start_address & 3) in ci_copy_bytes_to_smc()
59 if ((smc_start_address + byte_count) > limit) in ci_copy_bytes_to_smc()
62 addr = smc_start_address; in ci_copy_bytes_to_smc()
Dkv_smc.c118 u32 smc_start_address, in kv_copy_bytes_to_smc() argument
124 if ((smc_start_address + byte_count) > limit) in kv_copy_bytes_to_smc()
127 addr = smc_start_address; in kv_copy_bytes_to_smc()
Dsi_smc.c48 u32 smc_start_address, in si_copy_bytes_to_smc() argument
55 if (smc_start_address & 3) in si_copy_bytes_to_smc()
57 if ((smc_start_address + byte_count) > limit) in si_copy_bytes_to_smc()
60 addr = smc_start_address; in si_copy_bytes_to_smc()
Drv770_smc.c284 u16 smc_start_address, const u8 *src, in rv770_copy_bytes_to_smc() argument
292 if (smc_start_address & 3) in rv770_copy_bytes_to_smc()
294 if ((smc_start_address + byte_count) > limit) in rv770_copy_bytes_to_smc()
297 addr = smc_start_address; in rv770_copy_bytes_to_smc()
Drv770_smc.h191 u16 smc_start_address, const u8 *src,
Dkv_dpm.h197 u32 smc_start_address,
Dci_dpm.h326 u32 smc_start_address,
Dsislands_smc.h398 u32 smc_start_address,
/linux-6.6.21/drivers/gpu/drm/amd/pm/legacy-dpm/
Dsi_smc.c48 u32 smc_start_address, in amdgpu_si_copy_bytes_to_smc() argument
55 if (smc_start_address & 3) in amdgpu_si_copy_bytes_to_smc()
57 if ((smc_start_address + byte_count) > limit) in amdgpu_si_copy_bytes_to_smc()
60 addr = smc_start_address; in amdgpu_si_copy_bytes_to_smc()
Dkv_smc.c122 u32 smc_start_address, in amdgpu_kv_copy_bytes_to_smc() argument
128 if ((smc_start_address + byte_count) > limit) in amdgpu_kv_copy_bytes_to_smc()
131 addr = smc_start_address; in amdgpu_kv_copy_bytes_to_smc()
Dkv_dpm.h226 u32 smc_start_address,
Dsislands_smc.h394 u32 smc_start_address,
/linux-6.6.21/drivers/gpu/drm/amd/pm/powerplay/smumgr/
Dsmu7_smumgr.c49 int smu7_copy_bytes_from_smc(struct pp_hwmgr *hwmgr, uint32_t smc_start_address, uint32_t *dest, ui… in smu7_copy_bytes_from_smc() argument
57 …PP_ASSERT_WITH_CODE((0 == (3 & smc_start_address)), "SMC address must be 4 byte aligned.", return … in smu7_copy_bytes_from_smc()
58 …PP_ASSERT_WITH_CODE((limit > (smc_start_address + byte_count)), "SMC address is beyond the SMC RAM… in smu7_copy_bytes_from_smc()
60 addr = smc_start_address; in smu7_copy_bytes_from_smc()
85 int smu7_copy_bytes_to_smc(struct pp_hwmgr *hwmgr, uint32_t smc_start_address, in smu7_copy_bytes_to_smc() argument
94 …PP_ASSERT_WITH_CODE((0 == (3 & smc_start_address)), "SMC address must be 4 byte aligned.", return … in smu7_copy_bytes_to_smc()
95 …PP_ASSERT_WITH_CODE((limit > (smc_start_address + byte_count)), "SMC address is beyond the SMC RAM… in smu7_copy_bytes_to_smc()
97 addr = smc_start_address; in smu7_copy_bytes_to_smc()
Dsmu7_smumgr.h56 int smu7_copy_bytes_from_smc(struct pp_hwmgr *hwmgr, uint32_t smc_start_address,
58 int smu7_copy_bytes_to_smc(struct pp_hwmgr *hwmgr, uint32_t smc_start_address,
Dci_smumgr.c108 static int ci_copy_bytes_to_smc(struct pp_hwmgr *hwmgr, uint32_t smc_start_address, in ci_copy_bytes_to_smc() argument
117 if ((3 & smc_start_address) in ci_copy_bytes_to_smc()
118 || ((smc_start_address + byte_count) >= limit)) { in ci_copy_bytes_to_smc()
123 addr = smc_start_address; in ci_copy_bytes_to_smc()