Home
last modified time | relevance | path

Searched refs:original_data (Results 1 – 10 of 10) sorted by relevance

/drivers/gpu/drm/radeon/
Dkv_smc.c122 u32 data, original_data, addr, extra_shift, t_byte, count, mask; in kv_copy_bytes_to_smc() local
138 original_data = RREG32(SMC_IND_DATA_0); in kv_copy_bytes_to_smc()
158 data |= original_data & mask; in kv_copy_bytes_to_smc()
192 original_data= RREG32(SMC_IND_DATA_0); in kv_copy_bytes_to_smc()
204 data |= (original_data & ~((~0UL) << extra_shift)); in kv_copy_bytes_to_smc()
Dci_smc.c52 u32 data, original_data; in ci_copy_bytes_to_smc() local
88 original_data = RREG32(SMC_IND_DATA_0); in ci_copy_bytes_to_smc()
99 data |= (original_data & ~((~0UL) << extra_shift)); in ci_copy_bytes_to_smc()
Dsi_smc.c53 u32 data, original_data, addr, extra_shift; in si_copy_bytes_to_smc() local
86 original_data = RREG32(SMC_IND_DATA_0); in si_copy_bytes_to_smc()
98 data |= (original_data & ~((~0UL) << extra_shift)); in si_copy_bytes_to_smc()
Drv770_smc.c300 u32 data, original_data, extra_shift; in rv770_copy_bytes_to_smc() local
335 original_data = RREG32(SMC_SRAM_DATA); in rv770_copy_bytes_to_smc()
347 data |= (original_data & ~((~0UL) << extra_shift)); in rv770_copy_bytes_to_smc()
/drivers/gpu/drm/amd/pm/legacy-dpm/
Dkv_smc.c126 u32 data, original_data, addr, extra_shift, t_byte, count, mask; in amdgpu_kv_copy_bytes_to_smc() local
142 original_data = RREG32(mmSMC_IND_DATA_0); in amdgpu_kv_copy_bytes_to_smc()
162 data |= original_data & mask; in amdgpu_kv_copy_bytes_to_smc()
196 original_data = RREG32(mmSMC_IND_DATA_0); in amdgpu_kv_copy_bytes_to_smc()
208 data |= (original_data & ~((~0UL) << extra_shift)); in amdgpu_kv_copy_bytes_to_smc()
Dsi_smc.c53 u32 data, original_data, addr, extra_shift; in amdgpu_si_copy_bytes_to_smc() local
86 original_data = RREG32(SMC_IND_DATA_0); in amdgpu_si_copy_bytes_to_smc()
96 data |= (original_data & ~((~0UL) << extra_shift)); in amdgpu_si_copy_bytes_to_smc()
/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dsmu_helper.c90 uint32_t phm_set_field_to_u32(u32 offset, u32 original_data, u32 field, u32 size) in phm_set_field_to_u32() argument
101 original_data &= ~mask; in phm_set_field_to_u32()
102 original_data |= (field << shift); in phm_set_field_to_u32()
103 return original_data; in phm_set_field_to_u32()
Dsmu_helper.h97 extern uint32_t phm_set_field_to_u32(u32 offset, u32 original_data, u32 field, u32 size);
/drivers/gpu/drm/amd/pm/powerplay/smumgr/
Dsmu7_smumgr.c90 uint32_t original_data; in smu7_copy_bytes_to_smc() local
125 original_data = cgs_read_register(hwmgr->device, mmSMC_IND_DATA_11); in smu7_copy_bytes_to_smc()
137 data |= (original_data & ~((~0UL) << extra_shift)); in smu7_copy_bytes_to_smc()
Dci_smumgr.c114 uint32_t original_data; in ci_copy_bytes_to_smc() local
152 original_data = cgs_read_register(hwmgr->device, mmSMC_IND_DATA_0); in ci_copy_bytes_to_smc()
164 data |= (original_data & ~((~0UL) << extra_shift)); in ci_copy_bytes_to_smc()