Home
last modified time | relevance | path

Searched refs:extra_shift (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/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
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()
Dci_smc.c54 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()
Dsi_smc.c53 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()
Drv770_smc.c300 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()
/linux-6.1.9/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
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()
Dsi_smc.c53 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()
/linux-6.1.9/drivers/gpu/drm/amd/pm/powerplay/smumgr/
Dsmu7_smumgr.c92 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()
Dci_smumgr.c116 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()
/linux-6.1.9/arch/arm64/kernel/
Dhead.S211 … map_memory, tbl, rtbl, vstart, vend, flags, phys, order, istart, iend, tmp, count, sv, extra_shift argument
216 .ifnb \extra_shift
217 tst \vend, #~((1 << (\extra_shift)) - 1)
219 compute_indices \vstart, \vend, #\extra_shift, #(PAGE_SHIFT - 3), \istart, \iend, \count