Home
last modified time | relevance | path

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

123

/drivers/gpu/drm/ttm/
Dttm_page_alloc_dma.c103 struct dma_pool { struct
157 struct dma_pool *pool;
306 static int ttm_set_pages_caching(struct dma_pool *pool, in ttm_set_pages_caching()
326 static void __ttm_dma_free_page(struct dma_pool *pool, struct dma_page *d_page) in __ttm_dma_free_page()
334 static struct dma_page *__ttm_dma_alloc_page(struct dma_pool *pool) in __ttm_dma_alloc_page()
369 static void ttm_pool_update_free_locked(struct dma_pool *pool, in ttm_pool_update_free_locked()
378 static void ttm_dma_pages_put(struct dma_pool *pool, struct list_head *d_pages, in ttm_dma_pages_put()
395 static void ttm_dma_page_put(struct dma_pool *pool, struct dma_page *d_page) in ttm_dma_page_put()
416 static unsigned ttm_dma_page_pool_free(struct dma_pool *pool, unsigned nr_free, in ttm_dma_page_pool_free()
518 struct dma_pool *pool; in ttm_dma_free_pool()
[all …]
/drivers/crypto/ccp/
Dccp-dev.c327 struct dma_pool *dma_pool; in ccp_init() local
341 dma_pool = dma_pool_create(dma_pool_name, dev, in ccp_init()
344 if (!dma_pool) { in ccp_init()
355 cmd_q->dma_pool = dma_pool; in ccp_init()
460 dma_pool_destroy(ccp->cmd_q[i].dma_pool); in ccp_init()
507 dma_pool_destroy(ccp->cmd_q[i].dma_pool); in ccp_destroy()
Dccp-dev.h156 struct dma_pool *dma_pool; member
/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.h239 struct dma_pool *handle;
291 struct dma_pool *pthru_dma_pool;
Dmegaraid_sas_fusion.h800 struct dma_pool *io_request_frames_pool;
804 struct dma_pool *sg_dma_pool;
805 struct dma_pool *sense_dma_pool;
809 struct dma_pool *reply_frames_desc_pool;
/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 if (gsmi_dev.dma_pool) in gsmi_init()
914 dma_pool_destroy(gsmi_dev.dma_pool); in gsmi_init()
934 dma_pool_destroy(gsmi_dev.dma_pool); in gsmi_exit()
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_fcoe.h66 struct dma_pool *pool;
71 struct dma_pool *pool;
/drivers/net/ethernet/intel/i40e/
Di40e_fcoe.h113 struct dma_pool *pool;
118 struct dma_pool *pool;
/drivers/usb/chipidea/
Dci.h90 struct dma_pool *td_pool;
185 struct dma_pool *qh_pool;
186 struct dma_pool *td_pool;
/drivers/dma/ioat/
Ddma.c281 desc = pci_pool_alloc(ioatdma_device->dma_pool, flags, &phys); in ioat_dma_alloc_descriptor()
287 pci_pool_free(ioatdma_device->dma_pool, desc, phys); in ioat_dma_alloc_descriptor()
435 pci_pool_free(ioatdma_device->dma_pool, desc->hw, in ioat1_dma_free_chan_resources()
442 pci_pool_free(ioatdma_device->dma_pool, desc->hw, in ioat1_dma_free_chan_resources()
1024 device->dma_pool = pci_pool_create("dma_desc_pool", pdev, in ioat_probe()
1027 if (!device->dma_pool) { in ioat_probe()
1066 pci_pool_destroy(device->dma_pool); in ioat_probe()
1078 pci_pool_destroy(device->dma_pool); in ioat_register()
1246 pci_pool_destroy(device->dma_pool); in ioat_dma_remove()
Ddma.h81 struct pci_pool *dma_pool; member
84 struct dma_pool *sed_hw_pool[MAX_SED_POOLS];
/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()
/drivers/usb/host/
Dehci.h205 struct dma_pool *qh_pool; /* qh per active urb */
206 struct dma_pool *qtd_pool; /* one or more per qh */
207 struct dma_pool *itd_pool; /* itd per iso urb */
208 struct dma_pool *sitd_pool; /* sitd per split iso urb */
Dfotg210.h153 struct dma_pool *qh_pool; /* qh per active urb */
154 struct dma_pool *qtd_pool; /* one or more per qh */
155 struct dma_pool *itd_pool; /* itd per iso urb */
Dfusbh200.h152 struct dma_pool *qh_pool; /* qh per active urb */
153 struct dma_pool *qtd_pool; /* one or more per qh */
154 struct dma_pool *itd_pool; /* itd per iso urb */
Duhci-hcd.h390 struct dma_pool *qh_pool;
391 struct dma_pool *td_pool;
/drivers/dma/
Dintel_mid_dma.c822 pci_pool_free(mid->dma_pool, desc, desc->txd.phys); in intel_mid_dma_free_chan_resources()
826 pci_pool_free(mid->dma_pool, desc, desc->txd.phys); in intel_mid_dma_free_chan_resources()
830 pci_pool_free(mid->dma_pool, desc, desc->txd.phys); in intel_mid_dma_free_chan_resources()
877 desc = pci_pool_alloc(mid->dma_pool, GFP_KERNEL, &phys); in intel_mid_dma_alloc_chan_resources()
1075 dma->dma_pool = pci_pool_create("intel_mid_dma_desc_pool", pdev, in mid_setup_dma()
1078 if (NULL == dma->dma_pool) { in mid_setup_dma()
1192 pci_pool_destroy(dma->dma_pool); in mid_setup_dma()
1211 pci_pool_destroy(device->dma_pool); in middma_shutdown()
Dcoh901318.h18 struct dma_pool *dmapool;
/drivers/scsi/mpt2sas/
Dmpt2sas_base.h939 struct dma_pool *chain_dma_pool;
966 struct dma_pool *sense_dma_pool;
974 struct dma_pool *reply_dma_pool;
980 struct dma_pool *reply_free_dma_pool;
989 struct dma_pool *reply_post_free_dma_pool;
/drivers/scsi/mpt3sas/
Dmpt3sas_base.h882 struct dma_pool *chain_dma_pool;
908 struct dma_pool *sense_dma_pool;
916 struct dma_pool *reply_dma_pool;
922 struct dma_pool *reply_free_dma_pool;
931 struct dma_pool *reply_post_free_dma_pool;
/drivers/net/ethernet/xscale/
Dixp4xx_eth.c257 static struct dma_pool *dma_pool; variable
1127 dma_pool = dma_pool_create(DRV_NAME, &port->netdev->dev, in init_queues()
1129 if (!dma_pool) in init_queues()
1133 if (!(port->desc_tab = dma_pool_alloc(dma_pool, GFP_KERNEL, in init_queues()
1191 dma_pool_free(dma_pool, port->desc_tab, port->desc_tab_phys); in destroy_queues()
1195 if (!ports_open && dma_pool) { in destroy_queues()
1196 dma_pool_destroy(dma_pool); in destroy_queues()
1197 dma_pool = NULL; in destroy_queues()
/drivers/usb/musb/
Dcppi_dma.h126 struct dma_pool *pool;
/drivers/usb/core/
Dbuffer.c97 struct dma_pool *pool = hcd->pool[i]; in hcd_buffer_destroy()
/drivers/scsi/mvsas/
Dmv_init.c136 if (mvi->dma_pool) in mvs_free()
137 pci_pool_destroy(mvi->dma_pool); in mvs_free()
307 mvi->dma_pool = pci_pool_create(pool_name, mvi->pdev, MVS_SLOT_BUF_SZ, 16, 0); in mvs_alloc()
308 if (!mvi->dma_pool) { in mvs_alloc()

123