Lines Matching refs:bpl

334 	struct ulp_bde64 *bpl;  in lpfc_new_scsi_buf_s3()  local
386 bpl = (struct ulp_bde64 *)psb->dma_sgl; in lpfc_new_scsi_buf_s3()
397 bpl[0].addrHigh = le32_to_cpu(putPaddrHigh(pdma_phys_fcp_cmd)); in lpfc_new_scsi_buf_s3()
398 bpl[0].addrLow = le32_to_cpu(putPaddrLow(pdma_phys_fcp_cmd)); in lpfc_new_scsi_buf_s3()
399 bpl[0].tus.f.bdeSize = sizeof(struct fcp_cmnd); in lpfc_new_scsi_buf_s3()
400 bpl[0].tus.f.bdeFlags = BUFF_TYPE_BDE_64; in lpfc_new_scsi_buf_s3()
401 bpl[0].tus.w = le32_to_cpu(bpl[0].tus.w); in lpfc_new_scsi_buf_s3()
404 bpl[1].addrHigh = le32_to_cpu(putPaddrHigh(pdma_phys_fcp_rsp)); in lpfc_new_scsi_buf_s3()
405 bpl[1].addrLow = le32_to_cpu(putPaddrLow(pdma_phys_fcp_rsp)); in lpfc_new_scsi_buf_s3()
406 bpl[1].tus.f.bdeSize = sizeof(struct fcp_rsp); in lpfc_new_scsi_buf_s3()
407 bpl[1].tus.f.bdeFlags = BUFF_TYPE_BDE_64; in lpfc_new_scsi_buf_s3()
408 bpl[1].tus.w = le32_to_cpu(bpl[1].tus.w); in lpfc_new_scsi_buf_s3()
840 struct ulp_bde64 *bpl = (struct ulp_bde64 *)lpfc_cmd->dma_sgl; in lpfc_scsi_prep_dma_buf_s3() local
854 bpl += 2; in lpfc_scsi_prep_dma_buf_s3()
902 bpl->tus.f.bdeFlags = BUFF_TYPE_BDE_64; in lpfc_scsi_prep_dma_buf_s3()
903 bpl->tus.f.bdeSize = sg_dma_len(sgel); in lpfc_scsi_prep_dma_buf_s3()
904 bpl->tus.w = le32_to_cpu(bpl->tus.w); in lpfc_scsi_prep_dma_buf_s3()
905 bpl->addrLow = in lpfc_scsi_prep_dma_buf_s3()
907 bpl->addrHigh = in lpfc_scsi_prep_dma_buf_s3()
909 bpl++; in lpfc_scsi_prep_dma_buf_s3()
1564 struct ulp_bde64 *bpl, int datasegcnt) in lpfc_bg_setup_bpl() argument
1597 pde5 = (struct lpfc_pde5 *) bpl; in lpfc_bg_setup_bpl()
1607 bpl++; in lpfc_bg_setup_bpl()
1608 pde6 = (struct lpfc_pde6 *) bpl; in lpfc_bg_setup_bpl()
1642 bpl++; in lpfc_bg_setup_bpl()
1647 bpl->addrLow = le32_to_cpu(putPaddrLow(physaddr)); in lpfc_bg_setup_bpl()
1648 bpl->addrHigh = le32_to_cpu(putPaddrHigh(physaddr)); in lpfc_bg_setup_bpl()
1649 bpl->tus.f.bdeSize = sg_dma_len(sgde); in lpfc_bg_setup_bpl()
1651 bpl->tus.f.bdeFlags = BUFF_TYPE_BDE_64; in lpfc_bg_setup_bpl()
1653 bpl->tus.f.bdeFlags = BUFF_TYPE_BDE_64I; in lpfc_bg_setup_bpl()
1654 bpl->tus.w = le32_to_cpu(bpl->tus.w); in lpfc_bg_setup_bpl()
1655 bpl++; in lpfc_bg_setup_bpl()
1704 struct ulp_bde64 *bpl, int datacnt, int protcnt) in lpfc_bg_setup_bpl_prot() argument
1764 pde5 = (struct lpfc_pde5 *) bpl; in lpfc_bg_setup_bpl_prot()
1774 bpl++; in lpfc_bg_setup_bpl_prot()
1775 pde6 = (struct lpfc_pde6 *) bpl; in lpfc_bg_setup_bpl_prot()
1804 bpl++; in lpfc_bg_setup_bpl_prot()
1813 pde7 = (struct lpfc_pde7 *) bpl; in lpfc_bg_setup_bpl_prot()
1850 bpl++; in lpfc_bg_setup_bpl_prot()
1852 bpl->addrLow = le32_to_cpu(putPaddrLow(dataphysaddr)); in lpfc_bg_setup_bpl_prot()
1853 bpl->addrHigh = le32_to_cpu(putPaddrHigh(dataphysaddr)); in lpfc_bg_setup_bpl_prot()
1859 bpl->tus.f.bdeSize = remainder; in lpfc_bg_setup_bpl_prot()
1866 bpl->tus.f.bdeSize = protgrp_bytes - subtotal; in lpfc_bg_setup_bpl_prot()
1867 split_offset += bpl->tus.f.bdeSize; in lpfc_bg_setup_bpl_prot()
1870 subtotal += bpl->tus.f.bdeSize; in lpfc_bg_setup_bpl_prot()
1873 bpl->tus.f.bdeFlags = BUFF_TYPE_BDE_64; in lpfc_bg_setup_bpl_prot()
1875 bpl->tus.f.bdeFlags = BUFF_TYPE_BDE_64I; in lpfc_bg_setup_bpl_prot()
1876 bpl->tus.w = le32_to_cpu(bpl->tus.w); in lpfc_bg_setup_bpl_prot()
1892 bpl++; in lpfc_bg_setup_bpl_prot()
1902 bpl++; in lpfc_bg_setup_bpl_prot()
2525 struct ulp_bde64 *bpl = (struct ulp_bde64 *)lpfc_cmd->dma_sgl; in lpfc_bg_scsi_prep_dma_buf_s3() local
2538 bpl += 2; in lpfc_bg_scsi_prep_dma_buf_s3()
2572 num_bde = lpfc_bg_setup_bpl(phba, scsi_cmnd, bpl, in lpfc_bg_scsi_prep_dma_buf_s3()
2607 num_bde = lpfc_bg_setup_bpl_prot(phba, scsi_cmnd, bpl, in lpfc_bg_scsi_prep_dma_buf_s3()