Home
last modified time | relevance | path

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

/linux-6.6.21/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.6.21/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.6.21/drivers/gpu/drm/i915/gem/
Di915_gem_object.c496 void *src_ptr; in i915_gem_object_read_from_page_kmap() local
500 src_ptr = src_map + offset_in_page(offset); in i915_gem_object_read_from_page_kmap()
502 drm_clflush_virt_range(src_ptr, size); in i915_gem_object_read_from_page_kmap()
503 memcpy(dst, src_ptr, size); in i915_gem_object_read_from_page_kmap()
514 void __iomem *src_ptr; in i915_gem_object_read_from_page_iomap() local
520 src_ptr = src_map + offset_in_page(offset); in i915_gem_object_read_from_page_iomap()
521 if (!i915_memcpy_from_wc(dst, (void __force *)src_ptr, size)) in i915_gem_object_read_from_page_iomap()
522 memcpy_fromio(dst, src_ptr, size); in i915_gem_object_read_from_page_iomap()
/linux-6.6.21/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.6.21/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()
906 sg_req[0].ch_regs.src_ptr = 0; in tegra_dma_prep_dma_memset()
975 sg_req[0].ch_regs.src_ptr = src; in tegra_dma_prep_dma_memcpy()
1086 sg_req[i].ch_regs.src_ptr = mem; in tegra_dma_prep_slave_sg()
1091 sg_req[i].ch_regs.src_ptr = apb_ptr; in tegra_dma_prep_slave_sg()
1208 sg_req[i].ch_regs.src_ptr = mem; in tegra_dma_prep_dma_cyclic()
1213 sg_req[i].ch_regs.src_ptr = apb_ptr; in tegra_dma_prep_dma_cyclic()
/linux-6.6.21/arch/sparc/kernel/
Dbtext.c124 unsigned int *src_ptr = src; in scrollscreen() local
127 *(dst_ptr++) = *(src_ptr++); in scrollscreen()
/linux-6.6.21/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.6.21/arch/powerpc/kernel/
Dbtext.c364 unsigned int *src_ptr = src; in scrollscreen() local
367 *(dst_ptr++) = *(src_ptr++); in scrollscreen()
/linux-6.6.21/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.c2335 const u32 *src_ptr; in gfx_v6_0_rlc_init() local
2347 src_ptr = adev->gfx.rlc.reg_list; in gfx_v6_0_rlc_init()
2351 if (src_ptr) { in gfx_v6_0_rlc_init()
Dgfx_v7_0.c3228 const u32 *src_ptr; in gfx_v7_0_rlc_init() local
3249 src_ptr = adev->gfx.rlc.reg_list; in gfx_v7_0_rlc_init()
3255 if (src_ptr) { in gfx_v7_0_rlc_init()
/linux-6.6.21/drivers/base/
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-6.6.21/arch/x86/kernel/
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-6.6.21/drivers/accel/habanalabs/common/
Dfirmware_if.c1048 __le32 *src_ptr; in hl_fw_get_monitor_dump() local
1075 src_ptr = (__le32 *) mon_dump_cpu_addr; in hl_fw_get_monitor_dump()
1078 *dst_ptr = le32_to_cpu(*src_ptr); in hl_fw_get_monitor_dump()
1079 src_ptr++; in hl_fw_get_monitor_dump()
/linux-6.6.21/fs/xfs/libxfs/
Dxfs_btree.h710 const union xfs_btree_ptr *src_ptr, int numptrs);
Dxfs_btree.c1397 const union xfs_btree_ptr *src_ptr, in xfs_btree_copy_ptrs() argument
1401 memcpy(dst_ptr, src_ptr, numptrs * xfs_btree_ptr_len(cur)); in xfs_btree_copy_ptrs()
/linux-6.6.21/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.6.21/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.6.21/drivers/gpu/drm/radeon/
Devergreen.c4157 const u32 *src_ptr; in sumo_rlc_init() local
4165 src_ptr = rdev->rlc.reg_list; in sumo_rlc_init()
4172 if (src_ptr) { in sumo_rlc_init()
4209 dst_ptr[i] = cpu_to_le32(src_ptr[i]); in sumo_rlc_init()
4218 data = src_ptr[i] >> 2; in sumo_rlc_init()
4221 data |= (src_ptr[i] >> 2) << 16; in sumo_rlc_init()
/linux-6.6.21/fs/btrfs/
Dtree-log.c386 unsigned long src_ptr; in overwrite_item() local
400 src_ptr = btrfs_item_ptr_offset(eb, slot); in overwrite_item()
428 read_extent_buffer(eb, src_copy, src_ptr, item_size); in overwrite_item()
529 src_item = (struct btrfs_inode_item *)src_ptr; in overwrite_item()
559 src_ptr, item_size); in overwrite_item()