Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/s390/cio/
Dcss.c1070 struct gen_pool *gp_dma; in cio_gp_dma_create() local
1075 gp_dma = gen_pool_create(3, -1); in cio_gp_dma_create()
1076 if (!gp_dma) in cio_gp_dma_create()
1082 return gp_dma; in cio_gp_dma_create()
1083 gen_pool_add_virt(gp_dma, (unsigned long) cpu_addr, in cio_gp_dma_create()
1086 return gp_dma; in cio_gp_dma_create()
1099 void cio_gp_dma_destroy(struct gen_pool *gp_dma, struct device *dma_dev) in cio_gp_dma_destroy() argument
1101 if (!gp_dma) in cio_gp_dma_destroy()
1104 gen_pool_for_each_chunk(gp_dma, __gp_dma_free_dma, dma_dev); in cio_gp_dma_destroy()
1105 gen_pool_destroy(gp_dma); in cio_gp_dma_destroy()
[all …]
/linux-6.12.1/arch/s390/include/asm/
Dcio.h366 void *cio_gp_dma_zalloc(struct gen_pool *gp_dma, struct device *dma_dev,
368 void *__cio_gp_dma_zalloc(struct gen_pool *gp_dma, struct device *dma_dev,
370 void cio_gp_dma_free(struct gen_pool *gp_dma, void *cpu_addr, size_t size);
371 void cio_gp_dma_destroy(struct gen_pool *gp_dma, struct device *dma_dev);