Searched refs:buffers (Results 1 - 24 of 24) sorted by relevance

/u-boot/arch/mips/mach-octeon/include/mach/
H A Dcvmx-helper-fpa.h20 * Number of packet buffers to allocate
24 * PKO Command buffers. You should at minimum have two per
37 int __cvmx_helper_initialize_fpa_pool(int pool, u64 buffer_size, u64 buffers, const char *name);
/u-boot/include/fsl-mc/
H A Dfsl_qbman_portal.h166 const uint64_t *buffers, unsigned int num_buffers);
172 int qbman_swp_acquire(struct qbman_swp *, uint32_t bpid, uint64_t *buffers,
/u-boot/arch/mips/mach-octeon/
H A Dcvmx-helper-fpa.c65 * @param buffer_size Size of buffers to allocate in bytes
66 * @param buffers Number of buffers to put in the pool. Zero is allowed
72 int __cvmx_helper_initialize_fpa_pool(int pool, u64 buffer_size, u64 buffers, argument
75 return cvmx_fpa_setup_pool(pool, name, NULL, buffer_size, buffers);
H A Dcvmx-pko3-compat.c84 unsigned int buffers,
93 if (buffers == 0) {
95 } else if (buffers == 1) {
102 if (buf_ptr.s.size < buffers)
106 for (segs = 0; segs < buffers; segs++)
113 /* Validate linked buffers */
115 for (segs = 0; segs < buffers; segs++) {
337 * The use of the native buffers with this function
481 * Legacy linked-buffers converted into flat gather list
82 cvmx_pko3_legacy_bufptr_validate(cvmx_buf_ptr_t buf_ptr, unsigned int gather, unsigned int buffers, unsigned int total_bytes) argument
/u-boot/drivers/net/octeontx2/
H A Dnix.c72 size_t buffer_size, u32 queue_length, void *buffers[])
81 buffers[index] = memalign(CONFIG_SYS_CACHELINE_SIZE,
83 if (!buffers[index]) {
89 __func__, index, buffers[index], buffer_size);
94 aura_descr.f0.s.addr = (u64)buffers[index];
220 npa->buffers[idx] = nix_memalloc(npa->q_len[idx],
222 "buffers");
223 if (!npa->buffers[idx]) {
231 npa->q_len[idx], npa->buffers[idx]);
261 free(npa->buffers[poo
71 npa_setup_pool(struct npa *npa, u32 pool_id, size_t buffer_size, u32 queue_length, void *buffers[]) argument
[all...]
H A Dnix.h137 void **buffers[NPA_POOL_COUNT]; member in struct:npa
/u-boot/drivers/mtd/nand/raw/
H A Dmxs_nand_spl.c223 /* allocate and initialize buffers */
224 nand_chip.buffers = memalign(ARCH_DMA_MINALIGN,
225 sizeof(*nand_chip.buffers));
226 nand_chip.oob_poi = nand_chip.buffers->databuf + mtd->writesize;
H A Dlpc32xx_nand_slc.c422 uint8_t *ecc_calc = chip->buffers->ecccalc;
423 uint8_t *ecc_code = chip->buffers->ecccode;
460 uint8_t *ecc_calc = chip->buffers->ecccalc;
H A Dnand_base.c1703 * threshold. In case of success, the passed buffers are filled with 0xff.
1848 uint8_t *ecc_calc = chip->buffers->ecccalc;
1849 uint8_t *ecc_code = chip->buffers->ecccode;
1923 chip->ecc.calculate(mtd, p, &chip->buffers->ecccalc[i]);
1962 chip->buffers->ecccode[i] = chip->oob_poi[eccpos[i + index]];
1969 &chip->buffers->ecccode[i], &chip->buffers->ecccalc[i]);
1974 &chip->buffers->ecccode[i],
2007 uint8_t *ecc_calc = chip->buffers->ecccalc;
2008 uint8_t *ecc_code = chip->buffers
[all...]
H A Dzynq_nand.c586 u8 *ecc_calc = chip->buffers->ecccalc;
646 u8 *ecc_calc = chip->buffers->ecccalc;
679 u8 *ecc_calc = chip->buffers->ecccalc;
680 u8 *ecc_code = chip->buffers->ecccode;
752 u8 *ecc_calc = chip->buffers->ecccalc;
753 u8 *ecc_code = chip->buffers->ecccode;
H A Ddavinci_nand.c433 uint8_t *ecc_code = chip->buffers->ecccode;
434 uint8_t *ecc_calc = chip->buffers->ecccalc;
H A Domap_gpmc.c715 uint8_t *ecc_calc = chip->buffers->ecccalc;
716 uint8_t *ecc_code = chip->buffers->ecccode;
H A Dstm32_fmc2_nand.c521 u8 *ecc_calc = chip->buffers->ecccalc;
522 u8 *ecc_code = chip->buffers->ecccode;
H A Dcortina_nand.c594 unsigned char *ecc_code = chip->buffers->ecccode;
653 &chip->buffers->ecccode[i],
H A Docteontx_nand.c1607 u8 *ecc_code = chip->buffers->ecccode;
1653 u8 *ecc_calc = chip->buffers->ecccalc;
1660 /* Copy the page data from caller's buffers to private buffer */
H A Dnand_bbt.c825 return create_bbt(mtd, this->buffers->databuf, bd, -1);
H A Ddenali.c293 uint8_t *ecc_code = chip->buffers->ecccode;
H A Dpxa3xx_nand.c1340 return chip->ecc.read_page_raw(mtd, chip, chip->buffers->databuf, true,
/u-boot/drivers/net/fsl-mc/dpio/
H A Dqbman_portal.c547 const uint64_t *buffers, unsigned int num_buffers)
560 u64_to_le32_copy(&p[2], buffers, num_buffers);
563 * of buffers. */
580 int qbman_swp_acquire(struct qbman_swp *s, uint32_t bpid, uint64_t *buffers, argument
609 printf("Acquire buffers from BPID 0x%x failed, code=0x%02x\n",
614 /* Copy the acquired buffers to the caller's array */
615 u64_from_le32_copy(buffers, &p[2], num);
546 qbman_swp_release(struct qbman_swp *s, const struct qbman_release_desc *d, const uint64_t *buffers, unsigned int num_buffers) argument
/u-boot/drivers/net/octeontx/
H A Dnicvf_queues.h243 uintptr_t buffers; member in struct:rbdr
H A Dnicvf_queues.c94 debug("%s: %d: allocating %lld bytes for rcv buffers\n",
101 printf("Unable to allocate memory for rcv buffers\n");
105 rbdr->buffers = NICVF_ALIGNED_ADDR(rbdr->buf_mem,
108 debug("%s: %d: rbdr->buf_mem: %lx, rbdr->buffers: %lx\n",
109 __func__, __LINE__, rbdr->buf_mem, rbdr->buffers);
112 rbuf = rbdr->buffers + DMA_BUFFER_LEN * idx;
138 /* Refill receive buffer descriptors with new buffers.
177 * i.e conversion of buffers into SKBs
280 /* Save head and tail pointers for feeing up buffers */
/u-boot/include/linux/mtd/
H A Drawnand.h233 * This option is defined if the board driver allocates its own buffers
248 * kmap'ed, vmalloc'ed highmem buffers being passed from upper layers
568 * If -EBADMSG is returned the input buffers should be left
649 * Do not change the order of buffers. databuf and oobrbuf must be in
825 * @buffers: buffer structure for read/write
972 struct nand_buffers *buffers; member in struct:nand_chip
/u-boot/drivers/usb/musb-new/
H A Dmusb_gadget.c1296 static LIST_HEAD(buffers);
/u-boot/drivers/mtd/nand/raw/brcmnand/
H A Dbrcmnand.c1856 buf = chip->buffers->databuf;
2486 * Avoid (for instance) kmap()'d buffers from JFFS2, which we can't DMA

Completed in 238 milliseconds