Home
last modified time | relevance | path

Searched refs:src_offset (Results 1 – 25 of 86) sorted by relevance

1234

/linux-6.6.21/drivers/gpu/drm/nouveau/
Dnouveau_bo85b5.c45 u64 src_offset = mem->vma[0].addr; in nva3_bo_move_copy() local
58 PUSH_NVSQ(push, NV85B5, 0x030c, upper_32_bits(src_offset), in nva3_bo_move_copy()
59 0x0310, lower_32_bits(src_offset), in nva3_bo_move_copy()
69 src_offset += (PAGE_SIZE * line_count); in nva3_bo_move_copy()
Dnouveau_bo90b5.c38 u64 src_offset = mem->vma[0].addr; in nvc0_bo_move_copy() local
51 PUSH_NVSQ(push, NV90B5, 0x030c, upper_32_bits(src_offset), in nvc0_bo_move_copy()
52 0x0310, lower_32_bits(src_offset), in nvc0_bo_move_copy()
62 src_offset += (PAGE_SIZE * line_count); in nvc0_bo_move_copy()
Dnouveau_bo9039.c43 u64 src_offset = mem->vma[0].addr; in nvc0_bo_move_m2mf() local
62 NVVAL(NV9039, OFFSET_IN_UPPER, VALUE, upper_32_bits(src_offset)), in nvc0_bo_move_m2mf()
64 OFFSET_IN, lower_32_bits(src_offset), in nvc0_bo_move_m2mf()
79 src_offset += (PAGE_SIZE * line_count); in nvc0_bo_move_m2mf()
Dnouveau_bo5039.c45 u64 src_offset = mem->vma[0].addr; in nv50_bo_move_m2mf() local
107 NVVAL(NV5039, OFFSET_IN_UPPER, VALUE, upper_32_bits(src_offset)), in nv50_bo_move_m2mf()
112 PUSH_MTHD(push, NV5039, OFFSET_IN, lower_32_bits(src_offset), in nv50_bo_move_m2mf()
129 src_offset += amount; in nv50_bo_move_m2mf()
Dnouveau_bo0039.c52 u32 src_offset = old_reg->start << PAGE_SHIFT; in nv04_bo_move_m2mf() local
73 PUSH_MTHD(push, NV039, OFFSET_IN, src_offset, in nv04_bo_move_m2mf()
89 src_offset += (PAGE_SIZE * line_count); in nv04_bo_move_m2mf()
/linux-6.6.21/drivers/staging/media/atomisp/pci/isp/kernels/sdis/sdis_2/
Dia_css_sdis2.host.c210 unsigned int src_offset = 0, dst_offset = 0; in ia_css_translate_dvs2_statistics() local
247 &htemp_ptr[0 * table_size + src_offset], size_bytes); in ia_css_translate_dvs2_statistics()
249 &htemp_ptr[1 * table_size + src_offset], size_bytes); in ia_css_translate_dvs2_statistics()
251 &htemp_ptr[2 * table_size + src_offset], size_bytes); in ia_css_translate_dvs2_statistics()
253 &htemp_ptr[3 * table_size + src_offset], size_bytes); in ia_css_translate_dvs2_statistics()
257 &vtemp_ptr[0 * table_size + src_offset], size_bytes); in ia_css_translate_dvs2_statistics()
259 &vtemp_ptr[1 * table_size + src_offset], size_bytes); in ia_css_translate_dvs2_statistics()
261 &vtemp_ptr[2 * table_size + src_offset], size_bytes); in ia_css_translate_dvs2_statistics()
263 &vtemp_ptr[3 * table_size + src_offset], size_bytes); in ia_css_translate_dvs2_statistics()
265 src_offset += table_width; /* aligned table width */ in ia_css_translate_dvs2_statistics()
/linux-6.6.21/drivers/gpu/drm/radeon/
Drv770_dma.c43 uint64_t src_offset, uint64_t dst_offset, in rv770_copy_dma() argument
76 radeon_ring_write(ring, src_offset & 0xfffffffc); in rv770_copy_dma()
78 radeon_ring_write(ring, upper_32_bits(src_offset) & 0xff); in rv770_copy_dma()
79 src_offset += cur_size_in_dw * 4; in rv770_copy_dma()
Devergreen_dma.c107 uint64_t src_offset, in evergreen_copy_dma() argument
141 radeon_ring_write(ring, src_offset & 0xfffffffc); in evergreen_copy_dma()
143 radeon_ring_write(ring, upper_32_bits(src_offset) & 0xff); in evergreen_copy_dma()
144 src_offset += cur_size_in_dw * 4; in evergreen_copy_dma()
Dsi_dma.c231 uint64_t src_offset, uint64_t dst_offset, in si_copy_dma() argument
264 radeon_ring_write(ring, lower_32_bits(src_offset)); in si_copy_dma()
266 radeon_ring_write(ring, upper_32_bits(src_offset) & 0xff); in si_copy_dma()
267 src_offset += cur_size_in_bytes; in si_copy_dma()
Devergreen_cs.c2803 u64 src_offset, dst_offset, dst2_offset; in evergreen_dma_cs_parse() local
2868 src_offset = radeon_get_ib_value(p, idx+2); in evergreen_dma_cs_parse()
2869 src_offset |= ((u64)(radeon_get_ib_value(p, idx+4) & 0xff)) << 32; in evergreen_dma_cs_parse()
2872 if ((src_offset + (count * 4)) > radeon_bo_size(src_reloc->robj)) { in evergreen_dma_cs_parse()
2874 src_offset + (count * 4), radeon_bo_size(src_reloc->robj)); in evergreen_dma_cs_parse()
2893 src_offset = radeon_get_ib_value(p, idx+1); in evergreen_dma_cs_parse()
2894 src_offset <<= 8; in evergreen_dma_cs_parse()
2903 src_offset = radeon_get_ib_value(p, idx+7); in evergreen_dma_cs_parse()
2904 src_offset |= ((u64)(radeon_get_ib_value(p, idx+8) & 0xff)) << 32; in evergreen_dma_cs_parse()
2912 if ((src_offset + (count * 4)) > radeon_bo_size(src_reloc->robj)) { in evergreen_dma_cs_parse()
[all …]
Dr600_dma.c444 uint64_t src_offset, uint64_t dst_offset, in r600_copy_dma() argument
477 radeon_ring_write(ring, src_offset & 0xfffffffc); in r600_copy_dma()
479 (upper_32_bits(src_offset) & 0xff))); in r600_copy_dma()
480 src_offset += cur_size_in_dw * 4; in r600_copy_dma()
/linux-6.6.21/crypto/async_tx/
Dasync_memcpy.c33 unsigned int src_offset, size_t len, in async_memcpy() argument
45 if (unmap && is_dma_copy_aligned(device, src_offset, dest_offset, len)) { in async_memcpy()
54 unmap->addr[0] = dma_map_page(device->dev, src, src_offset, len, in async_memcpy()
79 src_buf = kmap_atomic(src) + src_offset; in async_memcpy()
/linux-6.6.21/drivers/gpu/drm/vc4/
Dvc4_validate.c496 uint32_t src_offset = 0; in vc4_validate_bin_cl() local
501 while (src_offset < len) { in vc4_validate_bin_cl()
503 void *src_pkt = unvalidated + src_offset; in vc4_validate_bin_cl()
509 src_offset, cmd); in vc4_validate_bin_cl()
516 src_offset, cmd); in vc4_validate_bin_cl()
520 if (src_offset + info->len > len) { in vc4_validate_bin_cl()
523 src_offset, cmd, info->name, info->len, in vc4_validate_bin_cl()
524 src_offset + len); in vc4_validate_bin_cl()
535 src_offset, cmd, info->name); in vc4_validate_bin_cl()
539 src_offset += info->len; in vc4_validate_bin_cl()
[all …]
/linux-6.6.21/drivers/gpu/drm/vmwgfx/
Dvmwgfx_blit.c359 u32 src_offset, in vmw_bo_cpu_blit_line() argument
367 u32 src_page = src_offset >> PAGE_SHIFT; in vmw_bo_cpu_blit_line()
369 u32 src_page_offset = src_offset & ~PAGE_MASK; in vmw_bo_cpu_blit_line()
417 src_offset += copy_size; in vmw_bo_cpu_blit_line()
450 u32 src_offset, u32 src_stride, in vmw_bo_cpu_blit() argument
495 ret = vmw_bo_cpu_blit_line(&d, dst_offset, src_offset, w); in vmw_bo_cpu_blit()
500 src_offset += src_stride; in vmw_bo_cpu_blit()
/linux-6.6.21/drivers/gpu/drm/i915/gt/
Dintel_migrate.c532 u32 src_offset, u8 src_access, int size) in emit_copy_ccs() argument
566 *cs++ = src_offset; in emit_copy_ccs()
582 u32 dst_offset, u32 src_offset, int size) in emit_copy() argument
601 *cs++ = src_offset; in emit_copy()
612 *cs++ = src_offset; in emit_copy()
621 *cs++ = src_offset; in emit_copy()
692 u32 src_offset, dst_offset; in intel_context_migrate_copy() local
739 src_offset = 0; in intel_context_migrate_copy()
742 src_offset = 0; in intel_context_migrate_copy()
745 src_offset = CHUNK_SZ; in intel_context_migrate_copy()
[all …]
/linux-6.6.21/include/linux/
Dasync_tx.h167 struct page **src_list, unsigned int *src_offset,
177 struct page **src_list, unsigned int *src_offset,
183 unsigned int src_offset, size_t len,
Diosys-map.h307 size_t src_offset, size_t len) in iosys_map_memcpy_from() argument
310 memcpy_fromio(dst, src->vaddr_iomem + src_offset, len); in iosys_map_memcpy_from()
312 memcpy(dst, src->vaddr + src_offset, len); in iosys_map_memcpy_from()
/linux-6.6.21/drivers/gpu/drm/qxl/
Dqxl_ioctl.c76 int src_offset; member
92 info->src_offset); in apply_reloc()
241 reloc_info[i].src_offset = reloc.src_offset; in qxl_process_single_command()
244 reloc_info[i].src_offset = 0; in qxl_process_single_command()
/linux-6.6.21/tools/testing/selftests/sgx/
Dload.c182 off_t src_offset; in encl_load() local
270 src_offset = phdr->p_offset & PAGE_MASK; in encl_load()
271 encl->src = encl->bin + src_offset; in encl_load()
282 seg->offset = (phdr->p_offset & PAGE_MASK) - src_offset; in encl_load()
/linux-6.6.21/fs/btrfs/
Dextent_io.h268 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,
/linux-6.6.21/include/uapi/linux/
Dfs.h56 __u64 src_offset; member
88 __u64 src_offset; /* in - start of extent in source */ member
/linux-6.6.21/tools/include/uapi/linux/
Dfs.h56 __u64 src_offset; member
88 __u64 src_offset; /* in - start of extent in source */ member
/linux-6.6.21/drivers/crypto/ccp/
Dccp-dmaengine.c366 unsigned int src_offset, src_len; in ccp_create_desc() local
385 src_offset = 0; in ccp_create_desc()
401 src_offset = 0; in ccp_create_desc()
433 ccp_pt->src_dma = sg_dma_address(src_sg) + src_offset; in ccp_create_desc()
450 src_offset += len; in ccp_create_desc()
/linux-6.6.21/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dbcmsdh.c383 unsigned int max_req_sz, src_offset, dst_offset; in brcmf_sdiod_sglist_rw() local
483 src_offset = 0; in brcmf_sdiod_sglist_rw()
492 if (req_sz > src->len - src_offset) in brcmf_sdiod_sglist_rw()
493 req_sz = src->len - src_offset; in brcmf_sdiod_sglist_rw()
495 orig_data = src->data + src_offset; in brcmf_sdiod_sglist_rw()
499 src_offset += req_sz; in brcmf_sdiod_sglist_rw()
500 if (src_offset == src->len) { in brcmf_sdiod_sglist_rw()
501 src_offset = 0; in brcmf_sdiod_sglist_rw()
/linux-6.6.21/drivers/usb/isp1760/
Disp1760-hcd.c319 static void bank_reads8(void __iomem *src_base, u32 src_offset, u32 bank_addr, in bank_reads8() argument
327 src = src_base + (bank_addr | src_offset); in bank_reads8()
329 if (src_offset < PAYLOAD_OFFSET) { in bank_reads8()
351 if (src_offset < PAYLOAD_OFFSET) in bank_reads8()
366 static void isp1760_mem_read(struct usb_hcd *hcd, u32 src_offset, void *dst, in isp1760_mem_read() argument
371 isp1760_reg_write(priv->regs, ISP176x_HC_MEMORY, src_offset); in isp1760_mem_read()
374 bank_reads8(priv->base, src_offset, ISP_BANK_0, dst, bytes); in isp1760_mem_read()
405 static void mem_read(struct usb_hcd *hcd, u32 src_offset, __u32 *dst, in mem_read() argument
411 return isp1760_mem_read(hcd, src_offset, (u16 *)dst, bytes); in mem_read()
413 isp1763_mem_read(hcd, (u16)src_offset, (u16 *)dst, bytes); in mem_read()
[all …]

1234