Home
last modified time | relevance | path

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

/linux/drivers/infiniband/hw/ocrdma/
A 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()
/linux/drivers/gpu/drm/amd/amdgpu/
A 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()
A Dgfx_v6_0.c2374 volatile u32 *dst_ptr; in gfx_v6_0_rlc_init() local
2413 dst_ptr = adev->gfx.rlc.cs_ptr; in gfx_v6_0_rlc_init()
2415 dst_ptr[0] = cpu_to_le32(upper_32_bits(reg_list_mc_addr)); in gfx_v6_0_rlc_init()
2416 dst_ptr[1] = cpu_to_le32(lower_32_bits(reg_list_mc_addr)); in gfx_v6_0_rlc_init()
2417 dst_ptr[2] = cpu_to_le32(adev->gfx.rlc.clear_state_size); in gfx_v6_0_rlc_init()
2418 gfx_v6_0_get_csb_buffer(adev, &dst_ptr[(256/4)]); in gfx_v6_0_rlc_init()
/linux/drivers/base/
A Dswnode.c233 static bool property_copy_string_array(const char **dst_ptr, in property_copy_string_array() argument
240 dst_ptr[i] = kstrdup(src_ptr[i], GFP_KERNEL); in property_copy_string_array()
241 if (!dst_ptr[i] && src_ptr[i]) { in property_copy_string_array()
243 kfree(dst_ptr[i]); in property_copy_string_array()
255 void *dst_ptr; in property_entry_copy_data() local
273 dst_ptr = &dst->value; in property_entry_copy_data()
276 dst_ptr = kmalloc(src->length, GFP_KERNEL); in property_entry_copy_data()
277 if (!dst_ptr) in property_entry_copy_data()
279 dst->pointer = dst_ptr; in property_entry_copy_data()
284 if (!property_copy_string_array(dst_ptr, pointer, nval)) { in property_entry_copy_data()
[all …]
/linux/arch/sparc/kernel/
A Dbtext.c125 unsigned int *dst_ptr = dst; in scrollscreen() local
127 *(dst_ptr++) = *(src_ptr++); in scrollscreen()
133 unsigned int *dst_ptr = dst; in scrollscreen() local
135 *(dst_ptr++) = 0; in scrollscreen()
/linux/fs/hfsplus/
A Dbnode.c158 void *src_ptr, *dst_ptr; in hfs_bnode_copy() local
162 dst_ptr = kmap(*dst_page) + dst; in hfs_bnode_copy()
173 memcpy(dst_ptr, src_ptr, l); in hfs_bnode_copy()
221 void *src_ptr, *dst_ptr; in hfs_bnode_move() local
225 dst_ptr = kmap(*dst_page) + dst; in hfs_bnode_move()
236 memmove(dst_ptr - l, src_ptr - l, l); in hfs_bnode_move()
269 void *src_ptr, *dst_ptr; in hfs_bnode_move() local
273 dst_ptr = kmap(*dst_page) + dst; in hfs_bnode_move()
285 memmove(dst_ptr, src_ptr, l); in hfs_bnode_move()
/linux/arch/powerpc/kernel/
A Dbtext.c364 unsigned int *dst_ptr = dst; in scrollscreen() local
366 *(dst_ptr++) = *(src_ptr++); in scrollscreen()
372 unsigned int *dst_ptr = dst; in scrollscreen() local
374 *(dst_ptr++) = 0; in scrollscreen()
/linux/drivers/gpu/drm/vmwgfx/
A Dvmwgfx_fb.c186 u8 *src_ptr, *dst_ptr; in vmw_fb_dirty_flush() local
236 dst_ptr = (u8 *)virtual + in vmw_fb_dirty_flush()
243 memcpy(dst_ptr, src_ptr, w*cpp); in vmw_fb_dirty_flush()
244 dst_ptr += par->set_fb->pitches[0]; in vmw_fb_dirty_flush()
/linux/drivers/gpu/drm/radeon/
A Devergreen.c4157 volatile u32 *dst_ptr; in sumo_rlc_init() local
4204 dst_ptr = rdev->rlc.sr_ptr; in sumo_rlc_init()
4208 dst_ptr[i] = cpu_to_le32(src_ptr[i]); in sumo_rlc_init()
4222 dst_ptr[j] = cpu_to_le32(data); in sumo_rlc_init()
4283 dst_ptr = rdev->rlc.cs_ptr; in sumo_rlc_init()
4285 cik_get_csb_buffer(rdev, dst_ptr); in sumo_rlc_init()
4290 dst_ptr[2] = cpu_to_le32(rdev->rlc.clear_state_size); in sumo_rlc_init()
4291 si_get_csb_buffer(rdev, &dst_ptr[(256/4)]); in sumo_rlc_init()
4296 dst_ptr[reg_list_hdr_blk_index] = cpu_to_le32(data); in sumo_rlc_init()
4302 dst_ptr[reg_list_hdr_blk_index] = cpu_to_le32(data); in sumo_rlc_init()
[all …]
A Dcik.c6412 volatile u32 *dst_ptr; in cik_init_cp_pg_table() local
6424 dst_ptr = rdev->rlc.cp_table_ptr; in cik_init_cp_pg_table()
6463 dst_ptr[bo_offset + i] = in cik_init_cp_pg_table()
6486 dst_ptr[bo_offset + i] = in cik_init_cp_pg_table()
/linux/net/vmw_vsock/
A Dvmci_transport.c315 struct sockaddr_vm *dst_ptr; in vmci_transport_send_reset() local
328 dst_ptr = &vsk->remote_addr; in vmci_transport_send_reset()
332 dst_ptr = &dst; in vmci_transport_send_reset()
334 return vmci_transport_alloc_send_control_pkt(&vsk->local_addr, dst_ptr, in vmci_transport_send_reset()
/linux/fs/xfs/libxfs/
A Dxfs_btree.h577 union xfs_btree_ptr *dst_ptr,
A Dxfs_btree.c1321 union xfs_btree_ptr *dst_ptr, in xfs_btree_copy_ptrs() argument
1326 memcpy(dst_ptr, src_ptr, numptrs * xfs_btree_ptr_len(cur)); in xfs_btree_copy_ptrs()
1377 char *dst_ptr; in xfs_btree_shift_ptrs() local
1382 dst_ptr = (char *)ptr + (dir * xfs_btree_ptr_len(cur)); in xfs_btree_shift_ptrs()
1383 memmove(dst_ptr, ptr, numptrs * xfs_btree_ptr_len(cur)); in xfs_btree_shift_ptrs()
/linux/fs/btrfs/
A Dtree-log.c382 unsigned long dst_ptr; in do_overwrite_item() local
432 dst_ptr = btrfs_item_ptr_offset(path->nodes[0], path->slots[0]); in do_overwrite_item()
433 read_extent_buffer(path->nodes[0], dst_copy, dst_ptr, in do_overwrite_item()
515 dst_ptr = btrfs_item_ptr_offset(path->nodes[0], in do_overwrite_item()
532 dst_item = (struct btrfs_inode_item *)dst_ptr; in do_overwrite_item()
561 copy_extent_buffer(path->nodes[0], eb, dst_ptr, in do_overwrite_item()
566 dst_item = (struct btrfs_inode_item *)dst_ptr; in do_overwrite_item()
573 dst_item = (struct btrfs_inode_item *)dst_ptr; in do_overwrite_item()
/linux/drivers/crypto/
A Dtalitos.c58 static void copy_talitos_ptr(struct talitos_ptr *dst_ptr, in copy_talitos_ptr() argument
61 dst_ptr->ptr = src_ptr->ptr; in copy_talitos_ptr()
63 dst_ptr->len1 = src_ptr->len1; in copy_talitos_ptr()
65 dst_ptr->len = src_ptr->len; in copy_talitos_ptr()
66 dst_ptr->eptr = src_ptr->eptr; in copy_talitos_ptr()

Completed in 70 milliseconds