Home
last modified time | relevance | path

Searched refs:dst_ptr (Results 1 – 17 of 17) sorted by relevance

/linux-5.19.10/drivers/infiniband/hw/ocrdma/
Docrdma_hw.h53 u32 *dst_ptr = dst; in ocrdma_cpu_to_le32() local
55 *(dst_ptr + i) = cpu_to_le32p(src_ptr + i); in ocrdma_cpu_to_le32()
64 u32 *dst_ptr = dst; in ocrdma_le32_to_cpu() local
66 *(dst_ptr + i) = le32_to_cpu(*(src_ptr + i)); in ocrdma_le32_to_cpu()
75 u32 *dst_ptr = dst; in ocrdma_copy_cpu_to_le32() local
77 *(dst_ptr + i) = cpu_to_le32p(src_ptr + i); in ocrdma_copy_cpu_to_le32()
88 u32 *dst_ptr = dst; in ocrdma_copy_le32_to_cpu() local
90 *(dst_ptr + i) = le32_to_cpu(*(src_ptr + i)); in ocrdma_copy_le32_to_cpu()
/linux-5.19.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_rlc.c90 volatile u32 *dst_ptr; in amdgpu_gfx_rlc_init_sr() local
108 dst_ptr = adev->gfx.rlc.sr_ptr; in amdgpu_gfx_rlc_init_sr()
110 dst_ptr[i] = cpu_to_le32(src_ptr[i]); in amdgpu_gfx_rlc_init_sr()
187 volatile u32 *dst_ptr; in amdgpu_gfx_rlc_setup_cp_table() local
195 dst_ptr = adev->gfx.rlc.cp_table_ptr; in amdgpu_gfx_rlc_setup_cp_table()
240 dst_ptr[bo_offset + i] = in amdgpu_gfx_rlc_setup_cp_table()
Dgfx_v6_0.c2350 volatile u32 *dst_ptr; in gfx_v6_0_rlc_init() local
2389 dst_ptr = adev->gfx.rlc.cs_ptr; in gfx_v6_0_rlc_init()
2391 dst_ptr[0] = cpu_to_le32(upper_32_bits(reg_list_mc_addr)); in gfx_v6_0_rlc_init()
2392 dst_ptr[1] = cpu_to_le32(lower_32_bits(reg_list_mc_addr)); in gfx_v6_0_rlc_init()
2393 dst_ptr[2] = cpu_to_le32(adev->gfx.rlc.clear_state_size); in gfx_v6_0_rlc_init()
2394 gfx_v6_0_get_csb_buffer(adev, &dst_ptr[(256/4)]); in gfx_v6_0_rlc_init()
/linux-5.19.10/drivers/base/
Dswnode.c233 static bool property_copy_string_array(const char **dst_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()
243 kfree(dst_ptr[i]); in property_copy_string_array()
255 void *dst_ptr; in property_entry_copy_data() local
273 dst_ptr = &dst->value; in property_entry_copy_data()
276 dst_ptr = kmalloc(src->length, GFP_KERNEL); in property_entry_copy_data()
277 if (!dst_ptr) in property_entry_copy_data()
279 dst->pointer = dst_ptr; in property_entry_copy_data()
284 if (!property_copy_string_array(dst_ptr, pointer, nval)) { in property_entry_copy_data()
[all …]
/linux-5.19.10/arch/sparc/kernel/
Dbtext.c125 unsigned int *dst_ptr = dst; in scrollscreen() local
127 *(dst_ptr++) = *(src_ptr++); in scrollscreen()
133 unsigned int *dst_ptr = dst; in scrollscreen() local
135 *(dst_ptr++) = 0; in scrollscreen()
/linux-5.19.10/fs/hfsplus/
Dbnode.c158 void *src_ptr, *dst_ptr; in hfs_bnode_copy() local
162 dst_ptr = kmap(*dst_page) + dst; 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
225 dst_ptr = kmap(*dst_page) + dst; 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
273 dst_ptr = kmap(*dst_page) + dst; in hfs_bnode_move()
285 memmove(dst_ptr, src_ptr, l); in hfs_bnode_move()
/linux-5.19.10/arch/powerpc/kernel/
Dbtext.c365 unsigned int *dst_ptr = dst; in scrollscreen() local
367 *(dst_ptr++) = *(src_ptr++); in scrollscreen()
373 unsigned int *dst_ptr = dst; in scrollscreen() local
375 *(dst_ptr++) = 0; in scrollscreen()
/linux-5.19.10/drivers/dma/
Dtegra186-gpc-dma.c188 u32 dst_ptr; member
493 tdc_write(tdc, TEGRA_GPCDMA_CHAN_DST_PTR, ch_regs->dst_ptr); in tegra_dma_configure_next_sg()
525 tdc_write(tdc, TEGRA_GPCDMA_CHAN_DST_PTR, ch_regs->dst_ptr); in tegra_dma_start()
902 sg_req[0].ch_regs.dst_ptr = dest; in tegra_dma_prep_dma_memset()
971 sg_req[0].ch_regs.dst_ptr = dest; in tegra_dma_prep_dma_memcpy()
1082 sg_req[i].ch_regs.dst_ptr = apb_ptr; in tegra_dma_prep_slave_sg()
1087 sg_req[i].ch_regs.dst_ptr = mem; in tegra_dma_prep_slave_sg()
1204 sg_req[i].ch_regs.dst_ptr = apb_ptr; in tegra_dma_prep_dma_cyclic()
1209 sg_req[i].ch_regs.dst_ptr = mem; in tegra_dma_prep_dma_cyclic()
/linux-5.19.10/drivers/gpu/drm/vmwgfx/
Dvmwgfx_fb.c186 u8 *src_ptr, *dst_ptr; in vmw_fb_dirty_flush() local
236 dst_ptr = (u8 *)virtual + in vmw_fb_dirty_flush()
243 memcpy(dst_ptr, src_ptr, w*cpp); in vmw_fb_dirty_flush()
244 dst_ptr += par->set_fb->pitches[0]; in vmw_fb_dirty_flush()
/linux-5.19.10/drivers/gpu/drm/radeon/
Devergreen.c4157 volatile u32 *dst_ptr; in sumo_rlc_init() local
4204 dst_ptr = rdev->rlc.sr_ptr; in sumo_rlc_init()
4208 dst_ptr[i] = cpu_to_le32(src_ptr[i]); in sumo_rlc_init()
4222 dst_ptr[j] = cpu_to_le32(data); in sumo_rlc_init()
4225 dst_ptr[j] = cpu_to_le32(RLC_SAVE_RESTORE_LIST_END_MARKER); in sumo_rlc_init()
4283 dst_ptr = rdev->rlc.cs_ptr; in sumo_rlc_init()
4285 cik_get_csb_buffer(rdev, dst_ptr); in sumo_rlc_init()
4288 dst_ptr[0] = cpu_to_le32(upper_32_bits(reg_list_mc_addr)); in sumo_rlc_init()
4289 dst_ptr[1] = cpu_to_le32(lower_32_bits(reg_list_mc_addr)); in sumo_rlc_init()
4290 dst_ptr[2] = cpu_to_le32(rdev->rlc.clear_state_size); in sumo_rlc_init()
[all …]
Dcik.c6412 volatile u32 *dst_ptr; in cik_init_cp_pg_table() local
6424 dst_ptr = rdev->rlc.cp_table_ptr; in cik_init_cp_pg_table()
6463 dst_ptr[bo_offset + i] = in cik_init_cp_pg_table()
6486 dst_ptr[bo_offset + i] = in cik_init_cp_pg_table()
/linux-5.19.10/net/vmw_vsock/
Dvmci_transport.c317 struct sockaddr_vm *dst_ptr; in vmci_transport_send_reset() local
330 dst_ptr = &vsk->remote_addr; in vmci_transport_send_reset()
334 dst_ptr = &dst; in vmci_transport_send_reset()
336 return vmci_transport_alloc_send_control_pkt(&vsk->local_addr, dst_ptr, in vmci_transport_send_reset()
/linux-5.19.10/drivers/misc/habanalabs/common/
Dfirmware_if.c831 u32 *dst_ptr; in hl_fw_get_monitor_dump() local
859 dst_ptr = data; in hl_fw_get_monitor_dump()
861 *dst_ptr = le32_to_cpu(*src_ptr); in hl_fw_get_monitor_dump()
863 dst_ptr++; in hl_fw_get_monitor_dump()
/linux-5.19.10/fs/xfs/libxfs/
Dxfs_btree.h577 union xfs_btree_ptr *dst_ptr,
Dxfs_btree.c1399 union xfs_btree_ptr *dst_ptr, in xfs_btree_copy_ptrs() argument
1404 memcpy(dst_ptr, src_ptr, numptrs * xfs_btree_ptr_len(cur)); in xfs_btree_copy_ptrs()
1455 char *dst_ptr; in xfs_btree_shift_ptrs() local
1460 dst_ptr = (char *)ptr + (dir * xfs_btree_ptr_len(cur)); in xfs_btree_shift_ptrs()
1461 memmove(dst_ptr, ptr, numptrs * xfs_btree_ptr_len(cur)); in xfs_btree_shift_ptrs()
/linux-5.19.10/fs/btrfs/
Dtree-log.c365 unsigned long dst_ptr; in do_overwrite_item() local
415 dst_ptr = btrfs_item_ptr_offset(path->nodes[0], path->slots[0]); in do_overwrite_item()
416 read_extent_buffer(path->nodes[0], dst_copy, dst_ptr, in do_overwrite_item()
498 dst_ptr = btrfs_item_ptr_offset(path->nodes[0], in do_overwrite_item()
515 dst_item = (struct btrfs_inode_item *)dst_ptr; in do_overwrite_item()
544 copy_extent_buffer(path->nodes[0], eb, dst_ptr, in do_overwrite_item()
549 dst_item = (struct btrfs_inode_item *)dst_ptr; in do_overwrite_item()
556 dst_item = (struct btrfs_inode_item *)dst_ptr; in do_overwrite_item()
/linux-5.19.10/drivers/crypto/
Dtalitos.c58 static void copy_talitos_ptr(struct talitos_ptr *dst_ptr, 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()