Home
last modified time | relevance | path

Searched refs:dma_pool (Results 1 – 25 of 115) sorted by relevance

12345

/Linux-v4.19/include/linux/
Ddmapool.h21 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/
Ddmapool.c45 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/
Dttm_page_alloc_dma.c97 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/
Dmegaraid_mbox.h198 struct dma_pool *mbox_pool_handle;
200 struct dma_pool *epthru_pool_handle;
202 struct dma_pool *sg_pool_handle;
Dmegaraid_ioctl.h245 struct dma_pool *handle;
297 struct dma_pool *pthru_dma_pool;
Dmegaraid_sas_fusion.h1272 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/
Dixgbe_fcoe.h42 struct dma_pool *pool;
47 struct dma_pool *pool;
/Linux-v4.19/drivers/crypto/ccp/
Dccp-dev-v3.c377 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()
Dccp-dev.h270 struct dma_pool *dma_pool; member
461 struct dma_pool *dma_pool; member
Dccp-dev-v5.c789 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/
Dgsmi.c95 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/
Dtusb6010_omap.c54 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/
Dci.h101 struct dma_pool *td_pool;
223 struct dma_pool *qh_pool;
224 struct dma_pool *td_pool;
/Linux-v4.19/drivers/dma/
Dfsl_raid.h261 struct dma_pool *cf_desc_pool;
262 struct dma_pool *hw_desc_pool;
Dcoh901318.h18 struct dma_pool *dmapool;
/Linux-v4.19/drivers/scsi/lpfc/
Dlpfc.h947 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/
Dixp4xx_hss.c327 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/
Dehci.h195 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 */
Dfotg210.h162 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/
Dcesa.h395 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/
Dsec_drv.h394 struct dma_pool;
414 struct dma_pool *hw_sgl_pool;
/Linux-v4.19/drivers/scsi/mpt3sas/
Dmpt3sas_base.h1290 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/
Dcore.c648 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/
Dixp4xx_eth.c256 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/
Dcc_buffer_mgr.h33 struct dma_pool *curr_pool;

12345