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()
1872 struct ulp_bde64 *bpl, int datasegcnt) in lpfc_bg_setup_bpl() argument
1907 pde5 = (struct lpfc_pde5 *) bpl; in lpfc_bg_setup_bpl()
1917 bpl++; in lpfc_bg_setup_bpl()
1918 pde6 = (struct lpfc_pde6 *) bpl; in lpfc_bg_setup_bpl()
1952 bpl++; in lpfc_bg_setup_bpl()
1957 bpl->addrLow = le32_to_cpu(putPaddrLow(physaddr)); in lpfc_bg_setup_bpl()
1958 bpl->addrHigh = le32_to_cpu(putPaddrHigh(physaddr)); in lpfc_bg_setup_bpl()
1959 bpl->tus.f.bdeSize = sg_dma_len(sgde); in lpfc_bg_setup_bpl()
1961 bpl->tus.f.bdeFlags = BUFF_TYPE_BDE_64; in lpfc_bg_setup_bpl()
1963 bpl->tus.f.bdeFlags = BUFF_TYPE_BDE_64I; in lpfc_bg_setup_bpl()
1964 bpl->tus.w = le32_to_cpu(bpl->tus.w); in lpfc_bg_setup_bpl()
1965 bpl++; in lpfc_bg_setup_bpl()
2014 struct ulp_bde64 *bpl, int datacnt, int protcnt) in lpfc_bg_setup_bpl_prot() argument
2074 pde5 = (struct lpfc_pde5 *) bpl; in lpfc_bg_setup_bpl_prot()
2084 bpl++; in lpfc_bg_setup_bpl_prot()
2085 pde6 = (struct lpfc_pde6 *) bpl; in lpfc_bg_setup_bpl_prot()
2114 bpl++; in lpfc_bg_setup_bpl_prot()
2123 pde7 = (struct lpfc_pde7 *) bpl; in lpfc_bg_setup_bpl_prot()
2160 bpl++; in lpfc_bg_setup_bpl_prot()
2162 bpl->addrLow = le32_to_cpu(putPaddrLow(dataphysaddr)); in lpfc_bg_setup_bpl_prot()
2163 bpl->addrHigh = le32_to_cpu(putPaddrHigh(dataphysaddr)); in lpfc_bg_setup_bpl_prot()
2169 bpl->tus.f.bdeSize = remainder; in lpfc_bg_setup_bpl_prot()
2176 bpl->tus.f.bdeSize = protgrp_bytes - subtotal; in lpfc_bg_setup_bpl_prot()
2177 split_offset += bpl->tus.f.bdeSize; in lpfc_bg_setup_bpl_prot()
2180 subtotal += bpl->tus.f.bdeSize; in lpfc_bg_setup_bpl_prot()
2183 bpl->tus.f.bdeFlags = BUFF_TYPE_BDE_64; in lpfc_bg_setup_bpl_prot()
2185 bpl->tus.f.bdeFlags = BUFF_TYPE_BDE_64I; in lpfc_bg_setup_bpl_prot()
2186 bpl->tus.w = le32_to_cpu(bpl->tus.w); in lpfc_bg_setup_bpl_prot()
2202 bpl++; in lpfc_bg_setup_bpl_prot()
2212 bpl++; in lpfc_bg_setup_bpl_prot()
2710 struct ulp_bde64 *bpl = lpfc_cmd->fcp_bpl; in lpfc_bg_scsi_prep_dma_buf_s3() local
2721 bpl += 2; in lpfc_bg_scsi_prep_dma_buf_s3()
2750 num_bde = lpfc_bg_setup_bpl(phba, scsi_cmnd, bpl, in lpfc_bg_scsi_prep_dma_buf_s3()
2781 num_bde = lpfc_bg_setup_bpl_prot(phba, scsi_cmnd, bpl, in lpfc_bg_scsi_prep_dma_buf_s3()