Lines Matching refs:bpl
154 int outbound_buffers, struct ulp_bde64 *bpl, in lpfc_alloc_bsg_buffers() argument
197 bpl->tus.f.bdeFlags = BUFF_TYPE_BDE_64; in lpfc_alloc_bsg_buffers()
199 bpl->tus.f.bdeFlags = BUFF_TYPE_BDE_64I; in lpfc_alloc_bsg_buffers()
200 bpl->addrLow = le32_to_cpu(putPaddrLow(mp->phys)); in lpfc_alloc_bsg_buffers()
201 bpl->addrHigh = le32_to_cpu(putPaddrHigh(mp->phys)); in lpfc_alloc_bsg_buffers()
202 bpl->tus.f.bdeSize = (uint16_t) in lpfc_alloc_bsg_buffers()
205 bytes_left -= bpl->tus.f.bdeSize; in lpfc_alloc_bsg_buffers()
206 bpl->tus.w = le32_to_cpu(bpl->tus.w); in lpfc_alloc_bsg_buffers()
207 bpl++; in lpfc_alloc_bsg_buffers()
387 struct ulp_bde64 *bpl = NULL; in lpfc_bsg_send_mgmt_cmd() local
443 bpl = (struct ulp_bde64 *) bmp->virt; in lpfc_bsg_send_mgmt_cmd()
446 1, bpl, &request_nseg); in lpfc_bsg_send_mgmt_cmd()
454 bpl += request_nseg; in lpfc_bsg_send_mgmt_cmd()
457 bpl, &reply_nseg); in lpfc_bsg_send_mgmt_cmd()
1614 struct ulp_bde64 *bpl; in lpfc_bsg_send_mgmt_rsp() local
1643 bpl = (struct ulp_bde64 *) bmp->virt; in lpfc_bsg_send_mgmt_rsp()
1646 1, bpl, &bpl_entries); in lpfc_bsg_send_mgmt_rsp()
2541 struct ulp_bde64 *bpl = NULL; in lpfcdiag_loop_get_xri() local
2568 bpl = (struct ulp_bde64 *) dmabuf->virt; in lpfcdiag_loop_get_xri()
2569 memset(bpl, 0, sizeof(*bpl)); in lpfcdiag_loop_get_xri()
2570 ctreq = (struct lpfc_sli_ct_request *)(bpl + 1); in lpfcdiag_loop_get_xri()
2571 bpl->addrHigh = in lpfcdiag_loop_get_xri()
2573 sizeof(*bpl))); in lpfcdiag_loop_get_xri()
2574 bpl->addrLow = in lpfcdiag_loop_get_xri()
2576 sizeof(*bpl))); in lpfcdiag_loop_get_xri()
2577 bpl->tus.f.bdeFlags = 0; in lpfcdiag_loop_get_xri()
2578 bpl->tus.f.bdeSize = ELX_LOOPBACK_HEADER_SZ; in lpfcdiag_loop_get_xri()
2579 bpl->tus.w = le32_to_cpu(bpl->tus.w); in lpfcdiag_loop_get_xri()
2584 dmabuf == NULL || bpl == NULL || ctreq == NULL || in lpfcdiag_loop_get_xri()
2606 cmd->un.xseq64.bdl.bdeSize = sizeof(*bpl); in lpfcdiag_loop_get_xri()
2762 struct ulp_bde64 *bpl, uint32_t size, in diag_cmd_data_alloc() argument
2804 bpl->tus.f.bdeFlags = 0; in diag_cmd_data_alloc()
2810 bpl->tus.f.bdeFlags = BUFF_TYPE_BDE_64I; in diag_cmd_data_alloc()
2814 bpl->addrLow = le32_to_cpu(putPaddrLow(dmp->dma.phys)); in diag_cmd_data_alloc()
2815 bpl->addrHigh = le32_to_cpu(putPaddrHigh(dmp->dma.phys)); in diag_cmd_data_alloc()
2816 bpl->tus.f.bdeSize = (ushort) cnt; in diag_cmd_data_alloc()
2817 bpl->tus.w = le32_to_cpu(bpl->tus.w); in diag_cmd_data_alloc()
2818 bpl++; in diag_cmd_data_alloc()
5056 struct ulp_bde64 *bpl = NULL; in lpfc_menlo_cmd() local
5117 bpl = (struct ulp_bde64 *)bmp->virt; in lpfc_menlo_cmd()
5120 1, bpl, &request_nseg); in lpfc_menlo_cmd()
5128 bpl += request_nseg; in lpfc_menlo_cmd()
5131 bpl, &reply_nseg); in lpfc_menlo_cmd()