/linux-4.4.14/include/linux/ |
D | dmapool.h | 19 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);
|
D | pci.h | 1230 #define pci_pool dma_pool
|
/linux-4.4.14/mm/ |
D | dmapool.c | 45 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/ |
D | ttm_page_alloc_dma.c | 103 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/ |
D | ixgbe_fcoe.h | 67 struct dma_pool *pool; 72 struct dma_pool *pool;
|
D | ixgbe_fcoe.c | 633 struct dma_pool *pool; in ixgbe_fcoe_dma_pool_alloc()
|
/linux-4.4.14/drivers/scsi/megaraid/ |
D | megaraid_mbox.h | 198 struct dma_pool *mbox_pool_handle; 200 struct dma_pool *epthru_pool_handle; 202 struct dma_pool *sg_pool_handle;
|
D | megaraid_ioctl.h | 239 struct dma_pool *handle; 291 struct dma_pool *pthru_dma_pool;
|
D | megaraid_sas_fusion.h | 826 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;
|
D | megaraid_sas.h | 1759 struct dma_pool *frame_dma_pool; 1760 struct dma_pool *sense_dma_pool;
|
/linux-4.4.14/drivers/crypto/ccp/ |
D | ccp-dev.c | 324 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()
|
D | ccp-dev.h | 153 struct dma_pool *dma_pool; member
|
D | ccp-ops.c | 46 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/ |
D | gsmi.c | 95 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/ |
D | i40e_fcoe.h | 112 struct dma_pool *pool; 117 struct dma_pool *pool;
|
D | i40e_fcoe.c | 510 struct dma_pool *pool; in i40e_fcoe_dma_pool_create()
|
/linux-4.4.14/drivers/nvme/host/ |
D | nvme.h | 41 struct dma_pool *prp_page_pool; 42 struct dma_pool *prp_small_pool;
|
D | lightnvm.c | 530 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()
|
D | pci.c | 654 struct dma_pool *pool; in nvme_setup_prps()
|
/linux-4.4.14/drivers/usb/chipidea/ |
D | ci.h | 101 struct dma_pool *td_pool; 220 struct dma_pool *qh_pool; 221 struct dma_pool *td_pool;
|
/linux-4.4.14/drivers/crypto/marvell/ |
D | cesa.h | 389 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/ |
D | fsl_raid.h | 261 struct dma_pool *cf_desc_pool; 262 struct dma_pool *hw_desc_pool;
|
D | coh901318.h | 18 struct dma_pool *dmapool;
|
D | at_hdmac_regs.h | 337 struct dma_pool *dma_desc_pool; 338 struct dma_pool *memset_pool;
|
D | fsldma.h | 172 struct dma_pool *desc_pool; /* Descriptors pool */
|
D | bcm2835-dma.c | 81 struct dma_pool *cb_pool;
|
D | pxa_dma.c | 94 struct dma_pool *desc_pool; /* Channel's used allocator */ 119 struct dma_pool *desc_pool; /* Descriptors pool */
|
D | dma-jz4780.c | 128 struct dma_pool *desc_pool;
|
D | img-mdc-dma.c | 139 struct dma_pool *desc_pool;
|
D | sun6i-dma.c | 161 struct dma_pool *pool;
|
D | mmp_pdma.c | 116 struct dma_pool *desc_pool; /* Descriptors pool */
|
D | zx296702_dma.c | 128 struct dma_pool *pool;
|
D | fsl-edma.c | 153 struct dma_pool *tcd_pool;
|
D | xgene-dma.c | 294 struct dma_pool *desc_pool;
|
D | at_xdmac.c | 225 struct dma_pool *at_xdmac_desc_pool;
|
D | amba-pl08x.c | 271 struct dma_pool *pool;
|
/linux-4.4.14/drivers/net/wan/ |
D | ixp4xx_hss.c | 327 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/ |
D | ehci.h | 205 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 */
|
D | fotg210.h | 161 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 */
|
D | uhci-hcd.h | 390 struct dma_pool *qh_pool; 391 struct dma_pool *td_pool;
|
D | ohci.h | 388 struct dma_pool *td_cache; 389 struct dma_pool *ed_cache;
|
D | xhci.h | 1575 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/ |
D | ixp4xx_eth.c | 257 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/ |
D | cppi_dma.h | 126 struct dma_pool *pool;
|
/linux-4.4.14/drivers/usb/core/ |
D | buffer.c | 97 struct dma_pool *pool = hcd->pool[i]; in hcd_buffer_destroy()
|
/linux-4.4.14/drivers/scsi/mpt3sas/ |
D | mpt3sas_base.h | 1086 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/ |
D | dma.h | 79 struct pci_pool *dma_pool; member 82 struct dma_pool *sed_hw_pool[MAX_SED_POOLS];
|
D | init.c | 508 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()
|
D | dma.c | 301 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/ |
D | mv_init.c | 126 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()
|
D | mv_sas.h | 413 void *dma_pool; member
|
D | mv_sas.c | 790 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/ |
D | scif_main.h | 203 struct dma_pool *signal_pool;
|
/linux-4.4.14/drivers/usb/gadget/udc/ |
D | gr_udc.h | 196 struct dma_pool *desc_pool;
|
D | mv_udc.h | 189 struct dma_pool *dtd_pool;
|
D | mv_u3d.h | 261 struct dma_pool *trb_pool; /* for TRB data structure */
|
D | fsl_usb2_udc.h | 497 struct dma_pool *td_pool; /* dma pool for DTD */
|
D | lpc32xx_udc.c | 170 struct dma_pool *dd_cache;
|
/linux-4.4.14/drivers/atm/ |
D | he.h | 284 struct dma_pool *tpd_pool; 299 struct dma_pool *rbpl_pool;
|
/linux-4.4.14/drivers/usb/host/whci/ |
D | whcd.h | 63 struct dma_pool *qset_pool;
|
/linux-4.4.14/drivers/dma/dw/ |
D | regs.h | 278 struct dma_pool *desc_pool;
|
/linux-4.4.14/Documentation/ |
D | DMA-API.txt | 51 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.
|
D | DMA-API-HOWTO.txt | 397 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/ |
D | bdc.h | 443 struct dma_pool *bd_table_pool;
|
/linux-4.4.14/drivers/scsi/aic94xx/ |
D | aic94xx_hwi.h | 217 struct dma_pool *scb_pool;
|
/linux-4.4.14/drivers/scsi/qla4xxx/ |
D | ql4_def.h | 793 struct dma_pool *chap_dma_pool; 808 struct dma_pool *fw_ddb_dma_pool;
|
/linux-4.4.14/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_cmdbuf.c | 117 struct dma_pool *headers; 118 struct dma_pool *dheaders;
|
/linux-4.4.14/include/linux/usb/ |
D | hcd.h | 189 struct dma_pool *pool[HCD_BUFFER_POOLS];
|
/linux-4.4.14/arch/arm/common/ |
D | dmabounce.c | 63 struct dma_pool *pool;
|
/linux-4.4.14/drivers/scsi/ibmvscsi/ |
D | ibmvfc.h | 702 struct dma_pool *sg_pool;
|
/linux-4.4.14/drivers/staging/rdma/ipath/ |
D | ipath_user_sdma.c | 82 struct dma_pool *header_cache;
|
/linux-4.4.14/drivers/thunderbolt/ |
D | ctl.c | 33 struct dma_pool *frame_pool;
|
/linux-4.4.14/drivers/crypto/ |
D | ixp4xx_crypto.c | 223 static struct dma_pool *buffer_pool = NULL; 224 static struct dma_pool *ctx_pool = NULL;
|
D | picoxcell_crypto.c | 140 struct dma_pool *req_pool;
|
/linux-4.4.14/drivers/scsi/qla2xxx/ |
D | qla_def.h | 3229 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/ |
D | xilinx_vdma.c | 220 struct dma_pool *desc_pool;
|
/linux-4.4.14/drivers/ata/ |
D | sata_mv.c | 584 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/ |
D | qib_user_sdma.c | 115 struct dma_pool *header_cache;
|
/linux-4.4.14/drivers/scsi/ |
D | ipr.h | 1576 struct dma_pool *ipr_cmd_pool;
|
D | advansys.c | 2290 struct dma_pool *adv_sgblk_pool; /* Scatter-gather structures. */
|
/linux-4.4.14/Documentation/scsi/ |
D | ChangeLog.1992-1997 | 1808 dma_pool. Store blocksize information for each partition.
|