Home
last modified time | relevance | path

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

12345

/linux/kernel/dma/
H A Dpool.c85 static int atomic_pool_expand(struct dma_gen_pool *dma_pool, size_t pool_size, in atomic_pool_expand() argument
113 if (dma_pool->cc_shared) { in atomic_pool_expand()
128 if (dma_pool->cc_shared) in atomic_pool_expand()
142 ret = gen_pool_add_virt(dma_pool->pool, (unsigned long)addr, in atomic_pool_expand()
155 if (dma_pool->cc_shared && in atomic_pool_expand()
166 static void atomic_pool_resize(struct dma_gen_pool *dma_pool, gfp_t gfp)
168 if (dma_pool->pool && gen_pool_avail(dma_pool->pool) < atomic_pool_size) in atomic_pool_work_fn()
169 atomic_pool_expand(dma_pool, gen_pool_size(dma_pool in atomic_pool_work_fn()
161 atomic_pool_resize(struct dma_gen_pool * dma_pool,gfp_t gfp) atomic_pool_resize() argument
178 __dma_atomic_pool_init(struct dma_gen_pool * dma_pool,size_t pool_size,gfp_t gfp) __dma_atomic_pool_init() argument
326 struct dma_gen_pool *dma_pool = NULL; dma_alloc_from_pool() local
351 struct dma_gen_pool *dma_pool = NULL; dma_free_from_pool() local
390 dma_free_from_pool_phys(struct dma_gen_pool * dma_pool,phys_addr_t phys,size_t size) dma_free_from_pool_phys() argument
412 struct dma_gen_pool *dma_pool = NULL; dma_free_from_pool_page() local
[all...]
/linux/drivers/dma/fsl-dpaa2-qdma/
H A Ddpaa2-qdma.h79 struct dma_pool *fd_pool;
80 struct dma_pool *fl_pool;
81 struct dma_pool *sdd_pool;
/linux/drivers/scsi/megaraid/
H A Dmegaraid_mbox.h194 struct dma_pool *mbox_pool_handle;
196 struct dma_pool *epthru_pool_handle;
198 struct dma_pool *sg_pool_handle;
H A Dmegaraid_ioctl.h241 struct dma_pool *handle;
293 struct dma_pool *pthru_dma_pool;
H A Dmegaraid_sas_fusion.h1296 struct dma_pool *dma_pool_ptr;
1306 struct dma_pool *io_request_frames_pool;
1310 struct dma_pool *sg_dma_pool;
1311 struct dma_pool *sense_dma_pool;
1321 struct dma_pool *reply_frames_desc_pool;
1322 struct dma_pool *reply_frames_desc_pool_align;
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_fcoe.h42 struct dma_pool *pool;
47 struct dma_pool *pool;
/linux/drivers/crypto/ccp/
H A Dccp-dev-v3.c373 struct dma_pool *dma_pool; in ccp_init() local
388 dma_pool = dma_pool_create(dma_pool_name, dev, in ccp_init()
391 if (!dma_pool) { in ccp_init()
402 cmd_q->dma_pool = dma_pool; in ccp_init()
514 dma_pool_destroy(ccp->cmd_q[i].dma_pool); in ccp_init()
554 dma_pool_destroy(ccp->cmd_q[i].dma_pool); in ccp_destroy()
H A Dccp-dev.h267 struct dma_pool *dma_pool; member
459 struct dma_pool *dma_pool; member
H A Dccp-dev-v5.c783 struct dma_pool *dma_pool; in ccp5_init() local
811 dma_pool = dma_pool_create(dma_pool_name, dev, in ccp5_init()
814 if (!dma_pool) { in ccp5_init()
825 cmd_q->dma_pool = dma_pool; in ccp5_init()
1003 dma_pool_destroy(ccp->cmd_q[i].dma_pool); in ccp5_init()
/linux/drivers/usb/musb/
H A Dtusb6010_omap.c54 struct tusb_dma_data dma_pool[MAX_DMAREQ]; member
400 chdat->dma_data = &chdat->tusb_dma->dma_pool[dmareq_nr]; in tusb_omap_dma_allocate_dmareq()
476 chdat->dma_data = &tusb_dma->dma_pool[0]; in tusb_omap_dma_allocate()
528 if (tusb_dma && tusb_dma->dma_pool[i].chan) in tusb_dma_controller_destroy()
529 dma_release_channel(tusb_dma->dma_pool[i].chan); in tusb_dma_controller_destroy()
543 struct tusb_dma_data *dma_data = &tusb_dma->dma_pool[i]; in tusb_omap_allocate_dma_pool()
573 struct tusb_dma_data *dma_data = &tusb_dma->dma_pool[i]; in tusb_omap_allocate_dma_pool()
H A Dcppi_dma.h119 struct dma_pool *pool;
/linux/drivers/dma/amd/ptdma/
H A Dptdma.h194 struct dma_pool *dma_pool; member
/linux/drivers/dma/
H A Dfsl_raid.h261 struct dma_pool *cf_desc_pool;
262 struct dma_pool *hw_desc_pool;
/linux/drivers/usb/fotg210/
H A Dfotg210-hcd.h
/linux/drivers/net/wan/
H A Dixp4xx_hss.c338 static struct dma_pool *dma_pool; variable
980 dma_pool = dma_pool_create(DRV_NAME, &port->netdev->dev, in init_hdlc_queues()
982 if (!dma_pool) in init_hdlc_queues()
986 port->desc_tab = dma_pool_zalloc(dma_pool, GFP_KERNEL, in init_hdlc_queues()
1047 dma_pool_free(dma_pool, port->desc_tab, port->desc_tab_phys); in destroy_hdlc_queues()
1051 if (!ports_open && dma_pool) { in destroy_hdlc_queues()
1052 dma_pool_destroy(dma_pool); in destroy_hdlc_queues()
1053 dma_pool = NULL; in destroy_hdlc_queues()
/linux/drivers/crypto/hisilicon/sec/
H A Dsec_drv.h
/linux/drivers/net/ethernet/xscale/
H A Dixp4xx_eth.c282 static struct dma_pool *dma_pool; variable
1110 dma_pool = dma_pool_create(DRV_NAME, &port->netdev->dev, in init_queues()
1112 if (!dma_pool) in init_queues()
1116 port->desc_tab = dma_pool_zalloc(dma_pool, GFP_KERNEL, &port->desc_tab_phys); in init_queues()
1173 dma_pool_free(dma_pool, port->desc_tab, port->desc_tab_phys); in destroy_queues()
1177 if (!ports_open && dma_pool) { in destroy_queues()
1178 dma_pool_destroy(dma_pool); in destroy_queues()
1179 dma_pool = NULL; in destroy_queues()
/linux/drivers/s390/cio/
H A Ddevice.c674 cio_gp_dma_free(cdev->private->dma_pool, cdev->private->dma_area, in ccw_device_release()
676 cio_gp_dma_destroy(cdev->private->dma_pool, &cdev->dev); in ccw_device_release()
686 struct gen_pool *dma_pool; in io_subchannel_allocate_dev() local
706 dma_pool = cio_gp_dma_create(&cdev->dev, 1); in io_subchannel_allocate_dev()
707 if (!dma_pool) { in io_subchannel_allocate_dev()
711 cdev->private->dma_pool = dma_pool; in io_subchannel_allocate_dev()
712 cdev->private->dma_area = cio_gp_dma_zalloc(dma_pool, &cdev->dev, in io_subchannel_allocate_dev()
720 cio_gp_dma_destroy(dma_pool, &cdev->dev); in io_subchannel_allocate_dev()
H A Dio_sch.h179 struct gen_pool *dma_pool; member
/linux/drivers/crypto/ccree/
H A Dcc_buffer_mgr.h34 struct dma_pool *curr_pool;
/linux/drivers/usb/gadget/udc/
H A Damd5536udc.h555 struct dma_pool *data_requests;
556 struct dma_pool *stp_requests;
/linux/drivers/bluetooth/
H A Dbtintel_pcie.h707 * @dma_pool: DMA pool for descriptors, index array and ci
761 struct dma_pool *dma_pool;
526 struct dma_pool *dma_pool; global() member
/linux/drivers/scsi/
H A Dmyrs.h913 struct dma_pool *sg_pool;
914 struct dma_pool *sense_pool;
915 struct dma_pool *dcdb_pool;
/linux/drivers/crypto/cavium/nitrox/
H A Dnitrox_req.h197 struct dma_pool *pool;
447 struct dma_pool *pool;
/linux/mm/
H A Ddmapool_test.c32 static struct dma_pool *pool;

12345