Lines Matching refs:bpl

388 	struct ulp_bde64 *bpl;  in lpfc_new_scsi_buf_s3()  local
442 bpl = psb->fcp_bpl; in lpfc_new_scsi_buf_s3()
453 bpl[0].addrHigh = le32_to_cpu(putPaddrHigh(pdma_phys_fcp_cmd)); in lpfc_new_scsi_buf_s3()
454 bpl[0].addrLow = le32_to_cpu(putPaddrLow(pdma_phys_fcp_cmd)); in lpfc_new_scsi_buf_s3()
455 bpl[0].tus.f.bdeSize = sizeof(struct fcp_cmnd); in lpfc_new_scsi_buf_s3()
456 bpl[0].tus.f.bdeFlags = BUFF_TYPE_BDE_64; in lpfc_new_scsi_buf_s3()
457 bpl[0].tus.w = le32_to_cpu(bpl[0].tus.w); in lpfc_new_scsi_buf_s3()
460 bpl[1].addrHigh = le32_to_cpu(putPaddrHigh(pdma_phys_fcp_rsp)); in lpfc_new_scsi_buf_s3()
461 bpl[1].addrLow = le32_to_cpu(putPaddrLow(pdma_phys_fcp_rsp)); in lpfc_new_scsi_buf_s3()
462 bpl[1].tus.f.bdeSize = sizeof(struct fcp_rsp); in lpfc_new_scsi_buf_s3()
463 bpl[1].tus.f.bdeFlags = BUFF_TYPE_BDE_64; in lpfc_new_scsi_buf_s3()
464 bpl[1].tus.w = le32_to_cpu(bpl[1].tus.w); in lpfc_new_scsi_buf_s3()
1152 struct ulp_bde64 *bpl = lpfc_cmd->fcp_bpl; in lpfc_scsi_prep_dma_buf_s3() local
1166 bpl += 2; in lpfc_scsi_prep_dma_buf_s3()
1213 bpl->tus.f.bdeFlags = BUFF_TYPE_BDE_64; in lpfc_scsi_prep_dma_buf_s3()
1214 bpl->tus.f.bdeSize = sg_dma_len(sgel); in lpfc_scsi_prep_dma_buf_s3()
1215 bpl->tus.w = le32_to_cpu(bpl->tus.w); in lpfc_scsi_prep_dma_buf_s3()
1216 bpl->addrLow = in lpfc_scsi_prep_dma_buf_s3()
1218 bpl->addrHigh = in lpfc_scsi_prep_dma_buf_s3()
1220 bpl++; in lpfc_scsi_prep_dma_buf_s3()
1870 struct ulp_bde64 *bpl, int datasegcnt) in lpfc_bg_setup_bpl() argument
1903 pde5 = (struct lpfc_pde5 *) bpl; in lpfc_bg_setup_bpl()
1913 bpl++; in lpfc_bg_setup_bpl()
1914 pde6 = (struct lpfc_pde6 *) bpl; in lpfc_bg_setup_bpl()
1948 bpl++; in lpfc_bg_setup_bpl()
1953 bpl->addrLow = le32_to_cpu(putPaddrLow(physaddr)); in lpfc_bg_setup_bpl()
1954 bpl->addrHigh = le32_to_cpu(putPaddrHigh(physaddr)); in lpfc_bg_setup_bpl()
1955 bpl->tus.f.bdeSize = sg_dma_len(sgde); in lpfc_bg_setup_bpl()
1957 bpl->tus.f.bdeFlags = BUFF_TYPE_BDE_64; in lpfc_bg_setup_bpl()
1959 bpl->tus.f.bdeFlags = BUFF_TYPE_BDE_64I; in lpfc_bg_setup_bpl()
1960 bpl->tus.w = le32_to_cpu(bpl->tus.w); in lpfc_bg_setup_bpl()
1961 bpl++; in lpfc_bg_setup_bpl()
2010 struct ulp_bde64 *bpl, int datacnt, int protcnt) in lpfc_bg_setup_bpl_prot() argument
2070 pde5 = (struct lpfc_pde5 *) bpl; in lpfc_bg_setup_bpl_prot()
2080 bpl++; in lpfc_bg_setup_bpl_prot()
2081 pde6 = (struct lpfc_pde6 *) bpl; in lpfc_bg_setup_bpl_prot()
2110 bpl++; in lpfc_bg_setup_bpl_prot()
2119 pde7 = (struct lpfc_pde7 *) bpl; in lpfc_bg_setup_bpl_prot()
2156 bpl++; in lpfc_bg_setup_bpl_prot()
2158 bpl->addrLow = le32_to_cpu(putPaddrLow(dataphysaddr)); in lpfc_bg_setup_bpl_prot()
2159 bpl->addrHigh = le32_to_cpu(putPaddrHigh(dataphysaddr)); in lpfc_bg_setup_bpl_prot()
2165 bpl->tus.f.bdeSize = remainder; in lpfc_bg_setup_bpl_prot()
2172 bpl->tus.f.bdeSize = protgrp_bytes - subtotal; in lpfc_bg_setup_bpl_prot()
2173 split_offset += bpl->tus.f.bdeSize; in lpfc_bg_setup_bpl_prot()
2176 subtotal += bpl->tus.f.bdeSize; in lpfc_bg_setup_bpl_prot()
2179 bpl->tus.f.bdeFlags = BUFF_TYPE_BDE_64; in lpfc_bg_setup_bpl_prot()
2181 bpl->tus.f.bdeFlags = BUFF_TYPE_BDE_64I; in lpfc_bg_setup_bpl_prot()
2182 bpl->tus.w = le32_to_cpu(bpl->tus.w); in lpfc_bg_setup_bpl_prot()
2198 bpl++; in lpfc_bg_setup_bpl_prot()
2208 bpl++; in lpfc_bg_setup_bpl_prot()
2704 struct ulp_bde64 *bpl = lpfc_cmd->fcp_bpl; in lpfc_bg_scsi_prep_dma_buf_s3() local
2715 bpl += 2; in lpfc_bg_scsi_prep_dma_buf_s3()
2744 num_bde = lpfc_bg_setup_bpl(phba, scsi_cmnd, bpl, in lpfc_bg_scsi_prep_dma_buf_s3()
2775 num_bde = lpfc_bg_setup_bpl_prot(phba, scsi_cmnd, bpl, in lpfc_bg_scsi_prep_dma_buf_s3()