Home
last modified time | relevance | path

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

/linux-6.6.21/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-6.6.21/fs/hfsplus/
Dbnode.c148 void *src_ptr, *dst_ptr; in hfs_bnode_copy() local
151 dst_ptr = kmap_local_page(*dst_page) + dst; in hfs_bnode_copy()
163 memcpy(dst_ptr, src_ptr, l); in hfs_bnode_copy()
166 kunmap_local(dst_ptr); in hfs_bnode_copy()
178 void *src_ptr, *dst_ptr; in hfs_bnode_move() local
196 dst_ptr = kmap_local_page(*dst_page); in hfs_bnode_move()
198 memmove(dst_ptr, src_ptr, src); in hfs_bnode_move()
201 kunmap_local(dst_ptr); in hfs_bnode_move()
208 dst_ptr = kmap_local_page(*dst_page); in hfs_bnode_move()
210 memmove(dst_ptr + src, src_ptr + src, len); in hfs_bnode_move()
[all …]
/linux-6.6.21/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-6.6.21/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-6.6.21/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-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_rlc.c92 volatile u32 *dst_ptr; in amdgpu_gfx_rlc_init_sr() local
111 dst_ptr = adev->gfx.rlc.sr_ptr; in amdgpu_gfx_rlc_init_sr()
113 dst_ptr[i] = cpu_to_le32(src_ptr[i]); in amdgpu_gfx_rlc_init_sr()
192 volatile u32 *dst_ptr; in amdgpu_gfx_rlc_setup_cp_table() local
200 dst_ptr = adev->gfx.rlc.cp_table_ptr; in amdgpu_gfx_rlc_setup_cp_table()
245 dst_ptr[bo_offset + i] = in amdgpu_gfx_rlc_setup_cp_table()
Dgfx_v6_0.c2336 volatile u32 *dst_ptr; in gfx_v6_0_rlc_init() local
2376 dst_ptr = adev->gfx.rlc.cs_ptr; in gfx_v6_0_rlc_init()
2378 dst_ptr[0] = cpu_to_le32(upper_32_bits(reg_list_mc_addr)); in gfx_v6_0_rlc_init()
2379 dst_ptr[1] = cpu_to_le32(lower_32_bits(reg_list_mc_addr)); in gfx_v6_0_rlc_init()
2380 dst_ptr[2] = cpu_to_le32(adev->gfx.rlc.clear_state_size); in gfx_v6_0_rlc_init()
2381 gfx_v6_0_get_csb_buffer(adev, &dst_ptr[(256/4)]); in gfx_v6_0_rlc_init()
/linux-6.6.21/drivers/dma/
Dtegra186-gpc-dma.c191 u32 dst_ptr; member
497 tdc_write(tdc, TEGRA_GPCDMA_CHAN_DST_PTR, ch_regs->dst_ptr); in tegra_dma_configure_next_sg()
529 tdc_write(tdc, TEGRA_GPCDMA_CHAN_DST_PTR, ch_regs->dst_ptr); in tegra_dma_start()
907 sg_req[0].ch_regs.dst_ptr = dest; in tegra_dma_prep_dma_memset()
976 sg_req[0].ch_regs.dst_ptr = dest; in tegra_dma_prep_dma_memcpy()
1087 sg_req[i].ch_regs.dst_ptr = apb_ptr; in tegra_dma_prep_slave_sg()
1092 sg_req[i].ch_regs.dst_ptr = mem; in tegra_dma_prep_slave_sg()
1209 sg_req[i].ch_regs.dst_ptr = apb_ptr; in tegra_dma_prep_dma_cyclic()
1214 sg_req[i].ch_regs.dst_ptr = mem; in tegra_dma_prep_dma_cyclic()
/linux-6.6.21/drivers/gpu/drm/radeon/
Devergreen.c4158 volatile u32 *dst_ptr; in sumo_rlc_init() local
4205 dst_ptr = rdev->rlc.sr_ptr; in sumo_rlc_init()
4209 dst_ptr[i] = cpu_to_le32(src_ptr[i]); in sumo_rlc_init()
4223 dst_ptr[j] = cpu_to_le32(data); in sumo_rlc_init()
4226 dst_ptr[j] = cpu_to_le32(RLC_SAVE_RESTORE_LIST_END_MARKER); in sumo_rlc_init()
4284 dst_ptr = rdev->rlc.cs_ptr; in sumo_rlc_init()
4286 cik_get_csb_buffer(rdev, dst_ptr); in sumo_rlc_init()
4289 dst_ptr[0] = cpu_to_le32(upper_32_bits(reg_list_mc_addr)); in sumo_rlc_init()
4290 dst_ptr[1] = cpu_to_le32(lower_32_bits(reg_list_mc_addr)); in sumo_rlc_init()
4291 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-6.6.21/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-6.6.21/drivers/accel/habanalabs/common/
Dfirmware_if.c1049 u32 *dst_ptr; in hl_fw_get_monitor_dump() local
1076 dst_ptr = data; in hl_fw_get_monitor_dump()
1078 *dst_ptr = le32_to_cpu(*src_ptr); in hl_fw_get_monitor_dump()
1080 dst_ptr++; in hl_fw_get_monitor_dump()
/linux-6.6.21/fs/xfs/libxfs/
Dxfs_btree.h709 union xfs_btree_ptr *dst_ptr,
Dxfs_btree.c1396 union xfs_btree_ptr *dst_ptr, in xfs_btree_copy_ptrs() argument
1401 memcpy(dst_ptr, src_ptr, numptrs * xfs_btree_ptr_len(cur)); in xfs_btree_copy_ptrs()
1452 char *dst_ptr; in xfs_btree_shift_ptrs() local
1457 dst_ptr = (char *)ptr + (dir * xfs_btree_ptr_len(cur)); in xfs_btree_shift_ptrs()
1458 memmove(dst_ptr, ptr, numptrs * xfs_btree_ptr_len(cur)); in xfs_btree_shift_ptrs()
/linux-6.6.21/fs/btrfs/
Dtree-log.c387 unsigned long dst_ptr; in overwrite_item() local
430 dst_ptr = btrfs_item_ptr_offset(path->nodes[0], path->slots[0]); in overwrite_item()
431 read_extent_buffer(path->nodes[0], dst_copy, dst_ptr, in overwrite_item()
513 dst_ptr = btrfs_item_ptr_offset(path->nodes[0], in overwrite_item()
530 dst_item = (struct btrfs_inode_item *)dst_ptr; in overwrite_item()
558 copy_extent_buffer(path->nodes[0], eb, dst_ptr, in overwrite_item()
563 dst_item = (struct btrfs_inode_item *)dst_ptr; in overwrite_item()
570 dst_item = (struct btrfs_inode_item *)dst_ptr; in overwrite_item()
/linux-6.6.21/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()