| /linux/crypto/ |
| H A D | scatterwalk.c | 103 unsigned int src_offset, dst_offset; in memcpy_sglist() local 109 dst_offset = dst->offset; in memcpy_sglist() 113 dst->offset + dst->length - dst_offset, in memcpy_sglist() 123 const unsigned int dst_oip = offset_in_page(dst_offset); in memcpy_sglist() 131 dst_page += dst_offset / PAGE_SIZE; in memcpy_sglist() 153 dst_virt = page_address(dst_page) + dst_offset; in memcpy_sglist() 158 dst_page, dst_offset, len); in memcpy_sglist() 174 dst_offset += len; in memcpy_sglist() 175 if (dst_offset >= dst->offset + dst->length) { in memcpy_sglist() 177 dst_offset = dst->offset; in memcpy_sglist()
|
| /linux/drivers/gpu/drm/vmwgfx/ |
| H A D | vmwgfx_blit.c | 360 u32 dst_offset, in vmw_bo_cpu_blit_line() argument 368 u32 dst_page = dst_offset >> PAGE_SHIFT; in vmw_bo_cpu_blit_line() 370 u32 dst_page_offset = dst_offset & ~PAGE_MASK; in vmw_bo_cpu_blit_line() 418 dst_offset += copy_size; in vmw_bo_cpu_blit_line() 456 static int vmw_external_bo_copy(struct vmw_bo *dst, u32 dst_offset, in vmw_external_bo_copy() argument 488 vdst += dst_offset; in vmw_external_bo_copy() 490 dst_size -= dst_offset; in vmw_external_bo_copy() 503 x_in_bytes = (dst_offset % dst_stride); in vmw_external_bo_copy() 505 diff->rect.y1 = ((dst_offset - x_in_bytes) / dst_stride); in vmw_external_bo_copy() 542 u32 dst_offset, u32 dst_stride, in vmw_bo_cpu_blit() argument [all …]
|
| /linux/drivers/gpu/drm/nouveau/ |
| H A D | nouveau_bo85b5.c | 46 u64 dst_offset = mem->vma[1].addr; in nva3_bo_move_copy() local 60 0x0314, upper_32_bits(dst_offset), in nva3_bo_move_copy() 61 0x0318, lower_32_bits(dst_offset), in nva3_bo_move_copy() 70 dst_offset += (PAGE_SIZE * line_count); in nva3_bo_move_copy()
|
| H A D | nouveau_bo90b5.c | 39 u64 dst_offset = mem->vma[1].addr; in nvc0_bo_move_copy() local 53 0x0314, upper_32_bits(dst_offset), in nvc0_bo_move_copy() 54 0x0318, lower_32_bits(dst_offset), in nvc0_bo_move_copy() 63 dst_offset += (PAGE_SIZE * line_count); in nvc0_bo_move_copy()
|
| H A D | nouveau_bo9039.c | 44 u64 dst_offset = mem->vma[1].addr; in nvc0_bo_move_m2mf() local 57 NVVAL(NV9039, OFFSET_OUT_UPPER, VALUE, upper_32_bits(dst_offset)), in nvc0_bo_move_m2mf() 59 OFFSET_OUT, lower_32_bits(dst_offset)); in nvc0_bo_move_m2mf() 80 dst_offset += (PAGE_SIZE * line_count); in nvc0_bo_move_m2mf()
|
| H A D | nouveau_bo5039.c | 46 u64 dst_offset = mem->vma[1].addr; in nv50_bo_move_m2mf() local 110 NVVAL(NV5039, OFFSET_OUT_UPPER, VALUE, upper_32_bits(dst_offset))); in nv50_bo_move_m2mf() 113 OFFSET_OUT, lower_32_bits(dst_offset), in nv50_bo_move_m2mf() 130 dst_offset += amount; in nv50_bo_move_m2mf()
|
| H A D | nouveau_bo0039.c | 54 u32 dst_offset = new_reg->start << PAGE_SHIFT; in nv04_bo_move_m2mf() local 74 OFFSET_OUT, dst_offset, in nv04_bo_move_m2mf() 90 dst_offset += (PAGE_SIZE * line_count); in nv04_bo_move_m2mf()
|
| /linux/drivers/staging/media/atomisp/pci/isp/kernels/sdis/sdis_2/ |
| H A D | ia_css_sdis2.host.c | 201 unsigned int src_offset = 0, dst_offset = 0; in ia_css_translate_dvs2_statistics() local 237 memcpy(host_stats->hor_prod.odd_real + dst_offset, in ia_css_translate_dvs2_statistics() 239 memcpy(host_stats->hor_prod.odd_imag + dst_offset, in ia_css_translate_dvs2_statistics() 241 memcpy(host_stats->hor_prod.even_real + dst_offset, in ia_css_translate_dvs2_statistics() 243 memcpy(host_stats->hor_prod.even_imag + dst_offset, in ia_css_translate_dvs2_statistics() 247 memcpy(host_stats->ver_prod.odd_real + dst_offset, in ia_css_translate_dvs2_statistics() 249 memcpy(host_stats->ver_prod.odd_imag + dst_offset, in ia_css_translate_dvs2_statistics() 251 memcpy(host_stats->ver_prod.even_real + dst_offset, in ia_css_translate_dvs2_statistics() 253 memcpy(host_stats->ver_prod.even_imag + dst_offset, in ia_css_translate_dvs2_statistics() 257 dst_offset += host_stats->grid.aligned_width; in ia_css_translate_dvs2_statistics()
|
| /linux/drivers/gpu/drm/radeon/ |
| H A D | rv770_dma.c | 43 uint64_t src_offset, uint64_t dst_offset, in rv770_copy_dma() argument 75 radeon_ring_write(ring, dst_offset & 0xfffffffc); in rv770_copy_dma() 77 radeon_ring_write(ring, upper_32_bits(dst_offset) & 0xff); in rv770_copy_dma() 80 dst_offset += cur_size_in_dw * 4; in rv770_copy_dma()
|
| H A D | evergreen_dma.c | 108 uint64_t dst_offset, in evergreen_copy_dma() argument 140 radeon_ring_write(ring, dst_offset & 0xfffffffc); in evergreen_copy_dma() 142 radeon_ring_write(ring, upper_32_bits(dst_offset) & 0xff); in evergreen_copy_dma() 145 dst_offset += cur_size_in_dw * 4; in evergreen_copy_dma()
|
| H A D | evergreen_cs.c | 2895 u64 src_offset, dst_offset, dst2_offset; in evergreen_dma_cs_parse() local 2920 dst_offset = radeon_get_ib_value(p, idx+1); in evergreen_dma_cs_parse() 2921 dst_offset <<= 8; in evergreen_dma_cs_parse() 2928 dst_offset = radeon_get_ib_value(p, idx+1); in evergreen_dma_cs_parse() 2929 dst_offset |= ((u64)(radeon_get_ib_value(p, idx+2) & 0xff)) << 32; in evergreen_dma_cs_parse() 2939 if ((dst_offset + (count * 4)) > radeon_bo_size(dst_reloc->robj)) { in evergreen_dma_cs_parse() 2941 dst_offset, radeon_bo_size(dst_reloc->robj)); in evergreen_dma_cs_parse() 2962 dst_offset = radeon_get_ib_value(p, idx+1); in evergreen_dma_cs_parse() 2963 dst_offset |= ((u64)(radeon_get_ib_value(p, idx+3) & 0xff)) << 32; in evergreen_dma_cs_parse() 2969 if ((dst_offset + (count * 4)) > radeon_bo_size(dst_reloc->robj)) { in evergreen_dma_cs_parse() [all …]
|
| H A D | si_dma.c | 231 uint64_t src_offset, uint64_t dst_offset, in si_copy_dma() argument 263 radeon_ring_write(ring, lower_32_bits(dst_offset)); in si_copy_dma() 265 radeon_ring_write(ring, upper_32_bits(dst_offset) & 0xff); in si_copy_dma() 268 dst_offset += cur_size_in_bytes; in si_copy_dma()
|
| H A D | r600_cs.c | 2392 u64 src_offset, dst_offset; in r600_dma_cs_parse() local 2415 dst_offset = radeon_get_ib_value(p, idx+1); in r600_dma_cs_parse() 2416 dst_offset <<= 8; in r600_dma_cs_parse() 2421 dst_offset = radeon_get_ib_value(p, idx+1); in r600_dma_cs_parse() 2422 dst_offset |= ((u64)(radeon_get_ib_value(p, idx+2) & 0xff)) << 32; in r600_dma_cs_parse() 2428 if ((dst_offset + (count * 4)) > radeon_bo_size(dst_reloc->robj)) { in r600_dma_cs_parse() 2430 dst_offset + (count * 4), radeon_bo_size(dst_reloc->robj)); in r600_dma_cs_parse() 2454 dst_offset = radeon_get_ib_value(p, idx+5); in r600_dma_cs_parse() 2455 dst_offset |= ((u64)(radeon_get_ib_value(p, idx+6) & 0xff)) << 32; in r600_dma_cs_parse() 2465 dst_offset = radeon_get_ib_value(p, idx+1); in r600_dma_cs_parse() [all …]
|
| H A D | r600_dma.c | 444 uint64_t src_offset, uint64_t dst_offset, in r600_copy_dma() argument 476 radeon_ring_write(ring, dst_offset & 0xfffffffc); in r600_copy_dma() 478 radeon_ring_write(ring, (((upper_32_bits(dst_offset) & 0xff) << 16) | in r600_copy_dma() 481 dst_offset += cur_size_in_dw * 4; in r600_copy_dma()
|
| /linux/drivers/gpu/drm/qxl/ |
| H A D | qxl_ioctl.c | 76 uint32_t dst_offset; member 91 reloc_page = qxl_bo_kmap_atomic_page(qdev, info->dst_bo, info->dst_offset & PAGE_MASK); in apply_reloc() 92 *(uint64_t *)(reloc_page + (info->dst_offset & ~PAGE_MASK)) = qxl_bo_physical_address(qdev, in apply_reloc() 107 reloc_page = qxl_bo_kmap_atomic_page(qdev, info->dst_bo, info->dst_offset & PAGE_MASK); in apply_surf_reloc() 108 *(uint32_t *)(reloc_page + (info->dst_offset & ~PAGE_MASK)) = id; in apply_surf_reloc() 228 reloc_info[i].dst_offset = reloc.dst_offset; in qxl_process_single_command() 231 reloc_info[i].dst_offset = reloc.dst_offset + release->release_offset; in qxl_process_single_command()
|
| /linux/include/linux/ |
| H A D | iosys-map.h | 281 static inline void iosys_map_memcpy_to(struct iosys_map *dst, size_t dst_offset, in iosys_map_memcpy_to() argument 285 memcpy_toio(dst->vaddr_iomem + dst_offset, src, len); in iosys_map_memcpy_to() 287 memcpy(dst->vaddr + dst_offset, src, len); in iosys_map_memcpy_to()
|
| /linux/fs/btrfs/ |
| H A D | extent_io.h | 336 unsigned long dst_offset, unsigned long src_offset, 339 unsigned long dst_offset, unsigned long src_offset, 342 unsigned long dst_offset, unsigned long src_offset,
|
| H A D | tree-mod-log.h | 50 unsigned long dst_offset,
|
| H A D | tree-mod-log.c | 576 unsigned long dst_offset, in btrfs_tree_mod_log_eb_copy() argument 589 u32 dst_move_nr_items = btrfs_header_nritems(dst) - dst_offset; in btrfs_tree_mod_log_eb_copy() 605 dst_move_tm = tree_mod_log_alloc_move(dst, dst_offset + nr_items, in btrfs_tree_mod_log_eb_copy() 606 dst_offset, dst_move_nr_items); in btrfs_tree_mod_log_eb_copy() 634 tm_list_add[i] = alloc_tree_mod_elem(dst, i + dst_offset, in btrfs_tree_mod_log_eb_copy()
|
| H A D | extent_io.c | 4219 unsigned long dst_offset, unsigned long src_offset, in copy_extent_buffer() argument 4227 unsigned long i = get_eb_folio_index(dst, dst_offset); in copy_extent_buffer() 4229 if (check_eb_range(dst, dst_offset, len) || in copy_extent_buffer() 4235 offset = get_eb_offset_in_folio(dst, dst_offset); in copy_extent_buffer() 4392 unsigned long dst_offset, unsigned long src_offset, in memcpy_extent_buffer() argument 4398 if (check_eb_range(dst, dst_offset, len) || in memcpy_extent_buffer() 4403 const bool use_memmove = areas_overlap(src_offset, dst_offset, len); in memcpy_extent_buffer() 4406 memmove(dst->addr + dst_offset, dst->addr + src_offset, len); in memcpy_extent_buffer() 4408 memcpy(dst->addr + dst_offset, dst->addr + src_offset, len); in memcpy_extent_buffer() 4420 dst_offset + cur_off, cur_len); in memcpy_extent_buffer() [all …]
|
| /linux/sound/core/oss/ |
| H A D | pcm_plugin.h | 133 size_t dst_offset, 138 size_t dst_offset,
|
| H A D | pcm_plugin.c | 657 int snd_pcm_area_silence(const struct snd_pcm_channel_area *dst_area, size_t dst_offset, in snd_pcm_area_silence() argument 667 dst = dst_area->addr + (dst_area->first + dst_area->step * dst_offset) / 8; in snd_pcm_area_silence() 704 const struct snd_pcm_channel_area *dst_area, size_t dst_offset, in snd_pcm_area_copy() argument 713 return snd_pcm_area_silence(dst_area, dst_offset, samples, format); in snd_pcm_area_copy() 714 dst = dst_area->addr + (dst_area->first + dst_area->step * dst_offset) / 8; in snd_pcm_area_copy()
|
| /linux/drivers/crypto/ccp/ |
| H A D | ccp-dmaengine.c | 367 unsigned int dst_offset, dst_len; in ccp_create_desc() local 388 dst_offset = 0; in ccp_create_desc() 415 dst_offset = 0; in ccp_create_desc() 434 ccp_pt->dst_dma = sg_dma_address(dst_sg) + dst_offset; in ccp_create_desc() 453 dst_offset += len; in ccp_create_desc()
|
| /linux/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | spectrum_acl_ctcam.c | 29 u16 src_offset, u16 dst_offset, u16 size) in mlxsw_sp_acl_ctcam_region_move() argument 35 region->tcam_region_info, dst_offset, size); in mlxsw_sp_acl_ctcam_region_move()
|
| /linux/drivers/usb/isp1760/ |
| H A D | isp1760-hcd.c | 416 static void isp1760_mem_write(void __iomem *dst_base, u32 dst_offset, in isp1760_mem_write() argument 421 dst = dst_base + dst_offset; in isp1760_mem_write() 423 if (dst_offset < PAYLOAD_OFFSET) { in isp1760_mem_write() 445 if (dst_offset < PAYLOAD_OFFSET) in isp1760_mem_write() 478 static void mem_write(struct usb_hcd *hcd, u32 dst_offset, __u32 *src, in mem_write() argument 484 return isp1760_mem_write(priv->base, dst_offset, src, bytes); in mem_write() 486 isp1763_mem_write(hcd, dst_offset, (u16 *)src, bytes); in mem_write() 538 u16 dst_offset = ptd_offset + slot * sizeof(*cpu_ptd); in isp1763_ptd_write() local 550 isp1763_mem_write(hcd, dst_offset, (u16 *)&ptd.dw0, in isp1763_ptd_write() 557 u32 dst_offset = ptd_offset + slot * sizeof(*ptd); in isp1760_ptd_write() local [all …]
|