Lines Matching refs:bpl

158 		       int outbound_buffers, struct ulp_bde64 *bpl,  in lpfc_alloc_bsg_buffers()  argument
201 bpl->tus.f.bdeFlags = BUFF_TYPE_BDE_64; in lpfc_alloc_bsg_buffers()
203 bpl->tus.f.bdeFlags = BUFF_TYPE_BDE_64I; in lpfc_alloc_bsg_buffers()
204 bpl->addrLow = le32_to_cpu(putPaddrLow(mp->phys)); in lpfc_alloc_bsg_buffers()
205 bpl->addrHigh = le32_to_cpu(putPaddrHigh(mp->phys)); in lpfc_alloc_bsg_buffers()
206 bpl->tus.f.bdeSize = (uint16_t) in lpfc_alloc_bsg_buffers()
209 bytes_left -= bpl->tus.f.bdeSize; in lpfc_alloc_bsg_buffers()
210 bpl->tus.w = le32_to_cpu(bpl->tus.w); in lpfc_alloc_bsg_buffers()
211 bpl++; in lpfc_alloc_bsg_buffers()
395 struct ulp_bde64 *bpl = NULL; in lpfc_bsg_send_mgmt_cmd() local
451 bpl = (struct ulp_bde64 *) bmp->virt; in lpfc_bsg_send_mgmt_cmd()
454 1, bpl, &request_nseg); in lpfc_bsg_send_mgmt_cmd()
462 bpl += request_nseg; in lpfc_bsg_send_mgmt_cmd()
465 bpl, &reply_nseg); in lpfc_bsg_send_mgmt_cmd()
1634 struct ulp_bde64 *bpl; in lpfc_bsg_send_mgmt_rsp() local
1663 bpl = (struct ulp_bde64 *) bmp->virt; in lpfc_bsg_send_mgmt_rsp()
1666 1, bpl, &bpl_entries); in lpfc_bsg_send_mgmt_rsp()
2655 struct ulp_bde64 *bpl = NULL; in lpfcdiag_loop_get_xri() local
2682 bpl = (struct ulp_bde64 *) dmabuf->virt; in lpfcdiag_loop_get_xri()
2683 memset(bpl, 0, sizeof(*bpl)); in lpfcdiag_loop_get_xri()
2684 ctreq = (struct lpfc_sli_ct_request *)(bpl + 1); in lpfcdiag_loop_get_xri()
2685 bpl->addrHigh = in lpfcdiag_loop_get_xri()
2687 sizeof(*bpl))); in lpfcdiag_loop_get_xri()
2688 bpl->addrLow = in lpfcdiag_loop_get_xri()
2690 sizeof(*bpl))); in lpfcdiag_loop_get_xri()
2691 bpl->tus.f.bdeFlags = 0; in lpfcdiag_loop_get_xri()
2692 bpl->tus.f.bdeSize = ELX_LOOPBACK_HEADER_SZ; in lpfcdiag_loop_get_xri()
2693 bpl->tus.w = le32_to_cpu(bpl->tus.w); in lpfcdiag_loop_get_xri()
2698 dmabuf == NULL || bpl == NULL || ctreq == NULL || in lpfcdiag_loop_get_xri()
2720 cmd->un.xseq64.bdl.bdeSize = sizeof(*bpl); in lpfcdiag_loop_get_xri()
2876 struct ulp_bde64 *bpl, uint32_t size, in diag_cmd_data_alloc() argument
2918 bpl->tus.f.bdeFlags = 0; in diag_cmd_data_alloc()
2921 bpl->tus.f.bdeFlags = BUFF_TYPE_BDE_64I; in diag_cmd_data_alloc()
2925 bpl->addrLow = le32_to_cpu(putPaddrLow(dmp->dma.phys)); in diag_cmd_data_alloc()
2926 bpl->addrHigh = le32_to_cpu(putPaddrHigh(dmp->dma.phys)); in diag_cmd_data_alloc()
2927 bpl->tus.f.bdeSize = (ushort) cnt; in diag_cmd_data_alloc()
2928 bpl->tus.w = le32_to_cpu(bpl->tus.w); in diag_cmd_data_alloc()
2929 bpl++; in diag_cmd_data_alloc()
5188 struct ulp_bde64 *bpl = NULL; in lpfc_menlo_cmd() local
5246 bpl = (struct ulp_bde64 *)bmp->virt; in lpfc_menlo_cmd()
5249 1, bpl, &request_nseg); in lpfc_menlo_cmd()
5257 bpl += request_nseg; in lpfc_menlo_cmd()
5260 bpl, &reply_nseg); in lpfc_menlo_cmd()