/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_blit.c | 337 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/ |
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() 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/staging/ralink-gdma/ |
D | ralink-gdma.c | 91 dma_addr_t dst_addr; member 198 chan->fifo_addr = config->dst_addr; in gdma_dma_config() 272 dma_addr_t src_addr, dst_addr; in rt305x_gdma_start_transfer() local 288 dst_addr = chan->fifo_addr; in rt305x_gdma_start_transfer() 294 dst_addr = sg->dst_addr; in rt305x_gdma_start_transfer() 304 dst_addr = sg->dst_addr; in rt305x_gdma_start_transfer() 321 gdma_dma_write(dma_dev, GDMA_REG_DST_ADDR(chan->id), dst_addr); in rt305x_gdma_start_transfer() 349 dma_addr_t src_addr, dst_addr; in rt3883_gdma_start_transfer() local 365 dst_addr = chan->fifo_addr; in rt3883_gdma_start_transfer() 371 dst_addr = sg->dst_addr; in rt3883_gdma_start_transfer() [all …]
|
/drivers/infiniband/core/ |
D | cma_trace.h | 40 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,
|
D | cma.c | 380 union cma_ip_addr dst_addr; member 491 return (struct sockaddr *) &id_priv->id.route.addr.dst_addr; in cma_dst_addr() 1244 struct sockaddr *dst_addr, in cma_save_ib_info() argument 1269 if (dst_addr) { in cma_save_ib_info() 1270 ib = (struct sockaddr_ib *)dst_addr; in cma_save_ib_info() 1281 struct sockaddr_in *dst_addr, in cma_save_ip4_info() argument 1288 .sin_addr.s_addr = hdr->dst_addr.ip4.addr, in cma_save_ip4_info() 1293 if (dst_addr) { in cma_save_ip4_info() 1294 *dst_addr = (struct sockaddr_in) { in cma_save_ip4_info() 1303 struct sockaddr_in6 *dst_addr, in cma_save_ip6_info() argument [all …]
|
D | addr.c | 59 struct sockaddr_storage dst_addr; member 631 dst_in = (struct sockaddr *)&req->dst_addr; in process_one_req() 664 int rdma_resolve_ip(struct sockaddr *src_addr, const struct sockaddr *dst_addr, in rdma_resolve_ip() argument 679 dst_in = (struct sockaddr *) &req->dst_addr; in rdma_resolve_ip() 682 if (src_addr->sa_family != dst_addr->sa_family) { in rdma_resolve_ip() 689 src_in->sa_family = dst_addr->sa_family; in rdma_resolve_ip() 692 memcpy(dst_in, dst_addr, rdma_addr_size(dst_addr)); in rdma_resolve_ip()
|
D | ucma.c | 687 !rdma_addr_size_in6(&cmd.dst_addr)) in ucma_resolve_ip() 696 (struct sockaddr *) &cmd.dst_addr, cmd.timeout_ms); in ucma_resolve_ip() 715 !cmd.dst_size || (cmd.dst_size != rdma_addr_size_kss(&cmd.dst_addr))) in ucma_resolve_addr() 724 (struct sockaddr *) &cmd.dst_addr, cmd.timeout_ms); in ucma_resolve_addr() 787 rdma_ip2gid((struct sockaddr *)&route->addr.dst_addr, in ucma_copy_iboe_route() 842 addr = (struct sockaddr *) &ctx->cm_id->route.addr.dst_addr; in ucma_query_route() 843 memcpy(&resp.dst_addr, addr, addr->sa_family == AF_INET ? in ucma_query_route() 899 addr = (struct sockaddr *) &ctx->cm_id->route.addr.dst_addr; in ucma_query_addr() 901 memcpy(&resp.dst_addr, addr, resp.dst_size); in ucma_query_addr() 977 addr = (struct sockaddr_ib *) &resp.dst_addr; in ucma_query_gid() [all …]
|
/drivers/pci/endpoint/functions/ |
D | pci-epf-test.c | 66 u64 dst_addr; member 232 void __iomem *dst_addr; in pci_epf_test_copy() local 258 dst_addr = pci_epc_mem_alloc_addr(epc, &dst_phys_addr, reg->size); in pci_epf_test_copy() 259 if (!dst_addr) { in pci_epf_test_copy() 267 reg->dst_addr, reg->size); in pci_epf_test_copy() 297 memcpy_toio(dst_addr, buf, reg->size); in pci_epf_test_copy() 307 pci_epc_mem_free_addr(epc, dst_phys_addr, dst_addr, reg->size); in pci_epf_test_copy() 411 void __iomem *dst_addr; in pci_epf_test_write() local 424 dst_addr = pci_epc_mem_alloc_addr(epc, &phys_addr, reg->size); in pci_epf_test_write() 425 if (!dst_addr) { in pci_epf_test_write() [all …]
|
/drivers/dma/ |
D | stm32-mdma.c | 502 phys_addr_t src_addr, dst_addr; in stm32_mdma_set_xfer_param() local 565 dst_addr = chan->dma_config.dst_addr; in stm32_mdma_set_xfer_param() 604 dst_addr); in stm32_mdma_set_xfer_param() 610 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() 732 dma_addr_t src_addr, dst_addr; in stm32_mdma_setup_xfer() local 744 dst_addr = dma_config->dst_addr; in stm32_mdma_setup_xfer() 752 dst_addr = sg_dma_address(sg); in stm32_mdma_setup_xfer() 754 &ctcr, &ctbr, dst_addr, in stm32_mdma_setup_xfer() [all …]
|
D | ep93xx_dma.c | 124 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 …]
|
D | fsl-edma-common.c | 230 addr = fsl_chan->cfg.dst_addr; in fsl_edma_prep_slave_dma() 458 u32 src_addr, dst_addr, last_sg, nbytes; in fsl_edma_prep_dma_cyclic() local 498 dst_addr = fsl_chan->dma_dev_addr; in fsl_edma_prep_dma_cyclic() 503 dst_addr = dma_buf_next; in fsl_edma_prep_dma_cyclic() 508 fsl_edma_fill_tcd(fsl_desc->tcd[i].vtcd, src_addr, dst_addr, in fsl_edma_prep_dma_cyclic() 526 u32 src_addr, dst_addr, last_sg, nbytes; in fsl_edma_prep_slave_sg() local 560 dst_addr = fsl_chan->dma_dev_addr; in fsl_edma_prep_slave_sg() 565 dst_addr = sg_dma_address(sg); in fsl_edma_prep_slave_sg() 574 dst_addr, fsl_chan->attr, soff, in fsl_edma_prep_slave_sg() 580 dst_addr, fsl_chan->attr, soff, in fsl_edma_prep_slave_sg()
|
D | at_xdmac.c | 746 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 …]
|
D | s3c24xx-dma.c | 150 dma_addr_t dst_addr; member 485 writel_relaxed(dsg->dst_addr, phy->base + S3C24XX_DIDST); in s3c24xx_dma_start_next_sg() 845 dsg->dst_addr = dest; in s3c24xx_dma_prep_memcpy() 938 slave_addr = s3cchan->cfg.dst_addr; in s3c24xx_dma_prep_dma_cyclic() 964 dsg->dst_addr = slave_addr; in s3c24xx_dma_prep_dma_cyclic() 967 dsg->dst_addr = addr + period * i; in s3c24xx_dma_prep_dma_cyclic() 1027 slave_addr = s3cchan->cfg.dst_addr; in s3c24xx_dma_prep_slave_sg() 1053 dsg->dst_addr = slave_addr; in s3c24xx_dma_prep_slave_sg() 1056 dsg->dst_addr = sg_dma_address(sg); in s3c24xx_dma_prep_slave_sg()
|
D | uniphier-xdmac.c | 136 dma_addr_t src_addr, dst_addr; in uniphier_xdmac_chan_start() local 141 dst_addr = xd->nodes[xd->cur_node].dst; in uniphier_xdmac_chan_start() 176 writel(lower_32_bits(dst_addr), xc->reg_ch_base + XDMAC_DAD); in uniphier_xdmac_chan_start() 177 writel(upper_32_bits(dst_addr), xc->reg_ch_base + XDMAC_EXDAD); in uniphier_xdmac_chan_start() 359 ? xc->sconfig.dst_addr : sg_dma_address(sg); in uniphier_xdmac_prep_slave_sg()
|
/drivers/scsi/qedi/ |
D | qedi_iscsi.c | 518 conn_info->dst.ip[0] = ntohl(qedi_ep->dst_addr[0]); in qedi_iscsi_offload_conn() 524 qedi_ep->src_addr, qedi_ep->dst_addr); in qedi_iscsi_offload_conn() 528 conn_info->dst.ip[i] = ntohl(qedi_ep->dst_addr[i]); in qedi_iscsi_offload_conn() 534 qedi_ep->src_addr, qedi_ep->dst_addr); in qedi_iscsi_offload_conn() 679 len = sprintf(buf, "%pI4\n", qedi_ep->dst_addr); in qedi_ep_get_param() 681 len = sprintf(buf, "%pI6\n", qedi_ep->dst_addr); in qedi_ep_get_param() 894 qedi_ep_connect(struct Scsi_Host *shost, struct sockaddr *dst_addr, in qedi_ep_connect() argument 946 if (dst_addr->sa_family == AF_INET) { in qedi_ep_connect() 947 addr = (struct sockaddr_in *)dst_addr; in qedi_ep_connect() 948 memcpy(qedi_ep->dst_addr, &addr->sin_addr.s_addr, in qedi_ep_connect() [all …]
|
/drivers/net/ethernet/qlogic/qed/ |
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 …]
|
/drivers/infiniband/ulp/rtrs/ |
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); 266 .src = &srv_path->s.dst_addr, in rtrs_srv_create_path_files()
|
/drivers/gpu/drm/nouveau/ |
D | nouveau_dmem.c | 60 enum nouveau_aper, u64 dst_addr, 63 enum nouveau_aper, u64 dst_addr); 396 enum nouveau_aper dst_aper, u64 dst_addr, in nvc0b5_migrate_copy() argument 447 NVVAL(NVA0B5, OFFSET_OUT_UPPER, UPPER, upper_32_bits(dst_addr)), in nvc0b5_migrate_copy() 449 OFFSET_OUT_LOWER, lower_32_bits(dst_addr), in nvc0b5_migrate_copy() 470 enum nouveau_aper dst_aper, u64 dst_addr) in nvc0b5_migrate_clear() argument 505 NVVAL(NVA0B5, OFFSET_OUT_UPPER, UPPER, upper_32_bits(dst_addr)), in nvc0b5_migrate_clear() 507 OFFSET_OUT_LOWER, lower_32_bits(dst_addr)); in nvc0b5_migrate_clear()
|
/drivers/dma/sf-pdma/ |
D | sf-pdma.h | 68 void __iomem *dst_addr; /* 8 bytes */ member 81 u64 dst_addr; member
|
D | sf-pdma.c | 70 desc->dst_addr = dst; in sf_pdma_fill_desc() 263 writeq(desc->dst_addr, regs->dst_addr); in sf_pdma_xfer_desc() 358 desc->dst_addr += desc->xfer_size - residue; in sf_pdma_done_isr() 468 chan->regs.dst_addr = in sf_pdma_setup_chans()
|
/drivers/dma/dw-edma/ |
D | dw-edma-core.c | 337 phys_addr_t src_addr, dst_addr; in dw_edma_device_transfer() local 390 dst_addr = xfer->xfer.il->dst_start; in dw_edma_device_transfer() 393 dst_addr = chan->config.dst_addr; in dw_edma_device_transfer() 447 burst->dar = dst_addr; in dw_edma_device_transfer() 450 burst->dar = dst_addr; in dw_edma_device_transfer() 454 dst_addr += sg_dma_len(sg); in dw_edma_device_transfer() 481 dst_addr += burst->sz; in dw_edma_device_transfer() 482 dst_addr += dmaengine_get_dst_icg(il, dc); in dw_edma_device_transfer()
|
/drivers/net/wireless/mediatek/mt7601u/ |
D | mcu.c | 285 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/ |
D | pptp.c | 62 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/ |
D | qcom_adm.c | 105 u32 dst_addr; member 114 u32 dst_addr; member 248 dst = &achan->slave.dst_addr; in adm_process_fc_descriptors() 256 box_desc->dst_addr = *dst; in adm_process_fc_descriptors() 274 single_desc->dst_addr = *dst; in adm_process_fc_descriptors() 310 dst = &achan->slave.dst_addr; in adm_process_non_fc_descriptors() 317 single_desc->dst_addr = *dst; in adm_process_non_fc_descriptors()
|
/drivers/net/ethernet/mediatek/ |
D | mtk_ppe_offload.c | 20 __be32 dst_addr; member 63 data->v4.dst_addr, data->dst_port); in mtk_flow_set_ipv4_addr() 118 dest = &data->v4.dst_addr; in mtk_flow_mangle_ipv4() 286 data.v4.dst_addr = addrs.key->dst; in mtk_flow_offload_replace()
|