Lines Matching full:pbl
1540 struct scsi_bd *pbl; in qedi_alloc_bdq() local
1570 QEDI_ERR(&qedi->dbg_ctx, "Could not allocate BDQ PBL.\n"); in qedi_alloc_bdq()
1575 * Populate BDQ PBL with physical and virtual address of individual in qedi_alloc_bdq()
1578 pbl = (struct scsi_bd *)qedi->bdq_pbl; in qedi_alloc_bdq()
1580 pbl->address.hi = in qedi_alloc_bdq()
1582 pbl->address.lo = in qedi_alloc_bdq()
1585 "pbl [0x%p] pbl->address hi [0x%llx] lo [0x%llx], idx [%d]\n", in qedi_alloc_bdq()
1586 pbl, pbl->address.hi, pbl->address.lo, i); in qedi_alloc_bdq()
1587 pbl->opaque.iscsi_opaque.reserved_zero[0] = 0; in qedi_alloc_bdq()
1588 pbl->opaque.iscsi_opaque.reserved_zero[1] = 0; in qedi_alloc_bdq()
1589 pbl->opaque.iscsi_opaque.reserved_zero[2] = 0; in qedi_alloc_bdq()
1590 pbl->opaque.iscsi_opaque.opaque = cpu_to_le16(i); in qedi_alloc_bdq()
1591 pbl++; in qedi_alloc_bdq()
1594 /* Allocate list of PBL pages */ in qedi_alloc_bdq()
1601 "Could not allocate list of PBL pages.\n"); in qedi_alloc_bdq()
1606 * Now populate PBL list with pages that contain pointers to the in qedi_alloc_bdq()
1627 u32 *pbl; in qedi_alloc_global_queues() local
1640 /* Make sure we allocated the PBL that will contain the physical in qedi_alloc_global_queues()
1668 /* Allocate a CQ and an associated PBL for each MSI-X in qedi_alloc_global_queues()
1712 "Could not allocate cq PBL.\n"); in qedi_alloc_global_queues()
1717 /* Create PBL */ in qedi_alloc_global_queues()
1721 pbl = (u32 *)qedi->global_queues[i]->cq_pbl; in qedi_alloc_global_queues()
1724 *pbl = (u32)page; in qedi_alloc_global_queues()
1725 pbl++; in qedi_alloc_global_queues()
1726 *pbl = (u32)((u64)page >> 32); in qedi_alloc_global_queues()
1727 pbl++; in qedi_alloc_global_queues()
1735 * The list is built as follows: CQ#0 PBL pointer, RQ#0 PBL pointer, in qedi_alloc_global_queues()
1736 * CQ#1 PBL pointer, RQ#1 PBL pointer, etc. Each PBL pointer points in qedi_alloc_global_queues()
1762 u32 *pbl; in qedi_alloc_sq() local
1769 /* Calculate appropriate queue and PBL sizes */ in qedi_alloc_sq()
1788 "Could not allocate send queue PBL.\n"); in qedi_alloc_sq()
1793 /* Create PBL */ in qedi_alloc_sq()
1796 pbl = (u32 *)ep->sq_pbl; in qedi_alloc_sq()
1799 *pbl = (u32)page; in qedi_alloc_sq()
1800 pbl++; in qedi_alloc_sq()
1801 *pbl = (u32)((u64)page >> 32); in qedi_alloc_sq()
1802 pbl++; in qedi_alloc_sq()