Lines Matching refs:bpl
149 int outbound_buffers, struct ulp_bde64 *bpl, in lpfc_alloc_bsg_buffers() argument
192 bpl->tus.f.bdeFlags = BUFF_TYPE_BDE_64; in lpfc_alloc_bsg_buffers()
194 bpl->tus.f.bdeFlags = BUFF_TYPE_BDE_64I; in lpfc_alloc_bsg_buffers()
195 bpl->addrLow = le32_to_cpu(putPaddrLow(mp->phys)); in lpfc_alloc_bsg_buffers()
196 bpl->addrHigh = le32_to_cpu(putPaddrHigh(mp->phys)); in lpfc_alloc_bsg_buffers()
197 bpl->tus.f.bdeSize = (uint16_t) in lpfc_alloc_bsg_buffers()
200 bytes_left -= bpl->tus.f.bdeSize; in lpfc_alloc_bsg_buffers()
201 bpl->tus.w = le32_to_cpu(bpl->tus.w); in lpfc_alloc_bsg_buffers()
202 bpl++; in lpfc_alloc_bsg_buffers()
386 struct ulp_bde64 *bpl = NULL; in lpfc_bsg_send_mgmt_cmd() local
432 bpl = (struct ulp_bde64 *) bmp->virt; in lpfc_bsg_send_mgmt_cmd()
435 1, bpl, &request_nseg); in lpfc_bsg_send_mgmt_cmd()
443 bpl += request_nseg; in lpfc_bsg_send_mgmt_cmd()
446 bpl, &reply_nseg); in lpfc_bsg_send_mgmt_cmd()
1578 struct ulp_bde64 *bpl; in lpfc_bsg_send_mgmt_rsp() local
1607 bpl = (struct ulp_bde64 *) bmp->virt; in lpfc_bsg_send_mgmt_rsp()
1610 1, bpl, &bpl_entries); in lpfc_bsg_send_mgmt_rsp()
2594 struct ulp_bde64 *bpl = NULL; in lpfcdiag_loop_get_xri() local
2622 bpl = (struct ulp_bde64 *) dmabuf->virt; in lpfcdiag_loop_get_xri()
2623 memset(bpl, 0, sizeof(*bpl)); in lpfcdiag_loop_get_xri()
2624 ctreq = (struct lpfc_sli_ct_request *)(bpl + 1); in lpfcdiag_loop_get_xri()
2625 bpl->addrHigh = in lpfcdiag_loop_get_xri()
2627 sizeof(*bpl))); in lpfcdiag_loop_get_xri()
2628 bpl->addrLow = in lpfcdiag_loop_get_xri()
2630 sizeof(*bpl))); in lpfcdiag_loop_get_xri()
2631 bpl->tus.f.bdeFlags = 0; in lpfcdiag_loop_get_xri()
2632 bpl->tus.f.bdeSize = ELX_LOOPBACK_HEADER_SZ; in lpfcdiag_loop_get_xri()
2633 bpl->tus.w = le32_to_cpu(bpl->tus.w); in lpfcdiag_loop_get_xri()
2638 dmabuf == NULL || bpl == NULL || ctreq == NULL || in lpfcdiag_loop_get_xri()
2801 struct ulp_bde64 *bpl, uint32_t size, in diag_cmd_data_alloc() argument
2843 bpl->tus.f.bdeFlags = 0; in diag_cmd_data_alloc()
2846 bpl->tus.f.bdeFlags = BUFF_TYPE_BDE_64I; in diag_cmd_data_alloc()
2850 bpl->addrLow = le32_to_cpu(putPaddrLow(dmp->dma.phys)); in diag_cmd_data_alloc()
2851 bpl->addrHigh = le32_to_cpu(putPaddrHigh(dmp->dma.phys)); in diag_cmd_data_alloc()
2852 bpl->tus.f.bdeSize = (ushort) cnt; in diag_cmd_data_alloc()
2853 bpl->tus.w = le32_to_cpu(bpl->tus.w); in diag_cmd_data_alloc()
2854 bpl++; in diag_cmd_data_alloc()