/Linux-v5.15/include/linux/ |
D | dmapool.h | 21 struct dma_pool *dma_pool_create(const char *name, struct device *dev, 24 void dma_pool_destroy(struct dma_pool *pool); 26 void *dma_pool_alloc(struct dma_pool *pool, gfp_t mem_flags, 28 void dma_pool_free(struct dma_pool *pool, void *vaddr, dma_addr_t addr); 33 struct dma_pool *dmam_pool_create(const char *name, struct device *dev, 35 void dmam_pool_destroy(struct dma_pool *pool); 38 static inline struct dma_pool *dma_pool_create(const char *name, in dma_pool_create() 41 static inline void dma_pool_destroy(struct dma_pool *pool) { } in dma_pool_destroy() 42 static inline void *dma_pool_alloc(struct dma_pool *pool, gfp_t mem_flags, in dma_pool_alloc() 44 static inline void dma_pool_free(struct dma_pool *pool, void *vaddr, in dma_pool_free() [all …]
|
/Linux-v5.15/mm/ |
D | dmapool.c | 43 struct dma_pool { /* the pool */ struct 71 struct dma_pool *pool; in pools_show() argument 130 struct dma_pool *dma_pool_create(const char *name, struct device *dev, in dma_pool_create() 133 struct dma_pool *retval; in dma_pool_create() 203 static void pool_initialise_page(struct dma_pool *pool, struct dma_page *page) in pool_initialise_page() 219 static struct dma_page *pool_alloc_page(struct dma_pool *pool, gfp_t mem_flags) in pool_alloc_page() 247 static void pool_free_page(struct dma_pool *pool, struct dma_page *page) in pool_free_page() 267 void dma_pool_destroy(struct dma_pool *pool) in dma_pool_destroy() 314 void *dma_pool_alloc(struct dma_pool *pool, gfp_t mem_flags, in dma_pool_alloc() 382 static struct dma_page *pool_find_page(struct dma_pool *pool, dma_addr_t dma) in pool_find_page() [all …]
|
/Linux-v5.15/drivers/dma/ptdma/ |
D | ptdma-dev.c | 179 struct dma_pool *dma_pool; in pt_core_init() local 185 dma_pool = dma_pool_create(dma_pool_name, dev, in pt_core_init() 188 if (!dma_pool) in pt_core_init() 199 cmd_q->dma_pool = dma_pool; in pt_core_init() 268 dma_pool_destroy(pt->cmd_q.dma_pool); in pt_core_init()
|
D | ptdma.h | 193 struct dma_pool *dma_pool; member
|
/Linux-v5.15/drivers/dma/fsl-dpaa2-qdma/ |
D | dpaa2-qdma.h | 78 struct dma_pool *fd_pool; 79 struct dma_pool *fl_pool; 80 struct dma_pool *sdd_pool;
|
/Linux-v5.15/drivers/scsi/megaraid/ |
D | megaraid_mbox.h | 194 struct dma_pool *mbox_pool_handle; 196 struct dma_pool *epthru_pool_handle; 198 struct dma_pool *sg_pool_handle;
|
D | megaraid_ioctl.h | 241 struct dma_pool *handle; 293 struct dma_pool *pthru_dma_pool;
|
D | megaraid_sas_fusion.h | 1286 struct dma_pool *dma_pool_ptr; 1296 struct dma_pool *io_request_frames_pool; 1300 struct dma_pool *sg_dma_pool; 1301 struct dma_pool *sense_dma_pool; 1311 struct dma_pool *reply_frames_desc_pool; 1312 struct dma_pool *reply_frames_desc_pool_align;
|
/Linux-v5.15/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_fcoe.h | 42 struct dma_pool *pool; 47 struct dma_pool *pool;
|
/Linux-v5.15/drivers/crypto/ccp/ |
D | ccp-dev-v3.c | 373 struct dma_pool *dma_pool; in ccp_init() local 388 dma_pool = dma_pool_create(dma_pool_name, dev, in ccp_init() 391 if (!dma_pool) { in ccp_init() 402 cmd_q->dma_pool = dma_pool; in ccp_init() 513 dma_pool_destroy(ccp->cmd_q[i].dma_pool); in ccp_init() 551 dma_pool_destroy(ccp->cmd_q[i].dma_pool); in ccp_destroy()
|
D | ccp-dev.h | 267 struct dma_pool *dma_pool; member 459 struct dma_pool *dma_pool; member
|
D | ccp-dev-v5.c | 783 struct dma_pool *dma_pool; in ccp5_init() local 811 dma_pool = dma_pool_create(dma_pool_name, dev, in ccp5_init() 814 if (!dma_pool) { in ccp5_init() 825 cmd_q->dma_pool = dma_pool; in ccp5_init() 1002 dma_pool_destroy(ccp->cmd_q[i].dma_pool); in ccp5_init()
|
/Linux-v5.15/drivers/usb/musb/ |
D | tusb6010_omap.c | 54 struct tusb_dma_data dma_pool[MAX_DMAREQ]; member 400 chdat->dma_data = &chdat->tusb_dma->dma_pool[dmareq_nr]; in tusb_omap_dma_allocate_dmareq() 476 chdat->dma_data = &tusb_dma->dma_pool[0]; in tusb_omap_dma_allocate() 528 if (tusb_dma && tusb_dma->dma_pool[i].chan) in tusb_dma_controller_destroy() 529 dma_release_channel(tusb_dma->dma_pool[i].chan); in tusb_dma_controller_destroy() 543 struct tusb_dma_data *dma_data = &tusb_dma->dma_pool[i]; in tusb_omap_allocate_dma_pool() 573 struct tusb_dma_data *dma_data = &tusb_dma->dma_pool[i]; in tusb_omap_allocate_dma_pool()
|
/Linux-v5.15/drivers/scsi/mpi3mr/ |
D | mpi3mr.h | 755 struct dma_pool *reply_buf_pool; 761 struct dma_pool *reply_free_q_pool; 768 struct dma_pool *sense_buf_pool; 773 struct dma_pool *sense_buf_q_pool; 800 struct dma_pool *chain_buf_pool;
|
/Linux-v5.15/drivers/usb/chipidea/ |
D | ci.h | 103 struct dma_pool *td_pool; 225 struct dma_pool *qh_pool; 226 struct dma_pool *td_pool;
|
/Linux-v5.15/drivers/dma/ |
D | fsl_raid.h | 261 struct dma_pool *cf_desc_pool; 262 struct dma_pool *hw_desc_pool;
|
/Linux-v5.15/drivers/net/wan/ |
D | ixp4xx_hss.c | 322 static struct dma_pool *dma_pool; variable 972 dma_pool = dma_pool_create(DRV_NAME, &port->netdev->dev, in init_hdlc_queues() 974 if (!dma_pool) in init_hdlc_queues() 978 port->desc_tab = dma_pool_zalloc(dma_pool, GFP_KERNEL, in init_hdlc_queues() 1039 dma_pool_free(dma_pool, port->desc_tab, port->desc_tab_phys); in destroy_hdlc_queues() 1043 if (!ports_open && dma_pool) { in destroy_hdlc_queues() 1044 dma_pool_destroy(dma_pool); in destroy_hdlc_queues() 1045 dma_pool = NULL; in destroy_hdlc_queues()
|
/Linux-v5.15/drivers/usb/host/ |
D | ehci.h | 195 struct dma_pool *qh_pool; /* qh per active urb */ 196 struct dma_pool *qtd_pool; /* one or more per qh */ 197 struct dma_pool *itd_pool; /* itd per iso urb */ 198 struct dma_pool *sitd_pool; /* sitd per split iso urb */
|
D | fotg210.h | 162 struct dma_pool *qh_pool; /* qh per active urb */ 163 struct dma_pool *qtd_pool; /* one or more per qh */ 164 struct dma_pool *itd_pool; /* itd per iso urb */
|
/Linux-v5.15/drivers/crypto/hisilicon/sec/ |
D | sec_drv.h | 394 struct dma_pool; 414 struct dma_pool *hw_sgl_pool;
|
/Linux-v5.15/drivers/crypto/marvell/cesa/ |
D | cesa.h | 399 struct dma_pool *tdma_desc_pool; 400 struct dma_pool *op_pool; 401 struct dma_pool *cache_pool; 402 struct dma_pool *padding_pool;
|
/Linux-v5.15/drivers/crypto/ccree/ |
D | cc_buffer_mgr.h | 34 struct dma_pool *curr_pool;
|
/Linux-v5.15/drivers/scsi/lpfc/ |
D | lpfc.h | 1289 struct dma_pool *lpfc_sg_dma_buf_pool; 1290 struct dma_pool *lpfc_mbuf_pool; 1291 struct dma_pool *lpfc_hrb_pool; /* header receive buffer pool */ 1292 struct dma_pool *lpfc_drb_pool; /* data receive buffer pool */ 1293 struct dma_pool *lpfc_nvmet_drb_pool; /* data receive buffer pool */ 1294 struct dma_pool *lpfc_hbq_pool; /* SLI3 hbq buffer pool */ 1295 struct dma_pool *lpfc_cmd_rsp_buf_pool;
|
/Linux-v5.15/drivers/s390/cio/ |
D | device.c | 669 cio_gp_dma_free(cdev->private->dma_pool, cdev->private->dma_area, in ccw_device_release() 671 cio_gp_dma_destroy(cdev->private->dma_pool, &cdev->dev); in ccw_device_release() 681 struct gen_pool *dma_pool; in io_subchannel_allocate_dev() local 701 dma_pool = cio_gp_dma_create(&cdev->dev, 1); in io_subchannel_allocate_dev() 702 if (!dma_pool) { in io_subchannel_allocate_dev() 706 cdev->private->dma_pool = dma_pool; in io_subchannel_allocate_dev() 707 cdev->private->dma_area = cio_gp_dma_zalloc(dma_pool, &cdev->dev, in io_subchannel_allocate_dev() 715 cio_gp_dma_destroy(dma_pool, &cdev->dev); in io_subchannel_allocate_dev()
|
/Linux-v5.15/drivers/net/ethernet/xscale/ |
D | ixp4xx_eth.c | 259 static struct dma_pool *dma_pool; variable 1100 dma_pool = dma_pool_create(DRV_NAME, &port->netdev->dev, in init_queues() 1102 if (!dma_pool) in init_queues() 1106 if (!(port->desc_tab = dma_pool_alloc(dma_pool, GFP_KERNEL, in init_queues() 1164 dma_pool_free(dma_pool, port->desc_tab, port->desc_tab_phys); in destroy_queues() 1168 if (!ports_open && dma_pool) { in destroy_queues() 1169 dma_pool_destroy(dma_pool); in destroy_queues() 1170 dma_pool = NULL; in destroy_queues()
|