Home
last modified time | relevance | path

Searched refs:align_num_bytes (Results 1 – 2 of 2) sorted by relevance

/openbsd/sys/dev/pci/drm/radeon/
H A Datombios_dp.c62 u8 align_num_bytes = ALIGN(num_bytes, 4); in radeon_atom_copy_swap() local
66 for (i = 0; i < align_num_bytes / 4; i++) in radeon_atom_copy_swap()
68 memcpy(dst, dst_tmp, align_num_bytes); in radeon_atom_copy_swap()
70 memcpy(src_tmp, src, align_num_bytes); in radeon_atom_copy_swap()
71 for (i = 0; i < align_num_bytes / 4; i++) in radeon_atom_copy_swap()
/openbsd/sys/dev/pci/drm/amd/amdgpu/
H A Damdgpu_atombios.c1612 u8 align_num_bytes = ALIGN(num_bytes, 4); in amdgpu_atombios_copy_swap() local
1616 for (i = 0; i < align_num_bytes / 4; i++) in amdgpu_atombios_copy_swap()
1618 memcpy(dst, dst_tmp, align_num_bytes); in amdgpu_atombios_copy_swap()
1620 memcpy(src_tmp, src, align_num_bytes); in amdgpu_atombios_copy_swap()
1621 for (i = 0; i < align_num_bytes / 4; i++) in amdgpu_atombios_copy_swap()