Home
last modified time | relevance | path

Searched refs:src_ptr (Results 1 – 19 of 19) sorted by relevance

/linux/drivers/infiniband/hw/ocrdma/
A Docrdma_hw.h52 u32 *src_ptr = dst; in ocrdma_cpu_to_le32() local
55 *(dst_ptr + i) = cpu_to_le32p(src_ptr + i); in ocrdma_cpu_to_le32()
63 u32 *src_ptr = dst; in ocrdma_le32_to_cpu() local
66 *(dst_ptr + i) = le32_to_cpu(*(src_ptr + i)); in ocrdma_le32_to_cpu()
74 u32 *src_ptr = src; in ocrdma_copy_cpu_to_le32() local
77 *(dst_ptr + i) = cpu_to_le32p(src_ptr + i); in ocrdma_copy_cpu_to_le32()
87 u32 *src_ptr = src; 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/i915/gem/
A Di915_gem_object.c418 void *src_ptr; in i915_gem_object_read_from_page_kmap() local
422 src_ptr = src_map + offset_in_page(offset); in i915_gem_object_read_from_page_kmap()
424 drm_clflush_virt_range(src_ptr, size); in i915_gem_object_read_from_page_kmap()
425 memcpy(dst, src_ptr, size); in i915_gem_object_read_from_page_kmap()
434 void __iomem *src_ptr; in i915_gem_object_read_from_page_iomap() local
441 src_ptr = src_map + offset_in_page(offset); in i915_gem_object_read_from_page_iomap()
442 if (!i915_memcpy_from_wc(dst, (void __force *)src_ptr, size)) in i915_gem_object_read_from_page_iomap()
443 memcpy_fromio(dst, src_ptr, size); in i915_gem_object_read_from_page_iomap()
/linux/drivers/infiniband/hw/hfi1/
A Dfirmware.c1974 u32 *src_ptr = NULL; in get_platform_fw_field_metadata() local
1987 src_ptr = in get_platform_fw_field_metadata()
1995 if (!src_ptr) in get_platform_fw_field_metadata()
1999 *field_start_bits = *src_ptr & in get_platform_fw_field_metadata()
2070 src_ptr = (u32 *)((u8 *)src_ptr + seek); in get_platform_config_field()
2076 memcpy(data, src_ptr, wlen); in get_platform_config_field()
2082 src_ptr = dd->hfi1_id ? in get_platform_config_field()
2094 src_ptr += table_index; in get_platform_config_field()
2096 src_ptr = NULL; in get_platform_config_field()
2103 if (!src_ptr || len < field_len_bits) in get_platform_config_field()
[all …]
/linux/fs/hfsplus/
A Dbnode.c158 void *src_ptr, *dst_ptr; in hfs_bnode_copy() local
161 src_ptr = kmap(*src_page) + src; 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
224 src_ptr = kmap(*src_page) + src; 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
272 src_ptr = kmap(*src_page) + src; in hfs_bnode_move()
285 memmove(dst_ptr, src_ptr, l); in hfs_bnode_move()
/linux/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_rlc.c89 const u32 *src_ptr; in amdgpu_gfx_rlc_init_sr() local
107 src_ptr = adev->gfx.rlc.reg_list; in amdgpu_gfx_rlc_init_sr()
110 dst_ptr[i] = cpu_to_le32(src_ptr[i]); in amdgpu_gfx_rlc_init_sr()
A Dgfx_v6_0.c2373 const u32 *src_ptr; in gfx_v6_0_rlc_init() local
2385 src_ptr = adev->gfx.rlc.reg_list; in gfx_v6_0_rlc_init()
2389 if (src_ptr) { in gfx_v6_0_rlc_init()
A Dgfx_v7_0.c3299 const u32 *src_ptr; in gfx_v7_0_rlc_init() local
3320 src_ptr = adev->gfx.rlc.reg_list; in gfx_v7_0_rlc_init()
3326 if (src_ptr) { in gfx_v7_0_rlc_init()
/linux/arch/sparc/kernel/
A Dbtext.c124 unsigned int *src_ptr = src; in scrollscreen() local
127 *(dst_ptr++) = *(src_ptr++); in scrollscreen()
/linux/drivers/net/ethernet/xilinx/
A Dxilinx_emaclite.c209 static void xemaclite_aligned_write(const void *src_ptr, u32 *dest_ptr, in xemaclite_aligned_write() argument
218 from_u16_ptr = src_ptr; in xemaclite_aligned_write()
267 static void xemaclite_aligned_read(u32 *src_ptr, u8 *dest_ptr, in xemaclite_aligned_read() argument
274 from_u32_ptr = src_ptr; in xemaclite_aligned_read()
/linux/drivers/gpu/drm/vmwgfx/
A Dvmwgfx_fb.c186 u8 *src_ptr, *dst_ptr; in vmw_fb_dirty_flush() local
238 src_ptr = (u8 *)par->vmalloc + in vmw_fb_dirty_flush()
243 memcpy(dst_ptr, src_ptr, w*cpp); in vmw_fb_dirty_flush()
245 src_ptr += info->fix.line_length; in vmw_fb_dirty_flush()
/linux/arch/powerpc/kernel/
A Dbtext.c363 unsigned int *src_ptr = src; in scrollscreen() local
366 *(dst_ptr++) = *(src_ptr++); in scrollscreen()
/linux/drivers/base/
A Dswnode.c234 const char * const *src_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()
/linux/arch/x86/kernel/
A Duprobes.c665 unsigned long *src_ptr = (void *)regs + auprobe->push.reg_offset; in push_emulate_op() local
667 if (emulate_push_stack(regs, *src_ptr)) in push_emulate_op()
/linux/fs/xfs/libxfs/
A Dxfs_btree.h578 const union xfs_btree_ptr *src_ptr, int numptrs);
A Dxfs_btree.c1322 const union xfs_btree_ptr *src_ptr, in xfs_btree_copy_ptrs() argument
1326 memcpy(dst_ptr, src_ptr, numptrs * xfs_btree_ptr_len(cur)); in xfs_btree_copy_ptrs()
/linux/drivers/misc/
A Dxilinx_sdfec.c601 u32 *src_ptr, u32 len, const u32 base_addr, in xsdfec_table_write() argument
630 res = pin_user_pages_fast((unsigned long)src_ptr, nr_pages, 0, pages); in xsdfec_table_write()
/linux/drivers/crypto/
A Dtalitos.c59 struct talitos_ptr *src_ptr, bool is_sec1) 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()
/linux/drivers/gpu/drm/radeon/
A Devergreen.c4156 const u32 *src_ptr; in sumo_rlc_init() local
4164 src_ptr = rdev->rlc.reg_list; in sumo_rlc_init()
4171 if (src_ptr) { in sumo_rlc_init()
4208 dst_ptr[i] = cpu_to_le32(src_ptr[i]); in sumo_rlc_init()
4217 data = src_ptr[i] >> 2; in sumo_rlc_init()
4220 data |= (src_ptr[i] >> 2) << 16; in sumo_rlc_init()
/linux/fs/btrfs/
A Dtree-log.c381 unsigned long src_ptr; in do_overwrite_item() local
390 src_ptr = btrfs_item_ptr_offset(eb, slot); in do_overwrite_item()
430 read_extent_buffer(eb, src_copy, src_ptr, item_size); in do_overwrite_item()
531 src_item = (struct btrfs_inode_item *)src_ptr; in do_overwrite_item()
562 src_ptr, item_size); in do_overwrite_item()

Completed in 76 milliseconds