Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/infiniband/hw/ocrdma/
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-v5.4/drivers/infiniband/hw/hfi1/
Dfirmware.c2023 u32 *src_ptr = NULL; in get_platform_fw_field_metadata() local
2041 src_ptr = in get_platform_fw_field_metadata()
2049 if (!src_ptr) in get_platform_fw_field_metadata()
2053 *field_start_bits = *src_ptr & in get_platform_fw_field_metadata()
2057 *field_len_bits = (*src_ptr >> METADATA_TABLE_FIELD_LEN_SHIFT) in get_platform_fw_field_metadata()
2085 u32 field_len_bits = 0, field_start_bits = 0, *src_ptr = NULL; in get_platform_config_field() local
2115 src_ptr = pcfgcache->config_tables[table_type].table; in get_platform_config_field()
2124 src_ptr = (u32 *)((u8 *)src_ptr + seek); in get_platform_config_field()
2130 memcpy(data, src_ptr, wlen); in get_platform_config_field()
2136 src_ptr = dd->hfi1_id ? in get_platform_config_field()
[all …]
/Linux-v5.4/fs/hfsplus/
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-v5.4/drivers/gpu/drm/amd/amdgpu/
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()
Dgfx_v6_0.c2377 const u32 *src_ptr; in gfx_v6_0_rlc_init() local
2389 src_ptr = adev->gfx.rlc.reg_list; in gfx_v6_0_rlc_init()
2393 if (src_ptr) { in gfx_v6_0_rlc_init()
Dgfx_v7_0.c3302 const u32 *src_ptr; in gfx_v7_0_rlc_init() local
3323 src_ptr = adev->gfx.rlc.reg_list; in gfx_v7_0_rlc_init()
3329 if (src_ptr) { in gfx_v7_0_rlc_init()
/Linux-v5.4/arch/sparc/kernel/
Dbtext.c124 unsigned int *src_ptr = src; in scrollscreen() local
127 *(dst_ptr++) = *(src_ptr++); in scrollscreen()
/Linux-v5.4/drivers/net/ethernet/xilinx/
Dxilinx_emaclite.c209 static void xemaclite_aligned_write(void *src_ptr, u32 *dest_ptr, in xemaclite_aligned_write() argument
217 from_u16_ptr = src_ptr; in xemaclite_aligned_write()
266 static void xemaclite_aligned_read(u32 *src_ptr, u8 *dest_ptr, in xemaclite_aligned_read() argument
273 from_u32_ptr = src_ptr; in xemaclite_aligned_read()
/Linux-v5.4/drivers/gpu/drm/vmwgfx/
Dvmwgfx_fb.c186 u8 *src_ptr, *dst_ptr; in vmw_fb_dirty_flush() local
239 src_ptr = (u8 *)par->vmalloc + in vmw_fb_dirty_flush()
244 memcpy(dst_ptr, src_ptr, w*cpp); in vmw_fb_dirty_flush()
246 src_ptr += info->fix.line_length; in vmw_fb_dirty_flush()
/Linux-v5.4/arch/powerpc/kernel/
Dbtext.c372 unsigned int *src_ptr = src; in scrollscreen() local
375 *(dst_ptr++) = *(src_ptr++); in scrollscreen()
/Linux-v5.4/arch/x86/kernel/
Duprobes.c664 unsigned long *src_ptr = (void *)regs + auprobe->push.reg_offset; in push_emulate_op() local
666 if (emulate_push_stack(regs, *src_ptr)) in push_emulate_op()
/Linux-v5.4/drivers/misc/
Dxilinx_sdfec.c601 u32 *src_ptr, u32 len, const u32 base_addr, in xsdfec_table_write() argument
625 res = get_user_pages_fast((unsigned long)src_ptr, n, 0, page); in xsdfec_table_write()
/Linux-v5.4/drivers/crypto/
Dtalitos.c58 struct talitos_ptr *src_ptr, bool is_sec1) 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()
/Linux-v5.4/drivers/gpu/drm/radeon/
Devergreen.c4155 const u32 *src_ptr; in sumo_rlc_init() local
4163 src_ptr = rdev->rlc.reg_list; in sumo_rlc_init()
4170 if (src_ptr) { in sumo_rlc_init()
4207 dst_ptr[i] = cpu_to_le32(src_ptr[i]); in sumo_rlc_init()
4216 data = src_ptr[i] >> 2; in sumo_rlc_init()
4219 data |= (src_ptr[i] >> 2) << 16; in sumo_rlc_init()
/Linux-v5.4/fs/btrfs/
Dtree-log.c352 unsigned long src_ptr; in overwrite_item() local
361 src_ptr = btrfs_item_ptr_offset(eb, slot); in overwrite_item()
389 read_extent_buffer(eb, src_copy, src_ptr, item_size); in overwrite_item()
490 src_item = (struct btrfs_inode_item *)src_ptr; in overwrite_item()
526 src_ptr, item_size); in overwrite_item()
/Linux-v5.4/fs/xfs/libxfs/
Dxfs_btree.c1373 union xfs_btree_ptr *src_ptr, in xfs_btree_copy_ptrs() argument
1377 memcpy(dst_ptr, src_ptr, numptrs * xfs_btree_ptr_len(cur)); in xfs_btree_copy_ptrs()