Lines Matching full:pbl
1257 u32 *pbl; in qedf_alloc_sq() local
1261 /* Calculate appropriate queue and PBL sizes */ in qedf_alloc_sq()
1280 QEDF_WARN(&(qedf->dbg_ctx), "Could not allocate send queue PBL.\n"); in qedf_alloc_sq()
1285 /* Create PBL */ in qedf_alloc_sq()
1288 pbl = (u32 *)fcport->sq_pbl; in qedf_alloc_sq()
1291 *pbl = U64_LO(page); in qedf_alloc_sq()
1292 pbl++; in qedf_alloc_sq()
1293 *pbl = U64_HI(page); in qedf_alloc_sq()
1294 pbl++; in qedf_alloc_sq()
2967 struct scsi_bd *pbl; in qedf_alloc_bdq() local
2990 QEDF_ERR(&(qedf->dbg_ctx), "Could not allocate BDQ PBL.\n"); in qedf_alloc_bdq()
2995 "BDQ PBL addr=0x%p dma=%pad\n", in qedf_alloc_bdq()
2999 * Populate BDQ PBL with physical and virtual address of individual in qedf_alloc_bdq()
3002 pbl = (struct scsi_bd *)qedf->bdq_pbl; in qedf_alloc_bdq()
3004 pbl->address.hi = cpu_to_le32(U64_HI(qedf->bdq[i].buf_dma)); in qedf_alloc_bdq()
3005 pbl->address.lo = cpu_to_le32(U64_LO(qedf->bdq[i].buf_dma)); in qedf_alloc_bdq()
3006 pbl->opaque.fcoe_opaque.hi = 0; in qedf_alloc_bdq()
3008 pbl->opaque.fcoe_opaque.lo = cpu_to_le32(i); in qedf_alloc_bdq()
3009 pbl++; in qedf_alloc_bdq()
3012 /* Allocate list of PBL pages */ in qedf_alloc_bdq()
3018 QEDF_ERR(&(qedf->dbg_ctx), "Could not allocate list of PBL pages.\n"); in qedf_alloc_bdq()
3023 * Now populate PBL list with pages that contain pointers to the in qedf_alloc_bdq()
3042 u32 *pbl; in qedf_alloc_global_queues() local
3057 * Make sure we allocated the PBL that will contain the physical in qedf_alloc_global_queues()
3082 /* Allocate a CQ and an associated PBL for each MSI-X vector */ in qedf_alloc_global_queues()
3123 QEDF_WARN(&(qedf->dbg_ctx), "Could not allocate cq PBL.\n"); in qedf_alloc_global_queues()
3128 /* Create PBL */ in qedf_alloc_global_queues()
3132 pbl = (u32 *)qedf->global_queues[i]->cq_pbl; in qedf_alloc_global_queues()
3135 *pbl = U64_LO(page); in qedf_alloc_global_queues()
3136 pbl++; in qedf_alloc_global_queues()
3137 *pbl = U64_HI(page); in qedf_alloc_global_queues()
3138 pbl++; in qedf_alloc_global_queues()
3148 * The list is built as follows: CQ#0 PBL pointer, RQ#0 PBL pointer, in qedf_alloc_global_queues()
3149 * CQ#1 PBL pointer, RQ#1 PBL pointer, etc. Each PBL pointer points in qedf_alloc_global_queues()
3207 /* Calculate SQ PBL size in the same manner as in qedf_sq_alloc() */ in qedf_set_fcoe_pf_param()