Home
last modified time | relevance | path

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

/linux-4.4.14/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-4.4.14/drivers/scsi/mpt3sas/
Dmpt3sas_base.c1194 Mpi2SGESimple32_t *sgel = paddr; in _base_add_sg_single_32() local
1198 sgel->FlagsLength = cpu_to_le32(flags_length); in _base_add_sg_single_32()
1199 sgel->Address = cpu_to_le32(dma_addr); in _base_add_sg_single_32()
1214 Mpi2SGESimple64_t *sgel = paddr; in _base_add_sg_single_64() local
1218 sgel->FlagsLength = cpu_to_le32(flags_length); in _base_add_sg_single_64()
1219 sgel->Address = cpu_to_le64(dma_addr); in _base_add_sg_single_64()
1326 Mpi25IeeeSgeChain64_t *sgel = paddr; in _base_add_sg_single_ieee() local
1328 sgel->Flags = flags; in _base_add_sg_single_ieee()
1329 sgel->NextChainOffset = chain_offset; in _base_add_sg_single_ieee()
1330 sgel->Length = cpu_to_le32(length); in _base_add_sg_single_ieee()
[all …]
/linux-4.4.14/drivers/scsi/lpfc/
Dlpfc_scsi.c1150 struct scatterlist *sgel = NULL; in lpfc_scsi_prep_dma_buf_s3() local
1201 scsi_for_each_sg(scsi_cmnd, sgel, nseg, num_bde) { in lpfc_scsi_prep_dma_buf_s3()
1202 physaddr = sg_dma_address(sgel); in lpfc_scsi_prep_dma_buf_s3()
1208 data_bde->tus.f.bdeSize = sg_dma_len(sgel); in lpfc_scsi_prep_dma_buf_s3()
1214 bpl->tus.f.bdeSize = sg_dma_len(sgel); in lpfc_scsi_prep_dma_buf_s3()
3226 struct scatterlist *sgel = NULL; in lpfc_scsi_prep_dma_buf_s4() local
3283 scsi_for_each_sg(scsi_cmnd, sgel, nseg, num_bde) { in lpfc_scsi_prep_dma_buf_s4()
3284 physaddr = sg_dma_address(sgel); in lpfc_scsi_prep_dma_buf_s4()
3285 dma_len = sg_dma_len(sgel); in lpfc_scsi_prep_dma_buf_s4()