Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/scsi/csiostor/
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()
307 sgl->addr0 = cpu_to_be64(sg_dma_address(sgel)); 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()
[all …]
/Linux-v4.19/drivers/scsi/mpt3sas/
Dmpt3sas_base.c358 Mpi2SGESimple32_t *sgel, *sgel_next; in _clone_sg_entries() local
379 sgel = (Mpi2SGESimple32_t *) &scsiio_request->SGL; in _clone_sg_entries()
384 sgel = (Mpi2SGESimple32_t *) &config_req->PageBufferSGE; in _clone_sg_entries()
427 if (le32_to_cpu(sgel->FlagsLength) & in _clone_sg_entries()
434 (le32_to_cpu(sgel->FlagsLength) >> MPI2_SGE_FLAGS_SHIFT); in _clone_sg_entries()
445 le32_to_cpu(sgel->Address)); in _clone_sg_entries()
460 sgel->Address = in _clone_sg_entries()
462 sgel = sgel_next; in _clone_sg_entries()
470 (le32_to_cpu(sgel->FlagsLength) & in _clone_sg_entries()
476 sgel->Address = in _clone_sg_entries()
[all …]
/Linux-v4.19/drivers/scsi/lpfc/
Dlpfc_nvmet.c2298 struct scatterlist *sgel; in lpfc_nvmet_prep_fcp_wqe() local
2375 sgel = &rsp->sg[0]; in lpfc_nvmet_prep_fcp_wqe()
2376 physaddr = sg_dma_address(sgel); in lpfc_nvmet_prep_fcp_wqe()
2378 wqe->fcp_tsend.bde.tus.f.bdeSize = sg_dma_len(sgel); in lpfc_nvmet_prep_fcp_wqe()
2607 sgel = &rsp->sg[i]; in lpfc_nvmet_prep_fcp_wqe()
2608 physaddr = sg_dma_address(sgel); in lpfc_nvmet_prep_fcp_wqe()
2609 cnt = sg_dma_len(sgel); in lpfc_nvmet_prep_fcp_wqe()
Dlpfc_scsi.c1172 struct scatterlist *sgel = NULL; in lpfc_scsi_prep_dma_buf_s3() local
1223 scsi_for_each_sg(scsi_cmnd, sgel, nseg, num_bde) { in lpfc_scsi_prep_dma_buf_s3()
1224 physaddr = sg_dma_address(sgel); in lpfc_scsi_prep_dma_buf_s3()
1230 data_bde->tus.f.bdeSize = sg_dma_len(sgel); in lpfc_scsi_prep_dma_buf_s3()
1236 bpl->tus.f.bdeSize = sg_dma_len(sgel); in lpfc_scsi_prep_dma_buf_s3()
3251 struct scatterlist *sgel = NULL; in lpfc_scsi_prep_dma_buf_s4() local
3308 scsi_for_each_sg(scsi_cmnd, sgel, nseg, num_bde) { in lpfc_scsi_prep_dma_buf_s4()
3309 physaddr = sg_dma_address(sgel); in lpfc_scsi_prep_dma_buf_s4()
3310 dma_len = sg_dma_len(sgel); in lpfc_scsi_prep_dma_buf_s4()