Home
last modified time | relevance | path

Searched refs:gp_dma (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/s390/cio/
Dcss.c1128 struct gen_pool *gp_dma; in cio_gp_dma_create() local
1133 gp_dma = gen_pool_create(3, -1); in cio_gp_dma_create()
1134 if (!gp_dma) in cio_gp_dma_create()
1140 return gp_dma; in cio_gp_dma_create()
1141 gen_pool_add_virt(gp_dma, (unsigned long) cpu_addr, in cio_gp_dma_create()
1144 return gp_dma; in cio_gp_dma_create()
1157 void cio_gp_dma_destroy(struct gen_pool *gp_dma, struct device *dma_dev) in cio_gp_dma_destroy() argument
1159 if (!gp_dma) in cio_gp_dma_destroy()
1162 gen_pool_for_each_chunk(gp_dma, __gp_dma_free_dma, dma_dev); in cio_gp_dma_destroy()
1163 gen_pool_destroy(gp_dma); in cio_gp_dma_destroy()
[all …]
/kernel/linux/linux-5.10/arch/s390/include/asm/
Dcio.h365 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);