/linux-6.6.21/drivers/misc/bcm-vk/ |
D | bcm_vk_sg.c | 40 dma_addr_t addr, sg_addr; in bcm_vk_dma_alloc() local 106 sg_addr = dma_map_page(dev, in bcm_vk_dma_alloc() 112 if (unlikely(dma_mapping_error(dev, sg_addr))) { in bcm_vk_dma_alloc() 134 if ((addr == (sg_addr + transfer_size)) && in bcm_vk_dma_alloc() 141 put_unaligned(sg_addr, (u64 *)&sgdata->address); in bcm_vk_dma_alloc() 146 sg_addr = addr; in bcm_vk_dma_alloc() 152 put_unaligned(sg_addr, (u64 *)&sgdata->address); in bcm_vk_dma_alloc()
|
/linux-6.6.21/drivers/crypto/nx/ |
D | nx.c | 85 u64 sg_addr = (u64)start_addr; in nx_build_sg_list() local 91 sg_addr = page_to_phys(vmalloc_to_page(start_addr)) in nx_build_sg_list() 92 + offset_in_page(sg_addr); in nx_build_sg_list() 94 sg_addr = __pa(sg_addr); in nx_build_sg_list() 96 end_addr = sg_addr + *len; in nx_build_sg_list() 111 sg->addr = sg_addr; in nx_build_sg_list() 112 sg_addr = min_t(u64, NX_PAGE_NUM(sg_addr + NX_PAGE_SIZE), in nx_build_sg_list() 116 sg->len = min_t(u64, sg_addr, next_page) - sg->addr; in nx_build_sg_list() 119 if (sg_addr >= next_page && in nx_build_sg_list() 121 sg_addr = page_to_phys(vmalloc_to_page( in nx_build_sg_list() [all …]
|
/linux-6.6.21/drivers/dma/ |
D | ste_dma40_ll.c | 286 dma_addr_t sg_addr = sg_dma_address(current_sg); in d40_phy_sg_to_lli() local 288 dma_addr_t dst = target ?: sg_addr; in d40_phy_sg_to_lli() 435 dma_addr_t sg_addr = sg_dma_address(current_sg); in d40_log_sg_to_lli() local 437 dma_addr_t addr = dev_addr ?: sg_addr; in d40_log_sg_to_lli()
|
/linux-6.6.21/drivers/scsi/snic/ |
D | snic_fwint.h | 183 __le64 sg_addr; /* Points to SGL */ member 264 __le64 sg_addr; /* Points to SG List */ member
|
D | snic_res.h | 29 req->u.icmnd.sg_addr = cpu_to_le64(sgl_addr); in snic_icmnd_init()
|
D | snic_disc.c | 59 req->u.rpt_tgts.sg_addr = cpu_to_le64((ulong)sgd); in snic_report_tgt_init()
|
/linux-6.6.21/drivers/scsi/csiostor/ |
D | csio_scsi.c | 560 uint64_t sg_addr = 0; in csio_setup_ddp() local 570 sg_addr = sg_dma_address(sgel); in csio_setup_ddp() 573 buf_off = sg_addr & (ddp_pagesz - 1); in csio_setup_ddp() 578 sg_addr, sg_len); in csio_setup_ddp() 587 "(%llx:%d)\n", sg_addr, sg_len); in csio_setup_ddp() 1502 void *sg_addr; in csio_scsi_copy_to_sgl() local 1532 sg_addr = kmap_atomic(sg_page(sg) + (sg_off >> PAGE_SHIFT)); in csio_scsi_copy_to_sgl() 1533 if (!sg_addr) { in csio_scsi_copy_to_sgl() 1540 sg_addr, sg_off, buf_addr, bytes_copy); in csio_scsi_copy_to_sgl() 1541 memcpy(sg_addr + (sg_off & ~PAGE_MASK), buf_addr, bytes_copy); in csio_scsi_copy_to_sgl() [all …]
|
/linux-6.6.21/drivers/dma/sh/ |
D | shdma-base.c | 589 dma_addr_t sg_addr = sg_dma_address(sg); in shdma_prep_sg() local 597 i, sg, len, &sg_addr); in shdma_prep_sg() 601 &sg_addr, addr, &len, &first, in shdma_prep_sg() 605 addr, &sg_addr, &len, &first, in shdma_prep_sg()
|
/linux-6.6.21/drivers/scsi/ |
D | a100u2w.h | 155 u32 sg_addr; /*14 SG List Buf physical Addr */ member
|
D | a100u2w.c | 462 scb->sg_addr = cpu_to_le32((u32) escb_phys); in setup_SCBs() 884 scb->sg_addr = (u32) scb->sense_addr; /* sense_addr is already little endian */ in inia100_build_scb()
|
D | ips.c | 1955 scb->cmd.basic_io.sg_addr = in ips_usrcmd() 3560 scb->cmd.basic_io.sg_addr = in ips_send_cmd() 3569 scb->cmd.basic_io.sg_addr = in ips_send_cmd() 3606 scb->cmd.basic_io.sg_addr = in ips_send_cmd() 3615 scb->cmd.basic_io.sg_addr = in ips_send_cmd() 3663 scb->cmd.basic_io.sg_addr = ha->enq_busaddr; in ips_send_cmd() 5678 scb->cmd.basic_io.sg_addr = ha->enq_busaddr; in ips_read_adapter_status() 5721 scb->cmd.basic_io.sg_addr = ha->ioctl_busaddr; in ips_read_subsystem_parameters() 5766 scb->cmd.basic_io.sg_addr = ha->ioctl_busaddr; in ips_read_config()
|
D | ips.h | 414 uint32_t sg_addr; member
|
D | advansys.c | 1718 __le32 sg_addr; /* SG element address. */ member 1782 dma_addr_t sg_addr; /* Physical address */ member 2553 i, (u32)le32_to_cpu(b->sg_list[i].sg_addr), in asc_prt_adv_sgblock() 6021 sgblkp->sg_addr); in adv_isr_callback() 7577 sgblkp->sg_addr); in adv_get_sglist() 7582 sgblkp->sg_addr = sgblk_paddr; in adv_get_sglist() 7612 sg_block->sg_list[i].sg_addr = in adv_get_sglist()
|
/linux-6.6.21/drivers/ata/ |
D | sata_fsl.c | 456 dma_addr_t sg_addr = sg_dma_address(sg); in sata_fsl_fill_sg() local 460 if (unlikely(sg_addr & 0x03)) in sata_fsl_fill_sg() 462 (unsigned long long)sg_addr); in sata_fsl_fill_sg() 477 prd->dba = cpu_to_le32(sg_addr); in sata_fsl_fill_sg()
|
D | sata_mv.c | 475 __le32 sg_addr; member 2064 pp->crqb[in_index].sg_addr = in mv_qc_prep()
|
/linux-6.6.21/drivers/dma/ti/ |
D | k3-udma.c | 2913 dma_addr_t sg_addr = sg_dma_address(sgent); in udma_prep_slave_sg_tr() local 2915 num_tr = udma_get_tr_counters(sg_dma_len(sgent), __ffs(sg_addr), in udma_prep_slave_sg_tr() 2929 sg_addr |= asel; in udma_prep_slave_sg_tr() 2930 tr_req[tr_idx].addr = sg_addr; in udma_prep_slave_sg_tr() 2943 tr_req[tr_idx].addr = sg_addr + tr0_cnt1 * tr0_cnt0; in udma_prep_slave_sg_tr() 3048 dma_addr_t sg_addr = sg_dma_address(sgent); in udma_prep_slave_sg_triggered_tr() local 3068 sg_addr |= asel; in udma_prep_slave_sg_triggered_tr() 3077 tr_req[tr_idx].daddr = sg_addr; in udma_prep_slave_sg_triggered_tr() 3086 tr_req[tr_idx].addr = sg_addr; in udma_prep_slave_sg_triggered_tr() 3115 sg_addr += trigger_size * tr0_cnt2 * tr0_cnt3; in udma_prep_slave_sg_triggered_tr() [all …]
|
/linux-6.6.21/drivers/net/ethernet/freescale/dpaa/ |
D | dpaa_eth.c | 1813 dma_addr_t sg_addr; in sg_fd_to_skb() local 1829 sg_addr = qm_sg_addr(&sgt[i]); in sg_fd_to_skb() 1830 sg_vaddr = phys_to_virt(sg_addr); in sg_fd_to_skb() 1833 dma_unmap_page(priv->rx_dma_dev, sg_addr, in sg_fd_to_skb() 1901 sg_addr = qm_sg_addr(&sgt[j]); in sg_fd_to_skb() 1902 sg_vaddr = phys_to_virt(sg_addr); in sg_fd_to_skb()
|
/linux-6.6.21/drivers/net/ethernet/freescale/dpaa2/ |
D | dpaa2-eth.c | 205 dma_addr_t sg_addr; in dpaa2_eth_build_frag_skb() local 220 sg_addr = dpaa2_sg_get_addr(sge); in dpaa2_eth_build_frag_skb() 221 sg_vaddr = dpaa2_iova_to_virt(priv->iommu_domain, sg_addr); in dpaa2_eth_build_frag_skb() 222 dma_unmap_page(dev, sg_addr, priv->rx_buf_size, in dpaa2_eth_build_frag_skb() 1125 dma_addr_t fd_addr, sg_addr; in dpaa2_eth_free_tx_fd() local 1202 sg_addr = dpaa2_sg_get_addr(sgt); in dpaa2_eth_free_tx_fd() 1203 dma_unmap_single(dev, sg_addr, skb->len, DMA_BIDIRECTIONAL); in dpaa2_eth_free_tx_fd()
|
/linux-6.6.21/drivers/scsi/bfa/ |
D | bfa_ioc.h | 58 void *sg_addr; member
|
D | bfad_bsg.c | 3217 addr = (u64)(size_t) sge->sg_addr; in bfad_fcxp_get_req_sgaddr_cb() 3239 addr = (u64)(size_t) sge->sg_addr; in bfad_fcxp_get_rsp_sgaddr_cb() 3301 sg_table->sg_addr = (void *)(size_t) buf_info->phys; in bfad_fcxp_map_sg()
|