Home
last modified time | relevance | path

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

123

/Linux-v4.19/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.c2803 u64 src_offset, dst_offset, dst2_offset; in evergreen_dma_cs_parse() local
2828 dst_offset = radeon_get_ib_value(p, idx+1); in evergreen_dma_cs_parse()
2829 dst_offset <<= 8; in evergreen_dma_cs_parse()
2836 dst_offset = radeon_get_ib_value(p, idx+1); in evergreen_dma_cs_parse()
2837 dst_offset |= ((u64)(radeon_get_ib_value(p, idx+2) & 0xff)) << 32; in evergreen_dma_cs_parse()
2847 if ((dst_offset + (count * 4)) > radeon_bo_size(dst_reloc->robj)) { in evergreen_dma_cs_parse()
2849 dst_offset, radeon_bo_size(dst_reloc->robj)); in evergreen_dma_cs_parse()
2870 dst_offset = radeon_get_ib_value(p, idx+1); in evergreen_dma_cs_parse()
2871 dst_offset |= ((u64)(radeon_get_ib_value(p, idx+3) & 0xff)) << 32; in evergreen_dma_cs_parse()
2877 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.c445 uint64_t src_offset, uint64_t dst_offset, in r600_copy_dma() argument
477 radeon_ring_write(ring, dst_offset & 0xfffffffc); in r600_copy_dma()
479 radeon_ring_write(ring, (((upper_32_bits(dst_offset) & 0xff) << 16) | in r600_copy_dma()
482 dst_offset += cur_size_in_dw * 4; in r600_copy_dma()
Dr600_cs.c2385 u64 src_offset, dst_offset; in r600_dma_cs_parse() local
2408 dst_offset = radeon_get_ib_value(p, idx+1); in r600_dma_cs_parse()
2409 dst_offset <<= 8; in r600_dma_cs_parse()
2414 dst_offset = radeon_get_ib_value(p, idx+1); in r600_dma_cs_parse()
2415 dst_offset |= ((u64)(radeon_get_ib_value(p, idx+2) & 0xff)) << 32; in r600_dma_cs_parse()
2421 if ((dst_offset + (count * 4)) > radeon_bo_size(dst_reloc->robj)) { in r600_dma_cs_parse()
2423 dst_offset + (count * 4), radeon_bo_size(dst_reloc->robj)); in r600_dma_cs_parse()
2447 dst_offset = radeon_get_ib_value(p, idx+5); in r600_dma_cs_parse()
2448 dst_offset |= ((u64)(radeon_get_ib_value(p, idx+6) & 0xff)) << 32; in r600_dma_cs_parse()
2458 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,
474 uint64_t src_offset, uint64_t dst_offset,
548 uint64_t src_offset, uint64_t dst_offset,
726 uint64_t src_offset, uint64_t dst_offset,
797 uint64_t src_offset, uint64_t dst_offset,
801 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()
/Linux-v4.19/drivers/misc/mic/scif/
Dscif_dma.c42 s64 dst_offset; member
66 s64 dst_offset; member
865 scif_rma_local_cpu_copy(comp_cb->dst_offset, in scif_rma_completion_cb()
899 offset = work->dst_offset; in scif_rma_list_dma_copy_unaligned()
1115 s64 src_offset = work->src_offset, dst_offset = work->dst_offset; in _scif_rma_list_dma_copy_aligned() local
1136 if (dst_offset == end_dst_offset) { in _scif_rma_list_dma_copy_aligned()
1147 dst_dma_addr = scif_off_to_dma_addr(dst_window, dst_offset, in _scif_rma_list_dma_copy_aligned()
1173 dst_offset += (loop_len - 1); in _scif_rma_list_dma_copy_aligned()
1206 dst_offset += loop_len; in _scif_rma_list_dma_copy_aligned()
1235 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-v4.19/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-v4.19/drivers/gpu/drm/vmwgfx/
Dvmwgfx_blit.c357 u32 dst_offset, in vmw_bo_cpu_blit_line() argument
365 u32 dst_page = dst_offset >> PAGE_SHIFT; in vmw_bo_cpu_blit_line()
367 u32 dst_page_offset = dst_offset & ~PAGE_MASK; in vmw_bo_cpu_blit_line()
415 dst_offset += copy_size; in vmw_bo_cpu_blit_line()
446 u32 dst_offset, u32 dst_stride, in vmw_bo_cpu_blit() argument
456 u32 j, initial_line = dst_offset / dst_stride; in vmw_bo_cpu_blit()
492 diff->line_offset = dst_offset % dst_stride; in vmw_bo_cpu_blit()
493 ret = vmw_bo_cpu_blit_line(&d, dst_offset, src_offset, w); in vmw_bo_cpu_blit()
497 dst_offset += dst_stride; in vmw_bo_cpu_blit()
/Linux-v4.19/drivers/gpu/drm/nouveau/
Dnouveau_bo.c758 u64 dst_offset = mem->vma[1].addr; in nvc0_bo_move_copy() local
773 OUT_RING (chan, upper_32_bits(dst_offset)); in nvc0_bo_move_copy()
774 OUT_RING (chan, lower_32_bits(dst_offset)); in nvc0_bo_move_copy()
784 dst_offset += (PAGE_SIZE * line_count); in nvc0_bo_move_copy()
796 u64 dst_offset = mem->vma[1].addr; in nvc0_bo_move_m2mf() local
809 OUT_RING (chan, upper_32_bits(dst_offset)); in nvc0_bo_move_m2mf()
810 OUT_RING (chan, lower_32_bits(dst_offset)); in nvc0_bo_move_m2mf()
823 dst_offset += (PAGE_SIZE * line_count); in nvc0_bo_move_m2mf()
835 u64 dst_offset = mem->vma[1].addr; in nva3_bo_move_copy() local
850 OUT_RING (chan, upper_32_bits(dst_offset)); in nva3_bo_move_copy()
[all …]
/Linux-v4.19/drivers/media/platform/rockchip/rga/
Drga-hw.c184 struct rga_addr_offset *dst_offset; in rga_cmd_set_trans_info() local
330 dst_offset = rga_lookup_draw_pos(&offsets, src_info.data.rot_mode, in rga_cmd_set_trans_info()
348 dst_offset->y_off; in rga_cmd_set_trans_info()
350 dst_offset->u_off; in rga_cmd_set_trans_info()
352 dst_offset->v_off; in rga_cmd_set_trans_info()
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/
Dsi_dma.c820 uint64_t dst_offset, in si_dma_emit_copy_buffer() argument
825 ib->ptr[ib->length_dw++] = lower_32_bits(dst_offset); in si_dma_emit_copy_buffer()
827 ib->ptr[ib->length_dw++] = upper_32_bits(dst_offset) & 0xff; in si_dma_emit_copy_buffer()
843 uint64_t dst_offset, in si_dma_emit_fill_buffer() argument
848 ib->ptr[ib->length_dw++] = lower_32_bits(dst_offset); in si_dma_emit_fill_buffer()
850 ib->ptr[ib->length_dw++] = upper_32_bits(dst_offset) << 16; in si_dma_emit_fill_buffer()
/Linux-v4.19/sound/core/oss/
Dpcm_plugin.h149 size_t dst_offset,
154 size_t dst_offset,
Dpcm_plugin.c659 int snd_pcm_area_silence(const struct snd_pcm_channel_area *dst_area, size_t dst_offset, in snd_pcm_area_silence() argument
669 dst = dst_area->addr + (dst_area->first + dst_area->step * dst_offset) / 8; in snd_pcm_area_silence()
706 const struct snd_pcm_channel_area *dst_area, size_t dst_offset, in snd_pcm_area_copy() argument
715 return snd_pcm_area_silence(dst_area, dst_offset, samples, format); in snd_pcm_area_copy()
716 dst = dst_area->addr + (dst_area->first + dst_area->step * dst_offset) / 8; in snd_pcm_area_copy()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_acl_ctcam.c29 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-v4.19/drivers/crypto/ccp/
Dccp-dmaengine.c365 unsigned int dst_offset, dst_len; in ccp_create_desc() local
386 dst_offset = 0; in ccp_create_desc()
413 dst_offset = 0; in ccp_create_desc()
432 ccp_pt->dst_dma = sg_dma_address(dst_sg) + dst_offset; in ccp_create_desc()
451 dst_offset += len; in ccp_create_desc()
/Linux-v4.19/drivers/gpu/drm/gma500/
Daccel_2d.c173 uint32_t src_format, uint32_t dst_offset, in psb_accel_2d_copy() argument
211 *buf++ = dst_offset; in psb_accel_2d_copy()
/Linux-v4.19/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()
/Linux-v4.19/fs/nfs/
Dnfs42proc.c677 loff_t dst_offset, loff_t count) in _nfs42_proc_clone() argument
686 .dst_offset = dst_offset, in _nfs42_proc_clone()
722 loff_t src_offset, loff_t dst_offset, loff_t count) in nfs42_proc_clone() argument
756 src_offset, dst_offset, count); in nfs42_proc_clone()
/Linux-v4.19/drivers/crypto/ccree/
Dcc_aead.h92 unsigned int dst_offset; member
/Linux-v4.19/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dbcmsdh.c363 unsigned int max_req_sz, orig_offset, dst_offset; in brcmf_sdiod_sglist_rw() local
491 dst_offset = 0; in brcmf_sdiod_sglist_rw()
494 req_sz = min_t(uint, pkt_next->len - dst_offset, in brcmf_sdiod_sglist_rw()
497 dst_data = pkt_next->data + dst_offset; in brcmf_sdiod_sglist_rw()
500 dst_offset += req_sz; in brcmf_sdiod_sglist_rw()
505 if (dst_offset == pkt_next->len) in brcmf_sdiod_sglist_rw()
/Linux-v4.19/crypto/
Daf_alg.c590 size_t dst_offset) in af_alg_pull_tsgl() argument
615 if (dst_offset >= plen) { in af_alg_pull_tsgl()
617 dst_offset -= plen; in af_alg_pull_tsgl()
622 plen - dst_offset, in af_alg_pull_tsgl()
623 sg[i].offset + dst_offset); in af_alg_pull_tsgl()
624 dst_offset = 0; in af_alg_pull_tsgl()

123