Lines Matching full:pbl

1541 	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()
1625 u32 *pbl; in qedi_alloc_global_queues() local
1638 /* Make sure we allocated the PBL that will contain the physical in qedi_alloc_global_queues()
1666 /* Allocate a CQ and an associated PBL for each MSI-X in qedi_alloc_global_queues()
1711 "Could not allocate cq PBL.\n"); in qedi_alloc_global_queues()
1716 /* Create PBL */ in qedi_alloc_global_queues()
1720 pbl = (u32 *)qedi->global_queues[i]->cq_pbl; in qedi_alloc_global_queues()
1723 *pbl = (u32)page; in qedi_alloc_global_queues()
1724 pbl++; in qedi_alloc_global_queues()
1725 *pbl = (u32)((u64)page >> 32); in qedi_alloc_global_queues()
1726 pbl++; in qedi_alloc_global_queues()
1734 * The list is built as follows: CQ#0 PBL pointer, RQ#0 PBL pointer, in qedi_alloc_global_queues()
1735 * CQ#1 PBL pointer, RQ#1 PBL pointer, etc. Each PBL pointer points in qedi_alloc_global_queues()
1761 u32 *pbl; in qedi_alloc_sq() local
1768 /* Calculate appropriate queue and PBL sizes */ in qedi_alloc_sq()
1787 "Could not allocate send queue PBL.\n"); in qedi_alloc_sq()
1792 /* Create PBL */ in qedi_alloc_sq()
1795 pbl = (u32 *)ep->sq_pbl; in qedi_alloc_sq()
1798 *pbl = (u32)page; in qedi_alloc_sq()
1799 pbl++; in qedi_alloc_sq()
1800 *pbl = (u32)((u64)page >> 32); in qedi_alloc_sq()
1801 pbl++; in qedi_alloc_sq()