/kernel/linux/linux-5.10/drivers/hid/usbhid/ |
H A D | hid-pidff.c | 158 struct pidff_usage pool[sizeof(pidff_pool)]; member 1137 PIDFF_FIND_FIELDS(pool, PID_POOL, 0); in pidff_init_fields() 1165 /* pool report is sometimes messed up, refetch it */ in pidff_reset() 1169 if (pidff->pool[PID_SIMULTANEOUS_MAX].value) { in pidff_reset() 1170 while (pidff->pool[PID_SIMULTANEOUS_MAX].value[0] < 2) { in pidff_reset() 1174 pidff->pool[PID_SIMULTANEOUS_MAX].value[0]); in pidff_reset() 1285 if (pidff->pool[PID_SIMULTANEOUS_MAX].value) in hid_pidff_init() 1287 pidff->pool[PID_SIMULTANEOUS_MAX].value[0]); in hid_pidff_init() 1289 if (pidff->pool[PID_RAM_POOL_SIZE].value) in hid_pidff_init() 1291 pidff->pool[PID_RAM_POOL_SIZ in hid_pidff_init() [all...] |
/kernel/linux/linux-6.6/drivers/hid/usbhid/ |
H A D | hid-pidff.c | 158 struct pidff_usage pool[sizeof(pidff_pool)]; member 1137 PIDFF_FIND_FIELDS(pool, PID_POOL, 0); in pidff_init_fields() 1165 /* pool report is sometimes messed up, refetch it */ in pidff_reset() 1169 if (pidff->pool[PID_SIMULTANEOUS_MAX].value) { in pidff_reset() 1170 while (pidff->pool[PID_SIMULTANEOUS_MAX].value[0] < 2) { in pidff_reset() 1174 pidff->pool[PID_SIMULTANEOUS_MAX].value[0]); in pidff_reset() 1285 if (pidff->pool[PID_SIMULTANEOUS_MAX].value) in hid_pidff_init() 1287 pidff->pool[PID_SIMULTANEOUS_MAX].value[0]); in hid_pidff_init() 1289 if (pidff->pool[PID_RAM_POOL_SIZE].value) in hid_pidff_init() 1291 pidff->pool[PID_RAM_POOL_SIZ in hid_pidff_init() [all...] |
/kernel/linux/linux-6.6/drivers/i3c/master/mipi-i3c-hci/ |
H A D | pio.c | 113 struct i3c_generic_ibi_pool *pool; member 851 ibi->slot = i3c_generic_ibi_get_free_slot(dev_ibi->pool); in hci_pio_prep_new_ibi() 868 i3c_generic_ibi_recycle_slot(dev_ibi->pool, ibi->slot); in hci_pio_free_ibi_slot() 945 struct i3c_generic_ibi_pool *pool; in hci_pio_request_ibi() local 951 pool = i3c_generic_ibi_alloc_pool(dev, req); in hci_pio_request_ibi() 952 if (IS_ERR(pool)) { in hci_pio_request_ibi() 954 return PTR_ERR(pool); in hci_pio_request_ibi() 956 dev_ibi->pool = pool; in hci_pio_request_ibi() 968 i3c_generic_ibi_free_pool(dev_ibi->pool); in hci_pio_free_ibi() [all...] |
/kernel/linux/linux-5.10/drivers/crypto/marvell/cesa/ |
H A D | cesa.c | 381 engine->pool = of_gen_pool_get(cesa->dev->of_node, in mv_cesa_get_sram() 383 if (engine->pool) { in mv_cesa_get_sram() 384 engine->sram = gen_pool_dma_alloc(engine->pool, in mv_cesa_get_sram() 390 engine->pool = NULL; in mv_cesa_get_sram() 424 if (engine->pool) in mv_cesa_put_sram() 425 gen_pool_free(engine->pool, (unsigned long)engine->sram, in mv_cesa_put_sram()
|
/kernel/linux/linux-5.10/drivers/dma/ |
H A D | idma64.c | 214 dma_pool_free(idma64c->pool, hw->lli, hw->llp); in idma64_desc_free() 310 hw->lli = dma_pool_alloc(idma64c->pool, GFP_NOWAIT, &hw->llp); in idma64_prep_slave_sg() 501 /* Create a pool of consistent memory blocks for hardware descriptors */ in idma64_alloc_chan_resources() 502 idma64c->pool = dma_pool_create(dev_name(chan2dev(chan)), in idma64_alloc_chan_resources() 505 if (!idma64c->pool) { in idma64_alloc_chan_resources() 518 dma_pool_destroy(idma64c->pool); in idma64_free_chan_resources() 519 idma64c->pool = NULL; in idma64_free_chan_resources()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | rvu_npa.c | 119 memcpy(ctx, &req->pool, sizeof(struct npa_pool_s)); in rvu_npa_aq_enq_inst() 128 /* Set pool's context address */ in rvu_npa_aq_enq_inst() 133 memcpy(ctx, &req->pool, sizeof(struct npa_pool_s)); in rvu_npa_aq_enq_inst() 173 /* Set pool bitmap if pool hw context is enabled */ in rvu_npa_aq_enq_inst() 175 if (req->op == NPA_AQ_INSTOP_INIT && req->pool.ena) in rvu_npa_aq_enq_inst() 178 ena = (req->pool.ena & req->pool_mask.ena) | in rvu_npa_aq_enq_inst() 196 memcpy(&rsp->pool, ctx, in rvu_npa_aq_enq_inst() 219 aq_req.pool.ena = 0; in npa_lf_hwctx_disable() 371 /* Alloc memory for pool H in rvu_mbox_handler_npa_lf_alloc() [all...] |
/kernel/linux/linux-6.6/drivers/dma/ |
H A D | idma64.c | 218 dma_pool_free(idma64c->pool, hw->lli, hw->llp); in idma64_desc_free() 314 hw->lli = dma_pool_alloc(idma64c->pool, GFP_NOWAIT, &hw->llp); in idma64_prep_slave_sg() 505 /* Create a pool of consistent memory blocks for hardware descriptors */ in idma64_alloc_chan_resources() 506 idma64c->pool = dma_pool_create(dev_name(chan2dev(chan)), in idma64_alloc_chan_resources() 509 if (!idma64c->pool) { in idma64_alloc_chan_resources() 522 dma_pool_destroy(idma64c->pool); in idma64_free_chan_resources() 523 idma64c->pool = NULL; in idma64_free_chan_resources()
|
/kernel/linux/linux-6.6/drivers/crypto/marvell/cesa/ |
H A D | cesa.c | 381 engine->pool = of_gen_pool_get(cesa->dev->of_node, in mv_cesa_get_sram() 383 if (engine->pool) { in mv_cesa_get_sram() 384 engine->sram_pool = gen_pool_dma_alloc(engine->pool, in mv_cesa_get_sram() 390 engine->pool = NULL; in mv_cesa_get_sram() 424 if (engine->pool) in mv_cesa_put_sram() 425 gen_pool_free(engine->pool, (unsigned long)engine->sram_pool, in mv_cesa_put_sram()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | rvu_npa.c | 125 memcpy(ctx, &req->pool, sizeof(struct npa_pool_s)); in rvu_npa_aq_enq_inst() 134 /* Set pool's context address */ in rvu_npa_aq_enq_inst() 139 memcpy(ctx, &req->pool, sizeof(struct npa_pool_s)); in rvu_npa_aq_enq_inst() 179 /* Set pool bitmap if pool hw context is enabled */ in rvu_npa_aq_enq_inst() 181 if (req->op == NPA_AQ_INSTOP_INIT && req->pool.ena) in rvu_npa_aq_enq_inst() 184 ena = (req->pool.ena & req->pool_mask.ena) | in rvu_npa_aq_enq_inst() 202 memcpy(&rsp->pool, ctx, in rvu_npa_aq_enq_inst() 225 aq_req.pool.ena = 0; in npa_lf_hwctx_disable() 377 /* Alloc memory for pool H in rvu_mbox_handler_npa_lf_alloc() [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | libdav1d.c | 47 AVBufferPool *pool; member 89 av_buffer_pool_uninit(&dav1d->pool); in libdav1d_picture_allocator() 91 dav1d->pool = av_buffer_pool_init(ret + DAV1D_PICTURE_ALIGNMENT * 2, NULL); in libdav1d_picture_allocator() 92 if (!dav1d->pool) { in libdav1d_picture_allocator() 98 buf = av_buffer_pool_get(dav1d->pool); in libdav1d_picture_allocator() 545 av_buffer_pool_uninit(&dav1d->pool); in libdav1d_close()
|
/third_party/gn/src/gn/ |
H A D | ninja_action_target_writer_unittest.cc | 10 #include "gn/pool.h" 76 // Tests an action with no sources and pool 90 Pool pool(setup.settings(), in TEST() 93 pool.set_depth(1); in TEST() 94 target.set_pool(LabelPtrPair<Pool>(&pool)); in TEST() 106 // The console pool's name must be mapped exactly to the string "console" in TEST() 107 // which is a special pre-defined pool name in ninja. in TEST() 114 pool = console in TEST() 436 Pool pool(setup.settings(), in TEST() 437 Label(SourceDir("//foo/"), "pool", setu in TEST() [all...] |
/kernel/liteos_a/kernel/extended/lms/ |
H A D | los_lms_pri.h | 97 UINT32 (*init)(const VOID *pool, UINT32 size);
98 VOID (*deInit)(const VOID *pool);
|
/kernel/liteos_m/components/lms/ |
H A D | los_lms_pri.h | 97 UINT32 (*init)(const VOID *pool, UINT32 size);
98 VOID (*deInit)(const VOID *pool);
|
/kernel/liteos_m/testsuites/sample/kernel/mem/ |
H A D | It_los_mem.h | 115 VOID *pool;
member 119 UINT32 waterLine; /* Maximum usage size in a memory pool */
120 UINT32 curUsedSize; /* Current usage size in a memory pool */
144 extern UINT32 MemGetFreeSize(void *pool);
|
/kernel/liteos_m/components/dynlink/ |
H A D | los_dynlink.h | 127 VOID *pool;
member 147 * @param pool The heap for shared library to load. If the parameter, pool, is NULL, then
148 * the dynamic loader & linker module will use the default heap and the pool is not NULL,
149 * then the shared library will be loaded to the heap by pool.
151 * @note When the heap, pool, is not NULL, you should call LOS_MemInit() to initialize the
152 * pool before calling LOS_SoLoad(). By the way, the system will consume a certain amount
153 * of memory to initialize the pool. LOS_SoLoad must not be called in interrupt callback.
157 VOID *LOS_SoLoad(const CHAR *fileName, VOID *pool);
|
/third_party/node/deps/v8/tools/clusterfuzz/js_fuzzer/tools/ |
H A D | workbench.py | 106 pool = Pool(processes=PROCESSES) variable 110 for stats, failures in pool.imap_unordered(run, range(RUNS)):
|
/third_party/node/deps/v8/tools/testrunner/testproc/ |
H A D | execution.py | 9 from ..local import pool namespace 48 self._pool = pool.Pool(jobs, notify_fun=self.notify_previous)
|
/third_party/mesa3d/src/virtio/vulkan/ |
H A D | vn_instance.h | 75 struct vn_renderer_shmem_pool pool; member 176 instance->renderer, &instance->cs_shmem.pool, size, out_offset); in vn_instance_cs_shmem_alloc()
|
/third_party/mesa3d/src/panfrost/lib/ |
H A D | pan_device.h | 65 struct pan_pool *pool; member 71 struct pan_pool *pool; member 112 * allocating from the binary pool. 116 /* A memory pool for shader binaries. We currently don't allocate a
|
/third_party/protobuf/benchmarks/util/ |
H A D | protoc-gen-proto2_to_proto3.cc | 30 static DescriptorPool *pool = new DescriptorPool(); in GetPool() local 31 return pool; in GetPool()
|
/third_party/pulseaudio/src/pulsecore/ |
H A D | sound-file.c | 41 pa_mempool *pool, in pa_sound_file_load() 102 chunk->memblock = pa_memblock_new(pool, l); in pa_sound_file_load() 40 pa_sound_file_load( pa_mempool *pool, const char *fname, pa_sample_spec *ss, pa_channel_map *map, pa_memchunk *chunk, pa_proplist *p) pa_sound_file_load() argument
|
/third_party/vk-gl-cts/external/amber/src/src/vulkan/ |
H A D | command_buffer.cc | 26 CommandBuffer::CommandBuffer(Device* device, CommandPool* pool) in CommandBuffer() argument 27 : device_(device), pool_(pool) {} in CommandBuffer()
|
H A D | pipeline.h | 84 Result Initialize(CommandPool* pool); 114 VkDescriptorPool pool = VK_NULL_HANDLE; member
|
/third_party/vixl/tools/ |
H A D | generate_tests.py | 791 with multiprocessing.Pool(processes=args.jobs) as pool: 792 pool.map(functools.partial(GenerateTest, clang_format=args.clang_format,
|
/kernel/linux/linux-6.6/drivers/net/ethernet/ti/ |
H A D | cpsw_priv.c | 1106 struct page_pool *pool; in cpsw_fill_rx_channels() local 1113 pool = cpsw->page_pool[ch]; in cpsw_fill_rx_channels() 1116 page = page_pool_dev_alloc_pages(pool); in cpsw_fill_rx_channels() 1135 page_pool_recycle_direct(pool, page); in cpsw_fill_rx_channels() 1151 struct page_pool *pool; in cpsw_create_page_pool() local 1160 pool = page_pool_create(&pp_params); in cpsw_create_page_pool() 1161 if (IS_ERR(pool)) in cpsw_create_page_pool() 1162 dev_err(cpsw->dev, "cannot create rx page pool\n"); in cpsw_create_page_pool() 1164 return pool; in cpsw_create_page_pool() 1169 struct page_pool *pool; in cpsw_create_rx_pool() local 1186 struct page_pool *pool; cpsw_ndev_create_xdp_rxq() local [all...] |