Home
last modified time | relevance | path

Searched refs:gen_pool (Results 1 – 25 of 65) sorted by relevance

123

/Linux-v4.19/include/linux/
Dgenalloc.h39 struct gen_pool;
54 void *data, struct gen_pool *pool);
59 struct gen_pool { struct
96 extern struct gen_pool *gen_pool_create(int, int);
97 extern phys_addr_t gen_pool_virt_to_phys(struct gen_pool *pool, unsigned long);
98 extern int gen_pool_add_virt(struct gen_pool *, unsigned long, phys_addr_t,
112 static inline int gen_pool_add(struct gen_pool *pool, unsigned long addr, in gen_pool_add()
117 extern void gen_pool_destroy(struct gen_pool *);
118 extern unsigned long gen_pool_alloc(struct gen_pool *, size_t);
119 extern unsigned long gen_pool_alloc_algo(struct gen_pool *, size_t,
[all …]
Dsram.h16 struct gen_pool;
19 void *sram_exec_copy(struct gen_pool *pool, void *dst, void *src, size_t size);
21 static inline void *sram_exec_copy(struct gen_pool *pool, void *dst, void *src, in sram_exec_copy()
Dti-emif-sram.h138 struct gen_pool;
140 int ti_emif_copy_pm_function_table(struct gen_pool *sram_pool, void *dst);
/Linux-v4.19/drivers/staging/vboxvideo/
Dvboxvideo_guest.h53 int hgsmi_report_flags_location(struct gen_pool *ctx, u32 location);
54 int hgsmi_send_caps_info(struct gen_pool *ctx, u32 caps);
55 int hgsmi_test_query_conf(struct gen_pool *ctx);
56 int hgsmi_query_conf(struct gen_pool *ctx, u32 index, u32 *value_ret);
57 int hgsmi_update_pointer_shape(struct gen_pool *ctx, u32 flags,
60 int hgsmi_cursor_position(struct gen_pool *ctx, bool report_position,
68 bool vbva_enable(struct vbva_buf_ctx *vbva_ctx, struct gen_pool *ctx,
70 void vbva_disable(struct vbva_buf_ctx *vbva_ctx, struct gen_pool *ctx,
73 struct gen_pool *ctx);
75 bool vbva_write(struct vbva_buf_ctx *vbva_ctx, struct gen_pool *ctx,
[all …]
Dhgsmi_base.c36 int hgsmi_report_flags_location(struct gen_pool *ctx, u32 location) in hgsmi_report_flags_location()
60 int hgsmi_send_caps_info(struct gen_pool *ctx, u32 caps) in hgsmi_send_caps_info()
80 int hgsmi_test_query_conf(struct gen_pool *ctx) in hgsmi_test_query_conf()
100 int hgsmi_query_conf(struct gen_pool *ctx, u32 index, u32 *value_ret) in hgsmi_query_conf()
134 int hgsmi_update_pointer_shape(struct gen_pool *ctx, u32 flags, in hgsmi_update_pointer_shape()
206 int hgsmi_cursor_position(struct gen_pool *ctx, bool report_position, in hgsmi_cursor_position()
Dvbva_base.c66 static void vbva_buffer_flush(struct gen_pool *ctx) in vbva_buffer_flush()
80 bool vbva_write(struct vbva_buf_ctx *vbva_ctx, struct gen_pool *ctx, in vbva_write()
127 struct gen_pool *ctx, s32 screen, bool enable) in vbva_inform_host()
156 bool vbva_enable(struct vbva_buf_ctx *vbva_ctx, struct gen_pool *ctx, in vbva_enable()
173 void vbva_disable(struct vbva_buf_ctx *vbva_ctx, struct gen_pool *ctx, in vbva_disable()
184 struct gen_pool *ctx) in vbva_buffer_begin_update()
Dmodesetting.c46 void hgsmi_process_display_info(struct gen_pool *ctx, u32 display, in hgsmi_process_display_info()
84 int hgsmi_update_input_mapping(struct gen_pool *ctx, s32 origin_x, s32 origin_y, in hgsmi_update_input_mapping()
112 int hgsmi_get_mode_hints(struct gen_pool *ctx, unsigned int screens, in hgsmi_get_mode_hints()
Dvbox_hgsmi.c67 void *hgsmi_buffer_alloc(struct gen_pool *guest_pool, size_t size, in hgsmi_buffer_alloc()
94 void hgsmi_buffer_free(struct gen_pool *guest_pool, void *buf) in hgsmi_buffer_free()
104 int hgsmi_buffer_submit(struct gen_pool *guest_pool, void *buf) in hgsmi_buffer_submit()
Dvbox_drv.h82 struct gen_pool *guest_pool;
285 void *hgsmi_buffer_alloc(struct gen_pool *guest_pool, size_t size,
287 void hgsmi_buffer_free(struct gen_pool *guest_pool, void *buf);
288 int hgsmi_buffer_submit(struct gen_pool *guest_pool, void *buf);
/Linux-v4.19/lib/
Dgenalloc.c152 struct gen_pool *gen_pool_create(int min_alloc_order, int nid) in gen_pool_create()
154 struct gen_pool *pool; in gen_pool_create()
156 pool = kmalloc_node(sizeof(struct gen_pool), GFP_KERNEL, nid); in gen_pool_create()
182 int gen_pool_add_virt(struct gen_pool *pool, unsigned long virt, phys_addr_t phys, in gen_pool_add_virt()
214 phys_addr_t gen_pool_virt_to_phys(struct gen_pool *pool, unsigned long addr) in gen_pool_virt_to_phys()
239 void gen_pool_destroy(struct gen_pool *pool) in gen_pool_destroy()
271 unsigned long gen_pool_alloc(struct gen_pool *pool, size_t size) in gen_pool_alloc()
289 unsigned long gen_pool_alloc_algo(struct gen_pool *pool, size_t size, in gen_pool_alloc_algo()
346 void *gen_pool_dma_alloc(struct gen_pool *pool, size_t size, dma_addr_t *dma) in gen_pool_dma_alloc()
374 void gen_pool_free(struct gen_pool *pool, unsigned long addr, size_t size) in gen_pool_free()
[all …]
/Linux-v4.19/include/linux/platform_data/
Ddma-mmp_tdma.h32 extern struct gen_pool *sram_get_gpool(char *pool_name);
34 static inline struct gen_pool *sram_get_gpool(char *pool_name) in sram_get_gpool()
Duio_pruss.h24 struct gen_pool *sram_pool;
/Linux-v4.19/drivers/misc/
Dsram.h14 struct gen_pool *pool;
24 struct gen_pool *pool;
/Linux-v4.19/arch/arm/mach-davinci/
Dsram.c19 static struct gen_pool *sram_pool;
21 struct gen_pool *sram_get_gen_pool(void) in sram_get_gen_pool()
Dsram.h28 extern struct gen_pool *sram_get_gen_pool(void);
/Linux-v4.19/arch/ia64/kernel/
Duncached.c36 struct gen_pool *pool;
230 struct gen_pool *pool = uncached_pools[nid].pool; in uncached_free_page()
256 struct gen_pool *pool = uncached_pools[nid].pool; in uncached_build_memmap()
/Linux-v4.19/drivers/soc/fsl/qbman/
Dqman_priv.h190 extern struct gen_pool *qm_fqalloc; /* FQID allocator */
191 extern struct gen_pool *qm_qpalloc; /* pool-channel allocator */
192 extern struct gen_pool *qm_cgralloc; /* CGR ID allocator */
/Linux-v4.19/arch/x86/kernel/cpu/mcheck/
Dmce-genpool.c25 static struct gen_pool *mce_evt_pool;
119 struct gen_pool *tmpp; in mce_gen_pool_create()
/Linux-v4.19/drivers/net/ethernet/ti/
Ddavinci_cpdma.c94 struct gen_pool *gen_pool; member
193 WARN(gen_pool_size(pool->gen_pool) != gen_pool_avail(pool->gen_pool), in cpdma_desc_pool_destroy()
195 gen_pool_size(pool->gen_pool), in cpdma_desc_pool_destroy()
196 gen_pool_avail(pool->gen_pool)); in cpdma_desc_pool_destroy()
236 pool->gen_pool = devm_gen_pool_create(ctlr->dev, ilog2(pool->desc_size), in cpdma_desc_pool_create()
238 if (IS_ERR(pool->gen_pool)) { in cpdma_desc_pool_create()
239 ret = PTR_ERR(pool->gen_pool); in cpdma_desc_pool_create()
259 ret = gen_pool_add_virt(pool->gen_pool, (unsigned long)pool->iomap, in cpdma_desc_pool_create()
293 gen_pool_alloc(pool->gen_pool, pool->desc_size); in cpdma_desc_alloc()
299 gen_pool_free(pool->gen_pool, (unsigned long)desc, pool->desc_size); in cpdma_desc_free()
[all …]
/Linux-v4.19/drivers/memory/
Dti-emif-pm.c40 struct gen_pool *sram_pool_code;
41 struct gen_pool *sram_pool_data;
206 int ti_emif_copy_pm_function_table(struct gen_pool *sram_pool, void *dst) in ti_emif_copy_pm_function_table()
/Linux-v4.19/drivers/infiniband/hw/i40iw/
Di40iw_pble.c426 struct gen_pool *pool; in free_lvl2()
455 struct gen_pool *pool) in get_lvl2_pble()
515 struct gen_pool *pool; in get_lvl1_pble()
543 struct gen_pool *pool) in get_lvl1_lvl2_pble()
565 struct gen_pool *pool; in i40iw_get_pble()
603 struct gen_pool *pool; in i40iw_free_pble()
/Linux-v4.19/arch/arm/mach-mmp/
Dsram.c30 struct gen_pool *gpool;
43 struct gen_pool *sram_get_gpool(char *pool_name) in sram_get_gpool()
/Linux-v4.19/arch/sh/mm/
Dsram.c22 struct gen_pool *sram_pool;
/Linux-v4.19/arch/sh/include/asm/
Dsram.h11 extern struct gen_pool *sram_pool;
/Linux-v4.19/sound/core/
Dmemalloc.c123 struct gen_pool *pool = NULL; in snd_malloc_dev_iram()
146 struct gen_pool *pool = dmab->private_data; in snd_free_dev_iram()

123