Home
last modified time | relevance | path

Searched full:pbl (Results 1 – 25 of 316) sorted by relevance

12345678910>>...13

/openbmc/linux/drivers/infiniband/hw/bnxt_re/
H A Dqplib_res.c62 /* PBL */
63 static void __free_pbl(struct bnxt_qplib_res *res, struct bnxt_qplib_pbl *pbl, in __free_pbl() argument
70 for (i = 0; i < pbl->pg_count; i++) { in __free_pbl()
71 if (pbl->pg_arr[i]) in __free_pbl()
72 dma_free_coherent(&pdev->dev, pbl->pg_size, in __free_pbl()
74 pbl->pg_arr[i] & in __free_pbl()
76 pbl->pg_map_arr[i]); in __free_pbl()
79 "PBL free pg_arr[%d] empty?!\n", i); in __free_pbl()
80 pbl->pg_arr[i] = NULL; in __free_pbl()
83 vfree(pbl->pg_arr); in __free_pbl()
[all …]
/openbmc/u-boot/doc/
H A DREADME.pblimage2 Freescale PBL(pre-boot loader) Boot Image generation using mkimage
6 NAND, etc. These SoCs use PBL to load RCW and/or pre-initialization
11 Building PBL Boot Image and boot steps
14 1. Building PBL Boot Image.
15 The default Image is u-boot.pbl.
30 2. pblimage support available with mkimage utility will generate Freescale PBL
35 Write u-boot.pbl to eSPI flash from offset 0x0.
37 =>tftp 100000 u-boot.pbl
44 Write u-boot.pbl to SD/MMC from offset 0x1000.
46 =>tftp 100000 u-boot.pbl
[all …]
/openbmc/linux/drivers/infiniband/hw/efa/
H A Defa_verbs.c1268 static int pbl_chunk_list_create(struct efa_dev *dev, struct pbl_context *pbl) in pbl_chunk_list_create() argument
1270 struct pbl_chunk_list *chunk_list = &pbl->phys.indirect.chunk_list; in pbl_chunk_list_create()
1271 int page_cnt = pbl->phys.indirect.pbl_buf_size_in_pages; in pbl_chunk_list_create()
1272 struct scatterlist *pages_sgl = pbl->phys.indirect.sgl; in pbl_chunk_list_create()
1274 int sg_dma_cnt = pbl->phys.indirect.sg_dma_cnt; in pbl_chunk_list_create()
1368 static void pbl_chunk_list_destroy(struct efa_dev *dev, struct pbl_context *pbl) in pbl_chunk_list_destroy() argument
1370 struct pbl_chunk_list *chunk_list = &pbl->phys.indirect.chunk_list; in pbl_chunk_list_destroy()
1382 /* initialize pbl continuous mode: map pbl buffer to a dma address. */
1384 struct pbl_context *pbl) in pbl_continuous_initialize() argument
1388 dma_addr = dma_map_single(&dev->pdev->dev, pbl->pbl_buf, in pbl_continuous_initialize()
[all …]
H A Defa_com_cmd.c244 memcpy(mr_cmd.pbl.inline_pbl_array, in efa_com_register_mr()
245 params->pbl.inline_pbl_array, in efa_com_register_mr()
246 sizeof(mr_cmd.pbl.inline_pbl_array)); in efa_com_register_mr()
248 mr_cmd.pbl.pbl.length = params->pbl.pbl.length; in efa_com_register_mr()
249 mr_cmd.pbl.pbl.address.mem_addr_low = in efa_com_register_mr()
250 params->pbl.pbl.address.mem_addr_low; in efa_com_register_mr()
251 mr_cmd.pbl.pbl.address.mem_addr_high = in efa_com_register_mr()
252 params->pbl.pbl.address.mem_addr_high; in efa_com_register_mr()
/openbmc/linux/drivers/media/platform/amphion/
H A Dvpu_helpers.c152 u32 stride, u32 interlaced, u32 *pbl) in get_nv12_plane_size() argument
158 if (pbl) in get_nv12_plane_size()
159 bytesperline = max(bytesperline, *pbl); in get_nv12_plane_size()
166 if (pbl) in get_nv12_plane_size()
167 *pbl = bytesperline; in get_nv12_plane_size()
173 u32 stride, u32 interlaced, u32 *pbl) in get_tiled_8l128_plane_size() argument
186 if (pbl) in get_tiled_8l128_plane_size()
187 bytesperline = max(bytesperline, *pbl); in get_tiled_8l128_plane_size()
195 if (pbl) in get_tiled_8l128_plane_size()
196 *pbl = bytesperline; in get_tiled_8l128_plane_size()
[all …]
/openbmc/linux/include/linux/qed/
H A Dqed_chain.h84 /* Fastpath portions of the PBL [if exists] */
89 * in the pbl table.
97 } pbl; member
126 /* Base address of a pre-allocated buffer for pbl */
311 *p_next_elem = p_chain->pbl.pp_addr_tbl[page_index].virt_addr; in qed_chain_advance_page()
377 p_prod_page_idx = &p_chain->pbl.c.u16.prod_page_idx; in qed_chain_produce()
386 p_prod_page_idx = &p_chain->pbl.c.u32.prod_page_idx; in qed_chain_produce()
448 p_cons_page_idx = &p_chain->pbl.c.u16.cons_page_idx; in qed_chain_consume()
457 p_cons_page_idx = &p_chain->pbl.c.u32.cons_page_idx; in qed_chain_consume()
501 p_chain->pbl.c.u16.prod_page_idx = (u16)reset_val; in qed_chain_reset()
[all …]
/openbmc/linux/drivers/infiniband/sw/siw/
H A Dsiw_mem.c144 siw_dbg_mem(mem, "free mem, pbl: %s\n", mem->is_pbl ? "y" : "n"); in siw_free_mem()
150 kfree(mem->pbl); in siw_free_mem()
320 * Gets physical address backed by PBL element. Address is referenced
323 * current PBL index for later resume at same element.
325 dma_addr_t siw_pbl_get_buffer(struct siw_pbl *pbl, u64 off, int *len, int *idx) in siw_pbl_get_buffer() argument
329 while (i < pbl->num_buf) { in siw_pbl_get_buffer()
330 struct siw_pble *pble = &pbl->pbe[i]; in siw_pbl_get_buffer()
351 struct siw_pbl *pbl; in siw_pbl_alloc() local
356 pbl = kzalloc(struct_size(pbl, pbe, num_buf), GFP_KERNEL); in siw_pbl_alloc()
357 if (!pbl) in siw_pbl_alloc()
[all …]
/openbmc/linux/drivers/infiniband/hw/cxgb4/
H A Dresource.c260 * PBL Memory Manager. Uses Linux generic allocator.
263 #define MIN_PBL_SHIFT 8 /* 256B == min PBL size (32 entries) */
271 rdev->stats.pbl.cur += roundup(size, 1 << MIN_PBL_SHIFT); in c4iw_pblpool_alloc()
272 if (rdev->stats.pbl.cur > rdev->stats.pbl.max) in c4iw_pblpool_alloc()
273 rdev->stats.pbl.max = rdev->stats.pbl.cur; in c4iw_pblpool_alloc()
276 rdev->stats.pbl.fail++; in c4iw_pblpool_alloc()
294 rdev->stats.pbl.cur -= roundup(size, 1 << MIN_PBL_SHIFT); in c4iw_pblpool_free()
308 pbl_start = rdev->lldi.vr->pbl.start; in c4iw_pblpool_create()
309 pbl_chunk = rdev->lldi.vr->pbl.size; in c4iw_pblpool_create()
315 pr_debug("failed to add PBL chunk (%x/%x)\n", in c4iw_pblpool_create()
[all …]
/openbmc/u-boot/board/varisys/cyrus/
H A DREADME11 In order to reflash u-boot, you must download u-boot.pbl, then write it
14 > tftp 1000000 u-boot.pbl
19 > dd if=u-boot.pbl of=/dev/sdX bs=512 oseek=8
H A Dpbi.cfg5 # and create PBL boot image
33 #Flush PBL data
/openbmc/linux/drivers/infiniband/hw/qedr/
H A Dverbs.c507 struct qedr_pbl_info *pbl_info, struct qedr_pbl *pbl) in qedr_free_pbl() argument
513 if (!pbl[i].va) in qedr_free_pbl()
516 pbl[i].va, pbl[i].pa); in qedr_free_pbl()
519 kfree(pbl); in qedr_free_pbl()
554 /* Two-Layer PBLs, if we have more than one pbl we need to initialize in qedr_alloc_pbl_tbl()
583 DP_ERR(dev, "prepare pbl table: too many pages %d\n", in qedr_prepare_pbl_tbl()
588 /* calculate required pbl page size */ in qedr_prepare_pbl_tbl()
603 /* One layered PBL */ in qedr_prepare_pbl_tbl()
615 "prepare pbl table: num_pbes=%d, num_pbls=%d, pbl_size=%d\n", in qedr_prepare_pbl_tbl()
622 struct qedr_pbl *pbl, in qedr_populate_pbls() argument
[all …]
/openbmc/u-boot/board/freescale/t208xqds/
H A DREADME183 a. build PBL image for NAND boot
186 b. program u-boot-with-spl-pbl.bin to NAND flash
187 => tftp 1000000 u-boot-with-spl-pbl.bin
193 a. build PBL image for SPI boot
196 b. program u-boot-with-spl-pbl.bin to SPI flash
197 => tftp 1000000 u-boot-with-spl-pbl.bin
204 a. build PBL image for SD boot
207 b. program u-boot-with-spl-pbl.bin to SD/MMC card
208 => tftp 1000000 u-boot-with-spl-pbl.bin
217 PBL initializes the internal CPC-SRAM and copy SPL(160K) to SRAM.
[all …]
H A Dt208x_pbi.cfg7 # and create PBL boot image
39 #Flush PBL data
/openbmc/linux/drivers/scsi/bnx2fc/
H A Dbnx2fc_tgt.c667 u32 *pbl; in bnx2fc_alloc_session_resc() local
695 /* Allocate and map RQ and RQ PBL */ in bnx2fc_alloc_session_resc()
715 printk(KERN_ERR PFX "unable to allocate RQ PBL %d\n", in bnx2fc_alloc_session_resc()
722 pbl = (u32 *)tgt->rq_pbl; in bnx2fc_alloc_session_resc()
725 *pbl = (u32)page; in bnx2fc_alloc_session_resc()
726 pbl++; in bnx2fc_alloc_session_resc()
727 *pbl = (u32)((u64)page >> 32); in bnx2fc_alloc_session_resc()
728 pbl++; in bnx2fc_alloc_session_resc()
746 /* Allocate and map CONFQ & CONFQ PBL */ in bnx2fc_alloc_session_resc()
769 printk(KERN_ERR PFX "unable to allocate CONFQ PBL %d\n", in bnx2fc_alloc_session_resc()
[all …]
/openbmc/u-boot/board/freescale/t208xrdb/
H A DREADME166 a. build PBL image for NAND boot
169 b. program u-boot-with-spl-pbl.bin to NAND flash
170 => tftp 1000000 u-boot-with-spl-pbl.bin
176 a. build PBL image for SPI boot
179 b. program u-boot-with-spl-pbl.bin to SPI flash
180 => tftp 1000000 u-boot-with-spl-pbl.bin
187 a. build PBL image for SD boot
190 b. program u-boot-with-spl-pbl.bin to micro-SD/TF card
191 => tftp 1000000 u-boot-with-spl-pbl.bin
198 PBL initializes the internal CPC-SRAM and copy SPL(160K) to SRAM.
H A Dt2080_pbi.cfg7 # and create PBL boot image
39 #Flush PBL data
/openbmc/u-boot/board/keymile/kmp204x/
H A Dpbi.cfg5 # and create PBL boot image
45 #Flush PBL data
72 #Flush PBL data
/openbmc/u-boot/board/freescale/p2041rdb/
H A DREADME46 2. Generate PBL imge
50 3. Program the PBL image to SDCard
69 2. Generate PBL imge
73 3. Program the PBL image to SPI flash
/openbmc/u-boot/board/freescale/t102xrdb/
H A DREADME216 a. build PBL image for NAND boot
219 b. program u-boot-with-spl-pbl.bin to NAND flash
220 => tftp 1000000 u-boot-with-spl-pbl.bin
226 a. build PBL image for SPI boot
229 b. program u-boot-with-spl-pbl.bin to SPI flash
230 => tftp 1000000 u-boot-with-spl-pbl.bin
240 a. build PBL image for SD boot
243 b. program u-boot-with-spl-pbl.bin to SD/MMC card
244 => tftp 1000000 u-boot-with-spl-pbl.bin
256 PBL initializes the internal CPC-SRAM and copy SPL(160K) to SRAM.
/openbmc/linux/drivers/scsi/qedi/
H A Dqedi_main.c1541 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()
[all …]
/openbmc/u-boot/board/freescale/t102xqds/
H A DREADME232 a. build PBL image for NAND boot
235 b. program u-boot-with-spl-pbl.bin to NAND flash
236 => tftp 1000000 u-boot-with-spl-pbl.bin
242 a. build PBL image for SPI boot
245 b. program u-boot-with-spl-pbl.bin to SPI flash
246 => tftp 1000000 u-boot-with-spl-pbl.bin
253 a. build PBL image for SD boot
256 b. program u-boot-with-spl-pbl.bin to SD/MMC card
257 => tftp 1000000 u-boot-with-spl-pbl.bin
274 PBL initializes the internal CPC-SRAM and copy SPL(160K) to SRAM.
/openbmc/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_chain.c111 if (!chain->pbl.pp_addr_tbl) in qed_chain_free_pbl()
115 entry = chain->pbl.pp_addr_tbl + i; in qed_chain_free_pbl()
128 vfree(chain->pbl.pp_addr_tbl); in qed_chain_free_pbl()
129 chain->pbl.pp_addr_tbl = NULL; in qed_chain_free_pbl()
269 chain->pbl.pp_addr_tbl = addr_tbl; in qed_chain_alloc_pbl()
300 /* Fill the PBL table with the physical address of the page */ in qed_chain_alloc_pbl()
/openbmc/linux/drivers/net/ethernet/samsung/sxgbe/
H A Dsxgbe_dma.c44 int fix_burst, int pbl, dma_addr_t dma_tx, in sxgbe_dma_channel_init() argument
51 /* set the pbl */ in sxgbe_dma_channel_init()
55 /* program the TX pbl */ in sxgbe_dma_channel_init()
57 reg_val |= (pbl << SXGBE_DMA_TXPBL_LSHIFT); in sxgbe_dma_channel_init()
59 /* program the RX pbl */ in sxgbe_dma_channel_init()
61 reg_val |= (pbl << SXGBE_DMA_RXPBL_LSHIFT); in sxgbe_dma_channel_init()
/openbmc/linux/drivers/platform/x86/intel/ifs/
H A Druntest.c63 dev_info(dev, "CPU(s) %*pbl: SCAN operation did not start. %s\n", in message_not_tested()
67 dev_info(dev, "CPU(s) %*pbl: software timeout during scan\n", in message_not_tested()
70 dev_info(dev, "CPU(s) %*pbl: %s\n", in message_not_tested()
74 dev_info(dev, "CPU(s) %*pbl: SCAN unknown status %llx\n", in message_not_tested()
89 …dev_err(dev, "CPU(s) %*pbl: could not execute from loaded scan image. Batch: %02x version: 0x%x\n", in message_fail()
101 dev_err(dev, "CPU(s) %*pbl: test signature incorrect. Batch: %02x version: 0x%x\n", in message_fail()
/openbmc/u-boot/board/freescale/corenet_ds/
H A Dpbi.cfg5 # and create PBL boot image
31 #Flush PBL data

12345678910>>...13