Home
last modified time | relevance | path

Searched refs:dst_offset (Results 1 – 45 of 45) sorted by relevance

/linux-4.4.14/drivers/gpu/drm/radeon/
Drv770_dma.c43 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()
Devergreen_dma.c109 uint64_t dst_offset, in evergreen_copy_dma() argument
141 radeon_ring_write(ring, dst_offset & 0xfffffffc); in evergreen_copy_dma()
143 radeon_ring_write(ring, upper_32_bits(dst_offset) & 0xff); in evergreen_copy_dma()
146 dst_offset += cur_size_in_dw * 4; in evergreen_copy_dma()
Devergreen_cs.c2752 u64 src_offset, dst_offset, dst2_offset; in evergreen_dma_cs_parse() local
2777 dst_offset = radeon_get_ib_value(p, idx+1); in evergreen_dma_cs_parse()
2778 dst_offset <<= 8; in evergreen_dma_cs_parse()
2785 dst_offset = radeon_get_ib_value(p, idx+1); in evergreen_dma_cs_parse()
2786 dst_offset |= ((u64)(radeon_get_ib_value(p, idx+2) & 0xff)) << 32; in evergreen_dma_cs_parse()
2796 if ((dst_offset + (count * 4)) > radeon_bo_size(dst_reloc->robj)) { in evergreen_dma_cs_parse()
2798 dst_offset, radeon_bo_size(dst_reloc->robj)); in evergreen_dma_cs_parse()
2819 dst_offset = radeon_get_ib_value(p, idx+1); in evergreen_dma_cs_parse()
2820 dst_offset |= ((u64)(radeon_get_ib_value(p, idx+3) & 0xff)) << 32; in evergreen_dma_cs_parse()
2826 if ((dst_offset + (count * 4)) > radeon_bo_size(dst_reloc->robj)) { in evergreen_dma_cs_parse()
[all …]
Dsi_dma.c232 uint64_t src_offset, uint64_t dst_offset, in si_copy_dma() argument
264 radeon_ring_write(ring, lower_32_bits(dst_offset)); in si_copy_dma()
266 radeon_ring_write(ring, upper_32_bits(dst_offset) & 0xff); in si_copy_dma()
269 dst_offset += cur_size_in_bytes; in si_copy_dma()
Dr600_dma.c440 uint64_t src_offset, uint64_t dst_offset, in r600_copy_dma() argument
472 radeon_ring_write(ring, dst_offset & 0xfffffffc); in r600_copy_dma()
474 radeon_ring_write(ring, (((upper_32_bits(dst_offset) & 0xff) << 16) | in r600_copy_dma()
477 dst_offset += cur_size_in_dw * 4; in r600_copy_dma()
Dr600_cs.c2480 u64 src_offset, dst_offset; in r600_dma_cs_parse() local
2503 dst_offset = radeon_get_ib_value(p, idx+1); in r600_dma_cs_parse()
2504 dst_offset <<= 8; in r600_dma_cs_parse()
2509 dst_offset = radeon_get_ib_value(p, idx+1); in r600_dma_cs_parse()
2510 dst_offset |= ((u64)(radeon_get_ib_value(p, idx+2) & 0xff)) << 32; in r600_dma_cs_parse()
2516 if ((dst_offset + (count * 4)) > radeon_bo_size(dst_reloc->robj)) { in r600_dma_cs_parse()
2518 dst_offset + (count * 4), radeon_bo_size(dst_reloc->robj)); in r600_dma_cs_parse()
2542 dst_offset = radeon_get_ib_value(p, idx+5); in r600_dma_cs_parse()
2543 dst_offset |= ((u64)(radeon_get_ib_value(p, idx+6) & 0xff)) << 32; in r600_dma_cs_parse()
2553 dst_offset = radeon_get_ib_value(p, idx+1); in r600_dma_cs_parse()
[all …]
Dradeon_asic.h87 uint64_t dst_offset,
158 uint64_t dst_offset,
348 uint64_t src_offset, uint64_t dst_offset,
352 uint64_t src_offset, uint64_t dst_offset,
473 uint64_t src_offset, uint64_t dst_offset,
547 uint64_t src_offset, uint64_t dst_offset,
725 uint64_t src_offset, uint64_t dst_offset,
796 uint64_t src_offset, uint64_t dst_offset,
800 uint64_t src_offset, uint64_t dst_offset,
Dr200.c85 uint64_t dst_offset, in r200_copy_dma() argument
115 radeon_ring_write(ring, dst_offset); in r200_copy_dma()
118 dst_offset += cur_size; in r200_copy_dma()
Dcik_sdma.c580 uint64_t src_offset, uint64_t dst_offset, in cik_copy_dma() argument
616 radeon_ring_write(ring, lower_32_bits(dst_offset)); in cik_copy_dma()
617 radeon_ring_write(ring, upper_32_bits(dst_offset)); in cik_copy_dma()
619 dst_offset += cur_size_in_bytes; in cik_copy_dma()
Dr600_cp.c2487 u64 src_offset, dst_offset; in r600_cp_dispatch_texture() local
2505 dst_offset = tex->offset; in r600_cp_dispatch_texture()
2540 r600_blit_copy(dev, src_offset, dst_offset, pass_size); in r600_cp_dispatch_texture()
2546 dst_offset += pass_size; in r600_cp_dispatch_texture()
Dradeon.h1919 uint64_t dst_offset,
1925 uint64_t dst_offset,
1932 uint64_t dst_offset,
Dr600.c2962 uint64_t src_offset, uint64_t dst_offset, in r600_copy_cpdma() argument
3002 radeon_ring_write(ring, lower_32_bits(dst_offset)); in r600_copy_cpdma()
3003 radeon_ring_write(ring, upper_32_bits(dst_offset) & 0xff); in r600_copy_cpdma()
3006 dst_offset += cur_size_in_bytes; in r600_copy_cpdma()
Dcik.c4068 uint64_t src_offset, uint64_t dst_offset, in cik_copy_cpdma() argument
4106 radeon_ring_write(ring, lower_32_bits(dst_offset)); in cik_copy_cpdma()
4107 radeon_ring_write(ring, upper_32_bits(dst_offset)); in cik_copy_cpdma()
4110 dst_offset += cur_size_in_bytes; in cik_copy_cpdma()
Dr100.c884 uint64_t dst_offset, in r100_copy_blit() argument
935 radeon_ring_write(ring, (pitch << 22) | (dst_offset >> 10)); in r100_copy_blit()
/linux-4.4.14/drivers/misc/mic/scif/
Dscif_dma.c42 s64 dst_offset; member
66 s64 dst_offset; member
884 scif_rma_local_cpu_copy(comp_cb->dst_offset, in scif_rma_completion_cb()
918 offset = work->dst_offset; in scif_rma_list_dma_copy_unaligned()
1134 s64 src_offset = work->src_offset, dst_offset = work->dst_offset; in _scif_rma_list_dma_copy_aligned() local
1155 if (dst_offset == end_dst_offset) { in _scif_rma_list_dma_copy_aligned()
1166 dst_dma_addr = scif_off_to_dma_addr(dst_window, dst_offset, in _scif_rma_list_dma_copy_aligned()
1192 dst_offset += (loop_len - 1); in _scif_rma_list_dma_copy_aligned()
1225 dst_offset += loop_len; in _scif_rma_list_dma_copy_aligned()
1254 s64 src_offset = work->src_offset, dst_offset = work->dst_offset; in scif_rma_list_dma_copy_aligned() local
[all …]
Dscif_rma.h384 static inline bool scif_unaligned(off_t src_offset, off_t dst_offset) in scif_unaligned() argument
387 dst_offset = dst_offset & (L1_CACHE_BYTES - 1); in scif_unaligned()
388 return !(src_offset == dst_offset); in scif_unaligned()
/linux-4.4.14/drivers/gpu/drm/qxl/
Dqxl_ioctl.c74 uint32_t dst_offset; member
88 reloc_page = qxl_bo_kmap_atomic_page(qdev, info->dst_bo, info->dst_offset & PAGE_MASK); in apply_reloc()
89 *(uint64_t *)(reloc_page + (info->dst_offset & ~PAGE_MASK)) = qxl_bo_physical_address(qdev, in apply_reloc()
104 reloc_page = qxl_bo_kmap_atomic_page(qdev, info->dst_bo, info->dst_offset & PAGE_MASK); in apply_surf_reloc()
105 *(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-4.4.14/fs/nfs/
Dnfs42proc.c277 loff_t dst_offset, loff_t count) in _nfs42_proc_clone() argument
286 .dst_offset = dst_offset, in _nfs42_proc_clone()
320 loff_t src_offset, loff_t dst_offset, loff_t count) in nfs42_proc_clone() argument
335 dst_offset, count); in nfs42_proc_clone()
Dnfs42xdr.c161 p = xdr_encode_hyper(p, args->dst_offset); in encode_clone()
/linux-4.4.14/drivers/gpu/drm/nouveau/
Dnouveau_bo.c726 u64 dst_offset = node->vma[1].offset; in nvc0_bo_move_copy() local
741 OUT_RING (chan, upper_32_bits(dst_offset)); in nvc0_bo_move_copy()
742 OUT_RING (chan, lower_32_bits(dst_offset)); in nvc0_bo_move_copy()
752 dst_offset += (PAGE_SIZE * line_count); in nvc0_bo_move_copy()
764 u64 dst_offset = node->vma[1].offset; in nvc0_bo_move_m2mf() local
777 OUT_RING (chan, upper_32_bits(dst_offset)); in nvc0_bo_move_m2mf()
778 OUT_RING (chan, lower_32_bits(dst_offset)); in nvc0_bo_move_m2mf()
791 dst_offset += (PAGE_SIZE * line_count); in nvc0_bo_move_m2mf()
803 u64 dst_offset = node->vma[1].offset; in nva3_bo_move_copy() local
818 OUT_RING (chan, upper_32_bits(dst_offset)); in nva3_bo_move_copy()
[all …]
/linux-4.4.14/sound/core/oss/
Dpcm_plugin.h149 size_t dst_offset,
154 size_t dst_offset,
Dpcm_plugin.c649 int snd_pcm_area_silence(const struct snd_pcm_channel_area *dst_area, size_t dst_offset, in snd_pcm_area_silence() argument
659 dst = dst_area->addr + (dst_area->first + dst_area->step * dst_offset) / 8; in snd_pcm_area_silence()
696 const struct snd_pcm_channel_area *dst_area, size_t dst_offset, in snd_pcm_area_copy() argument
705 return snd_pcm_area_silence(dst_area, dst_offset, samples, format); in snd_pcm_area_copy()
706 dst = dst_area->addr + (dst_area->first + dst_area->step * dst_offset) / 8; in snd_pcm_area_copy()
/linux-4.4.14/drivers/gpu/drm/gma500/
Daccel_2d.c174 uint32_t src_format, uint32_t dst_offset, in psb_accel_2d_copy() argument
212 *buf++ = dst_offset; in psb_accel_2d_copy()
/linux-4.4.14/drivers/video/fbdev/
Dfb-puv3.c138 int dst_offset = dst_y0 * dst_pitch + dst_x0 * (m_iBpp / 8); in unifb_prim_fillrect() local
168 writel(dst_offset, UGE_DSTSTART); in unifb_prim_fillrect()
228 int dst_offset = dst_y0 * dst_pitch + dst_x0 * (m_iBpp / 8); in unifb_prim_copyarea() local
252 dst_offset = (dst_y0 + aheight) * dst_pitch + in unifb_prim_copyarea()
273 writel(dst_offset, UGE_DSTSTART); in unifb_prim_copyarea()
Dps3fb.c441 u64 dst_offset, u64 src_offset, u32 width, in ps3fb_sync_image() argument
455 status = lv1_gpu_fb_blit(ps3fb.context_handle, dst_offset, in ps3fb_sync_image()
/linux-4.4.14/include/uapi/drm/
Dqxl_drm.h72 uint64_t dst_offset; /* offset in dest handle */ member
/linux-4.4.14/fs/btrfs/
Dextent_io.h323 unsigned long dst_offset, unsigned long src_offset,
325 void memcpy_extent_buffer(struct extent_buffer *dst, unsigned long dst_offset,
327 void memmove_extent_buffer(struct extent_buffer *dst, unsigned long dst_offset,
Dextent_io.c5565 unsigned long dst_offset, unsigned long src_offset, in copy_extent_buffer() argument
5574 unsigned long i = (start_offset + dst_offset) >> PAGE_CACHE_SHIFT; in copy_extent_buffer()
5578 offset = (start_offset + dst_offset) & in copy_extent_buffer()
5625 void memcpy_extent_buffer(struct extent_buffer *dst, unsigned long dst_offset, in memcpy_extent_buffer() argument
5641 if (dst_offset + len > dst->len) { in memcpy_extent_buffer()
5644 "len %lu dst len %lu", dst_offset, len, dst->len); in memcpy_extent_buffer()
5649 dst_off_in_page = (start_offset + dst_offset) & in memcpy_extent_buffer()
5654 dst_i = (start_offset + dst_offset) >> PAGE_CACHE_SHIFT; in memcpy_extent_buffer()
5666 dst_offset += cur; in memcpy_extent_buffer()
5671 void memmove_extent_buffer(struct extent_buffer *dst, unsigned long dst_offset, in memmove_extent_buffer() argument
[all …]
Dctree.c802 struct extent_buffer *src, unsigned long dst_offset, in tree_mod_log_eb_copy() argument
832 tm_list_add[i] = alloc_tree_mod_elem(dst, i + dst_offset, in tree_mod_log_eb_copy()
873 int dst_offset, int src_offset, int nr_items) in tree_mod_log_eb_move() argument
876 ret = tree_mod_log_insert_move(fs_info, dst, dst_offset, src_offset, in tree_mod_log_eb_move()
Dtree-log.c3600 unsigned long dst_offset; in copy_items() local
3641 dst_offset = btrfs_item_ptr_offset(dst_path->nodes[0], in copy_items()
3657 copy_extent_buffer(dst_path->nodes[0], src, dst_offset, in copy_items()
/linux-4.4.14/drivers/gpu/drm/mgag200/
Dmgag200_fb.c28 int src_offset, dst_offset; in mga_dirty_update() local
90 src_offset = dst_offset = i * mfbdev->mfb.base.pitches[0] + (x * bpp); in mga_dirty_update()
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/
Dbcmsdh.c512 unsigned int max_req_sz, orig_offset, dst_offset; in brcmf_sdiod_sglist_rw() local
640 dst_offset = 0; in brcmf_sdiod_sglist_rw()
643 req_sz = min_t(uint, pkt_next->len - dst_offset, in brcmf_sdiod_sglist_rw()
646 dst_data = pkt_next->data + dst_offset; in brcmf_sdiod_sglist_rw()
649 dst_offset += req_sz; in brcmf_sdiod_sglist_rw()
654 if (dst_offset == pkt_next->len) in brcmf_sdiod_sglist_rw()
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
Dcik_sdma.c1346 uint64_t dst_offset, in cik_sdma_emit_copy_buffer() argument
1354 ib->ptr[ib->length_dw++] = lower_32_bits(dst_offset); in cik_sdma_emit_copy_buffer()
1355 ib->ptr[ib->length_dw++] = upper_32_bits(dst_offset); in cik_sdma_emit_copy_buffer()
1370 uint64_t dst_offset, in cik_sdma_emit_fill_buffer() argument
1374 ib->ptr[ib->length_dw++] = lower_32_bits(dst_offset); in cik_sdma_emit_fill_buffer()
1375 ib->ptr[ib->length_dw++] = upper_32_bits(dst_offset); in cik_sdma_emit_fill_buffer()
Dsdma_v2_4.c1351 uint64_t dst_offset, in sdma_v2_4_emit_copy_buffer() argument
1360 ib->ptr[ib->length_dw++] = lower_32_bits(dst_offset); in sdma_v2_4_emit_copy_buffer()
1361 ib->ptr[ib->length_dw++] = upper_32_bits(dst_offset); in sdma_v2_4_emit_copy_buffer()
1376 uint64_t dst_offset, in sdma_v2_4_emit_fill_buffer() argument
1380 ib->ptr[ib->length_dw++] = lower_32_bits(dst_offset); in sdma_v2_4_emit_fill_buffer()
1381 ib->ptr[ib->length_dw++] = upper_32_bits(dst_offset); in sdma_v2_4_emit_fill_buffer()
Dsdma_v3_0.c1512 uint64_t dst_offset, in sdma_v3_0_emit_copy_buffer() argument
1521 ib->ptr[ib->length_dw++] = lower_32_bits(dst_offset); in sdma_v3_0_emit_copy_buffer()
1522 ib->ptr[ib->length_dw++] = upper_32_bits(dst_offset); in sdma_v3_0_emit_copy_buffer()
1537 uint64_t dst_offset, in sdma_v3_0_emit_fill_buffer() argument
1541 ib->ptr[ib->length_dw++] = lower_32_bits(dst_offset); in sdma_v3_0_emit_fill_buffer()
1542 ib->ptr[ib->length_dw++] = upper_32_bits(dst_offset); in sdma_v3_0_emit_fill_buffer()
Damdgpu_ttm.c1012 uint64_t dst_offset, in amdgpu_copy_buffer() argument
1056 amdgpu_emit_copy_buffer(adev, ib, src_offset, dst_offset, in amdgpu_copy_buffer()
1060 dst_offset += cur_size_in_bytes; in amdgpu_copy_buffer()
Damdgpu.h260 uint64_t dst_offset,
275 uint64_t dst_offset,
475 uint64_t dst_offset,
/linux-4.4.14/drivers/gpu/drm/cirrus/
Dcirrus_fbdev.c26 int src_offset, dst_offset; in cirrus_dirty_update() local
87 src_offset = dst_offset = i * afbdev->gfb.base.pitches[0] + (x * bpp); in cirrus_dirty_update()
/linux-4.4.14/drivers/block/
Dps3vram.c251 unsigned int src_offset, unsigned int dst_offset, in ps3vram_upload() argument
259 ps3vram_out_ring(priv, dst_offset); in ps3vram_upload()
283 unsigned int src_offset, unsigned int dst_offset, in ps3vram_download() argument
291 ps3vram_out_ring(priv, XDR_IOIF + dst_offset); in ps3vram_download()
/linux-4.4.14/drivers/gpu/drm/ast/
Dast_fb.c52 int src_offset, dst_offset; in ast_dirty_update() local
114 src_offset = dst_offset = i * afbdev->afb.base.pitches[0] + (x * bpp); in ast_dirty_update()
/linux-4.4.14/fs/ecryptfs/
Dcrypto.c1815 size_t dst_offset = 0; in ecryptfs_encode_for_filename() local
1855 dst[dst_offset++] = portable_filename_chars[dst_block[0]]; in ecryptfs_encode_for_filename()
1856 dst[dst_offset++] = portable_filename_chars[dst_block[1]]; in ecryptfs_encode_for_filename()
1857 dst[dst_offset++] = portable_filename_chars[dst_block[2]]; in ecryptfs_encode_for_filename()
1858 dst[dst_offset++] = portable_filename_chars[dst_block[3]]; in ecryptfs_encode_for_filename()
/linux-4.4.14/drivers/usb/isp1760/
Disp1760-hcd.c240 static void mem_writes8(void __iomem *dst_base, u32 dst_offset, in mem_writes8() argument
245 dst = dst_base + dst_offset; in mem_writes8()
247 if (dst_offset < PAYLOAD_OFFSET) { in mem_writes8()
269 if (dst_offset < PAYLOAD_OFFSET) in mem_writes8()
/linux-4.4.14/drivers/scsi/
Dst.c3958 int src_seg, dst_seg, src_offset = 0, dst_offset; in move_buffer_data() local
3974 for (dst_seg=dst_offset=0; total > 0; ) { in move_buffer_data()
3978 count = min(length - dst_offset, length - src_offset); in move_buffer_data()
3979 memmove(page_address(dpage) + dst_offset, in move_buffer_data()
3986 dst_offset += count; in move_buffer_data()
3987 if (dst_offset >= length) { in move_buffer_data()
3989 dst_offset = 0; in move_buffer_data()
/linux-4.4.14/include/linux/
Dnfs_xdr.h371 __u64 dst_offset; member
/linux-4.4.14/arch/s390/kernel/
Dtime.c1673 static DEVICE_ATTR(dst_offset, 0400, stp_dst_offset_show, NULL);