Home
last modified time | relevance | path

Searched refs:sg_addr (Results 1 – 14 of 14) sorted by relevance

/drivers/crypto/nx/
Dnx.c99 u64 sg_addr = (u64)start_addr; in nx_build_sg_list() local
105 sg_addr = page_to_phys(vmalloc_to_page(start_addr)) in nx_build_sg_list()
106 + offset_in_page(sg_addr); in nx_build_sg_list()
108 sg_addr = __pa(sg_addr); in nx_build_sg_list()
110 end_addr = sg_addr + len; in nx_build_sg_list()
119 sg->addr = sg_addr; in nx_build_sg_list()
120 sg_addr = min_t(u64, NX_PAGE_NUM(sg_addr + NX_PAGE_SIZE), end_addr); in nx_build_sg_list()
121 sg->len = sg_addr - sg->addr; in nx_build_sg_list()
/drivers/dma/
Dste_dma40_ll.c278 dma_addr_t sg_addr = sg_dma_address(current_sg); in d40_phy_sg_to_lli() local
280 dma_addr_t dst = target ?: sg_addr; in d40_phy_sg_to_lli()
427 dma_addr_t sg_addr = sg_dma_address(current_sg); in d40_log_sg_to_lli() local
429 dma_addr_t addr = dev_addr ?: sg_addr; in d40_log_sg_to_lli()
/drivers/scsi/csiostor/
Dcsio_scsi.c584 uint64_t sg_addr = 0; in csio_setup_ddp() local
594 sg_addr = sg_dma_address(sgel); in csio_setup_ddp()
597 buf_off = sg_addr & (ddp_pagesz - 1); in csio_setup_ddp()
602 sg_addr, sg_len); in csio_setup_ddp()
611 "(%llx:%d)\n", sg_addr, sg_len); in csio_setup_ddp()
1522 void *sg_addr; in csio_scsi_copy_to_sgl() local
1552 sg_addr = kmap_atomic(sg_page(sg) + (sg_off >> PAGE_SHIFT)); in csio_scsi_copy_to_sgl()
1553 if (!sg_addr) { in csio_scsi_copy_to_sgl()
1560 sg_addr, sg_off, buf_addr, bytes_copy); in csio_scsi_copy_to_sgl()
1561 memcpy(sg_addr + (sg_off & ~PAGE_MASK), buf_addr, bytes_copy); in csio_scsi_copy_to_sgl()
[all …]
/drivers/dma/sh/
Dshdma-base.c536 dma_addr_t sg_addr = sg_dma_address(sg); in shdma_prep_sg() local
544 i, sg, len, (unsigned long long)sg_addr); in shdma_prep_sg()
548 &sg_addr, addr, &len, &first, in shdma_prep_sg()
552 addr, &sg_addr, &len, &first, in shdma_prep_sg()
/drivers/ata/
Dsata_fsl.c463 dma_addr_t sg_addr = sg_dma_address(sg); in sata_fsl_fill_sg() local
467 (unsigned long long)sg_addr, sg_len); in sata_fsl_fill_sg()
470 if (unlikely(sg_addr & 0x03)) in sata_fsl_fill_sg()
472 (unsigned long long)sg_addr); in sata_fsl_fill_sg()
488 prd->dba = cpu_to_le32(sg_addr); in sata_fsl_fill_sg()
Dsata_mv.c480 __le32 sg_addr; member
2044 pp->crqb[in_index].sg_addr = in mv_qc_prep()
/drivers/scsi/
Da100u2w.h155 u32 sg_addr; /*14 SG List Buf physical Addr */ member
Da100u2w.c462 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()
Dips.c1963 scb->cmd.basic_io.sg_addr = in ips_usrcmd()
3576 scb->cmd.basic_io.sg_addr = in ips_send_cmd()
3585 scb->cmd.basic_io.sg_addr = in ips_send_cmd()
3622 scb->cmd.basic_io.sg_addr = in ips_send_cmd()
3631 scb->cmd.basic_io.sg_addr = in ips_send_cmd()
3679 scb->cmd.basic_io.sg_addr = ha->enq_busaddr; in ips_send_cmd()
5696 scb->cmd.basic_io.sg_addr = ha->enq_busaddr; in ips_read_adapter_status()
5739 scb->cmd.basic_io.sg_addr = ha->ioctl_busaddr; in ips_read_subsystem_parameters()
5784 scb->cmd.basic_io.sg_addr = ha->ioctl_busaddr; in ips_read_config()
Daic7xxx_old.c4657 unsigned int native_addr, native_length, sg_addr; in aic7xxx_handle_seqint() local
4692 sg_addr = aic_inb(p, SG_COUNT + 1) | (aic_inb(p, SG_COUNT + 2) << 8) | in aic7xxx_handle_seqint()
4720 sg_addr -= sizeof(struct hw_scatterlist); in aic7xxx_handle_seqint()
4738 aic_outb(p, sg_addr & 0xff, SG_COUNT + 1); in aic7xxx_handle_seqint()
4739 aic_outb(p, (sg_addr >> 8) & 0xff, SG_COUNT + 2); in aic7xxx_handle_seqint()
4740 aic_outb(p, (sg_addr >> 16) & 0xff, SG_COUNT + 3); in aic7xxx_handle_seqint()
4741 aic_outb(p, (sg_addr >> 24) & 0xff, SG_COUNT + 4); in aic7xxx_handle_seqint()
4791 int sg_addr, sg_length; in aic7xxx_handle_seqint() local
4843 sg_addr = le32_to_cpu(scb->sg_list[scb->sg_count - tmp].address); in aic7xxx_handle_seqint()
4849 aic_outb(p, sg_addr & 0xff, HADDR); in aic7xxx_handle_seqint()
[all …]
Dips.h432 uint32_t sg_addr; member
Dadvansys.c1826 ADV_PADDR sg_addr; /* SG element address. */ member
2663 i, (ulong)b->sg_list[i].sg_addr, in asc_prt_adv_sgblock()
8081 sg_block->sg_list[i].sg_addr = in adv_get_sglist()
/drivers/scsi/bfa/
Dbfa_ioc.h65 void *sg_addr; member
Dbfad_bsg.c3124 addr = (u64)(size_t) sge->sg_addr; in bfad_fcxp_get_req_sgaddr_cb()
3146 addr = (u64)(size_t) sge->sg_addr; in bfad_fcxp_get_rsp_sgaddr_cb()
3207 sg_table->sg_addr = (void *)(size_t) buf_info->phys; in bfad_fcxp_map_sg()