Home
last modified time | relevance | path

Searched refs:dst_addr (Results 1 – 25 of 243) sorted by relevance

12345678910

/drivers/gpu/drm/amd/amdgpu/
Damdgpu_lsdma.c48 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()
Dlsdma_v6_0.c41 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()
Damdgpu_lsdma.h33 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,
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_blit.c337 u8 *dst_addr; member
370 bool unmap_dst = d->dst_addr && dst_page != d->mapped_dst; in vmw_bo_cpu_blit_line()
383 kunmap_atomic(d->dst_addr); in vmw_bo_cpu_blit_line()
384 d->dst_addr = NULL; in vmw_bo_cpu_blit_line()
387 if (!d->dst_addr) { in vmw_bo_cpu_blit_line()
391 d->dst_addr = in vmw_bo_cpu_blit_line()
394 if (!d->dst_addr) in vmw_bo_cpu_blit_line()
412 diff->do_cpy(diff, d->dst_addr + dst_page_offset, in vmw_bo_cpu_blit_line()
482 d.dst_addr = NULL; in vmw_bo_cpu_blit()
505 if (d.dst_addr) in vmw_bo_cpu_blit()
[all …]
/drivers/video/fbdev/via/
Daccel.c40 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()
118 if (dst_addr & 0xE0000007) { 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()
[all …]
/drivers/pci/endpoint/functions/
Dpci-epf-test.c71 u64 dst_addr; member
142 sconf.dst_addr = dma_remote; in pci_epf_test_data_transfer()
333 void __iomem *dst_addr; in pci_epf_test_copy() local
359 dst_addr = pci_epc_mem_alloc_addr(epc, &dst_phys_addr, reg->size); in pci_epf_test_copy()
360 if (!dst_addr) { in pci_epf_test_copy()
368 reg->dst_addr, reg->size); in pci_epf_test_copy()
405 memcpy_toio(dst_addr, buf, reg->size); in pci_epf_test_copy()
415 pci_epc_mem_free_addr(epc, dst_phys_addr, dst_addr, reg->size); in pci_epf_test_copy()
520 void __iomem *dst_addr; in pci_epf_test_write() local
533 dst_addr = pci_epc_mem_alloc_addr(epc, &phys_addr, reg->size); in pci_epf_test_write()
[all …]
/drivers/infiniband/core/
Dcma_trace.h40 memcpy(__entry->dstaddr, &id_priv->id.route.addr.dst_addr,
85 memcpy(__entry->dstaddr, &id_priv->id.route.addr.dst_addr,
117 memcpy(__entry->dstaddr, &id_priv->id.route.addr.dst_addr,
210 memcpy(__entry->dstaddr, &id_priv->id.route.addr.dst_addr,
245 memcpy(__entry->dstaddr, &id_priv->id.route.addr.dst_addr,
279 memcpy(__entry->dstaddr, &id_priv->id.route.addr.dst_addr,
315 memcpy(__entry->dstaddr, &id_priv->id.route.addr.dst_addr,
Dcma.c390 union cma_ip_addr dst_addr; member
445 return (struct sockaddr *)&id_priv->id.route.addr.dst_addr; in cma_dst_addr()
1374 struct sockaddr *dst_addr, in cma_save_ib_info() argument
1399 if (dst_addr) { in cma_save_ib_info()
1400 ib = (struct sockaddr_ib *)dst_addr; in cma_save_ib_info()
1411 struct sockaddr_in *dst_addr, in cma_save_ip4_info() argument
1418 .sin_addr.s_addr = hdr->dst_addr.ip4.addr, in cma_save_ip4_info()
1423 if (dst_addr) { in cma_save_ip4_info()
1424 *dst_addr = (struct sockaddr_in) { in cma_save_ip4_info()
1433 struct sockaddr_in6 *dst_addr, in cma_save_ip6_info() argument
[all …]
Daddr.c58 struct sockaddr_storage dst_addr; member
630 dst_in = (struct sockaddr *)&req->dst_addr; in process_one_req()
663 int rdma_resolve_ip(struct sockaddr *src_addr, const struct sockaddr *dst_addr, in rdma_resolve_ip() argument
678 dst_in = (struct sockaddr *) &req->dst_addr; in rdma_resolve_ip()
681 if (src_addr->sa_family != dst_addr->sa_family) { in rdma_resolve_ip()
688 src_in->sa_family = dst_addr->sa_family; in rdma_resolve_ip()
691 memcpy(dst_in, dst_addr, rdma_addr_size(dst_addr)); in rdma_resolve_ip()
/drivers/net/ethernet/intel/ice/
Dice_protocol_type.h139 u8 dst_addr[ETH_ALEN]; member
148 u8 dst_addr[ETH_ALEN]; member
168 __be32 dst_addr; member
177 u8 dst_addr[ICE_IPV6_ADDR_LENGTH]; member
Dice_tc_lib.c208 ether_addr_copy(list[i].h_u.eth_hdr.dst_addr, in ice_tc_fill_tunnel_outer()
210 ether_addr_copy(list[i].m_u.eth_hdr.dst_addr, in ice_tc_fill_tunnel_outer()
242 list[i].h_u.ipv4_hdr.dst_addr = hdr->l3_key.dst_ipv4; in ice_tc_fill_tunnel_outer()
243 list[i].m_u.ipv4_hdr.dst_addr = hdr->l3_mask.dst_ipv4; in ice_tc_fill_tunnel_outer()
261 memcpy(&list[i].h_u.ipv6_hdr.dst_addr, in ice_tc_fill_tunnel_outer()
264 memcpy(&list[i].m_u.ipv6_hdr.dst_addr, in ice_tc_fill_tunnel_outer()
377 ether_addr_copy(list[i].h_u.eth_hdr.dst_addr, in ice_tc_fill_rules()
379 ether_addr_copy(list[i].m_u.eth_hdr.dst_addr, in ice_tc_fill_rules()
474 list[i].h_u.ipv4_hdr.dst_addr = l3_key->dst_ipv4; in ice_tc_fill_rules()
475 list[i].m_u.ipv4_hdr.dst_addr = l3_mask->dst_ipv4; in ice_tc_fill_rules()
[all …]
/drivers/dma/
Dstm32-mdma.c483 phys_addr_t src_addr, dst_addr; in stm32_mdma_set_xfer_param() local
546 dst_addr = chan->dma_config.dst_addr; in stm32_mdma_set_xfer_param()
550 dst_addr_width = stm32_mdma_get_max_width(dst_addr, buf_len, in stm32_mdma_set_xfer_param()
595 dst_addr); in stm32_mdma_set_xfer_param()
601 stm32_mdma_write(dmadev, STM32_MDMA_CDAR(chan->id), dst_addr); in stm32_mdma_set_xfer_param()
692 dma_addr_t src_addr, dma_addr_t dst_addr, in stm32_mdma_setup_hwdesc() argument
708 hwdesc->cdar = dst_addr; in stm32_mdma_setup_hwdesc()
735 dma_addr_t src_addr, dst_addr; in stm32_mdma_setup_xfer() local
750 dst_addr = dma_config->dst_addr; in stm32_mdma_setup_xfer()
752 dst_addr += m2m_hw_period; in stm32_mdma_setup_xfer()
[all …]
Dep93xx_dma.c124 u32 dst_addr; member
377 bus_addr = desc->dst_addr; in m2p_fill_desc()
430 desc->txd.cookie, desc->src_addr, desc->dst_addr, in m2p_hw_interrupt()
538 writel(desc->dst_addr, edmac->regs + M2M_DAR_BASE0); in m2m_fill_desc()
542 writel(desc->dst_addr, edmac->regs + M2M_DAR_BASE1); in m2m_fill_desc()
690 desc->dst_addr = 0; in ep93xx_dma_desc_get()
1005 desc->dst_addr = dest + offset; in ep93xx_dma_prep_dma_memcpy()
1076 desc->dst_addr = edmac->runtime_addr; in ep93xx_dma_prep_slave_sg()
1079 desc->dst_addr = sg_dma_address(sg); in ep93xx_dma_prep_slave_sg()
1156 desc->dst_addr = edmac->runtime_addr; in ep93xx_dma_prep_dma_cyclic()
[all …]
Dfsl-edma-common.c230 addr = fsl_chan->cfg.dst_addr; in fsl_edma_prep_slave_dma()
465 u32 src_addr, dst_addr, last_sg, nbytes; in fsl_edma_prep_dma_cyclic() local
505 dst_addr = fsl_chan->dma_dev_addr; in fsl_edma_prep_dma_cyclic()
510 dst_addr = dma_buf_next; in fsl_edma_prep_dma_cyclic()
515 fsl_edma_fill_tcd(fsl_desc->tcd[i].vtcd, src_addr, dst_addr, in fsl_edma_prep_dma_cyclic()
533 u32 src_addr, dst_addr, last_sg, nbytes; in fsl_edma_prep_slave_sg() local
564 dst_addr = fsl_chan->dma_dev_addr; in fsl_edma_prep_slave_sg()
569 dst_addr = sg_dma_address(sg); in fsl_edma_prep_slave_sg()
578 dst_addr, fsl_chan->attr, soff, in fsl_edma_prep_slave_sg()
584 dst_addr, fsl_chan->attr, soff, in fsl_edma_prep_slave_sg()
Dat_xdmac.c746 desc->lld.mbr_da = atchan->sconfig.dst_addr; in at_xdmac_prep_slave_sg()
839 desc->lld.mbr_da = atchan->sconfig.dst_addr; in at_xdmac_prep_dma_cyclic()
1002 dma_addr_t dst_addr, src_addr; in at_xdmac_prep_interleaved() local
1022 dst_addr = xt->dst_start; in at_xdmac_prep_interleaved()
1027 src_addr, dst_addr, in at_xdmac_prep_interleaved()
1058 src_addr, dst_addr, in at_xdmac_prep_interleaved()
1078 dst_addr += dst_skip; in at_xdmac_prep_interleaved()
1099 dma_addr_t src_addr = src, dst_addr = dest; in at_xdmac_prep_dma_memcpy() local
1129 dwidth = at_xdmac_align_width(chan, src_addr | dst_addr); in at_xdmac_prep_dma_memcpy()
1150 dst_addr += xfer_size; in at_xdmac_prep_dma_memcpy()
[all …]
/drivers/scsi/qedi/
Dqedi_iscsi.c519 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 …]
/drivers/net/ethernet/qlogic/qed/
Dqed_hw.c623 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 …]
/drivers/net/ethernet/mediatek/
Dmtk_ppe_offload.c22 __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()
153 dest = &data->v4.dst_addr; in mtk_flow_mangle_ipv4()
374 data.v4.dst_addr = addrs.key->dst; in mtk_flow_offload_replace()
385 data.v6.dst_addr = addrs.key->dst; in mtk_flow_offload_replace()
/drivers/gpu/drm/nouveau/
Dnouveau_dmem.c62 enum nouveau_aper, u64 dst_addr,
65 enum nouveau_aper, u64 dst_addr);
444 enum nouveau_aper dst_aper, u64 dst_addr, in nvc0b5_migrate_copy() argument
495 NVVAL(NVA0B5, OFFSET_OUT_UPPER, UPPER, upper_32_bits(dst_addr)), in nvc0b5_migrate_copy()
497 OFFSET_OUT_LOWER, lower_32_bits(dst_addr), in nvc0b5_migrate_copy()
518 enum nouveau_aper dst_aper, u64 dst_addr) in nvc0b5_migrate_clear() argument
553 NVVAL(NVA0B5, OFFSET_OUT_UPPER, UPPER, upper_32_bits(dst_addr)), in nvc0b5_migrate_clear()
555 OFFSET_OUT_LOWER, lower_32_bits(dst_addr)); in nvc0b5_migrate_clear()
/drivers/infiniband/ulp/rtrs/
Drtrs-srv-sysfs.c51 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);
268 .src = &srv_path->s.dst_addr, in rtrs_srv_create_path_files()
/drivers/dma/sf-pdma/
Dsf-pdma.h64 void __iomem *dst_addr; /* 8 bytes */ member
77 u64 dst_addr; member
/drivers/dma/dw-edma/
Ddw-edma-core.c335 phys_addr_t src_addr, dst_addr; in dw_edma_device_transfer() local
407 dst_addr = xfer->xfer.il->dst_start; in dw_edma_device_transfer()
410 dst_addr = chan->config.dst_addr; in dw_edma_device_transfer()
464 burst->dar = dst_addr; in dw_edma_device_transfer()
467 burst->dar = dst_addr; in dw_edma_device_transfer()
471 dst_addr += sg_dma_len(sg); in dw_edma_device_transfer()
498 dst_addr += burst->sz; in dw_edma_device_transfer()
499 dst_addr += dmaengine_get_dst_icg(il, dc); in dw_edma_device_transfer()
/drivers/net/wireless/mediatek/mt7601u/
Dmcu.c285 const void *data, u32 len, u32 dst_addr) in __mt7601u_dma_fw() argument
301 MT_FCE_DMA_ADDR, dst_addr); in __mt7601u_dma_fw()
337 const void *data, int len, u32 dst_addr) in mt7601u_dma_fw() argument
345 ret = __mt7601u_dma_fw(dev, dma_buf, data, n, dst_addr); in mt7601u_dma_fw()
352 return mt7601u_dma_fw(dev, dma_buf, data + n, len - n, dst_addr + n); in mt7601u_dma_fw()
/drivers/net/ppp/
Dpptp.c62 if (opt->dst_addr.sin_addr.s_addr != s_addr) in lookup_chan()
85 if (opt->dst_addr.call_id == call_id && in lookup_chan_dst()
86 opt->dst_addr.sin_addr.s_addr == d_addr) in lookup_chan_dst()
141 po->proto.pptp.dst_addr.sin_addr.s_addr, in pptp_route_output()
219 hdr->call_id = htons(opt->dst_addr.call_id); in pptp_xmit()
474 opt->dst_addr = sp->sa_addr.pptp; in pptp_connect()
/drivers/dma/qcom/
Dqcom_adm.c106 u32 dst_addr; member
115 u32 dst_addr; member
251 dst = &achan->slave.dst_addr; in adm_process_fc_descriptors()
259 box_desc->dst_addr = *dst; in adm_process_fc_descriptors()
277 single_desc->dst_addr = *dst; in adm_process_fc_descriptors()
313 dst = &achan->slave.dst_addr; in adm_process_non_fc_descriptors()
320 single_desc->dst_addr = *dst; in adm_process_non_fc_descriptors()

12345678910