Lines Matching full:pbl
1245 u32 *pbl; in qedf_alloc_sq() local
1249 /* Calculate appropriate queue and PBL sizes */ in qedf_alloc_sq()
1268 QEDF_WARN(&(qedf->dbg_ctx), "Could not allocate send queue PBL.\n"); in qedf_alloc_sq()
1273 /* Create PBL */ in qedf_alloc_sq()
1276 pbl = (u32 *)fcport->sq_pbl; in qedf_alloc_sq()
1279 *pbl = U64_LO(page); in qedf_alloc_sq()
1280 pbl++; in qedf_alloc_sq()
1281 *pbl = U64_HI(page); in qedf_alloc_sq()
1282 pbl++; in qedf_alloc_sq()
2926 struct scsi_bd *pbl; in qedf_alloc_bdq() local
2950 QEDF_ERR(&(qedf->dbg_ctx), "Could not allocate BDQ PBL.\n"); in qedf_alloc_bdq()
2955 "BDQ PBL addr=0x%p dma=%pad\n", in qedf_alloc_bdq()
2959 * Populate BDQ PBL with physical and virtual address of individual in qedf_alloc_bdq()
2962 pbl = (struct scsi_bd *)qedf->bdq_pbl; in qedf_alloc_bdq()
2964 pbl->address.hi = cpu_to_le32(U64_HI(qedf->bdq[i].buf_dma)); in qedf_alloc_bdq()
2965 pbl->address.lo = cpu_to_le32(U64_LO(qedf->bdq[i].buf_dma)); in qedf_alloc_bdq()
2966 pbl->opaque.fcoe_opaque.hi = 0; in qedf_alloc_bdq()
2968 pbl->opaque.fcoe_opaque.lo = cpu_to_le32(i); in qedf_alloc_bdq()
2969 pbl++; in qedf_alloc_bdq()
2972 /* Allocate list of PBL pages */ in qedf_alloc_bdq()
2978 QEDF_ERR(&(qedf->dbg_ctx), "Could not allocate list of PBL pages.\n"); in qedf_alloc_bdq()
2983 * Now populate PBL list with pages that contain pointers to the in qedf_alloc_bdq()
3004 u32 *pbl; in qedf_alloc_global_queues() local
3019 * Make sure we allocated the PBL that will contain the physical in qedf_alloc_global_queues()
3045 /* Allocate a CQ and an associated PBL for each MSI-X vector */ in qedf_alloc_global_queues()
3086 QEDF_WARN(&(qedf->dbg_ctx), "Could not allocate cq PBL.\n"); in qedf_alloc_global_queues()
3091 /* Create PBL */ in qedf_alloc_global_queues()
3095 pbl = (u32 *)qedf->global_queues[i]->cq_pbl; in qedf_alloc_global_queues()
3098 *pbl = U64_LO(page); in qedf_alloc_global_queues()
3099 pbl++; in qedf_alloc_global_queues()
3100 *pbl = U64_HI(page); in qedf_alloc_global_queues()
3101 pbl++; in qedf_alloc_global_queues()
3111 * The list is built as follows: CQ#0 PBL pointer, RQ#0 PBL pointer, in qedf_alloc_global_queues()
3112 * CQ#1 PBL pointer, RQ#1 PBL pointer, etc. Each PBL pointer points in qedf_alloc_global_queues()
3170 /* Calculate SQ PBL size in the same manner as in qedf_sq_alloc() */ in qedf_set_fcoe_pf_param()