Home
last modified time | relevance | path

Searched refs:sgel (Results 1 – 5 of 5) sorted by relevance

/linux-6.15/drivers/scsi/csiostor/
H A Dcsio_scsi.c294 struct scatterlist *sgel; in csio_scsi_init_ultptx_dsgl() local
305 scsi_for_each_sg(scmnd, sgel, req->nsge, i) { in csio_scsi_init_ultptx_dsgl()
308 sgl->len0 = cpu_to_be32(sg_dma_len(sgel)); in csio_scsi_init_ultptx_dsgl()
314 sg_dma_address(sgel)); in csio_scsi_init_ultptx_dsgl()
316 sg_dma_len(sgel)); in csio_scsi_init_ultptx_dsgl()
320 sg_dma_address(sgel)); in csio_scsi_init_ultptx_dsgl()
322 sg_dma_len(sgel)); in csio_scsi_init_ultptx_dsgl()
558 struct scatterlist *sgel = NULL; in csio_setup_ddp() local
569 scsi_for_each_sg(scmnd, sgel, req->nsge, i) { in csio_setup_ddp()
570 sg_addr = sg_dma_address(sgel); in csio_setup_ddp()
[all …]
/linux-6.15/drivers/scsi/mpt3sas/
H A Dmpt3sas_base.c436 Mpi2SGESimple32_t *sgel, *sgel_next; in _clone_sg_entries() local
505 if (le32_to_cpu(sgel->FlagsLength) & in _clone_sg_entries()
523 le32_to_cpu(sgel->Address)); in _clone_sg_entries()
538 sgel->Address = in _clone_sg_entries()
540 sgel = sgel_next; in _clone_sg_entries()
554 sgel->Address = in _clone_sg_entries()
561 sgel->Address = in _clone_sg_entries()
583 sgel++; in _clone_sg_entries()
2111 Mpi2SGESimple32_t *sgel = paddr; in _base_add_sg_single_32() local
2129 Mpi2SGESimple64_t *sgel = paddr; in _base_add_sg_single_64() local
[all …]
/linux-6.15/drivers/scsi/lpfc/
H A Dlpfc_scsi.c809 struct scatterlist *sgel = NULL; in lpfc_scsi_prep_dma_buf_s3() local
861 scsi_for_each_sg(scsi_cmnd, sgel, nseg, num_bde) { in lpfc_scsi_prep_dma_buf_s3()
862 physaddr = sg_dma_address(sgel); in lpfc_scsi_prep_dma_buf_s3()
868 data_bde->tus.f.bdeSize = sg_dma_len(sgel); in lpfc_scsi_prep_dma_buf_s3()
874 bpl->tus.f.bdeSize = sg_dma_len(sgel); in lpfc_scsi_prep_dma_buf_s3()
3045 struct scatterlist *sgel = NULL; in lpfc_scsi_prep_dma_buf_s4() local
3110 sgel = scsi_sglist(scsi_cmnd); in lpfc_scsi_prep_dma_buf_s4()
3153 physaddr = sg_dma_address(sgel); in lpfc_scsi_prep_dma_buf_s4()
3154 dma_len = sg_dma_len(sgel); in lpfc_scsi_prep_dma_buf_s4()
3165 sgel = sg_next(sgel); in lpfc_scsi_prep_dma_buf_s4()
H A Dlpfc_nvmet.c2720 struct scatterlist *sgel; in lpfc_nvmet_prep_fcp_wqe() local
2797 sgel = &rsp->sg[0]; in lpfc_nvmet_prep_fcp_wqe()
2798 physaddr = sg_dma_address(sgel); in lpfc_nvmet_prep_fcp_wqe()
2800 wqe->fcp_tsend.bde.tus.f.bdeSize = sg_dma_len(sgel); in lpfc_nvmet_prep_fcp_wqe()
3009 for_each_sg(rsp->sg, sgel, nsegs, i) { in lpfc_nvmet_prep_fcp_wqe()
3010 physaddr = sg_dma_address(sgel); in lpfc_nvmet_prep_fcp_wqe()
3011 cnt = sg_dma_len(sgel); in lpfc_nvmet_prep_fcp_wqe()
/linux-6.15/drivers/scsi/mpi3mr/
H A Dmpi3mr_fw.c100 struct mpi3_sge_common *sgel = paddr; in mpi3mr_add_sg_single() local
102 sgel->flags = flags; in mpi3mr_add_sg_single()
103 sgel->length = cpu_to_le32(length); in mpi3mr_add_sg_single()
104 sgel->address = cpu_to_le64(dma_addr); in mpi3mr_add_sg_single()