/kernel/linux/linux-5.10/drivers/scsi/csiostor/ |
H A D | csio_scsi.c | 294 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, re in csio_setup_ddp() [all...] |
/kernel/linux/linux-6.6/drivers/scsi/csiostor/ |
H A D | csio_scsi.c | 294 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, re in csio_setup_ddp() [all...] |
/kernel/linux/linux-5.10/drivers/scsi/mpt3sas/ |
H A D | mpt3sas_base.c | 429 Mpi2SGESimple32_t *sgel, *sgel_next; in _clone_sg_entries() local 450 sgel = (Mpi2SGESimple32_t *) &scsiio_request->SGL; in _clone_sg_entries() 455 sgel = (Mpi2SGESimple32_t *) &config_req->PageBufferSGE; in _clone_sg_entries() 461 * address associated with sgel->Address. in _clone_sg_entries() 498 if (le32_to_cpu(sgel->FlagsLength) & in _clone_sg_entries() 505 (le32_to_cpu(sgel->FlagsLength) >> MPI2_SGE_FLAGS_SHIFT); in _clone_sg_entries() 512 * the virtual address for sgel->Address in _clone_sg_entries() 516 le32_to_cpu(sgel->Address)); in _clone_sg_entries() 531 sgel->Address = in _clone_sg_entries() 533 sgel in _clone_sg_entries() 1928 Mpi2SGESimple32_t *sgel = paddr; _base_add_sg_single_32() local 1946 Mpi2SGESimple64_t *sgel = paddr; _base_add_sg_single_64() local 2472 Mpi25IeeeSgeChain64_t *sgel = paddr; _base_add_sg_single_ieee() local [all...] |
/kernel/linux/linux-6.6/drivers/scsi/mpt3sas/ |
H A D | mpt3sas_base.c | 436 Mpi2SGESimple32_t *sgel, *sgel_next; in _clone_sg_entries() local 457 sgel = (Mpi2SGESimple32_t *) &scsiio_request->SGL; in _clone_sg_entries() 462 sgel = (Mpi2SGESimple32_t *) &config_req->PageBufferSGE; in _clone_sg_entries() 468 * address associated with sgel->Address. in _clone_sg_entries() 505 if (le32_to_cpu(sgel->FlagsLength) & in _clone_sg_entries() 512 (le32_to_cpu(sgel->FlagsLength) >> MPI2_SGE_FLAGS_SHIFT); in _clone_sg_entries() 519 * the virtual address for sgel->Address in _clone_sg_entries() 523 le32_to_cpu(sgel->Address)); in _clone_sg_entries() 538 sgel->Address = in _clone_sg_entries() 540 sgel in _clone_sg_entries() 2106 Mpi2SGESimple32_t *sgel = paddr; _base_add_sg_single_32() local 2124 Mpi2SGESimple64_t *sgel = paddr; _base_add_sg_single_64() local 2647 Mpi25IeeeSgeChain64_t *sgel = paddr; _base_add_sg_single_ieee() local [all...] |
/kernel/linux/linux-5.10/drivers/scsi/lpfc/ |
H A D | lpfc_scsi.c | 838 struct scatterlist *sgel = NULL; in lpfc_scsi_prep_dma_buf_s3() local 890 scsi_for_each_sg(scsi_cmnd, sgel, nseg, num_bde) { in lpfc_scsi_prep_dma_buf_s3() 891 physaddr = sg_dma_address(sgel); in lpfc_scsi_prep_dma_buf_s3() 897 data_bde->tus.f.bdeSize = sg_dma_len(sgel); in lpfc_scsi_prep_dma_buf_s3() 903 bpl->tus.f.bdeSize = sg_dma_len(sgel); in lpfc_scsi_prep_dma_buf_s3() 3049 struct scatterlist *sgel = NULL; in lpfc_scsi_prep_dma_buf_s4() local 3113 sgel = scsi_sglist(scsi_cmnd); in lpfc_scsi_prep_dma_buf_s4() 3156 physaddr = sg_dma_address(sgel); in lpfc_scsi_prep_dma_buf_s4() 3157 dma_len = sg_dma_len(sgel); in lpfc_scsi_prep_dma_buf_s4() 3168 sgel in lpfc_scsi_prep_dma_buf_s4() [all...] |
H A D | lpfc_nvmet.c | 2703 struct scatterlist *sgel; in lpfc_nvmet_prep_fcp_wqe() local 2780 sgel = &rsp->sg[0]; in lpfc_nvmet_prep_fcp_wqe() 2781 physaddr = sg_dma_address(sgel); in lpfc_nvmet_prep_fcp_wqe() 2783 wqe->fcp_tsend.bde.tus.f.bdeSize = sg_dma_len(sgel); in lpfc_nvmet_prep_fcp_wqe() 2995 for_each_sg(rsp->sg, sgel, nsegs, i) { in lpfc_nvmet_prep_fcp_wqe() 2996 physaddr = sg_dma_address(sgel); in lpfc_nvmet_prep_fcp_wqe() 2997 cnt = sg_dma_len(sgel); in lpfc_nvmet_prep_fcp_wqe()
|
/kernel/linux/linux-6.6/drivers/scsi/lpfc/ |
H A D | lpfc_scsi.c | 812 struct scatterlist *sgel = NULL; in lpfc_scsi_prep_dma_buf_s3() local 864 scsi_for_each_sg(scsi_cmnd, sgel, nseg, num_bde) { in lpfc_scsi_prep_dma_buf_s3() 865 physaddr = sg_dma_address(sgel); in lpfc_scsi_prep_dma_buf_s3() 871 data_bde->tus.f.bdeSize = sg_dma_len(sgel); in lpfc_scsi_prep_dma_buf_s3() 877 bpl->tus.f.bdeSize = sg_dma_len(sgel); in lpfc_scsi_prep_dma_buf_s3() 3048 struct scatterlist *sgel = NULL; in lpfc_scsi_prep_dma_buf_s4() local 3113 sgel = scsi_sglist(scsi_cmnd); in lpfc_scsi_prep_dma_buf_s4() 3156 physaddr = sg_dma_address(sgel); in lpfc_scsi_prep_dma_buf_s4() 3157 dma_len = sg_dma_len(sgel); in lpfc_scsi_prep_dma_buf_s4() 3168 sgel in lpfc_scsi_prep_dma_buf_s4() [all...] |
H A D | lpfc_nvmet.c | 2707 struct scatterlist *sgel; in lpfc_nvmet_prep_fcp_wqe() local 2784 sgel = &rsp->sg[0]; in lpfc_nvmet_prep_fcp_wqe() 2785 physaddr = sg_dma_address(sgel); in lpfc_nvmet_prep_fcp_wqe() 2787 wqe->fcp_tsend.bde.tus.f.bdeSize = sg_dma_len(sgel); in lpfc_nvmet_prep_fcp_wqe() 2996 for_each_sg(rsp->sg, sgel, nsegs, i) { in lpfc_nvmet_prep_fcp_wqe() 2997 physaddr = sg_dma_address(sgel); in lpfc_nvmet_prep_fcp_wqe() 2998 cnt = sg_dma_len(sgel); in lpfc_nvmet_prep_fcp_wqe()
|
/kernel/linux/linux-6.6/drivers/scsi/mpi3mr/ |
H A D | mpi3mr_fw.c | 100 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()
|