/linux-6.1.9/include/linux/ |
D | genalloc.h | 37 struct gen_pool; 52 void *data, struct gen_pool *pool, 58 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_owner(struct gen_pool *, unsigned long, phys_addr_t, 101 static inline int gen_pool_add_virt(struct gen_pool *pool, unsigned long addr, in gen_pool_add_virt() 119 static inline int gen_pool_add(struct gen_pool *pool, unsigned long addr, in gen_pool_add() 124 extern void gen_pool_destroy(struct gen_pool *); 125 unsigned long gen_pool_alloc_algo_owner(struct gen_pool *pool, size_t size, [all …]
|
D | sram.h | 6 struct gen_pool; 9 void *sram_exec_copy(struct gen_pool *pool, void *dst, void *src, size_t size); 11 static inline void *sram_exec_copy(struct gen_pool *pool, void *dst, void *src, in sram_exec_copy()
|
D | ti-emif-sram.h | 133 struct gen_pool; 135 int ti_emif_copy_pm_function_table(struct gen_pool *sram_pool, void *dst);
|
/linux-6.1.9/drivers/gpu/drm/vboxvideo/ |
D | vboxvideo_guest.h | 30 int hgsmi_report_flags_location(struct gen_pool *ctx, u32 location); 31 int hgsmi_send_caps_info(struct gen_pool *ctx, u32 caps); 32 int hgsmi_test_query_conf(struct gen_pool *ctx); 33 int hgsmi_query_conf(struct gen_pool *ctx, u32 index, u32 *value_ret); 34 int hgsmi_update_pointer_shape(struct gen_pool *ctx, u32 flags, 37 int hgsmi_cursor_position(struct gen_pool *ctx, bool report_position, 40 bool vbva_enable(struct vbva_buf_ctx *vbva_ctx, struct gen_pool *ctx, 42 void vbva_disable(struct vbva_buf_ctx *vbva_ctx, struct gen_pool *ctx, 45 struct gen_pool *ctx); 47 bool vbva_write(struct vbva_buf_ctx *vbva_ctx, struct gen_pool *ctx, [all …]
|
D | hgsmi_base.c | 18 int hgsmi_report_flags_location(struct gen_pool *ctx, u32 location) in hgsmi_report_flags_location() 43 int hgsmi_send_caps_info(struct gen_pool *ctx, u32 caps) in hgsmi_send_caps_info() 63 int hgsmi_test_query_conf(struct gen_pool *ctx) in hgsmi_test_query_conf() 83 int hgsmi_query_conf(struct gen_pool *ctx, u32 index, u32 *value_ret) in hgsmi_query_conf() 117 int hgsmi_update_pointer_shape(struct gen_pool *ctx, u32 flags, in hgsmi_update_pointer_shape() 190 int hgsmi_cursor_position(struct gen_pool *ctx, bool report_position, in hgsmi_cursor_position()
|
D | vbva_base.c | 47 static void vbva_buffer_flush(struct gen_pool *ctx) in vbva_buffer_flush() 61 bool vbva_write(struct vbva_buf_ctx *vbva_ctx, struct gen_pool *ctx, in vbva_write() 108 struct gen_pool *ctx, s32 screen, bool enable) in vbva_inform_host() 137 bool vbva_enable(struct vbva_buf_ctx *vbva_ctx, struct gen_pool *ctx, in vbva_enable() 154 void vbva_disable(struct vbva_buf_ctx *vbva_ctx, struct gen_pool *ctx, in vbva_disable() 165 struct gen_pool *ctx) in vbva_buffer_begin_update()
|
D | vbox_drv.h | 54 struct gen_pool *guest_pool; 149 void *hgsmi_buffer_alloc(struct gen_pool *guest_pool, size_t size, 151 void hgsmi_buffer_free(struct gen_pool *guest_pool, void *buf); 152 int hgsmi_buffer_submit(struct gen_pool *guest_pool, void *buf);
|
D | modesetting.c | 29 void hgsmi_process_display_info(struct gen_pool *ctx, u32 display, in hgsmi_process_display_info() 69 int hgsmi_update_input_mapping(struct gen_pool *ctx, s32 origin_x, s32 origin_y, in hgsmi_update_input_mapping() 97 int hgsmi_get_mode_hints(struct gen_pool *ctx, unsigned int screens, in hgsmi_get_mode_hints()
|
D | vbox_hgsmi.c | 47 void *hgsmi_buffer_alloc(struct gen_pool *guest_pool, size_t size, in hgsmi_buffer_alloc() 74 void hgsmi_buffer_free(struct gen_pool *guest_pool, void *buf) in hgsmi_buffer_free() 84 int hgsmi_buffer_submit(struct gen_pool *guest_pool, void *buf) in hgsmi_buffer_submit()
|
/linux-6.1.9/drivers/net/ethernet/ti/ |
D | k3-cppi-desc-pool.c | 24 struct gen_pool *gen_pool; member 32 WARN(gen_pool_size(pool->gen_pool) != gen_pool_avail(pool->gen_pool), in k3_cppi_desc_pool_destroy() 34 gen_pool_size(pool->gen_pool), in k3_cppi_desc_pool_destroy() 35 gen_pool_avail(pool->gen_pool)); in k3_cppi_desc_pool_destroy() 40 gen_pool_destroy(pool->gen_pool); /* frees pool->name */ in k3_cppi_desc_pool_destroy() 66 pool->gen_pool = gen_pool_create(ilog2(pool->desc_size), -1); in k3_cppi_desc_pool_create_name() 67 if (!pool->gen_pool) { in k3_cppi_desc_pool_create_name() 74 pool->gen_pool->name = pool_name; in k3_cppi_desc_pool_create_name() 82 ret = gen_pool_add_virt(pool->gen_pool, (unsigned long)pool->cpumem, in k3_cppi_desc_pool_create_name() 96 gen_pool_destroy(pool->gen_pool); /* frees pool->name */ in k3_cppi_desc_pool_create_name() [all …]
|
D | davinci_cpdma.c | 87 struct gen_pool *gen_pool; member 197 WARN(gen_pool_size(pool->gen_pool) != gen_pool_avail(pool->gen_pool), in cpdma_desc_pool_destroy() 199 gen_pool_size(pool->gen_pool), in cpdma_desc_pool_destroy() 200 gen_pool_avail(pool->gen_pool)); in cpdma_desc_pool_destroy() 240 pool->gen_pool = devm_gen_pool_create(ctlr->dev, ilog2(pool->desc_size), in cpdma_desc_pool_create() 242 if (IS_ERR(pool->gen_pool)) { in cpdma_desc_pool_create() 243 ret = PTR_ERR(pool->gen_pool); in cpdma_desc_pool_create() 263 ret = gen_pool_add_virt(pool->gen_pool, (unsigned long)pool->iomap, in cpdma_desc_pool_create() 297 gen_pool_alloc(pool->gen_pool, pool->desc_size); in cpdma_desc_alloc() 303 gen_pool_free(pool->gen_pool, (unsigned long)desc, pool->desc_size); in cpdma_desc_free() [all …]
|
/linux-6.1.9/lib/ |
D | genalloc.c | 153 struct gen_pool *gen_pool_create(int min_alloc_order, int nid) in gen_pool_create() 155 struct gen_pool *pool; in gen_pool_create() 157 pool = kmalloc_node(sizeof(struct gen_pool), GFP_KERNEL, nid); in gen_pool_create() 184 int gen_pool_add_owner(struct gen_pool *pool, unsigned long virt, phys_addr_t phys, in gen_pool_add_owner() 217 phys_addr_t gen_pool_virt_to_phys(struct gen_pool *pool, unsigned long addr) in gen_pool_virt_to_phys() 242 void gen_pool_destroy(struct gen_pool *pool) in gen_pool_destroy() 277 unsigned long gen_pool_alloc_algo_owner(struct gen_pool *pool, size_t size, in gen_pool_alloc_algo_owner() 341 void *gen_pool_dma_alloc(struct gen_pool *pool, size_t size, dma_addr_t *dma) in gen_pool_dma_alloc() 362 void *gen_pool_dma_alloc_algo(struct gen_pool *pool, size_t size, in gen_pool_dma_alloc_algo() 395 void *gen_pool_dma_alloc_align(struct gen_pool *pool, size_t size, in gen_pool_dma_alloc_align() [all …]
|
/linux-6.1.9/kernel/dma/ |
D | pool.c | 16 static struct gen_pool *atomic_pool_dma __ro_after_init; 18 static struct gen_pool *atomic_pool_dma32 __ro_after_init; 20 static struct gen_pool *atomic_pool_kernel __ro_after_init; 79 static int atomic_pool_expand(struct gen_pool *pool, size_t pool_size, in atomic_pool_expand() 145 static void atomic_pool_resize(struct gen_pool *pool, gfp_t gfp) in atomic_pool_resize() 162 static __init struct gen_pool *__dma_atomic_pool_init(size_t pool_size, in __dma_atomic_pool_init() 165 struct gen_pool *pool; in __dma_atomic_pool_init() 224 static inline struct gen_pool *dma_guess_pool(struct gen_pool *prev, gfp_t gfp) in dma_guess_pool() 241 struct gen_pool *pool, void **cpu_addr, in __dma_alloc_from_pool() 269 struct gen_pool *pool = NULL; in dma_alloc_from_pool() [all …]
|
/linux-6.1.9/include/linux/platform_data/ |
D | dma-mmp_tdma.h | 28 extern struct gen_pool *sram_get_gpool(char *pool_name); 30 static inline struct gen_pool *sram_get_gpool(char *pool_name) in sram_get_gpool()
|
D | uio_pruss.h | 16 struct gen_pool *sram_pool;
|
/linux-6.1.9/arch/s390/include/asm/ |
D | cio.h | 365 void *cio_gp_dma_zalloc(struct gen_pool *gp_dma, struct device *dma_dev, 367 void cio_gp_dma_free(struct gen_pool *gp_dma, void *cpu_addr, size_t size); 368 void cio_gp_dma_destroy(struct gen_pool *gp_dma, struct device *dma_dev); 369 struct gen_pool *cio_gp_dma_create(struct device *dma_dev, int nr_pages);
|
/linux-6.1.9/drivers/misc/ |
D | sram.h | 16 struct gen_pool *pool; 29 struct gen_pool *pool;
|
/linux-6.1.9/arch/arm/mach-davinci/ |
D | sram.c | 15 static struct gen_pool *sram_pool; 17 struct gen_pool *sram_get_gen_pool(void) in sram_get_gen_pool()
|
D | sram.h | 25 extern struct gen_pool *sram_get_gen_pool(void);
|
/linux-6.1.9/drivers/soc/fsl/qbman/ |
D | qman_priv.h | 190 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-6.1.9/arch/ia64/kernel/ |
D | uncached.c | 30 struct gen_pool *pool; 221 struct gen_pool *pool = uncached_pools[nid].pool; in uncached_free_page() 247 struct gen_pool *pool = uncached_pools[nid].pool; in uncached_build_memmap()
|
/linux-6.1.9/arch/x86/kernel/cpu/mce/ |
D | genpool.c | 24 static struct gen_pool *mce_evt_pool; 121 struct gen_pool *tmpp; in mce_gen_pool_create()
|
/linux-6.1.9/drivers/memory/ |
D | ti-emif-pm.c | 32 struct gen_pool *sram_pool_code; 33 struct gen_pool *sram_pool_data; 201 int ti_emif_copy_pm_function_table(struct gen_pool *sram_pool, void *dst) in ti_emif_copy_pm_function_table()
|
/linux-6.1.9/arch/arm/mach-mmp/ |
D | sram.c | 26 struct gen_pool *gpool; 39 struct gen_pool *sram_get_gpool(char *pool_name) in sram_get_gpool()
|
/linux-6.1.9/arch/sh/mm/ |
D | sram.c | 22 struct gen_pool *sram_pool;
|