Lines Matching refs:bpl

334 	struct ulp_bde64 *bpl;
386 bpl = (struct ulp_bde64 *)psb->dma_sgl;
397 bpl[0].addrHigh = le32_to_cpu(putPaddrHigh(pdma_phys_fcp_cmd));
398 bpl[0].addrLow = le32_to_cpu(putPaddrLow(pdma_phys_fcp_cmd));
399 bpl[0].tus.f.bdeSize = sizeof(struct fcp_cmnd);
400 bpl[0].tus.f.bdeFlags = BUFF_TYPE_BDE_64;
401 bpl[0].tus.w = le32_to_cpu(bpl[0].tus.w);
404 bpl[1].addrHigh = le32_to_cpu(putPaddrHigh(pdma_phys_fcp_rsp));
405 bpl[1].addrLow = le32_to_cpu(putPaddrLow(pdma_phys_fcp_rsp));
406 bpl[1].tus.f.bdeSize = sizeof(struct fcp_rsp);
407 bpl[1].tus.f.bdeFlags = BUFF_TYPE_BDE_64;
408 bpl[1].tus.w = le32_to_cpu(bpl[1].tus.w);
714 * We are setting the bpl to point to out sgl. An sgl's
715 * entries are 16 bytes, a bpl entries are 12 bytes.
840 struct ulp_bde64 *bpl = (struct ulp_bde64 *)lpfc_cmd->dma_sgl;
851 * bumping the bpl beyond the fcp_cmnd and fcp_rsp regions to the first
854 bpl += 2;
902 bpl->tus.f.bdeFlags = BUFF_TYPE_BDE_64;
903 bpl->tus.f.bdeSize = sg_dma_len(sgel);
904 bpl->tus.w = le32_to_cpu(bpl->tus.w);
905 bpl->addrLow =
907 bpl->addrHigh =
909 bpl++;
938 /* ebde count includes the response bde and data bpl */
1535 * @bpl: pointer to buffer list for protection groups
1564 struct ulp_bde64 *bpl, int datasegcnt)
1597 pde5 = (struct lpfc_pde5 *) bpl;
1605 /* advance bpl and increment bde count */
1607 bpl++;
1608 pde6 = (struct lpfc_pde6 *) bpl;
1640 /* advance bpl and increment bde count */
1642 bpl++;
1647 bpl->addrLow = le32_to_cpu(putPaddrLow(physaddr));
1648 bpl->addrHigh = le32_to_cpu(putPaddrHigh(physaddr));
1649 bpl->tus.f.bdeSize = sg_dma_len(sgde);
1651 bpl->tus.f.bdeFlags = BUFF_TYPE_BDE_64;
1653 bpl->tus.f.bdeFlags = BUFF_TYPE_BDE_64I;
1654 bpl->tus.w = le32_to_cpu(bpl->tus.w);
1655 bpl++;
1667 * @bpl: pointer to buffer list for protection groups
1704 struct ulp_bde64 *bpl, int datacnt, int protcnt)
1764 pde5 = (struct lpfc_pde5 *) bpl;
1772 /* advance bpl and increment bde count */
1774 bpl++;
1775 pde6 = (struct lpfc_pde6 *) bpl;
1802 /* advance bpl and increment bde count */
1804 bpl++;
1813 pde7 = (struct lpfc_pde7 *) bpl;
1850 bpl++;
1852 bpl->addrLow = le32_to_cpu(putPaddrLow(dataphysaddr));
1853 bpl->addrHigh = le32_to_cpu(putPaddrHigh(dataphysaddr));
1859 bpl->tus.f.bdeSize = remainder;
1866 bpl->tus.f.bdeSize = protgrp_bytes - subtotal;
1867 split_offset += bpl->tus.f.bdeSize;
1870 subtotal += bpl->tus.f.bdeSize;
1873 bpl->tus.f.bdeFlags = BUFF_TYPE_BDE_64;
1875 bpl->tus.f.bdeFlags = BUFF_TYPE_BDE_64I;
1876 bpl->tus.w = le32_to_cpu(bpl->tus.w);
1892 bpl++;
1902 bpl++;
2021 /* advance bpl and increment sge count */
2525 struct ulp_bde64 *bpl = (struct ulp_bde64 *)lpfc_cmd->dma_sgl;
2535 * Start the lpfc command prep by bumping the bpl beyond fcp_cmnd
2538 bpl += 2;
2572 num_bde = lpfc_bg_setup_bpl(phba, scsi_cmnd, bpl,
2607 num_bde = lpfc_bg_setup_bpl_prot(phba, scsi_cmnd, bpl,
2633 * for transmit, receive, and continuation bpl's.
3066 * bumping the bpl beyond the fcp_cmnd and fcp_rsp regions to the first
4126 * bumping the bpl beyond the fcp_cmnd and fcp_rsp regions to the first