Home
last modified time | relevance | path

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

/linux-6.12.1/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-6.12.1/fs/hfsplus/
Dbnode.c148 void *src_ptr, *dst_ptr; in hfs_bnode_copy() local
152 src_ptr = kmap_local_page(*src_page) + src; in hfs_bnode_copy()
163 memcpy(dst_ptr, src_ptr, l); in hfs_bnode_copy()
164 kunmap_local(src_ptr); in hfs_bnode_copy()
178 void *src_ptr, *dst_ptr; in hfs_bnode_move() local
197 src_ptr = kmap_local_page(*src_page); in hfs_bnode_move()
198 memmove(dst_ptr, src_ptr, src); in hfs_bnode_move()
199 kunmap_local(src_ptr); in hfs_bnode_move()
209 src_ptr = kmap_local_page(*src_page); in hfs_bnode_move()
210 memmove(dst_ptr + src, src_ptr + src, len); in hfs_bnode_move()
[all …]
/linux-6.12.1/drivers/gpu/drm/i915/gem/
Di915_gem_object.c503 void *src_ptr; in i915_gem_object_read_from_page_kmap() local
505 src_ptr = kmap_local_page(i915_gem_object_get_page(obj, idx)) in i915_gem_object_read_from_page_kmap()
508 drm_clflush_virt_range(src_ptr, size); in i915_gem_object_read_from_page_kmap()
509 memcpy(dst, src_ptr, size); in i915_gem_object_read_from_page_kmap()
511 kunmap_local(src_ptr); in i915_gem_object_read_from_page_kmap()
520 void __iomem *src_ptr; in i915_gem_object_read_from_page_iomap() local
526 src_ptr = src_map + offset_in_page(offset); in i915_gem_object_read_from_page_iomap()
527 if (!i915_memcpy_from_wc(dst, (void __force *)src_ptr, size)) in i915_gem_object_read_from_page_iomap()
528 memcpy_fromio(dst, src_ptr, size); in i915_gem_object_read_from_page_iomap()
/linux-6.12.1/drivers/infiniband/hw/hfi1/
Dfirmware.c1979 u32 *src_ptr = NULL; in get_platform_fw_field_metadata() local
1992 src_ptr = in get_platform_fw_field_metadata()
2000 if (!src_ptr) in get_platform_fw_field_metadata()
2004 *field_start_bits = *src_ptr & in get_platform_fw_field_metadata()
2008 *field_len_bits = (*src_ptr >> METADATA_TABLE_FIELD_LEN_SHIFT) in get_platform_fw_field_metadata()
2036 u32 field_len_bits = 0, field_start_bits = 0, *src_ptr = NULL; in get_platform_config_field() local
2066 src_ptr = pcfgcache->config_tables[table_type].table; in get_platform_config_field()
2075 src_ptr = (u32 *)((u8 *)src_ptr + seek); in get_platform_config_field()
2081 memcpy(data, src_ptr, wlen); in get_platform_config_field()
2087 src_ptr = dd->hfi1_id ? in get_platform_config_field()
[all …]
/linux-6.12.1/fs/bcachefs/
Dfs-ioctl.c393 (arg.src_ptr || in bch2_ioctl_subvolume_create()
410 if (arg.src_ptr) { in bch2_ioctl_subvolume_create()
412 (const char __user *)(unsigned long)arg.src_ptr, in bch2_ioctl_subvolume_create()
469 !arg.src_ptr) in bch2_ioctl_subvolume_create()
487 if (arg.src_ptr) in bch2_ioctl_subvolume_create()
Dbcachefs_ioctl.h396 __u64 src_ptr; member
/linux-6.12.1/drivers/dma/
Dtegra186-gpc-dma.c190 u32 src_ptr; member
496 tdc_write(tdc, TEGRA_GPCDMA_CHAN_SRC_PTR, ch_regs->src_ptr); in tegra_dma_configure_next_sg()
528 tdc_write(tdc, TEGRA_GPCDMA_CHAN_SRC_PTR, ch_regs->src_ptr); in tegra_dma_start()
909 sg_req[0].ch_regs.src_ptr = 0; in tegra_dma_prep_dma_memset()
978 sg_req[0].ch_regs.src_ptr = src; in tegra_dma_prep_dma_memcpy()
1089 sg_req[i].ch_regs.src_ptr = mem; in tegra_dma_prep_slave_sg()
1094 sg_req[i].ch_regs.src_ptr = apb_ptr; in tegra_dma_prep_slave_sg()
1211 sg_req[i].ch_regs.src_ptr = mem; in tegra_dma_prep_dma_cyclic()
1216 sg_req[i].ch_regs.src_ptr = apb_ptr; in tegra_dma_prep_dma_cyclic()
/linux-6.12.1/arch/sparc/kernel/
Dbtext.c121 unsigned int *src_ptr = src; in scrollscreen() local
124 *(dst_ptr++) = *(src_ptr++); in scrollscreen()
/linux-6.12.1/drivers/net/ethernet/xilinx/
Dxilinx_emaclite.c200 static void xemaclite_aligned_write(const void *src_ptr, u32 *dest_ptr, in xemaclite_aligned_write() argument
209 from_u16_ptr = src_ptr; in xemaclite_aligned_write()
258 static void xemaclite_aligned_read(u32 *src_ptr, u8 *dest_ptr, in xemaclite_aligned_read() argument
265 from_u32_ptr = src_ptr; in xemaclite_aligned_read()
/linux-6.12.1/arch/powerpc/kernel/
Dbtext.c361 unsigned int *src_ptr = src; in scrollscreen() local
364 *(dst_ptr++) = *(src_ptr++); in scrollscreen()
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_rlc.c91 const u32 *src_ptr; in amdgpu_gfx_rlc_init_sr() local
110 src_ptr = adev->gfx.rlc.reg_list; in amdgpu_gfx_rlc_init_sr()
113 dst_ptr[i] = cpu_to_le32(src_ptr[i]); in amdgpu_gfx_rlc_init_sr()
Dgfx_v6_0.c2334 const u32 *src_ptr; in gfx_v6_0_rlc_init() local
2346 src_ptr = adev->gfx.rlc.reg_list; in gfx_v6_0_rlc_init()
2350 if (src_ptr) { in gfx_v6_0_rlc_init()
Dgfx_v7_0.c3190 const u32 *src_ptr; in gfx_v7_0_rlc_init() local
3211 src_ptr = adev->gfx.rlc.reg_list; in gfx_v7_0_rlc_init()
3217 if (src_ptr) { in gfx_v7_0_rlc_init()
/linux-6.12.1/drivers/base/
Dswnode.c245 const char * const *src_ptr, in property_copy_string_array() argument
251 dst_ptr[i] = kstrdup(src_ptr[i], GFP_KERNEL); in property_copy_string_array()
252 if (!dst_ptr[i] && src_ptr[i]) { in property_copy_string_array()
/linux-6.12.1/arch/x86/kernel/
Duprobes.c782 unsigned long *src_ptr = (void *)regs + auprobe->push.reg_offset; in push_emulate_op() local
784 if (emulate_push_stack(regs, *src_ptr)) in push_emulate_op()
/linux-6.12.1/drivers/accel/habanalabs/common/
Dfirmware_if.c1055 __le32 *src_ptr; in hl_fw_get_monitor_dump() local
1084 src_ptr = (__le32 *) mon_dump_cpu_addr; in hl_fw_get_monitor_dump()
1087 *dst_ptr = le32_to_cpu(*src_ptr); in hl_fw_get_monitor_dump()
1088 src_ptr++; in hl_fw_get_monitor_dump()
/linux-6.12.1/drivers/gpu/drm/imagination/
Dpvr_fw.c788 pvr_copy_to_fw(struct pvr_fw_object *dest_obj, u8 *src_ptr, u32 size) in pvr_copy_to_fw() argument
795 memcpy(dest_ptr, src_ptr, size); in pvr_copy_to_fw()
/linux-6.12.1/drivers/misc/
Dxilinx_sdfec.c602 u32 *src_ptr, u32 len, const u32 base_addr, in xsdfec_table_write() argument
631 res = pin_user_pages_fast((unsigned long)src_ptr, nr_pages, 0, pages); in xsdfec_table_write()
/linux-6.12.1/fs/xfs/libxfs/
Dxfs_btree.h644 const union xfs_btree_ptr *src_ptr, int numptrs);
Dxfs_btree.c1456 const union xfs_btree_ptr *src_ptr, in xfs_btree_copy_ptrs() argument
1460 memcpy(dst_ptr, src_ptr, numptrs * cur->bc_ops->ptr_len); in xfs_btree_copy_ptrs()
/linux-6.12.1/drivers/crypto/
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-6.12.1/drivers/gpu/drm/radeon/
Devergreen.c4154 const u32 *src_ptr; in sumo_rlc_init() local
4162 src_ptr = rdev->rlc.reg_list; in sumo_rlc_init()
4169 if (src_ptr) { in sumo_rlc_init()
4206 dst_ptr[i] = cpu_to_le32(src_ptr[i]); in sumo_rlc_init()
4215 data = src_ptr[i] >> 2; in sumo_rlc_init()
4218 data |= (src_ptr[i] >> 2) << 16; in sumo_rlc_init()
/linux-6.12.1/fs/btrfs/
Dtree-log.c402 unsigned long src_ptr; in overwrite_item() local
416 src_ptr = btrfs_item_ptr_offset(eb, slot); in overwrite_item()
444 read_extent_buffer(eb, src_copy, src_ptr, item_size); in overwrite_item()
545 src_item = (struct btrfs_inode_item *)src_ptr; in overwrite_item()
575 src_ptr, item_size); in overwrite_item()