Home
last modified time | relevance | path

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

12

/linux-2.6.39/include/linux/
Ddmapool.h17 struct dma_pool *dma_pool_create(const char *name, struct device *dev,
20 void dma_pool_destroy(struct dma_pool *pool);
22 void *dma_pool_alloc(struct dma_pool *pool, gfp_t mem_flags,
25 void dma_pool_free(struct dma_pool *pool, void *vaddr, dma_addr_t addr);
30 struct dma_pool *dmam_pool_create(const char *name, struct device *dev,
32 void dmam_pool_destroy(struct dma_pool *pool);
/linux-2.6.39/mm/
Ddmapool.c44 struct dma_pool { /* the pool */ struct
75 struct dma_pool *pool; in show_pools() argument
132 struct dma_pool *dma_pool_create(const char *name, struct device *dev, in dma_pool_create()
135 struct dma_pool *retval; in dma_pool_create()
199 static void pool_initialise_page(struct dma_pool *pool, struct dma_page *page) in pool_initialise_page()
215 static struct dma_page *pool_alloc_page(struct dma_pool *pool, gfp_t mem_flags) in pool_alloc_page()
244 static void pool_free_page(struct dma_pool *pool, struct dma_page *page) in pool_free_page()
264 void dma_pool_destroy(struct dma_pool *pool) in dma_pool_destroy()
306 void *dma_pool_alloc(struct dma_pool *pool, gfp_t mem_flags, in dma_pool_alloc()
356 static struct dma_page *pool_find_page(struct dma_pool *pool, dma_addr_t dma) in pool_find_page()
[all …]
/linux-2.6.39/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.h655 struct dma_pool *io_request_frames_pool;
659 struct dma_pool *sg_dma_pool;
660 struct dma_pool *sense_dma_pool;
664 struct dma_pool *reply_frames_desc_pool;
/linux-2.6.39/drivers/usb/gadget/
Dci13xxx_udc.h100 struct dma_pool *td_pool;
122 struct dma_pool *qh_pool; /* DMA pool for queue heads */
123 struct dma_pool *td_pool; /* DMA pool for transfer descs */
Dlangwell_udc.h221 struct dma_pool *dtd_pool;
Dmv_udc.h181 struct dma_pool *dtd_pool;
/linux-2.6.39/arch/arm/mach-s3c64xx/
Ddma.c46 static struct dma_pool *dma_pool; variable
268 dma_pool_free(dma_pool, buff->lli, buff->lli_dma); in s3c64xx_dma_freebuff()
354 lli = dma_pool_alloc(dma_pool, GFP_ATOMIC, &buff->lli_dma); in s3c2410_dma_enqueue()
730 dma_pool = dma_pool_create("DMA-LLI", NULL, sizeof(struct pl080s_lli), 16, 0); in s3c64xx_dma_init()
731 if (!dma_pool) { in s3c64xx_dma_init()
/linux-2.6.39/drivers/usb/host/
Dehci.h112 struct dma_pool *qh_pool; /* qh per active urb */
113 struct dma_pool *qtd_pool; /* one or more per qh */
114 struct dma_pool *itd_pool; /* itd per iso urb */
115 struct dma_pool *sitd_pool; /* sitd per split iso urb */
Duhci-hcd.h383 struct dma_pool *qh_pool;
384 struct dma_pool *td_pool;
Dxhci.h1248 struct dma_pool *device_pool;
1249 struct dma_pool *segment_pool;
1250 struct dma_pool *small_streams_pool;
1251 struct dma_pool *medium_streams_pool;
Dohci.h379 struct dma_pool *td_cache;
380 struct dma_pool *ed_cache;
/linux-2.6.39/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()
401 pci_pool_free(ioatdma_device->dma_pool, desc->hw, in ioat1_dma_free_chan_resources()
408 pci_pool_free(ioatdma_device->dma_pool, desc->hw, in ioat1_dma_free_chan_resources()
1005 device->dma_pool = pci_pool_create("dma_desc_pool", pdev, in ioat_probe()
1008 if (!device->dma_pool) { in ioat_probe()
1047 pci_pool_destroy(device->dma_pool); in ioat_probe()
1059 pci_pool_destroy(device->dma_pool); in ioat_register()
1229 pci_pool_destroy(device->dma_pool); in ioat_dma_remove()
/linux-2.6.39/drivers/scsi/mpt2sas/
Dmpt2sas_base.h770 struct dma_pool *chain_dma_pool;
797 struct dma_pool *sense_dma_pool;
805 struct dma_pool *reply_dma_pool;
811 struct dma_pool *reply_free_dma_pool;
818 struct dma_pool *reply_post_free_dma_pool;
/linux-2.6.39/drivers/dma/
Dcoh901318_lli.h19 struct dma_pool *dmapool;
Dintel_mid_dma.c836 pci_pool_free(mid->dma_pool, desc, desc->txd.phys); in intel_mid_dma_free_chan_resources()
840 pci_pool_free(mid->dma_pool, desc, desc->txd.phys); in intel_mid_dma_free_chan_resources()
844 pci_pool_free(mid->dma_pool, desc, desc->txd.phys); in intel_mid_dma_free_chan_resources()
890 desc = pci_pool_alloc(mid->dma_pool, GFP_KERNEL, &phys); in intel_mid_dma_alloc_chan_resources()
1087 dma->dma_pool = pci_pool_create("intel_mid_dma_desc_pool", pdev, in mid_setup_dma()
1090 if (NULL == dma->dma_pool) { in mid_setup_dma()
1202 pci_pool_destroy(dma->dma_pool); in mid_setup_dma()
1221 pci_pool_destroy(device->dma_pool); in middma_shutdown()
Dintel_mid_dma_regs.h229 struct pci_pool *dma_pool; member
Dfsldma.h145 struct dma_pool *desc_pool; /* Descriptors pool */
/linux-2.6.39/drivers/net/wan/
Dixp4xx_hss.c324 static struct dma_pool *dma_pool; variable
974 if (!(dma_pool = dma_pool_create(DRV_NAME, NULL, in init_hdlc_queues()
978 if (!(port->desc_tab = dma_pool_alloc(dma_pool, GFP_KERNEL, in init_hdlc_queues()
1035 dma_pool_free(dma_pool, port->desc_tab, port->desc_tab_phys); in destroy_hdlc_queues()
1039 if (!ports_open && dma_pool) { in destroy_hdlc_queues()
1040 dma_pool_destroy(dma_pool); in destroy_hdlc_queues()
1041 dma_pool = NULL; in destroy_hdlc_queues()
/linux-2.6.39/drivers/net/arm/
Dixp4xx_eth.c247 static struct dma_pool *dma_pool; variable
891 if (!(dma_pool = dma_pool_create(DRV_NAME, NULL, in init_queues()
895 if (!(port->desc_tab = dma_pool_alloc(dma_pool, GFP_KERNEL, in init_queues()
953 dma_pool_free(dma_pool, port->desc_tab, port->desc_tab_phys); in destroy_queues()
957 if (!ports_open && dma_pool) { in destroy_queues()
958 dma_pool_destroy(dma_pool); in destroy_queues()
959 dma_pool = NULL; in destroy_queues()
/linux-2.6.39/drivers/usb/musb/
Dcppi_dma.h126 struct dma_pool *pool;
/linux-2.6.39/drivers/usb/core/
Dbuffer.c88 struct dma_pool *pool = hcd->pool[i]; in hcd_buffer_destroy()
/linux-2.6.39/Documentation/
DDMA-API-HOWTO.txt329 the dma_pool interface, described below.
336 dma_set_coherent_mask(). This is true of the dma_pool interface as
360 or you can use the dma_pool API to do that. A dma_pool is like
365 Create a dma_pool like this:
367 struct dma_pool *pool;
387 Free memory that was allocated from a dma_pool like this:
395 Destroy a dma_pool by calling:
/linux-2.6.39/drivers/usb/host/whci/
Dwhcd.h63 struct dma_pool *qset_pool;

12