Searched refs:extra_shift (Results 1 – 8 of 8) 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 194 extra_shift = 8 * (4 - byte_count); in kv_copy_bytes_to_smc() 202 data <<= extra_shift; in kv_copy_bytes_to_smc() 204 data |= (original_data & ~((~0UL) << extra_shift)); in kv_copy_bytes_to_smc()
|
D | ci_smc.c | 54 u32 extra_shift; in ci_copy_bytes_to_smc() local 90 extra_shift = 8 * (4 - byte_count); in ci_copy_bytes_to_smc() 97 data <<= extra_shift; 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 88 extra_shift = 8 * (4 - byte_count); in si_copy_bytes_to_smc() 96 data <<= extra_shift; 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 337 extra_shift = 8 * (4 - byte_count); in rv770_copy_bytes_to_smc() 345 data <<= extra_shift; 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 198 extra_shift = 8 * (4 - byte_count); in amdgpu_kv_copy_bytes_to_smc() 206 data <<= extra_shift; 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 87 extra_shift = 8 * (4 - byte_count); in amdgpu_si_copy_bytes_to_smc() 95 data <<= extra_shift; 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/smumgr/ |
D | smu7_smumgr.c | 92 uint32_t extra_shift; in smu7_copy_bytes_to_smc() local 127 extra_shift = 8 * (4 - byte_count); in smu7_copy_bytes_to_smc() 135 data <<= extra_shift; in smu7_copy_bytes_to_smc() 137 data |= (original_data & ~((~0UL) << extra_shift)); in smu7_copy_bytes_to_smc()
|
D | ci_smumgr.c | 116 uint32_t extra_shift; in ci_copy_bytes_to_smc() local 154 extra_shift = 8 * (4 - byte_count); in ci_copy_bytes_to_smc() 162 data <<= extra_shift; in ci_copy_bytes_to_smc() 164 data |= (original_data & ~((~0UL) << extra_shift)); in ci_copy_bytes_to_smc()
|