Lines Matching full:pbl

1540 	struct scsi_bd *pbl;  in qedi_alloc_bdq()  local
1569 QEDI_ERR(&qedi->dbg_ctx, "Could not allocate BDQ PBL.\n"); in qedi_alloc_bdq()
1574 * Populate BDQ PBL with physical and virtual address of individual in qedi_alloc_bdq()
1577 pbl = (struct scsi_bd *)qedi->bdq_pbl; in qedi_alloc_bdq()
1579 pbl->address.hi = in qedi_alloc_bdq()
1581 pbl->address.lo = in qedi_alloc_bdq()
1584 "pbl [0x%p] pbl->address hi [0x%llx] lo [0x%llx], idx [%d]\n", in qedi_alloc_bdq()
1585 pbl, pbl->address.hi, pbl->address.lo, i); in qedi_alloc_bdq()
1586 pbl->opaque.iscsi_opaque.reserved_zero[0] = 0; in qedi_alloc_bdq()
1587 pbl->opaque.iscsi_opaque.reserved_zero[1] = 0; in qedi_alloc_bdq()
1588 pbl->opaque.iscsi_opaque.reserved_zero[2] = 0; in qedi_alloc_bdq()
1589 pbl->opaque.iscsi_opaque.opaque = cpu_to_le16(i); in qedi_alloc_bdq()
1590 pbl++; in qedi_alloc_bdq()
1593 /* Allocate list of PBL pages */ in qedi_alloc_bdq()
1600 "Could not allocate list of PBL pages.\n"); in qedi_alloc_bdq()
1605 * Now populate PBL list with pages that contain pointers to the in qedi_alloc_bdq()
1624 u32 *pbl; in qedi_alloc_global_queues() local
1637 /* Make sure we allocated the PBL that will contain the physical in qedi_alloc_global_queues()
1665 /* Allocate a CQ and an associated PBL for each MSI-X in qedi_alloc_global_queues()
1710 "Could not allocate cq PBL.\n"); in qedi_alloc_global_queues()
1715 /* Create PBL */ in qedi_alloc_global_queues()
1719 pbl = (u32 *)qedi->global_queues[i]->cq_pbl; in qedi_alloc_global_queues()
1722 *pbl = (u32)page; in qedi_alloc_global_queues()
1723 pbl++; in qedi_alloc_global_queues()
1724 *pbl = (u32)((u64)page >> 32); in qedi_alloc_global_queues()
1725 pbl++; in qedi_alloc_global_queues()
1733 * The list is built as follows: CQ#0 PBL pointer, RQ#0 PBL pointer, in qedi_alloc_global_queues()
1734 * CQ#1 PBL pointer, RQ#1 PBL pointer, etc. Each PBL pointer points in qedi_alloc_global_queues()
1760 u32 *pbl; in qedi_alloc_sq() local
1767 /* Calculate appropriate queue and PBL sizes */ in qedi_alloc_sq()
1786 "Could not allocate send queue PBL.\n"); in qedi_alloc_sq()
1791 /* Create PBL */ in qedi_alloc_sq()
1794 pbl = (u32 *)ep->sq_pbl; in qedi_alloc_sq()
1797 *pbl = (u32)page; in qedi_alloc_sq()
1798 pbl++; in qedi_alloc_sq()
1799 *pbl = (u32)((u64)page >> 32); in qedi_alloc_sq()
1800 pbl++; in qedi_alloc_sq()