/openbmc/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()
|
/openbmc/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 | 2803 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() 2870 dst_offset = radeon_get_ib_value(p, idx+1); in evergreen_dma_cs_parse() 2909 dst_offset <<= 8; in evergreen_dma_cs_parse() 3010 dst_offset <<= 8; in evergreen_dma_cs_parse() 3072 dst_offset <<= 8; in evergreen_dma_cs_parse() 3120 dst_offset <<= 8; in evergreen_dma_cs_parse() 3159 dst_offset <<= 8; 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_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()
|
H A D | r600_cs.c | 2383 u64 src_offset, dst_offset; in r600_dma_cs_parse() local 2406 dst_offset = radeon_get_ib_value(p, idx+1); in r600_dma_cs_parse() 2407 dst_offset <<= 8; in r600_dma_cs_parse() 2412 dst_offset = radeon_get_ib_value(p, idx+1); in r600_dma_cs_parse() 2421 dst_offset + (count * 4), radeon_bo_size(dst_reloc->robj)); in r600_dma_cs_parse() 2445 dst_offset = radeon_get_ib_value(p, idx+5); in r600_dma_cs_parse() 2456 dst_offset = radeon_get_ib_value(p, idx+1); in r600_dma_cs_parse() 2457 dst_offset <<= 8; in r600_dma_cs_parse() 2465 dst_offset = radeon_get_ib_value(p, idx+1); in r600_dma_cs_parse() 2476 dst_offset = radeon_get_ib_value(p, idx+1); in r600_dma_cs_parse() [all …]
|
/openbmc/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() 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() 542 u32 dst_offset, u32 dst_stride, in vmw_bo_cpu_blit() argument 554 u32 j, initial_line = dst_offset / dst_stride; in vmw_bo_cpu_blit() 625 diff->line_offset = dst_offset % dst_stride; in vmw_bo_cpu_blit() [all …]
|
/openbmc/linux/drivers/staging/media/atomisp/pci/isp/kernels/sdis/sdis_2/ |
H A D | ia_css_sdis2.host.c | 210 unsigned int src_offset = 0, dst_offset = 0; in ia_css_translate_dvs2_statistics() local 246 memcpy(host_stats->hor_prod.odd_real + dst_offset, in ia_css_translate_dvs2_statistics() 248 memcpy(host_stats->hor_prod.odd_imag + dst_offset, in ia_css_translate_dvs2_statistics() 250 memcpy(host_stats->hor_prod.even_real + dst_offset, in ia_css_translate_dvs2_statistics() 252 memcpy(host_stats->hor_prod.even_imag + dst_offset, in ia_css_translate_dvs2_statistics() 256 memcpy(host_stats->ver_prod.odd_real + dst_offset, in ia_css_translate_dvs2_statistics() 258 memcpy(host_stats->ver_prod.odd_imag + dst_offset, in ia_css_translate_dvs2_statistics() 260 memcpy(host_stats->ver_prod.even_real + dst_offset, in ia_css_translate_dvs2_statistics() 262 memcpy(host_stats->ver_prod.even_imag + dst_offset, in ia_css_translate_dvs2_statistics() 266 dst_offset += host_stats->grid.aligned_width; in ia_css_translate_dvs2_statistics()
|
/openbmc/linux/drivers/gpu/drm/qxl/ |
H A D | qxl_ioctl.c | 74 uint32_t dst_offset; member 89 reloc_page = qxl_bo_kmap_atomic_page(qdev, info->dst_bo, info->dst_offset & PAGE_MASK); in apply_reloc() 90 *(uint64_t *)(reloc_page + (info->dst_offset & ~PAGE_MASK)) = qxl_bo_physical_address(qdev, in apply_reloc() 105 reloc_page = qxl_bo_kmap_atomic_page(qdev, info->dst_bo, info->dst_offset & PAGE_MASK); in apply_surf_reloc() 106 *(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()
|
/openbmc/linux/drivers/gpu/drm/i915/gt/ |
H A D | intel_migrate.c | 531 u32 dst_offset, u8 dst_access, in emit_copy_ccs() argument 569 *cs++ = dst_offset; in emit_copy_ccs() 597 *cs++ = dst_offset; in emit_copy() 608 *cs++ = dst_offset; in emit_copy() 619 *cs++ = dst_offset; in emit_copy() 692 u32 src_offset, dst_offset; in intel_context_migrate_copy() local 740 dst_offset = CHUNK_SZ; in intel_context_migrate_copy() 743 dst_offset = 0; in intel_context_migrate_copy() 747 dst_offset = 2 * CHUNK_SZ; in intel_context_migrate_copy() 793 dst_offset, len); in intel_context_migrate_copy() [all …]
|
/openbmc/linux/drivers/gpu/drm/tiny/ |
H A D | gm12u320.c | 256 int block, dst_offset, len, remain, ret, x1, x2, y1, y2; in gm12u320_copy_fb_to_blocks() local 287 dst_offset = (y1 * GM12U320_REAL_WIDTH + x1) * 3; in gm12u320_copy_fb_to_blocks() 288 block = dst_offset / DATA_BLOCK_CONTENT_SIZE; in gm12u320_copy_fb_to_blocks() 289 dst_offset %= DATA_BLOCK_CONTENT_SIZE; in gm12u320_copy_fb_to_blocks() 291 if ((dst_offset + len) > DATA_BLOCK_CONTENT_SIZE) { in gm12u320_copy_fb_to_blocks() 292 remain = dst_offset + len - DATA_BLOCK_CONTENT_SIZE; in gm12u320_copy_fb_to_blocks() 293 len = DATA_BLOCK_CONTENT_SIZE - dst_offset; in gm12u320_copy_fb_to_blocks() 296 dst_offset += DATA_BLOCK_HEADER_SIZE; in gm12u320_copy_fb_to_blocks() 300 gm12u320->data_buf[block] + dst_offset, in gm12u320_copy_fb_to_blocks() 305 dst_offset = DATA_BLOCK_HEADER_SIZE; in gm12u320_copy_fb_to_blocks() [all …]
|
/openbmc/linux/include/linux/ |
H A D | iosys-map.h | 286 static inline void iosys_map_memcpy_to(struct iosys_map *dst, size_t dst_offset, in iosys_map_memcpy_to() argument 290 memcpy_toio(dst->vaddr_iomem + dst_offset, src, len); in iosys_map_memcpy_to() 292 memcpy(dst->vaddr + dst_offset, src, len); in iosys_map_memcpy_to()
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_sdma.h | 132 uint64_t dst_offset, 148 uint64_t dst_offset,
|
H A D | si_dma.c | 777 uint64_t dst_offset, in si_dma_emit_copy_buffer() argument 783 ib->ptr[ib->length_dw++] = lower_32_bits(dst_offset); in si_dma_emit_copy_buffer() 785 ib->ptr[ib->length_dw++] = upper_32_bits(dst_offset) & 0xff; in si_dma_emit_copy_buffer() 801 uint64_t dst_offset, in si_dma_emit_fill_buffer() argument 806 ib->ptr[ib->length_dw++] = lower_32_bits(dst_offset); in si_dma_emit_fill_buffer() 808 ib->ptr[ib->length_dw++] = upper_32_bits(dst_offset) << 16; in si_dma_emit_fill_buffer()
|
/openbmc/linux/drivers/media/platform/rockchip/rga/ |
H A D | rga-hw.c | 176 struct rga_addr_offset *dst_offset; in rga_cmd_set_trans_info() local 325 dst_offset = rga_lookup_draw_pos(&offsets, src_info.data.rot_mode, in rga_cmd_set_trans_info() 343 dst_offset->y_off; in rga_cmd_set_trans_info() 345 dst_offset->u_off; in rga_cmd_set_trans_info() 347 dst_offset->v_off; in rga_cmd_set_trans_info()
|
/openbmc/qemu/hw/display/ |
H A D | ati_2d.c | 72 s->regs.dst_offset : s->regs.default_offset); in ati_2d_blt() 86 s->regs.src_offset, s->regs.dst_offset, s->regs.default_offset, in ati_2d_blt() 178 s->regs.dst_offset + in ati_2d_blt() 232 s->regs.dst_offset + in ati_2d_blt()
|
/openbmc/linux/fs/btrfs/ |
H A D | extent_io.h | 268 unsigned long dst_offset, unsigned long src_offset, 271 unsigned long dst_offset, unsigned long src_offset, 274 unsigned long dst_offset, unsigned long src_offset,
|
/openbmc/qemu/block/ |
H A D | raw-format.c | 576 BdrvChild *dst, int64_t dst_offset, in raw_co_copy_range_from() argument 586 return bdrv_co_copy_range_from(bs->file, src_offset, dst, dst_offset, in raw_co_copy_range_from() 593 BdrvChild *dst, int64_t dst_offset, in raw_co_copy_range_to() argument 599 ret = raw_adjust_offset(bs, &dst_offset, bytes, true); in raw_co_copy_range_to() 603 return bdrv_co_copy_range_to(src, src_offset, bs->file, dst_offset, bytes, in raw_co_copy_range_to()
|
/openbmc/qemu/include/block/ |
H A D | block_int-io.h | 118 BdrvChild *dst, int64_t dst_offset, 123 BdrvChild *dst, int64_t dst_offset,
|
/openbmc/linux/sound/core/oss/ |
H A D | pcm_plugin.h | 134 size_t dst_offset, 139 size_t dst_offset,
|