Home
last modified time | relevance | path

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

/linux-4.4.14/include/linux/
Ddmapool.h19 struct dma_pool *dma_pool_create(const char *name, struct device *dev,
22 void dma_pool_destroy(struct dma_pool *pool);
24 void *dma_pool_alloc(struct dma_pool *pool, gfp_t mem_flags,
27 static inline void *dma_pool_zalloc(struct dma_pool *pool, gfp_t mem_flags, in dma_pool_zalloc()
33 void dma_pool_free(struct dma_pool *pool, void *vaddr, dma_addr_t addr);
38 struct dma_pool *dmam_pool_create(const char *name, struct device *dev,
40 void dmam_pool_destroy(struct dma_pool *pool);
Dpci.h1230 #define pci_pool dma_pool
/linux-4.4.14/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()
321 void *dma_pool_alloc(struct dma_pool *pool, gfp_t mem_flags, in dma_pool_alloc()
390 static struct dma_page *pool_find_page(struct dma_pool *pool, dma_addr_t dma) in pool_find_page()
[all …]
/linux-4.4.14/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()
372 static void ttm_pool_update_free_locked(struct dma_pool *pool, in ttm_pool_update_free_locked()
381 static void ttm_dma_pages_put(struct dma_pool *pool, struct list_head *d_pages, in ttm_dma_pages_put()
398 static void ttm_dma_page_put(struct dma_pool *pool, struct dma_page *d_page) in ttm_dma_page_put()
419 static unsigned ttm_dma_page_pool_free(struct dma_pool *pool, unsigned nr_free, in ttm_dma_page_pool_free()
521 struct dma_pool *pool; in ttm_dma_free_pool()
[all …]
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/
Dixgbe_fcoe.h67 struct dma_pool *pool;
72 struct dma_pool *pool;
Dixgbe_fcoe.c633 struct dma_pool *pool; in ixgbe_fcoe_dma_pool_alloc()
/linux-4.4.14/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.h826 struct dma_pool *io_request_frames_pool;
830 struct dma_pool *sg_dma_pool;
831 struct dma_pool *sense_dma_pool;
835 struct dma_pool *reply_frames_desc_pool;
Dmegaraid_sas.h1759 struct dma_pool *frame_dma_pool;
1760 struct dma_pool *sense_dma_pool;
/linux-4.4.14/drivers/crypto/ccp/
Dccp-dev.c324 struct dma_pool *dma_pool; in ccp_init() local
338 dma_pool = dma_pool_create(dma_pool_name, dev, in ccp_init()
341 if (!dma_pool) { in ccp_init()
352 cmd_q->dma_pool = dma_pool; in ccp_init()
457 dma_pool_destroy(ccp->cmd_q[i].dma_pool); in ccp_init()
504 dma_pool_destroy(ccp->cmd_q[i].dma_pool); in ccp_destroy()
Dccp-dev.h153 struct dma_pool *dma_pool; member
Dccp-ops.c46 struct dma_pool *dma_pool; member
540 dma_pool_free(wa->dma_pool, wa->address, in ccp_dm_free()
567 wa->dma_pool = cmd_q->dma_pool; in ccp_init_dm_workarea()
569 wa->address = dma_pool_alloc(wa->dma_pool, GFP_KERNEL, in ccp_init_dm_workarea()
/linux-4.4.14/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()
/linux-4.4.14/drivers/net/ethernet/intel/i40e/
Di40e_fcoe.h112 struct dma_pool *pool;
117 struct dma_pool *pool;
Di40e_fcoe.c510 struct dma_pool *pool; in i40e_fcoe_dma_pool_create()
/linux-4.4.14/drivers/nvme/host/
Dnvme.h41 struct dma_pool *prp_page_pool;
42 struct dma_pool *prp_small_pool;
Dlightnvm.c530 struct dma_pool *dma_pool = pool; in nvme_nvm_destroy_dma_pool() local
532 dma_pool_destroy(dma_pool); in nvme_nvm_destroy_dma_pool()
Dpci.c654 struct dma_pool *pool; in nvme_setup_prps()
/linux-4.4.14/drivers/usb/chipidea/
Dci.h101 struct dma_pool *td_pool;
220 struct dma_pool *qh_pool;
221 struct dma_pool *td_pool;
/linux-4.4.14/drivers/crypto/marvell/
Dcesa.h389 struct dma_pool *tdma_desc_pool;
390 struct dma_pool *op_pool;
391 struct dma_pool *cache_pool;
392 struct dma_pool *padding_pool;
/linux-4.4.14/drivers/dma/
Dfsl_raid.h261 struct dma_pool *cf_desc_pool;
262 struct dma_pool *hw_desc_pool;
Dcoh901318.h18 struct dma_pool *dmapool;
Dat_hdmac_regs.h337 struct dma_pool *dma_desc_pool;
338 struct dma_pool *memset_pool;
Dfsldma.h172 struct dma_pool *desc_pool; /* Descriptors pool */
Dbcm2835-dma.c81 struct dma_pool *cb_pool;
Dpxa_dma.c94 struct dma_pool *desc_pool; /* Channel's used allocator */
119 struct dma_pool *desc_pool; /* Descriptors pool */
Ddma-jz4780.c128 struct dma_pool *desc_pool;
Dimg-mdc-dma.c139 struct dma_pool *desc_pool;
Dsun6i-dma.c161 struct dma_pool *pool;
Dmmp_pdma.c116 struct dma_pool *desc_pool; /* Descriptors pool */
Dzx296702_dma.c128 struct dma_pool *pool;
Dfsl-edma.c153 struct dma_pool *tcd_pool;
Dxgene-dma.c294 struct dma_pool *desc_pool;
Dat_xdmac.c225 struct dma_pool *at_xdmac_desc_pool;
Damba-pl08x.c271 struct dma_pool *pool;
/linux-4.4.14/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-4.4.14/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.h161 struct dma_pool *qh_pool; /* qh per active urb */
162 struct dma_pool *qtd_pool; /* one or more per qh */
163 struct dma_pool *itd_pool; /* itd per iso urb */
Duhci-hcd.h390 struct dma_pool *qh_pool;
391 struct dma_pool *td_pool;
Dohci.h388 struct dma_pool *td_cache;
389 struct dma_pool *ed_cache;
Dxhci.h1575 struct dma_pool *device_pool;
1576 struct dma_pool *segment_pool;
1577 struct dma_pool *small_streams_pool;
1578 struct dma_pool *medium_streams_pool;
/linux-4.4.14/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()
/linux-4.4.14/drivers/usb/musb/
Dcppi_dma.h126 struct dma_pool *pool;
/linux-4.4.14/drivers/usb/core/
Dbuffer.c97 struct dma_pool *pool = hcd->pool[i]; in hcd_buffer_destroy()
/linux-4.4.14/drivers/scsi/mpt3sas/
Dmpt3sas_base.h1086 struct dma_pool *chain_dma_pool;
1112 struct dma_pool *sense_dma_pool;
1120 struct dma_pool *reply_dma_pool;
1126 struct dma_pool *reply_free_dma_pool;
1135 struct dma_pool *reply_post_free_dma_pool;
/linux-4.4.14/drivers/dma/ioat/
Ddma.h79 struct pci_pool *dma_pool; member
82 struct dma_pool *sed_hw_pool[MAX_SED_POOLS];
Dinit.c508 ioat_dma->dma_pool = pci_pool_create("dma_desc_pool", pdev, in ioat_probe()
511 if (!ioat_dma->dma_pool) { in ioat_probe()
551 pci_pool_destroy(ioat_dma->dma_pool); in ioat_probe()
563 pci_pool_destroy(ioat_dma->dma_pool); in ioat_register()
579 pci_pool_destroy(ioat_dma->dma_pool); in ioat_dma_remove()
Ddma.c301 hw = pci_pool_alloc(ioat_dma->dma_pool, flags, &phys); in ioat_alloc_ring_ent()
308 pci_pool_free(ioat_dma->dma_pool, hw, phys); in ioat_alloc_ring_ent()
324 pci_pool_free(ioat_dma->dma_pool, desc->hw, desc->txd.phys); in ioat_free_ring_ent()
/linux-4.4.14/drivers/scsi/mvsas/
Dmv_init.c126 if (mvi->dma_pool) in mvs_free()
127 pci_pool_destroy(mvi->dma_pool); in mvs_free()
297 mvi->dma_pool = pci_pool_create(pool_name, mvi->pdev, MVS_SLOT_BUF_SZ, 16, 0); in mvs_alloc()
298 if (!mvi->dma_pool) { in mvs_alloc()
Dmv_sas.h413 void *dma_pool; member
Dmv_sas.c790 slot->buf = pci_pool_alloc(mvi->dma_pool, GFP_ATOMIC, &slot->buf_dma); in mvs_task_prep()
838 pci_pool_free(mvi->dma_pool, slot->buf, slot->buf_dma); in mvs_task_prep()
916 pci_pool_free(mvi->dma_pool, slot->buf, slot->buf_dma); in mvs_slot_task_free()
/linux-4.4.14/drivers/misc/mic/scif/
Dscif_main.h203 struct dma_pool *signal_pool;
/linux-4.4.14/drivers/usb/gadget/udc/
Dgr_udc.h196 struct dma_pool *desc_pool;
Dmv_udc.h189 struct dma_pool *dtd_pool;
Dmv_u3d.h261 struct dma_pool *trb_pool; /* for TRB data structure */
Dfsl_usb2_udc.h497 struct dma_pool *td_pool; /* dma pool for DTD */
Dlpc32xx_udc.c170 struct dma_pool *dd_cache;
/linux-4.4.14/drivers/atm/
Dhe.h284 struct dma_pool *tpd_pool;
299 struct dma_pool *rbpl_pool;
/linux-4.4.14/drivers/usb/host/whci/
Dwhcd.h63 struct dma_pool *qset_pool;
/linux-4.4.14/drivers/dma/dw/
Dregs.h278 struct dma_pool *desc_pool;
/linux-4.4.14/Documentation/
DDMA-API.txt51 The simplest way to do that is to use the dma_pool calls (see below).
91 struct dma_pool *
107 void *dma_pool_zalloc(struct dma_pool *pool, gfp_t mem_flags,
114 void *dma_pool_alloc(struct dma_pool *pool, gfp_t gfp_flags,
126 void dma_pool_free(struct dma_pool *pool, void *vaddr,
134 void dma_pool_destroy(struct dma_pool *pool);
544 you should use the dma_pool() API.
DDMA-API-HOWTO.txt397 the dma_pool interface, described below.
404 dma_set_coherent_mask(). This is true of the dma_pool interface as
428 or you can use the dma_pool API to do that. A dma_pool is like
433 Create a dma_pool like this:
435 struct dma_pool *pool;
455 Free memory that was allocated from a dma_pool like this:
463 Destroy a dma_pool by calling:
/linux-4.4.14/drivers/usb/gadget/udc/bdc/
Dbdc.h443 struct dma_pool *bd_table_pool;
/linux-4.4.14/drivers/scsi/aic94xx/
Daic94xx_hwi.h217 struct dma_pool *scb_pool;
/linux-4.4.14/drivers/scsi/qla4xxx/
Dql4_def.h793 struct dma_pool *chap_dma_pool;
808 struct dma_pool *fw_ddb_dma_pool;
/linux-4.4.14/drivers/gpu/drm/vmwgfx/
Dvmwgfx_cmdbuf.c117 struct dma_pool *headers;
118 struct dma_pool *dheaders;
/linux-4.4.14/include/linux/usb/
Dhcd.h189 struct dma_pool *pool[HCD_BUFFER_POOLS];
/linux-4.4.14/arch/arm/common/
Ddmabounce.c63 struct dma_pool *pool;
/linux-4.4.14/drivers/scsi/ibmvscsi/
Dibmvfc.h702 struct dma_pool *sg_pool;
/linux-4.4.14/drivers/staging/rdma/ipath/
Dipath_user_sdma.c82 struct dma_pool *header_cache;
/linux-4.4.14/drivers/thunderbolt/
Dctl.c33 struct dma_pool *frame_pool;
/linux-4.4.14/drivers/crypto/
Dixp4xx_crypto.c223 static struct dma_pool *buffer_pool = NULL;
224 static struct dma_pool *ctx_pool = NULL;
Dpicoxcell_crypto.c140 struct dma_pool *req_pool;
/linux-4.4.14/drivers/scsi/qla2xxx/
Dqla_def.h3229 struct dma_pool *s_dma_pool;
3421 struct dma_pool *dl_dma_pool;
3424 struct dma_pool *fcp_cmnd_dma_pool;
/linux-4.4.14/drivers/dma/xilinx/
Dxilinx_vdma.c220 struct dma_pool *desc_pool;
/linux-4.4.14/drivers/ata/
Dsata_mv.c584 struct dma_pool *crqb_pool;
585 struct dma_pool *crpb_pool;
586 struct dma_pool *sg_tbl_pool;
/linux-4.4.14/drivers/infiniband/hw/qib/
Dqib_user_sdma.c115 struct dma_pool *header_cache;
/linux-4.4.14/drivers/scsi/
Dipr.h1576 struct dma_pool *ipr_cmd_pool;
Dadvansys.c2290 struct dma_pool *adv_sgblk_pool; /* Scatter-gather structures. */
/linux-4.4.14/Documentation/scsi/
DChangeLog.1992-19971808 dma_pool. Store blocksize information for each partition.