Lines Matching refs:bpl
255 struct ulp_bde64 *bpl;
307 bpl = (struct ulp_bde64 *)psb->dma_sgl;
318 bpl[0].addrHigh = le32_to_cpu(putPaddrHigh(pdma_phys_fcp_cmd));
319 bpl[0].addrLow = le32_to_cpu(putPaddrLow(pdma_phys_fcp_cmd));
320 bpl[0].tus.f.bdeSize = sizeof(struct fcp_cmnd);
321 bpl[0].tus.f.bdeFlags = BUFF_TYPE_BDE_64;
322 bpl[0].tus.w = le32_to_cpu(bpl[0].tus.w);
325 bpl[1].addrHigh = le32_to_cpu(putPaddrHigh(pdma_phys_fcp_rsp));
326 bpl[1].addrLow = le32_to_cpu(putPaddrLow(pdma_phys_fcp_rsp));
327 bpl[1].tus.f.bdeSize = sizeof(struct fcp_rsp);
328 bpl[1].tus.f.bdeFlags = BUFF_TYPE_BDE_64;
329 bpl[1].tus.w = le32_to_cpu(bpl[1].tus.w);
814 struct ulp_bde64 *bpl = (struct ulp_bde64 *)lpfc_cmd->dma_sgl;
825 * bumping the bpl beyond the fcp_cmnd and fcp_rsp regions to the first
828 bpl += 2;
876 bpl->tus.f.bdeFlags = BUFF_TYPE_BDE_64;
877 bpl->tus.f.bdeSize = sg_dma_len(sgel);
878 bpl->tus.w = le32_to_cpu(bpl->tus.w);
879 bpl->addrLow =
881 bpl->addrHigh =
883 bpl++;
912 /* ebde count includes the response bde and data bpl */
1509 * @bpl: pointer to buffer list for protection groups
1538 struct ulp_bde64 *bpl, int datasegcnt)
1571 pde5 = (struct lpfc_pde5 *) bpl;
1579 /* advance bpl and increment bde count */
1581 bpl++;
1582 pde6 = (struct lpfc_pde6 *) bpl;
1614 /* advance bpl and increment bde count */
1616 bpl++;
1621 bpl->addrLow = le32_to_cpu(putPaddrLow(physaddr));
1622 bpl->addrHigh = le32_to_cpu(putPaddrHigh(physaddr));
1623 bpl->tus.f.bdeSize = sg_dma_len(sgde);
1625 bpl->tus.f.bdeFlags = BUFF_TYPE_BDE_64;
1627 bpl->tus.f.bdeFlags = BUFF_TYPE_BDE_64I;
1628 bpl->tus.w = le32_to_cpu(bpl->tus.w);
1629 bpl++;
1641 * @bpl: pointer to buffer list for protection groups
1678 struct ulp_bde64 *bpl, int datacnt, int protcnt)
1738 pde5 = (struct lpfc_pde5 *) bpl;
1746 /* advance bpl and increment bde count */
1748 bpl++;
1749 pde6 = (struct lpfc_pde6 *) bpl;
1776 /* advance bpl and increment bde count */
1778 bpl++;
1787 pde7 = (struct lpfc_pde7 *) bpl;
1824 bpl++;
1826 bpl->addrLow = le32_to_cpu(putPaddrLow(dataphysaddr));
1827 bpl->addrHigh = le32_to_cpu(putPaddrHigh(dataphysaddr));
1833 bpl->tus.f.bdeSize = remainder;
1840 bpl->tus.f.bdeSize = protgrp_bytes - subtotal;
1841 split_offset += bpl->tus.f.bdeSize;
1844 subtotal += bpl->tus.f.bdeSize;
1847 bpl->tus.f.bdeFlags = BUFF_TYPE_BDE_64;
1849 bpl->tus.f.bdeFlags = BUFF_TYPE_BDE_64I;
1850 bpl->tus.w = le32_to_cpu(bpl->tus.w);
1865 bpl++;
1875 bpl++;
1995 /* advance bpl and increment sge count */
2498 struct ulp_bde64 *bpl = (struct ulp_bde64 *)lpfc_cmd->dma_sgl;
2508 * Start the lpfc command prep by bumping the bpl beyond fcp_cmnd
2511 bpl += 2;
2545 num_bde = lpfc_bg_setup_bpl(phba, scsi_cmnd, bpl,
2580 num_bde = lpfc_bg_setup_bpl_prot(phba, scsi_cmnd, bpl,
2606 * for transmit, receive, and continuation bpl's.
3066 * bumping the bpl beyond the fcp_cmnd and fcp_rsp regions to the first
4618 * bumping the bpl beyond the fcp_cmnd and fcp_rsp regions to the first