/Linux-v4.19/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-v4.19/mm/ |
D | dmapool.c | 45 struct dma_pool { /* the pool */ struct 74 struct dma_pool *pool; in show_pools() argument 131 struct dma_pool *dma_pool_create(const char *name, struct device *dev, in dma_pool_create() 134 struct dma_pool *retval; in dma_pool_create() 206 static void pool_initialise_page(struct dma_pool *pool, struct dma_page *page) in pool_initialise_page() 222 static struct dma_page *pool_alloc_page(struct dma_pool *pool, gfp_t mem_flags) in pool_alloc_page() 250 static void pool_free_page(struct dma_pool *pool, struct dma_page *page) in pool_free_page() 270 void dma_pool_destroy(struct dma_pool *pool) in dma_pool_destroy() 320 void *dma_pool_alloc(struct dma_pool *pool, gfp_t mem_flags, in dma_pool_alloc() 389 static struct dma_page *pool_find_page(struct dma_pool *pool, dma_addr_t dma) in pool_find_page() [all …]
|
/Linux-v4.19/drivers/gpu/drm/ttm/ |
D | ttm_page_alloc_dma.c | 97 struct dma_pool { struct 151 struct dma_pool *pool; 266 static int ttm_set_pages_caching(struct dma_pool *pool, in ttm_set_pages_caching() 286 static void __ttm_dma_free_page(struct dma_pool *pool, struct dma_page *d_page) in __ttm_dma_free_page() 295 static struct dma_page *__ttm_dma_alloc_page(struct dma_pool *pool) in __ttm_dma_alloc_page() 340 static void ttm_pool_update_free_locked(struct dma_pool *pool, in ttm_pool_update_free_locked() 349 static void ttm_dma_page_put(struct dma_pool *pool, struct dma_page *d_page) in ttm_dma_page_put() 366 static void ttm_dma_pages_put(struct dma_pool *pool, struct list_head *d_pages, in ttm_dma_pages_put() 400 static unsigned ttm_dma_page_pool_free(struct dma_pool *pool, unsigned nr_free, in ttm_dma_page_pool_free() 503 struct dma_pool *pool; in ttm_dma_free_pool() [all …]
|
/Linux-v4.19/drivers/scsi/megaraid/ |
D | megaraid_mbox.h | 198 struct dma_pool *mbox_pool_handle; 200 struct dma_pool *epthru_pool_handle; 202 struct dma_pool *sg_pool_handle;
|
D | megaraid_ioctl.h | 245 struct dma_pool *handle; 297 struct dma_pool *pthru_dma_pool;
|
D | megaraid_sas_fusion.h | 1272 struct dma_pool *dma_pool_ptr; 1282 struct dma_pool *io_request_frames_pool; 1286 struct dma_pool *sg_dma_pool; 1287 struct dma_pool *sense_dma_pool; 1295 struct dma_pool *reply_frames_desc_pool; 1296 struct dma_pool *reply_frames_desc_pool_align;
|
/Linux-v4.19/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_fcoe.h | 42 struct dma_pool *pool; 47 struct dma_pool *pool;
|
/Linux-v4.19/drivers/crypto/ccp/ |
D | ccp-dev-v3.c | 377 struct dma_pool *dma_pool; in ccp_init() local 392 dma_pool = dma_pool_create(dma_pool_name, dev, in ccp_init() 395 if (!dma_pool) { in ccp_init() 406 cmd_q->dma_pool = dma_pool; in ccp_init() 517 dma_pool_destroy(ccp->cmd_q[i].dma_pool); in ccp_init() 555 dma_pool_destroy(ccp->cmd_q[i].dma_pool); in ccp_destroy()
|
D | ccp-dev.h | 270 struct dma_pool *dma_pool; member 461 struct dma_pool *dma_pool; member
|
D | ccp-dev-v5.c | 789 struct dma_pool *dma_pool; in ccp5_init() local 806 dma_pool = dma_pool_create(dma_pool_name, dev, in ccp5_init() 809 if (!dma_pool) { in ccp5_init() 819 cmd_q->dma_pool = dma_pool; in ccp5_init() 994 dma_pool_destroy(ccp->cmd_q[i].dma_pool); in ccp5_init()
|
/Linux-v4.19/drivers/firmware/google/ |
D | gsmi.c | 95 struct dma_pool *dma_pool; /* DMA buffer pool */ member 147 smibuf->start = dma_pool_alloc(gsmi_dev.dma_pool, GFP_KERNEL, in gsmi_buf_alloc() 166 dma_pool_free(gsmi_dev.dma_pool, smibuf->start, in gsmi_buf_free() 796 gsmi_dev.dma_pool = dma_pool_create("gsmi", &gsmi_dev.pdev->dev, in gsmi_init() 798 if (!gsmi_dev.dma_pool) in gsmi_init() 913 dma_pool_destroy(gsmi_dev.dma_pool); in gsmi_init() 933 dma_pool_destroy(gsmi_dev.dma_pool); in gsmi_exit()
|
/Linux-v4.19/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-v4.19/drivers/usb/chipidea/ |
D | ci.h | 101 struct dma_pool *td_pool; 223 struct dma_pool *qh_pool; 224 struct dma_pool *td_pool;
|
/Linux-v4.19/drivers/dma/ |
D | fsl_raid.h | 261 struct dma_pool *cf_desc_pool; 262 struct dma_pool *hw_desc_pool;
|
D | coh901318.h | 18 struct dma_pool *dmapool;
|
/Linux-v4.19/drivers/scsi/lpfc/ |
D | lpfc.h | 947 struct dma_pool *lpfc_sg_dma_buf_pool; 948 struct dma_pool *lpfc_mbuf_pool; 949 struct dma_pool *lpfc_hrb_pool; /* header receive buffer pool */ 950 struct dma_pool *lpfc_drb_pool; /* data receive buffer pool */ 951 struct dma_pool *lpfc_nvmet_drb_pool; /* data receive buffer pool */ 952 struct dma_pool *lpfc_hbq_pool; /* SLI3 hbq buffer pool */ 953 struct dma_pool *txrdy_payload_pool;
|
/Linux-v4.19/drivers/net/wan/ |
D | ixp4xx_hss.c | 327 static struct dma_pool *dma_pool; variable 973 dma_pool = dma_pool_create(DRV_NAME, &port->netdev->dev, in init_hdlc_queues() 975 if (!dma_pool) in init_hdlc_queues() 979 if (!(port->desc_tab = dma_pool_alloc(dma_pool, GFP_KERNEL, in init_hdlc_queues() 1036 dma_pool_free(dma_pool, port->desc_tab, port->desc_tab_phys); in destroy_hdlc_queues() 1040 if (!ports_open && dma_pool) { in destroy_hdlc_queues() 1041 dma_pool_destroy(dma_pool); in destroy_hdlc_queues() 1042 dma_pool = NULL; in destroy_hdlc_queues()
|
/Linux-v4.19/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-v4.19/drivers/crypto/marvell/ |
D | cesa.h | 395 struct dma_pool *tdma_desc_pool; 396 struct dma_pool *op_pool; 397 struct dma_pool *cache_pool; 398 struct dma_pool *padding_pool;
|
/Linux-v4.19/drivers/crypto/hisilicon/sec/ |
D | sec_drv.h | 394 struct dma_pool; 414 struct dma_pool *hw_sgl_pool;
|
/Linux-v4.19/drivers/scsi/mpt3sas/ |
D | mpt3sas_base.h | 1290 struct dma_pool *pcie_sgl_dma_pool; 1297 struct dma_pool *chain_dma_pool; 1325 struct dma_pool *sense_dma_pool; 1333 struct dma_pool *reply_dma_pool; 1339 struct dma_pool *reply_free_dma_pool; 1348 struct dma_pool *reply_post_free_dma_pool; 1349 struct dma_pool *reply_post_free_array_dma_pool;
|
/Linux-v4.19/drivers/lightnvm/ |
D | core.c | 648 return dev->ops->dev_dma_alloc(dev, dev->dma_pool, mem_flags, in nvm_dev_dma_alloc() 655 dev->ops->dev_dma_free(dev->dma_pool, addr, dma_handler); in nvm_dev_dma_free() 885 if (dev->dma_pool) in nvm_free() 886 dev->ops->destroy_dma_pool(dev->dma_pool); in nvm_free() 936 dev->dma_pool = dev->ops->create_dma_pool(dev, "ppalist"); in nvm_register() 937 if (!dev->dma_pool) { in nvm_register() 953 dev->ops->destroy_dma_pool(dev->dma_pool); in nvm_register()
|
/Linux-v4.19/drivers/net/ethernet/xscale/ |
D | ixp4xx_eth.c | 256 static struct dma_pool *dma_pool; variable 1105 dma_pool = dma_pool_create(DRV_NAME, &port->netdev->dev, in init_queues() 1107 if (!dma_pool) in init_queues() 1111 if (!(port->desc_tab = dma_pool_alloc(dma_pool, GFP_KERNEL, in init_queues() 1169 dma_pool_free(dma_pool, port->desc_tab, port->desc_tab_phys); in destroy_queues() 1173 if (!ports_open && dma_pool) { in destroy_queues() 1174 dma_pool_destroy(dma_pool); in destroy_queues() 1175 dma_pool = NULL; in destroy_queues()
|
/Linux-v4.19/drivers/crypto/ccree/ |
D | cc_buffer_mgr.h | 33 struct dma_pool *curr_pool;
|