Home
last modified time | relevance | path

Searched refs:pool (Results 1 – 25 of 89) sorted by relevance

1234

/u-boot/arch/mips/mach-octeon/
A Dcvmx-fpa.c201 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 Dcvmx-helper-pko.c87 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 Dcvmx-fpa-resource.c136 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 Dcvmx-helper-fpa.c72 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 Dcvmx-pko3-compat.c241 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 Dcvmx-fpa.h90 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 Dcvmx-fpa1.h44 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 Dcvmx-ipd.h117 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 Dcvmx-fpa3.h66 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 Dfastmap-wl.c60 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 Dk3-j721e-som-p0.dtsi30 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 Dstm32mp157a-microgea-stm32mp1.dtsi22 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 Dk3-j721e-r5-sk.dts44 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 Dk3-j7200-som-p0.dtsi30 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 Dstm32mp157a-icore-stm32mp1.dtsi22 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 Dk3-j721e-sk.dts41 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 Dkeystone-k2l-netcp.dtsi164 rx-pool = <1024 12>;
165 tx-pool = <1024 12>;
176 rx-pool = <1024 12>;
177 tx-pool = <1024 12>;
A Dkeystone-k2hk-netcp.dtsi184 rx-pool = <1024 12>;
185 tx-pool = <1024 12>;
196 rx-pool = <1024 12>;
197 tx-pool = <1024 12>;
A Dkeystone-k2e-netcp.dtsi180 rx-pool = <1024 12>;
181 tx-pool = <1024 12>;
192 rx-pool = <1024 12>;
193 tx-pool = <1024 12>;
A Dstm32mp157c-odyssey-som.dtsi32 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 Dlowlevel_init.S21 .pool
51 .pool
65 .pool
/u-boot/drivers/net/octeontx2/
A Dnix.c111 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 DKconfig.nxp63 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 Dreserved-memory.txt27 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.yml17 pool:
44 pool:
58 pool:
72 pool:
82 pool:
97 pool:
109 pool:
119 pool:
130 pool:
141 pool:
[all …]

Completed in 47 milliseconds

1234