Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/scsi/lpfc/
Dlpfc_bsg.c246 struct scatterlist *sgel = NULL; in lpfc_bsg_send_mgmt_cmd() local
299 for_each_sg(job->request_payload.sg_list, sgel, request_nseg, numbde) { in lpfc_bsg_send_mgmt_cmd()
300 busaddr = sg_dma_address(sgel); in lpfc_bsg_send_mgmt_cmd()
302 bpl->tus.f.bdeSize = sg_dma_len(sgel); in lpfc_bsg_send_mgmt_cmd()
311 for_each_sg(job->reply_payload.sg_list, sgel, reply_nseg, numbde) { in lpfc_bsg_send_mgmt_cmd()
312 busaddr = sg_dma_address(sgel); in lpfc_bsg_send_mgmt_cmd()
314 bpl->tus.f.bdeSize = sg_dma_len(sgel); in lpfc_bsg_send_mgmt_cmd()
509 struct scatterlist *sgel = NULL; in lpfc_bsg_rport_els() local
569 for_each_sg(job->request_payload.sg_list, sgel, request_nseg, numbde) { in lpfc_bsg_rport_els()
570 busaddr = sg_dma_address(sgel); in lpfc_bsg_rport_els()
[all …]
Dlpfc_scsi.c1163 struct scatterlist *sgel = NULL; in lpfc_scsi_prep_dma_buf_s3() local
1213 scsi_for_each_sg(scsi_cmnd, sgel, nseg, num_bde) { in lpfc_scsi_prep_dma_buf_s3()
1214 physaddr = sg_dma_address(sgel); in lpfc_scsi_prep_dma_buf_s3()
1220 data_bde->tus.f.bdeSize = sg_dma_len(sgel); in lpfc_scsi_prep_dma_buf_s3()
1226 bpl->tus.f.bdeSize = sg_dma_len(sgel); in lpfc_scsi_prep_dma_buf_s3()
2909 struct scatterlist *sgel = NULL; in lpfc_scsi_prep_dma_buf_s4() local
2965 scsi_for_each_sg(scsi_cmnd, sgel, nseg, num_bde) { in lpfc_scsi_prep_dma_buf_s4()
2966 physaddr = sg_dma_address(sgel); in lpfc_scsi_prep_dma_buf_s4()
2967 dma_len = sg_dma_len(sgel); in lpfc_scsi_prep_dma_buf_s4()
/linux-3.4.99/drivers/scsi/mpt2sas/
Dmpt2sas_base.c1115 Mpi2SGESimple32_t *sgel = paddr; in _base_add_sg_single_32() local
1119 sgel->FlagsLength = cpu_to_le32(flags_length); in _base_add_sg_single_32()
1120 sgel->Address = cpu_to_le32(dma_addr); in _base_add_sg_single_32()
1135 Mpi2SGESimple64_t *sgel = paddr; in _base_add_sg_single_64() local
1139 sgel->FlagsLength = cpu_to_le32(flags_length); in _base_add_sg_single_64()
1140 sgel->Address = cpu_to_le64(dma_addr); in _base_add_sg_single_64()