Home
last modified time | relevance | path

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

12

/drivers/gpu/drm/ttm/
Dttm_page_alloc_dma.c102 struct dma_pool { struct
156 struct dma_pool *pool;
305 static int ttm_set_pages_caching(struct dma_pool *pool, in ttm_set_pages_caching()
325 static void __ttm_dma_free_page(struct dma_pool *pool, struct dma_page *d_page) in __ttm_dma_free_page()
333 static struct dma_page *__ttm_dma_alloc_page(struct dma_pool *pool) in __ttm_dma_alloc_page()
368 static void ttm_pool_update_free_locked(struct dma_pool *pool, in ttm_pool_update_free_locked()
377 static void ttm_dma_pages_put(struct dma_pool *pool, struct list_head *d_pages, in ttm_dma_pages_put()
394 static void ttm_dma_page_put(struct dma_pool *pool, struct dma_page *d_page) in ttm_dma_page_put()
414 static unsigned ttm_dma_page_pool_free(struct dma_pool *pool, unsigned nr_free) in ttm_dma_page_pool_free()
510 struct dma_pool *pool; in ttm_dma_free_pool()
[all …]
/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.h665 struct dma_pool *io_request_frames_pool;
669 struct dma_pool *sg_dma_pool;
670 struct dma_pool *sense_dma_pool;
674 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()
793 gsmi_dev.dma_pool = dma_pool_create("gsmi", &gsmi_dev.pdev->dev, in gsmi_init()
795 if (!gsmi_dev.dma_pool) in gsmi_init()
917 if (gsmi_dev.dma_pool) in gsmi_init()
918 dma_pool_destroy(gsmi_dev.dma_pool); in gsmi_init()
938 dma_pool_destroy(gsmi_dev.dma_pool); in gsmi_exit()
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_fcoe.h65 struct dma_pool *pool;
70 struct dma_pool *pool;
/drivers/usb/chipidea/
Dci.h60 struct dma_pool *td_pool;
146 struct dma_pool *qh_pool;
147 struct dma_pool *td_pool;
/drivers/dma/ioat/
Ddma.c280 desc = pci_pool_alloc(ioatdma_device->dma_pool, flags, &phys); in ioat_dma_alloc_descriptor()
286 pci_pool_free(ioatdma_device->dma_pool, desc, phys); in ioat_dma_alloc_descriptor()
400 pci_pool_free(ioatdma_device->dma_pool, desc->hw, in ioat1_dma_free_chan_resources()
407 pci_pool_free(ioatdma_device->dma_pool, desc->hw, in ioat1_dma_free_chan_resources()
1014 device->dma_pool = pci_pool_create("dma_desc_pool", pdev, in ioat_probe()
1017 if (!device->dma_pool) { in ioat_probe()
1056 pci_pool_destroy(device->dma_pool); in ioat_probe()
1068 pci_pool_destroy(device->dma_pool); in ioat_register()
1238 pci_pool_destroy(device->dma_pool); in ioat_dma_remove()
Ddma.h82 struct pci_pool *dma_pool; member
85 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.h180 struct dma_pool *qh_pool; /* qh per active urb */
181 struct dma_pool *qtd_pool; /* one or more per qh */
182 struct dma_pool *itd_pool; /* itd per iso urb */
183 struct dma_pool *sitd_pool; /* sitd per split iso urb */
Duhci-hcd.h390 struct dma_pool *qh_pool;
391 struct dma_pool *td_pool;
Dohci.h380 struct dma_pool *td_cache;
381 struct dma_pool *ed_cache;
Dxhci.h1462 struct dma_pool *device_pool;
1463 struct dma_pool *segment_pool;
1464 struct dma_pool *small_streams_pool;
1465 struct dma_pool *medium_streams_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;
Dintel_mid_dma_regs.h227 struct pci_pool *dma_pool; member
Dfsldma.h144 struct dma_pool *desc_pool; /* Descriptors pool */
/drivers/scsi/mpt3sas/
Dmpt3sas_base.h851 struct dma_pool *chain_dma_pool;
877 struct dma_pool *sense_dma_pool;
885 struct dma_pool *reply_dma_pool;
891 struct dma_pool *reply_free_dma_pool;
898 struct dma_pool *reply_post_free_dma_pool;
/drivers/scsi/mpt2sas/
Dmpt2sas_base.h927 struct dma_pool *chain_dma_pool;
954 struct dma_pool *sense_dma_pool;
962 struct dma_pool *reply_dma_pool;
968 struct dma_pool *reply_free_dma_pool;
975 struct dma_pool *reply_post_free_dma_pool;
/drivers/net/ethernet/xscale/
Dixp4xx_eth.c257 static struct dma_pool *dma_pool; variable
1107 dma_pool = dma_pool_create(DRV_NAME, &port->netdev->dev, in init_queues()
1109 if (!dma_pool) in init_queues()
1113 if (!(port->desc_tab = dma_pool_alloc(dma_pool, GFP_KERNEL, in init_queues()
1171 dma_pool_free(dma_pool, port->desc_tab, port->desc_tab_phys); in destroy_queues()
1175 if (!ports_open && dma_pool) { in destroy_queues()
1176 dma_pool_destroy(dma_pool); in destroy_queues()
1177 dma_pool = NULL; in destroy_queues()
/drivers/usb/musb/
Dcppi_dma.h126 struct dma_pool *pool;
/drivers/usb/core/
Dbuffer.c88 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()
/drivers/usb/gadget/
Dmv_udc.h189 struct dma_pool *dtd_pool;

12