/linux/mm/ |
H A D | userfaultfd.c | 151 unsigned long dst_addr) in mfill_file_over_size() argument 160 offset = linear_page_index(dst_vma, dst_addr); in mfill_file_over_size() 173 unsigned long dst_addr, struct page *page, in mfill_atomic_install_pte() argument 195 dst_pte = pte_offset_map_lock(dst_mm, dst_pmd, dst_addr, &ptl); in mfill_atomic_install_pte() 199 if (mfill_file_over_size(dst_vma, dst_addr)) { in mfill_atomic_install_pte() 219 folio_add_new_anon_rmap(folio, dst_vma, dst_addr, RMAP_EXCLUSIVE); in mfill_atomic_install_pte() 229 set_pte_at(dst_mm, dst_addr, dst_pte, _dst_pte); in mfill_atomic_install_pte() 232 update_mmu_cache(dst_vma, dst_addr, dst_pte); in mfill_atomic_install_pte() 242 unsigned long dst_addr, in mfill_atomic_pte_copy() argument 254 dst_addr, false); in mfill_atomic_pte_copy() [all …]
|
/linux/arch/sh/kernel/ |
H A D | io_trapped.c | 184 unsigned long dst_addr, int dst_len) in copy_word() argument 205 __raw_writeb(tmp, dst_addr); in copy_word() 208 __raw_writew(tmp, dst_addr); in copy_word() 211 __raw_writel(tmp, dst_addr); in copy_word() 214 __raw_writeq(tmp, dst_addr); in copy_word() 247 unsigned long dst_addr = (unsigned long)dst; in to_device() local 250 pr_debug("trapped io write 0x%08lx (%ld)\n", dst_addr, cnt); in to_device() 251 tiop = lookup_tiop(dst_addr); in to_device() 254 dst_addr = lookup_address(tiop, dst_addr); in to_device() 255 if (!dst_addr) in to_device() [all …]
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_lsdma.c | 48 uint64_t dst_addr, in amdgpu_lsdma_copy_mem() argument 59 ret = adev->lsdma.funcs->copy_mem(adev, src_addr, dst_addr, current_copy_size); in amdgpu_lsdma_copy_mem() 63 dst_addr += current_copy_size; in amdgpu_lsdma_copy_mem() 71 uint64_t dst_addr, in amdgpu_lsdma_fill_mem() argument 83 ret = adev->lsdma.funcs->fill_mem(adev, dst_addr, data, current_fill_size); in amdgpu_lsdma_fill_mem() 86 dst_addr += current_fill_size; in amdgpu_lsdma_fill_mem()
|
H A D | amdgpu_lsdma.h | 33 uint64_t dst_addr, uint64_t size); 34 int (*fill_mem)(struct amdgpu_device *adev, uint64_t dst_addr, 40 uint64_t dst_addr, uint64_t mem_size); 41 int amdgpu_lsdma_fill_mem(struct amdgpu_device *adev, uint64_t dst_addr,
|
H A D | lsdma_v7_0.c | 41 uint64_t dst_addr, in lsdma_v7_0_copy_mem() argument 50 WREG32_SOC15(LSDMA, 0, regLSDMA_PIO_DST_ADDR_LO, lower_32_bits(dst_addr)); in lsdma_v7_0_copy_mem() 51 WREG32_SOC15(LSDMA, 0, regLSDMA_PIO_DST_ADDR_HI, upper_32_bits(dst_addr)); in lsdma_v7_0_copy_mem() 73 uint64_t dst_addr, in lsdma_v7_0_fill_mem() argument 82 WREG32_SOC15(LSDMA, 0, regLSDMA_PIO_DST_ADDR_LO, lower_32_bits(dst_addr)); in lsdma_v7_0_fill_mem() 83 WREG32_SOC15(LSDMA, 0, regLSDMA_PIO_DST_ADDR_HI, upper_32_bits(dst_addr)); in lsdma_v7_0_fill_mem()
|
H A D | lsdma_v6_0.c | 41 uint64_t dst_addr, in lsdma_v6_0_copy_mem() argument 50 WREG32_SOC15(LSDMA, 0, regLSDMA_PIO_DST_ADDR_LO, lower_32_bits(dst_addr)); in lsdma_v6_0_copy_mem() 51 WREG32_SOC15(LSDMA, 0, regLSDMA_PIO_DST_ADDR_HI, upper_32_bits(dst_addr)); in lsdma_v6_0_copy_mem() 73 uint64_t dst_addr, in lsdma_v6_0_fill_mem() argument 82 WREG32_SOC15(LSDMA, 0, regLSDMA_PIO_DST_ADDR_LO, lower_32_bits(dst_addr)); in lsdma_v6_0_fill_mem() 83 WREG32_SOC15(LSDMA, 0, regLSDMA_PIO_DST_ADDR_HI, upper_32_bits(dst_addr)); in lsdma_v6_0_fill_mem()
|
/linux/drivers/crypto/intel/iaa/ |
H A D | iaa_crypto_main.c | 1013 dma_addr_t *src_addr, dma_addr_t *dst_addr); 1018 dma_addr_t dst_addr, unsigned int *dlen, 1049 ctx->src_addr, ctx->dst_addr); in iaa_desc_complete() 1085 dma_addr_t src_addr, dst_addr; in iaa_desc_complete() local 1090 ret = iaa_remap_for_verify(dev, iaa_wq, ctx->req, &src_addr, &dst_addr); in iaa_desc_complete() 1098 ctx->req->slen, dst_addr, &ctx->req->dlen, in iaa_desc_complete() 1128 dma_addr_t dst_addr, unsigned int *dlen, in iaa_compress() argument 1167 desc->dst_addr = (u64)dst_addr; in iaa_compress() 1179 idxd_desc->crypto.dst_addr = dst_addr; in iaa_compress() 1185 src_addr, dst_addr); in iaa_compress() [all …]
|
/linux/drivers/video/fbdev/via/ |
H A D | accel.c | 40 u8 dst_bpp, u32 dst_addr, u32 dst_pitch, u32 dst_x, u32 dst_y, in hw_bitblt_1() argument 52 if (op != VIA_BITBLT_FILL && !src_mem && src_addr == dst_addr) { in hw_bitblt_1() 127 if (dst_addr & 0xE0000007) { in hw_bitblt_1() 129 "address %X\n", dst_addr); in hw_bitblt_1() 132 tmp = dst_addr >> 3; in hw_bitblt_1() 173 u8 dst_bpp, u32 dst_addr, u32 dst_pitch, u32 dst_x, u32 dst_y, in hw_bitblt_2() argument 185 if (op != VIA_BITBLT_FILL && !src_mem && src_addr == dst_addr) { in hw_bitblt_2() 244 if (dst_addr & 0xE0000007) { in hw_bitblt_2() 246 "address %X\n", dst_addr); in hw_bitblt_2() 249 tmp = dst_addr >> 3; in hw_bitblt_2()
|
/linux/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_blit.c | 339 u8 *dst_addr; member 372 bool unmap_dst = d->dst_addr && dst_page != d->mapped_dst; in vmw_bo_cpu_blit_line() 385 kunmap_atomic(d->dst_addr); in vmw_bo_cpu_blit_line() 386 d->dst_addr = NULL; in vmw_bo_cpu_blit_line() 389 if (!d->dst_addr) { in vmw_bo_cpu_blit_line() 393 d->dst_addr = in vmw_bo_cpu_blit_line() 396 if (!d->dst_addr) in vmw_bo_cpu_blit_line() 414 diff->do_cpy(diff, d->dst_addr + dst_page_offset, in vmw_bo_cpu_blit_line() 613 d.dst_addr = NULL; in vmw_bo_cpu_blit() 636 if (d.dst_addr) in vmw_bo_cpu_blit() [all …]
|
/linux/drivers/pci/endpoint/functions/ |
H A D | pci-epf-test.c | 71 u64 dst_addr; member 142 sconf.dst_addr = dma_remote; in pci_epf_test_data_transfer() 322 void __iomem *dst_addr; in pci_epf_test_copy() local 346 dst_addr = pci_epc_mem_alloc_addr(epc, &dst_phys_addr, reg->size); in pci_epf_test_copy() 347 if (!dst_addr) { in pci_epf_test_copy() 355 reg->dst_addr, reg->size); in pci_epf_test_copy() 385 memcpy_toio(dst_addr, buf, reg->size); in pci_epf_test_copy() 396 pci_epc_mem_free_addr(epc, dst_phys_addr, dst_addr, reg->size); in pci_epf_test_copy() 500 void __iomem *dst_addr; in pci_epf_test_write() local 510 dst_addr = pci_epc_mem_alloc_addr(epc, &phys_addr, reg->size); in pci_epf_test_write() [all …]
|
H A D | pci-epf-mhi.c | 320 dma_addr_t dst_addr; in pci_epf_mhi_edma_read() local 337 dst_addr = dma_map_single(dma_dev, buf_info->dev_addr, buf_info->size, in pci_epf_mhi_edma_read() 339 ret = dma_mapping_error(dma_dev, dst_addr); in pci_epf_mhi_edma_read() 345 desc = dmaengine_prep_slave_single(chan, dst_addr, buf_info->size, in pci_epf_mhi_edma_read() 373 dma_unmap_single(dma_dev, dst_addr, buf_info->size, DMA_FROM_DEVICE); in pci_epf_mhi_edma_read() 400 config.dst_addr = buf_info->host_addr; in pci_epf_mhi_edma_write() 497 dma_addr_t dst_addr; in pci_epf_mhi_edma_read_async() local 511 dst_addr = dma_map_single(dma_dev, buf_info->dev_addr, buf_info->size, in pci_epf_mhi_edma_read_async() 513 ret = dma_mapping_error(dma_dev, dst_addr); in pci_epf_mhi_edma_read_async() 519 desc = dmaengine_prep_slave_single(chan, dst_addr, buf_info->size, in pci_epf_mhi_edma_read_async() [all …]
|
/linux/arch/arm64/mm/ |
H A D | trans_pgd.c | 237 phys_addr_t dst_addr = virt_to_phys(page); in trans_pgd_idmap_page() local 238 unsigned long pfn = __phys_to_pfn(dst_addr); in trans_pgd_idmap_page() 239 int max_msb = (dst_addr & GENMASK(52, 48)) ? 51 : 47; in trans_pgd_idmap_page() 244 dst_addr &= PAGE_MASK; in trans_pgd_idmap_page() 256 index = (dst_addr & level_mask) >> level_lsb; in trans_pgd_idmap_page()
|
/linux/include/uapi/rdma/ |
H A D | rdma_user_cm.h | 127 struct sockaddr_in6 dst_addr; member 139 struct __kernel_sockaddr_storage dst_addr; member 163 struct sockaddr_in6 dst_addr; member 179 struct __kernel_sockaddr_storage dst_addr; member
|
/linux/drivers/dma/stm32/ |
H A D | stm32-mdma.c | 481 phys_addr_t src_addr, dst_addr; in stm32_mdma_set_xfer_param() local 544 dst_addr = chan->dma_config.dst_addr; in stm32_mdma_set_xfer_param() 548 dst_addr_width = stm32_mdma_get_max_width(dst_addr, buf_len, in stm32_mdma_set_xfer_param() 593 dst_addr); in stm32_mdma_set_xfer_param() 599 stm32_mdma_write(dmadev, STM32_MDMA_CDAR(chan->id), dst_addr); in stm32_mdma_set_xfer_param() 690 dma_addr_t src_addr, dma_addr_t dst_addr, in stm32_mdma_setup_hwdesc() argument 706 hwdesc->cdar = dst_addr; in stm32_mdma_setup_hwdesc() 733 dma_addr_t src_addr, dst_addr; in stm32_mdma_setup_xfer() local 748 dst_addr = dma_config->dst_addr; in stm32_mdma_setup_xfer() 750 dst_addr += m2m_hw_period; in stm32_mdma_setup_xfer() [all …]
|
/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_protocol_type.h | 138 u8 dst_addr[ETH_ALEN]; member 147 u8 dst_addr[ETH_ALEN]; member 167 __be32 dst_addr; member 176 u8 dst_addr[ICE_IPV6_ADDR_LENGTH]; member
|
/linux/drivers/dma/ |
H A D | fsl-edma-common.c | 301 addr = fsl_chan->cfg.dst_addr; in fsl_edma_prep_slave_dma() 582 dma_addr_t src_addr, dst_addr, last_sg; in fsl_edma_prep_dma_cyclic() local 623 dst_addr = fsl_chan->dma_dev_addr; in fsl_edma_prep_dma_cyclic() 628 dst_addr = dma_buf_next; in fsl_edma_prep_dma_cyclic() 634 dst_addr = fsl_chan->cfg.dst_addr; in fsl_edma_prep_dma_cyclic() 639 fsl_edma_fill_tcd(fsl_chan, fsl_desc->tcd[i].vtcd, src_addr, dst_addr, in fsl_edma_prep_dma_cyclic() 656 dma_addr_t src_addr, dst_addr, last_sg; in fsl_edma_prep_slave_sg() local 688 dst_addr = fsl_chan->dma_dev_addr; in fsl_edma_prep_slave_sg() 693 dst_addr = sg_dma_address(sg); in fsl_edma_prep_slave_sg() 699 dst_addr = fsl_chan->cfg.dst_addr; in fsl_edma_prep_slave_sg() [all …]
|
/linux/sound/soc/sprd/ |
H A D | sprd-pcm-compress.c | 147 dma_addr_t src_addr, dst_addr; in sprd_platform_compr_dma_config() local 175 dst_addr = dma_params->dev_phys[channel]; in sprd_platform_compr_dma_config() 187 dst_addr = stream->iram_buffer.addr; in sprd_platform_compr_dma_config() 206 config.dst_addr = dst_addr; in sprd_platform_compr_dma_config() 209 config.src_addr = dst_addr; in sprd_platform_compr_dma_config() 210 config.dst_addr = src_addr; in sprd_platform_compr_dma_config() 217 sg_dma_address(sgt) = dst_addr; in sprd_platform_compr_dma_config()
|
/linux/drivers/scsi/qedi/ |
H A D | qedi_iscsi.c | 519 conn_info->dst.ip[0] = ntohl(qedi_ep->dst_addr[0]); in qedi_iscsi_offload_conn() 525 qedi_ep->src_addr, qedi_ep->dst_addr); in qedi_iscsi_offload_conn() 529 conn_info->dst.ip[i] = ntohl(qedi_ep->dst_addr[i]); in qedi_iscsi_offload_conn() 535 qedi_ep->src_addr, qedi_ep->dst_addr); in qedi_iscsi_offload_conn() 680 len = sprintf(buf, "%pI4\n", qedi_ep->dst_addr); in qedi_ep_get_param() 682 len = sprintf(buf, "%pI6\n", qedi_ep->dst_addr); in qedi_ep_get_param() 895 qedi_ep_connect(struct Scsi_Host *shost, struct sockaddr *dst_addr, in qedi_ep_connect() argument 947 if (dst_addr->sa_family == AF_INET) { in qedi_ep_connect() 948 addr = (struct sockaddr_in *)dst_addr; in qedi_ep_connect() 949 memcpy(qedi_ep->dst_addr, &addr->sin_addr.s_addr, in qedi_ep_connect() [all …]
|
/linux/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_hw.c | 623 u64 dst_addr, in qed_dmae_execute_sub_operation() argument 653 cmd->dst_addr_hi = cpu_to_le32(upper_32_bits(dst_addr)); in qed_dmae_execute_sub_operation() 654 cmd->dst_addr_lo = cpu_to_le32(lower_32_bits(dst_addr)); in qed_dmae_execute_sub_operation() 674 src_addr, dst_addr, length_dw); in qed_dmae_execute_sub_operation() 679 memcpy((void *)(uintptr_t)(dst_addr), in qed_dmae_execute_sub_operation() 688 u64 src_addr, u64 dst_addr, in qed_dmae_execute_command() argument 705 src_addr, src_type, dst_addr, dst_type, in qed_dmae_execute_command() 726 dst_addr_split = dst_addr; in qed_dmae_execute_command() 739 dst_addr_split = dst_addr + offset; in qed_dmae_execute_command() 741 dst_addr_split = dst_addr + (offset * 4); in qed_dmae_execute_command() [all …]
|
/linux/drivers/infiniband/core/ |
H A D | addr.c | 58 struct sockaddr_storage dst_addr; member 624 dst_in = (struct sockaddr *)&req->dst_addr; in process_one_req() 657 int rdma_resolve_ip(struct sockaddr *src_addr, const struct sockaddr *dst_addr, in rdma_resolve_ip() argument 672 dst_in = (struct sockaddr *) &req->dst_addr; in rdma_resolve_ip() 675 if (src_addr->sa_family != dst_addr->sa_family) { in rdma_resolve_ip() 682 src_in->sa_family = dst_addr->sa_family; in rdma_resolve_ip() 685 memcpy(dst_in, dst_addr, rdma_addr_size(dst_addr)); in rdma_resolve_ip()
|
H A D | cma.c | 390 union cma_ip_addr dst_addr; member 445 return (struct sockaddr *)&id_priv->id.route.addr.dst_addr; in cma_dst_addr() 1397 struct sockaddr *dst_addr, in cma_save_ib_info() argument 1422 if (dst_addr) { in cma_save_ib_info() 1423 ib = (struct sockaddr_ib *)dst_addr; in cma_save_ib_info() 1434 struct sockaddr_in *dst_addr, in cma_save_ip4_info() argument 1441 .sin_addr.s_addr = hdr->dst_addr.ip4.addr, in cma_save_ip4_info() 1446 if (dst_addr) { in cma_save_ip4_info() 1447 *dst_addr = (struct sockaddr_in) { in cma_save_ip4_info() 1456 struct sockaddr_in6 *dst_addr, in cma_save_ip6_info() argument [all …]
|
/linux/drivers/dma/sf-pdma/ |
H A D | sf-pdma.h | 65 void __iomem *dst_addr; /* 8 bytes */ member 78 u64 dst_addr; member
|
/linux/arch/sparc/kernel/ |
H A D | unaligned_32.c | 177 extern int __do_int_store(unsigned long *dst_addr, int size, 180 static int do_int_store(int reg_num, int size, unsigned long *dst_addr, in do_int_store() argument 193 return __do_int_store(dst_addr, size, src_val); in do_int_store()
|
/linux/drivers/net/ethernet/mediatek/ |
H A D | mtk_ppe_offload.c | 22 __be32 dst_addr; member 27 struct in6_addr dst_addr; member 60 data->v4.dst_addr, data->dst_port); in mtk_flow_set_ipv4_addr() 69 data->v6.dst_addr.s6_addr32, data->dst_port); in mtk_flow_set_ipv6_addr() 154 dest = &data->v4.dst_addr; in mtk_flow_mangle_ipv4() 402 data.v4.dst_addr = addrs.key->dst; in mtk_flow_offload_replace() 413 data.v6.dst_addr = addrs.key->dst; in mtk_flow_offload_replace()
|
/linux/drivers/infiniband/ulp/rtrs/ |
H A D | rtrs-srv-sysfs.c | 51 sockaddr_to_str((struct sockaddr *)&srv_path->s.dst_addr, str, in rtrs_srv_disconnect_store() 104 cnt = sockaddr_to_str((struct sockaddr *)&srv_path->s.dst_addr, in rtrs_srv_src_addr_show() 127 __ATTR(dst_addr, 0444, rtrs_srv_dst_addr_show, NULL); 267 .src = &srv_path->s.dst_addr, in rtrs_srv_create_path_files()
|