Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/s390/cio/
Dcss.c1075 struct gen_pool *gp_dma; in cio_gp_dma_create() local
1080 gp_dma = gen_pool_create(3, -1); in cio_gp_dma_create()
1081 if (!gp_dma) in cio_gp_dma_create()
1087 return gp_dma; in cio_gp_dma_create()
1088 gen_pool_add_virt(gp_dma, (unsigned long) cpu_addr, in cio_gp_dma_create()
1091 return gp_dma; in cio_gp_dma_create()
1104 void cio_gp_dma_destroy(struct gen_pool *gp_dma, struct device *dma_dev) in cio_gp_dma_destroy() argument
1106 if (!gp_dma) in cio_gp_dma_destroy()
1109 gen_pool_for_each_chunk(gp_dma, __gp_dma_free_dma, dma_dev); in cio_gp_dma_destroy()
1110 gen_pool_destroy(gp_dma); in cio_gp_dma_destroy()
[all …]
/linux-6.1.9/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);