Home
last modified time | relevance | path

Searched refs:dst_ptr (Results 1 – 8 of 8) sorted by relevance

/drivers/infiniband/hw/ocrdma/
Docrdma_hw.h53 u32 *dst_ptr = dst; in ocrdma_cpu_to_le32() local
55 *(dst_ptr + i) = cpu_to_le32p(src_ptr + i); in ocrdma_cpu_to_le32()
64 u32 *dst_ptr = dst; in ocrdma_le32_to_cpu() local
66 *(dst_ptr + i) = le32_to_cpu(*(src_ptr + i)); in ocrdma_le32_to_cpu()
75 u32 *dst_ptr = dst; in ocrdma_copy_cpu_to_le32() local
77 *(dst_ptr + i) = cpu_to_le32p(src_ptr + i); in ocrdma_copy_cpu_to_le32()
88 u32 *dst_ptr = dst; in ocrdma_copy_le32_to_cpu() local
90 *(dst_ptr + i) = le32_to_cpu(*(src_ptr + i)); in ocrdma_copy_le32_to_cpu()
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_rlc.c90 volatile u32 *dst_ptr; in amdgpu_gfx_rlc_init_sr() local
108 dst_ptr = adev->gfx.rlc.sr_ptr; in amdgpu_gfx_rlc_init_sr()
110 dst_ptr[i] = cpu_to_le32(src_ptr[i]); in amdgpu_gfx_rlc_init_sr()
187 volatile u32 *dst_ptr; in amdgpu_gfx_rlc_setup_cp_table() local
195 dst_ptr = adev->gfx.rlc.cp_table_ptr; in amdgpu_gfx_rlc_setup_cp_table()
240 dst_ptr[bo_offset + i] = in amdgpu_gfx_rlc_setup_cp_table()
Dgfx_v6_0.c2373 volatile u32 *dst_ptr; in gfx_v6_0_rlc_init() local
2412 dst_ptr = adev->gfx.rlc.cs_ptr; in gfx_v6_0_rlc_init()
2414 dst_ptr[0] = cpu_to_le32(upper_32_bits(reg_list_mc_addr)); in gfx_v6_0_rlc_init()
2415 dst_ptr[1] = cpu_to_le32(lower_32_bits(reg_list_mc_addr)); in gfx_v6_0_rlc_init()
2416 dst_ptr[2] = cpu_to_le32(adev->gfx.rlc.clear_state_size); in gfx_v6_0_rlc_init()
2417 gfx_v6_0_get_csb_buffer(adev, &dst_ptr[(256/4)]); in gfx_v6_0_rlc_init()
/drivers/base/
Dswnode.c230 static bool property_copy_string_array(const char **dst_ptr, in property_copy_string_array() argument
237 dst_ptr[i] = kstrdup(src_ptr[i], GFP_KERNEL); in property_copy_string_array()
238 if (!dst_ptr[i] && src_ptr[i]) { in property_copy_string_array()
240 kfree(dst_ptr[i]); in property_copy_string_array()
252 void *dst_ptr; in property_entry_copy_data() local
270 dst_ptr = &dst->value; in property_entry_copy_data()
273 dst_ptr = kmalloc(src->length, GFP_KERNEL); in property_entry_copy_data()
274 if (!dst_ptr) in property_entry_copy_data()
276 dst->pointer = dst_ptr; in property_entry_copy_data()
281 if (!property_copy_string_array(dst_ptr, pointer, nval)) { in property_entry_copy_data()
[all …]
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_fb.c186 u8 *src_ptr, *dst_ptr; in vmw_fb_dirty_flush() local
237 dst_ptr = (u8 *)virtual + in vmw_fb_dirty_flush()
244 memcpy(dst_ptr, src_ptr, w*cpp); in vmw_fb_dirty_flush()
245 dst_ptr += par->set_fb->pitches[0]; in vmw_fb_dirty_flush()
/drivers/gpu/drm/radeon/
Devergreen.c4156 volatile u32 *dst_ptr; in sumo_rlc_init() local
4203 dst_ptr = rdev->rlc.sr_ptr; in sumo_rlc_init()
4207 dst_ptr[i] = cpu_to_le32(src_ptr[i]); in sumo_rlc_init()
4221 dst_ptr[j] = cpu_to_le32(data); in sumo_rlc_init()
4224 dst_ptr[j] = cpu_to_le32(RLC_SAVE_RESTORE_LIST_END_MARKER); in sumo_rlc_init()
4282 dst_ptr = rdev->rlc.cs_ptr; in sumo_rlc_init()
4284 cik_get_csb_buffer(rdev, dst_ptr); in sumo_rlc_init()
4287 dst_ptr[0] = cpu_to_le32(upper_32_bits(reg_list_mc_addr)); in sumo_rlc_init()
4288 dst_ptr[1] = cpu_to_le32(lower_32_bits(reg_list_mc_addr)); in sumo_rlc_init()
4289 dst_ptr[2] = cpu_to_le32(rdev->rlc.clear_state_size); in sumo_rlc_init()
[all …]
Dcik.c6423 volatile u32 *dst_ptr; in cik_init_cp_pg_table() local
6435 dst_ptr = rdev->rlc.cp_table_ptr; in cik_init_cp_pg_table()
6474 dst_ptr[bo_offset + i] = in cik_init_cp_pg_table()
6497 dst_ptr[bo_offset + i] = in cik_init_cp_pg_table()
/drivers/crypto/
Dtalitos.c57 static void copy_talitos_ptr(struct talitos_ptr *dst_ptr, in copy_talitos_ptr() argument
60 dst_ptr->ptr = src_ptr->ptr; in copy_talitos_ptr()
62 dst_ptr->len1 = src_ptr->len1; in copy_talitos_ptr()
64 dst_ptr->len = src_ptr->len; in copy_talitos_ptr()
65 dst_ptr->eptr = src_ptr->eptr; in copy_talitos_ptr()