Home
last modified time | relevance | path

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

/Linux-v6.6/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-v6.6/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.c288 u32 data, original_data, extra_shift; in rv770_copy_bytes_to_smc() local
325 extra_shift = 8 * (4 - byte_count); in rv770_copy_bytes_to_smc()
333 data <<= extra_shift; in rv770_copy_bytes_to_smc()
335 data |= (original_data & ~((~0UL) << extra_shift)); in rv770_copy_bytes_to_smc()
/Linux-v6.6/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.c115 uint32_t extra_shift; in ci_copy_bytes_to_smc() local
153 extra_shift = 8 * (4 - byte_count); in ci_copy_bytes_to_smc()
161 data <<= extra_shift; in ci_copy_bytes_to_smc()
163 data |= (original_data & ~((~0UL) << extra_shift)); in ci_copy_bytes_to_smc()
/Linux-v6.6/arch/arm64/kernel/
Dhead.S262 … map_memory, tbl, rtbl, vstart, vend, flags, phys, order, istart, iend, tmp, count, sv, extra_shift
267 .ifnb \extra_shift
268 tst \vend, #~((1 << (\extra_shift)) - 1)
270 compute_indices \vstart, \vend, #\extra_shift, #(PAGE_SHIFT - 3), \istart, \iend, \count