| /u-boot/arch/mips/mach-octeon/ |
| A D | cvmx-fpa.c | 201 aura.laura, pool.node, pool.lpool); in cvmx_fpa3_aura_cfg() 310 pool.node, pool.lpool, buf_sz, buf_cnt); in cvmx_fpa3_pool_populate() 325 __func__, pool.node, pool.lpool, block_size); in cvmx_fpa3_pool_populate() 338 pool.node, pool.lpool); in cvmx_fpa3_pool_populate() 353 __func__, pool.node, pool.lpool, mem_size); in cvmx_fpa3_pool_populate() 436 pool.node, CVMX_FPA_POOLX_AVAILABLE(pool.lpool)); in cvmx_fpa3_pool_populate() 681 __func__, pool.node, pool.lpool); in cvmx_fpa3_pool_stack_init() 818 pool.node, pool.lpool); in cvmx_fpa3_setup_fill_pool() 828 pool.node, pool.lpool); in cvmx_fpa3_setup_fill_pool() 835 return pool; in cvmx_fpa3_setup_fill_pool() [all …]
|
| A D | cvmx-helper-pko.c | 87 u8 pool; in cvmx_helper_pko_pool_init() local 93 pool = cvmx_fpa_get_pko_pool(); in cvmx_helper_pko_pool_init() 96 if (cvmx_fpa_get_block_size(pool) > 0) { in cvmx_helper_pko_pool_init() 99 pool); in cvmx_helper_pko_pool_init() 102 return pool; in cvmx_helper_pko_pool_init() 110 rc = __cvmx_helper_initialize_fpa_pool(pool, in cvmx_helper_pko_pool_init() 117 pool = rc; in cvmx_helper_pko_pool_init() 118 return pool; in cvmx_helper_pko_pool_init()
|
| A D | cvmx-fpa-resource.c | 136 cvmx_fpa3_pool_t pool; in cvmx_fpa3_reserve_pool() local 161 pool = __cvmx_fpa3_pool(node, rv); in cvmx_fpa3_reserve_pool() 163 return pool; in cvmx_fpa3_reserve_pool() 166 int cvmx_fpa3_release_pool(cvmx_fpa3_pool_t pool) in cvmx_fpa3_release_pool() argument 168 struct global_resource_tag tag = get_fpa3_pool_resource_tag(pool.node); in cvmx_fpa3_release_pool() 169 int lpool = pool.lpool; in cvmx_fpa3_release_pool() 171 if (!__cvmx_fpa3_pool_valid(pool)) in cvmx_fpa3_release_pool() 177 pool.node); in cvmx_fpa3_release_pool() 212 int cvmx_fpa1_release_pool(cvmx_fpa1_pool_t pool) in cvmx_fpa1_release_pool() argument 218 return cvmx_free_global_resource_range_multiple(tag, &pool, 1); in cvmx_fpa1_release_pool()
|
| A D | cvmx-helper-fpa.c | 72 int __cvmx_helper_initialize_fpa_pool(int pool, u64 buffer_size, u64 buffers, in __cvmx_helper_initialize_fpa_pool() argument 75 return cvmx_fpa_setup_pool(pool, name, NULL, buffer_size, buffers); in __cvmx_helper_initialize_fpa_pool()
|
| A D | cvmx-pko3-compat.c | 241 int pool) in cvmx_pko3_legacy_pool() argument 246 if (cvmx_unlikely(desc->last_pool == pool)) in cvmx_pko3_legacy_pool() 250 aura |= pool; in cvmx_pko3_legacy_pool() 258 desc->last_pool = pool; in cvmx_pko3_legacy_pool() 266 aura |= pool; in cvmx_pko3_legacy_pool() 268 desc->last_pool = pool; in cvmx_pko3_legacy_pool() 446 &desc, blk.s.pool) < 0)) in cvmx_pko3_legacy_xmit() 468 cvmx_fpa_free_nosync(p_ptr, packet.s.pool, in cvmx_pko3_legacy_xmit() 488 &desc, blk.s.pool) < 0)) in cvmx_pko3_legacy_xmit()
|
| /u-boot/arch/mips/mach-octeon/include/mach/ |
| A D | cvmx-fpa.h | 90 cvmx_fpa3_gaura_t aura = __cvmx_fpa3_gaura(node, pool); in cvmx_fpa1_pool_to_fpa3_aura() 102 static inline void *cvmx_fpa_alloc(u64 pool) in cvmx_fpa_alloc() argument 106 return cvmx_fpa3_alloc(cvmx_fpa1_pool_to_fpa3_aura(pool)); in cvmx_fpa_alloc() 108 return cvmx_fpa1_alloc(pool); in cvmx_fpa_alloc() 127 return cvmx_fpa1_async_alloc(scr_addr, pool); in cvmx_fpa_async_alloc() 146 return cvmx_fpa1_async_alloc_finish(scr_addr, pool); in cvmx_fpa_async_alloc_finish() 165 cvmx_fpa1_free_nosync(ptr, pool, num_cache_lines); in cvmx_fpa_free_nosync() 182 cvmx_fpa1_free(ptr, pool, num_cache_lines); in cvmx_fpa_free() 203 int cvmx_fpa_shutdown_pool(int pool); 210 unsigned int cvmx_fpa_get_block_size(int pool); [all …]
|
| A D | cvmx-fpa1.h | 44 cvmx_fpa1_pool_t cvmx_fpa1_reserve_pool(cvmx_fpa1_pool_t pool); 51 int cvmx_fpa1_release_pool(cvmx_fpa1_pool_t pool); 68 static inline void cvmx_fpa1_free_nosync(void *ptr, cvmx_fpa1_pool_t pool, in cvmx_fpa1_free_nosync() argument 120 static inline void *cvmx_fpa1_alloc(cvmx_fpa1_pool_t pool) in cvmx_fpa1_alloc() argument 125 address = csr_rd(CVMX_ADDR_DID(CVMX_FULL_DID(CVMX_OCT_DID_FPA, pool))); in cvmx_fpa1_alloc() 129 if (csr_rd(CVMX_FPA_QUEX_AVAILABLE(pool)) > 0) in cvmx_fpa1_alloc() 148 static inline void cvmx_fpa1_async_alloc(u64 scr_addr, cvmx_fpa1_pool_t pool) in cvmx_fpa1_async_alloc() argument 158 data.s.did = CVMX_FULL_DID(CVMX_OCT_DID_FPA, pool); in cvmx_fpa1_async_alloc() 188 return cvmx_fpa1_alloc(pool); in cvmx_fpa1_async_alloc_finish() 191 static inline u64 cvmx_fpa1_get_available(cvmx_fpa1_pool_t pool) in cvmx_fpa1_get_available() argument [all …]
|
| A D | cvmx-ipd.h | 117 void cvmx_ipd_set_packet_pool_config(s64 pool, u64 buffer_size, u64 buffer_count); 125 void cvmx_ipd_set_wqe_pool_config(s64 pool, u64 buffer_size, u64 buffer_count); 132 if (pool) in cvmx_fpa_get_packet_pool_config() 133 *pool = cvmx_ipd_cfg.packet_pool.pool_num; in cvmx_fpa_get_packet_pool_config() 143 static inline void cvmx_fpa_set_packet_pool_config(s64 pool, u64 buffer_size, u64 buffer_count) in cvmx_fpa_set_packet_pool_config() argument 145 cvmx_ipd_set_packet_pool_config(pool, buffer_size, buffer_count); in cvmx_fpa_set_packet_pool_config() 151 static inline void cvmx_fpa_get_wqe_pool_config(s64 *pool, u64 *buffer_size, u64 *buffer_count) in cvmx_fpa_get_wqe_pool_config() argument 153 if (pool) in cvmx_fpa_get_wqe_pool_config() 154 *pool = cvmx_ipd_cfg.wqe_pool.pool_num; in cvmx_fpa_get_wqe_pool_config() 164 static inline void cvmx_fpa_set_wqe_pool_config(s64 pool, u64 buffer_size, u64 buffer_count) in cvmx_fpa_set_wqe_pool_config() argument [all …]
|
| A D | cvmx-fpa3.h | 66 cvmx_fpa3_pool_t pool; in __cvmx_fpa3_pool() local 73 pool.node = node; in __cvmx_fpa3_pool() 74 pool.lpool = lpool; in __cvmx_fpa3_pool() 76 return pool; in __cvmx_fpa3_pool() 196 cvmx_fpa3_pool_t pool; in cvmx_fpa3_aura_to_pool() local 201 pool = __cvmx_fpa3_pool(aura.node, aurax_pool.s.pool); in cvmx_fpa3_aura_to_pool() 202 return pool; in cvmx_fpa3_aura_to_pool() 354 pool_cfg.u64 = cvmx_read_csr_node(pool.node, CVMX_FPA_POOLX_CFG(pool.lpool)); in cvmx_fpa3_pool_is_enabled() 383 cvmx_fpa3_pool_t pool; in cvmx_fpa3_get_aura_buf_size() local 389 pool_cfg.u64 = cvmx_read_csr_node(pool.node, CVMX_FPA_POOLX_CFG(pool.lpool)); in cvmx_fpa3_get_aura_buf_size() [all …]
|
| /u-boot/drivers/mtd/ubi/ |
| A D | fastmap-wl.c | 60 for (i = pool->used; i < pool->size; i++) { in return_unused_pool_pebs() 130 pool->size = 0; in ubi_refill_pools() 134 if (pool->size < pool->max_size) { in ubi_refill_pools() 142 pool->pebs[pool->size] = e->pnum; in ubi_refill_pools() 143 pool->size++; in ubi_refill_pools() 167 pool->used = 0; in ubi_refill_pools() 229 if (pool->used == pool->size) { in ubi_wl_get_peb() 246 ubi_assert(pool->used < pool->size); in ubi_wl_get_peb() 247 ret = pool->pebs[pool->used++]; in ubi_wl_get_peb() 263 if (pool->used == pool->size) { in get_peb_for_wl() [all …]
|
| /u-boot/arch/arm/dts/ |
| A D | k3-j721e-som-p0.dtsi | 30 compatible = "shared-dma-pool"; 36 compatible = "shared-dma-pool"; 42 compatible = "shared-dma-pool"; 48 compatible = "shared-dma-pool"; 54 compatible = "shared-dma-pool"; 60 compatible = "shared-dma-pool"; 66 compatible = "shared-dma-pool"; 72 compatible = "shared-dma-pool"; 78 compatible = "shared-dma-pool"; 84 compatible = "shared-dma-pool"; [all …]
|
| A D | stm32mp157a-microgea-stm32mp1.dtsi | 22 compatible = "shared-dma-pool"; 28 compatible = "shared-dma-pool"; 34 compatible = "shared-dma-pool"; 40 compatible = "shared-dma-pool"; 46 compatible = "shared-dma-pool"; 52 compatible = "shared-dma-pool";
|
| A D | k3-j721e-r5-sk.dts | 44 compatible = "shared-dma-pool"; 50 compatible = "shared-dma-pool"; 56 compatible = "shared-dma-pool"; 62 compatible = "shared-dma-pool"; 68 compatible = "shared-dma-pool"; 74 compatible = "shared-dma-pool"; 80 compatible = "shared-dma-pool"; 86 compatible = "shared-dma-pool"; 92 compatible = "shared-dma-pool"; 98 compatible = "shared-dma-pool"; [all …]
|
| A D | k3-j7200-som-p0.dtsi | 30 compatible = "shared-dma-pool"; 36 compatible = "shared-dma-pool"; 42 compatible = "shared-dma-pool"; 48 compatible = "shared-dma-pool"; 54 compatible = "shared-dma-pool"; 60 compatible = "shared-dma-pool"; 66 compatible = "shared-dma-pool"; 72 compatible = "shared-dma-pool";
|
| A D | stm32mp157a-icore-stm32mp1.dtsi | 22 compatible = "shared-dma-pool"; 28 compatible = "shared-dma-pool"; 34 compatible = "shared-dma-pool"; 40 compatible = "shared-dma-pool"; 46 compatible = "shared-dma-pool"; 52 compatible = "shared-dma-pool";
|
| A D | k3-j721e-sk.dts | 41 compatible = "shared-dma-pool"; 47 compatible = "shared-dma-pool"; 53 compatible = "shared-dma-pool"; 59 compatible = "shared-dma-pool"; 65 compatible = "shared-dma-pool"; 71 compatible = "shared-dma-pool"; 77 compatible = "shared-dma-pool"; 83 compatible = "shared-dma-pool"; 89 compatible = "shared-dma-pool"; 95 compatible = "shared-dma-pool"; [all …]
|
| A D | keystone-k2l-netcp.dtsi | 164 rx-pool = <1024 12>; 165 tx-pool = <1024 12>; 176 rx-pool = <1024 12>; 177 tx-pool = <1024 12>;
|
| A D | keystone-k2hk-netcp.dtsi | 184 rx-pool = <1024 12>; 185 tx-pool = <1024 12>; 196 rx-pool = <1024 12>; 197 tx-pool = <1024 12>;
|
| A D | keystone-k2e-netcp.dtsi | 180 rx-pool = <1024 12>; 181 tx-pool = <1024 12>; 192 rx-pool = <1024 12>; 193 tx-pool = <1024 12>;
|
| A D | stm32mp157c-odyssey-som.dtsi | 32 compatible = "shared-dma-pool"; 38 compatible = "shared-dma-pool"; 44 compatible = "shared-dma-pool"; 50 compatible = "shared-dma-pool"; 56 compatible = "shared-dma-pool"; 62 compatible = "shared-dma-pool";
|
| /u-boot/arch/arm/mach-rmobile/ |
| A D | lowlevel_init.S | 21 .pool 51 .pool 65 .pool
|
| /u-boot/drivers/net/octeontx2/ |
| A D | nix.c | 111 union npa_pool_s *pool; in npa_lf_setup() local 200 memset(pool, 0, sizeof(*pool)); in npa_lf_setup() 201 pool->s.fc_ena = 0; in npa_lf_setup() 202 pool->s.nat_align = 1; in npa_lf_setup() 206 pool->s.buf_size = in npa_lf_setup() 209 pool->s.shift = in npa_lf_setup() 211 pool->s.ptr_start = 0; in npa_lf_setup() 213 pool->s.ena = 1; in npa_lf_setup() 245 int pool; in npa_lf_shutdown() local 256 for (pool = 0; pool < NPA_POOL_COUNT; pool++) { in npa_lf_shutdown() [all …]
|
| /u-boot/common/spl/ |
| A D | Kconfig.nxp | 63 address of the malloc pool used in SPL. When this option is set the full 68 bool "SPL has malloc pool after relocation" 71 hex "Address of malloc pool in SPL" 75 hex "Size of malloc pool in SPL" 95 address of the malloc pool used in TPL. When this option is set the full 100 bool "TPL has malloc pool after relocation" 104 hex "Address of malloc pool in TPL" 108 hex "Size of malloc pool in TPL"
|
| /u-boot/doc/device-tree-bindings/reserved-memory/ |
| A D | reserved-memory.txt | 27 reflect the purpose of the node (ie. "framebuffer" or "dma-pool"). Unit 50 - shared-dma-pool: This indicates a region of memory meant to be 51 used as a shared pool of DMA buffers for a set of devices. It can 52 be used by an operating system to instantiate the necessary pool 69 region for the default pool of the contiguous memory allocator. 72 region for the default pool of the consistent DMA allocator. 103 compatible = "shared-dma-pool";
|
| /u-boot/ |
| A D | .azure-pipelines.yml | 17 pool: 44 pool: 58 pool: 72 pool: 82 pool: 97 pool: 109 pool: 119 pool: 130 pool: 141 pool: [all …]
|