Home
last modified time | relevance | path

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

/linux-6.1.9/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.1.9/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.1.9/drivers/gpu/drm/i915/gem/
Di915_gem_object.c417 void *src_ptr; in i915_gem_object_read_from_page_kmap() local
421 src_ptr = src_map + offset_in_page(offset); in i915_gem_object_read_from_page_kmap()
423 drm_clflush_virt_range(src_ptr, size); in i915_gem_object_read_from_page_kmap()
424 memcpy(dst, src_ptr, size); in i915_gem_object_read_from_page_kmap()
433 void __iomem *src_ptr; in i915_gem_object_read_from_page_iomap() local
440 src_ptr = src_map + offset_in_page(offset); in i915_gem_object_read_from_page_iomap()
441 if (!i915_memcpy_from_wc(dst, (void __force *)src_ptr, size)) in i915_gem_object_read_from_page_iomap()
442 memcpy_fromio(dst, src_ptr, size); in i915_gem_object_read_from_page_iomap()
/linux-6.1.9/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.1.9/drivers/dma/
Dtegra186-gpc-dma.c187 u32 src_ptr; member
492 tdc_write(tdc, TEGRA_GPCDMA_CHAN_SRC_PTR, ch_regs->src_ptr); in tegra_dma_configure_next_sg()
524 tdc_write(tdc, TEGRA_GPCDMA_CHAN_SRC_PTR, ch_regs->src_ptr); in tegra_dma_start()
902 sg_req[0].ch_regs.src_ptr = 0; in tegra_dma_prep_dma_memset()
971 sg_req[0].ch_regs.src_ptr = src; in tegra_dma_prep_dma_memcpy()
1082 sg_req[i].ch_regs.src_ptr = mem; in tegra_dma_prep_slave_sg()
1087 sg_req[i].ch_regs.src_ptr = apb_ptr; in tegra_dma_prep_slave_sg()
1204 sg_req[i].ch_regs.src_ptr = mem; in tegra_dma_prep_dma_cyclic()
1209 sg_req[i].ch_regs.src_ptr = apb_ptr; in tegra_dma_prep_dma_cyclic()
/linux-6.1.9/arch/sparc/kernel/
Dbtext.c124 unsigned int *src_ptr = src; in scrollscreen() local
127 *(dst_ptr++) = *(src_ptr++); in scrollscreen()
/linux-6.1.9/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.1.9/drivers/gpu/drm/vmwgfx/
Dvmwgfx_fb.c187 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-6.1.9/arch/powerpc/kernel/
Dbtext.c364 unsigned int *src_ptr = src; in scrollscreen() local
367 *(dst_ptr++) = *(src_ptr++); in scrollscreen()
/linux-6.1.9/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.c2349 const u32 *src_ptr; in gfx_v6_0_rlc_init() local
2361 src_ptr = adev->gfx.rlc.reg_list; in gfx_v6_0_rlc_init()
2365 if (src_ptr) { in gfx_v6_0_rlc_init()
Dgfx_v7_0.c3263 const u32 *src_ptr; in gfx_v7_0_rlc_init() local
3284 src_ptr = adev->gfx.rlc.reg_list; in gfx_v7_0_rlc_init()
3290 if (src_ptr) { in gfx_v7_0_rlc_init()
/linux-6.1.9/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.1.9/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.1.9/fs/xfs/libxfs/
Dxfs_btree.h578 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.1.9/drivers/misc/habanalabs/common/
Dfirmware_if.c929 __le32 *src_ptr; in hl_fw_get_monitor_dump() local
956 src_ptr = (__le32 *) mon_dump_cpu_addr; in hl_fw_get_monitor_dump()
959 *dst_ptr = le32_to_cpu(*src_ptr); in hl_fw_get_monitor_dump()
960 src_ptr++; in hl_fw_get_monitor_dump()
/linux-6.1.9/drivers/misc/
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-6.1.9/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.1.9/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.1.9/fs/btrfs/
Dtree-log.c364 unsigned long src_ptr; in do_overwrite_item() local
373 src_ptr = btrfs_item_ptr_offset(eb, slot); in do_overwrite_item()
413 read_extent_buffer(eb, src_copy, src_ptr, item_size); in do_overwrite_item()
514 src_item = (struct btrfs_inode_item *)src_ptr; in do_overwrite_item()
545 src_ptr, item_size); in do_overwrite_item()