Home
last modified time | relevance | path

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

123456

/OK3568_Linux_fs/kernel/include/linux/
H A 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 …]
/OK3568_Linux_fs/kernel/mm/
H A Ddmapool.c42 struct dma_pool { /* the pool */ struct
71 struct dma_pool *pool; in show_pools() 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 …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/ttm/
H A Dttm_page_alloc_dma.c96 struct dma_pool { struct
150 struct dma_pool *pool;
265 static int ttm_set_pages_caching(struct dma_pool *pool, in ttm_set_pages_caching()
285 static void __ttm_dma_free_page(struct dma_pool *pool, struct dma_page *d_page) in __ttm_dma_free_page()
298 static struct dma_page *__ttm_dma_alloc_page(struct dma_pool *pool) in __ttm_dma_alloc_page()
343 static void ttm_pool_update_free_locked(struct dma_pool *pool, in ttm_pool_update_free_locked()
352 static void ttm_dma_page_put(struct dma_pool *pool, struct dma_page *d_page) in ttm_dma_page_put()
369 static void ttm_dma_pages_put(struct dma_pool *pool, struct list_head *d_pages, in ttm_dma_pages_put()
403 static unsigned ttm_dma_page_pool_free(struct dma_pool *pool, unsigned nr_free, in ttm_dma_page_pool_free()
500 struct dma_pool *pool; in ttm_dma_free_pool()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/platform/
H A Dplatform_ops.h43 struct dma_pool *pci_create_dma_pool(struct pci_dev *pdev, char *name, size_t size);
44 void pci_destory_dma_pool(struct pci_dev *pdev, struct dma_pool *pool);
45 void *pci_zalloc_pool_mem(struct pci_dev *pdev, struct dma_pool *pool, dma_addr_t *bus_addr);
46 void pci_free_pool_mem(struct pci_dev *pdev, struct dma_pool *pool, void *vir_addr, dma_addr_t *bus…
H A Dplatform_linux_pc_pci.c115 struct dma_pool *pci_create_dma_pool(struct pci_dev *pdev, char *name, size_t size) in pci_create_dma_pool()
120 void *pci_zalloc_pool_mem(struct pci_dev *pdev, struct dma_pool *pool, dma_addr_t *bus_addr) in pci_zalloc_pool_mem()
125 void pci_free_pool_mem(struct pci_dev *pdev, struct dma_pool *pool, void *vir_addr, dma_addr_t *bus… in pci_free_pool_mem()
130 void pci_destory_dma_pool(struct pci_dev *pdev, struct dma_pool *pool) in pci_destory_dma_pool()
/OK3568_Linux_fs/kernel/drivers/dma/fsl-dpaa2-qdma/
H A Ddpaa2-qdma.h78 struct dma_pool *fd_pool;
79 struct dma_pool *fl_pool;
80 struct dma_pool *sdd_pool;
/OK3568_Linux_fs/kernel/drivers/scsi/megaraid/
H A Dmegaraid_mbox.h194 struct dma_pool *mbox_pool_handle;
196 struct dma_pool *epthru_pool_handle;
198 struct dma_pool *sg_pool_handle;
H A Dmegaraid_ioctl.h241 struct dma_pool *handle;
293 struct dma_pool *pthru_dma_pool;
H A Dmegaraid_sas_fusion.h1286 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;
1309 struct dma_pool *reply_frames_desc_pool;
1310 struct dma_pool *reply_frames_desc_pool_align;
/OK3568_Linux_fs/kernel/drivers/crypto/ccp/
H A Dccp-dev-v3.c373 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()
H A Dccp-dev.h267 struct dma_pool *dma_pool; member
459 struct dma_pool *dma_pool; member
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_fcoe.h42 struct dma_pool *pool;
47 struct dma_pool *pool;
/OK3568_Linux_fs/kernel/drivers/usb/musb/
H A 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()
/OK3568_Linux_fs/kernel/drivers/firmware/google/
H A Dgsmi.c100 struct dma_pool *dma_pool; /* DMA buffer pool */ member
160 smibuf->start = dma_pool_alloc(gsmi_dev.dma_pool, GFP_KERNEL, in gsmi_buf_alloc()
179 dma_pool_free(gsmi_dev.dma_pool, smibuf->start, in gsmi_buf_free()
926 gsmi_dev.dma_pool = dma_pool_create("gsmi", &gsmi_dev.pdev->dev, in gsmi_init()
928 if (!gsmi_dev.dma_pool) in gsmi_init()
1044 dma_pool_destroy(gsmi_dev.dma_pool); in gsmi_init()
1069 dma_pool_destroy(gsmi_dev.dma_pool); in gsmi_exit()
/OK3568_Linux_fs/kernel/drivers/usb/chipidea/
H A Dci.h103 struct dma_pool *td_pool;
226 struct dma_pool *qh_pool;
227 struct dma_pool *td_pool;
/OK3568_Linux_fs/kernel/drivers/net/wan/
H A Dixp4xx_hss.c325 static struct dma_pool *dma_pool; variable
971 dma_pool = dma_pool_create(DRV_NAME, &port->netdev->dev, in init_hdlc_queues()
973 if (!dma_pool) in init_hdlc_queues()
977 if (!(port->desc_tab = dma_pool_alloc(dma_pool, GFP_KERNEL, in init_hdlc_queues()
1034 dma_pool_free(dma_pool, port->desc_tab, port->desc_tab_phys); in destroy_hdlc_queues()
1038 if (!ports_open && dma_pool) { in destroy_hdlc_queues()
1039 dma_pool_destroy(dma_pool); in destroy_hdlc_queues()
1040 dma_pool = NULL; in destroy_hdlc_queues()
/OK3568_Linux_fs/kernel/drivers/scsi/lpfc/
H A Dlpfc.h1022 struct dma_pool *lpfc_sg_dma_buf_pool;
1023 struct dma_pool *lpfc_mbuf_pool;
1024 struct dma_pool *lpfc_hrb_pool; /* header receive buffer pool */
1025 struct dma_pool *lpfc_drb_pool; /* data receive buffer pool */
1026 struct dma_pool *lpfc_nvmet_drb_pool; /* data receive buffer pool */
1027 struct dma_pool *lpfc_hbq_pool; /* SLI3 hbq buffer pool */
1028 struct dma_pool *lpfc_cmd_rsp_buf_pool;
/OK3568_Linux_fs/kernel/drivers/usb/host/
H A 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 */
H A 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 */
/OK3568_Linux_fs/kernel/drivers/crypto/marvell/cesa/
H A Dcesa.h399 struct dma_pool *tdma_desc_pool;
400 struct dma_pool *op_pool;
401 struct dma_pool *cache_pool;
402 struct dma_pool *padding_pool;
/OK3568_Linux_fs/kernel/drivers/dma/
H A Dfsl_raid.h261 struct dma_pool *cf_desc_pool;
262 struct dma_pool *hw_desc_pool;
/OK3568_Linux_fs/kernel/drivers/net/ethernet/xscale/
H A Dixp4xx_eth.c255 static struct dma_pool *dma_pool; variable
1089 dma_pool = dma_pool_create(DRV_NAME, &port->netdev->dev, in init_queues()
1091 if (!dma_pool) in init_queues()
1095 if (!(port->desc_tab = dma_pool_alloc(dma_pool, GFP_KERNEL, in init_queues()
1153 dma_pool_free(dma_pool, port->desc_tab, port->desc_tab_phys); in destroy_queues()
1157 if (!ports_open && dma_pool) { in destroy_queues()
1158 dma_pool_destroy(dma_pool); in destroy_queues()
1159 dma_pool = NULL; in destroy_queues()
/OK3568_Linux_fs/kernel/drivers/crypto/hisilicon/sec/
H A Dsec_drv.h394 struct dma_pool;
414 struct dma_pool *hw_sgl_pool;
/OK3568_Linux_fs/kernel/drivers/gpu/arm/mali400/mali/linux/
H A Dmali_osk_specific.h34 typedef struct dma_pool *mali_dma_pool;
/OK3568_Linux_fs/kernel/drivers/scsi/mpt3sas/
H A Dmpt3sas_base.h1375 struct dma_pool *pcie_sgl_dma_pool;
1382 struct dma_pool *chain_dma_pool;
1410 struct dma_pool *sense_dma_pool;
1418 struct dma_pool *reply_dma_pool;
1424 struct dma_pool *reply_free_dma_pool;
1433 struct dma_pool *reply_post_free_dma_pool;
1434 struct dma_pool *reply_post_free_array_dma_pool;

123456