Searched refs:original_data (Results 1 – 10 of 10) sorted by relevance
/drivers/gpu/drm/radeon/ |
D | kv_smc.c | 122 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()
|
D | ci_smc.c | 52 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()
|
D | si_smc.c | 53 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()
|
D | rv770_smc.c | 300 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/ |
D | kv_smc.c | 126 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()
|
D | si_smc.c | 53 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/ |
D | smu_helper.c | 90 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()
|
D | smu_helper.h | 97 extern uint32_t phm_set_field_to_u32(u32 offset, u32 original_data, u32 field, u32 size);
|
/drivers/gpu/drm/amd/pm/powerplay/smumgr/ |
D | smu7_smumgr.c | 90 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()
|
D | ci_smumgr.c | 114 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()
|