Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/s390/cio/
Dcss.c1101 struct gen_pool *gp_dma; in cio_gp_dma_create() local
1106 gp_dma = gen_pool_create(3, -1); in cio_gp_dma_create()
1107 if (!gp_dma) in cio_gp_dma_create()
1113 return gp_dma; in cio_gp_dma_create()
1114 gen_pool_add_virt(gp_dma, (unsigned long) cpu_addr, in cio_gp_dma_create()
1117 return gp_dma; in cio_gp_dma_create()
1130 void cio_gp_dma_destroy(struct gen_pool *gp_dma, struct device *dma_dev) in cio_gp_dma_destroy() argument
1132 if (!gp_dma) in cio_gp_dma_destroy()
1135 gen_pool_for_each_chunk(gp_dma, __gp_dma_free_dma, dma_dev); in cio_gp_dma_destroy()
1136 gen_pool_destroy(gp_dma); in cio_gp_dma_destroy()
[all …]
/Linux-v5.4/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_free(struct gen_pool *gp_dma, void *cpu_addr, size_t size);
369 void cio_gp_dma_destroy(struct gen_pool *gp_dma, struct device *dma_dev);