Home
last modified time | relevance | path

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

123456

/Linux-v6.6/include/linux/
Ddmapool.h21 struct dma_pool *dma_pool_create(const char *name, struct device *dev,
24 void dma_pool_destroy(struct dma_pool *pool);
26 void *dma_pool_alloc(struct dma_pool *pool, gfp_t mem_flags,
28 void dma_pool_free(struct dma_pool *pool, void *vaddr, dma_addr_t addr);
33 struct dma_pool *dmam_pool_create(const char *name, struct device *dev,
35 void dmam_pool_destroy(struct dma_pool *pool);
38 static inline struct dma_pool *dma_pool_create(const char *name, in dma_pool_create()
41 static inline void dma_pool_destroy(struct dma_pool *pool) { } in dma_pool_destroy()
42 static inline void *dma_pool_alloc(struct dma_pool *pool, gfp_t mem_flags, in dma_pool_alloc()
44 static inline void dma_pool_free(struct dma_pool *pool, void *vaddr, in dma_pool_free()
[all …]
/Linux-v6.6/mm/
Ddmapool.c48 struct dma_pool { /* the pool */ struct
74 struct dma_pool *pool; in pools_show() argument
95 static void pool_check_block(struct dma_pool *pool, struct dma_block *block, in pool_check_block()
120 static struct dma_page *pool_find_page(struct dma_pool *pool, dma_addr_t dma) in pool_find_page()
133 static bool pool_block_err(struct dma_pool *pool, void *vaddr, dma_addr_t dma) in pool_block_err()
159 static void pool_init_page(struct dma_pool *pool, struct dma_page *page) in pool_init_page()
164 static void pool_check_block(struct dma_pool *pool, struct dma_block *block, in pool_check_block()
169 static bool pool_block_err(struct dma_pool *pool, void *vaddr, dma_addr_t dma) in pool_block_err()
176 static void pool_init_page(struct dma_pool *pool, struct dma_page *page) in pool_init_page()
181 static struct dma_block *pool_block_pop(struct dma_pool *pool) in pool_block_pop()
[all …]
/Linux-v6.6/drivers/dma/ptdma/
Dptdma-dev.c182 struct dma_pool *dma_pool; in pt_core_init() local
188 dma_pool = dma_pool_create(dma_pool_name, dev, in pt_core_init()
191 if (!dma_pool) in pt_core_init()
202 cmd_q->dma_pool = dma_pool; in pt_core_init()
272 dma_pool_destroy(pt->cmd_q.dma_pool); in pt_core_init()
Dptdma.h193 struct dma_pool *dma_pool; member
/Linux-v6.6/drivers/dma/fsl-dpaa2-qdma/
Ddpaa2-qdma.h78 struct dma_pool *fd_pool;
79 struct dma_pool *fl_pool;
80 struct dma_pool *sdd_pool;
/Linux-v6.6/drivers/scsi/megaraid/
Dmegaraid_mbox.h194 struct dma_pool *mbox_pool_handle;
196 struct dma_pool *epthru_pool_handle;
198 struct dma_pool *sg_pool_handle;
Dmegaraid_ioctl.h241 struct dma_pool *handle;
293 struct dma_pool *pthru_dma_pool;
Dmegaraid_sas_fusion.h1289 struct dma_pool *dma_pool_ptr;
1299 struct dma_pool *io_request_frames_pool;
1303 struct dma_pool *sg_dma_pool;
1304 struct dma_pool *sense_dma_pool;
1314 struct dma_pool *reply_frames_desc_pool;
1315 struct dma_pool *reply_frames_desc_pool_align;
/Linux-v6.6/drivers/net/ethernet/intel/ixgbe/
Dixgbe_fcoe.h42 struct dma_pool *pool;
47 struct dma_pool *pool;
/Linux-v6.6/drivers/crypto/ccp/
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()
512 dma_pool_destroy(ccp->cmd_q[i].dma_pool); in ccp_init()
550 dma_pool_destroy(ccp->cmd_q[i].dma_pool); in ccp_destroy()
Dccp-dev.h267 struct dma_pool *dma_pool; member
459 struct dma_pool *dma_pool; member
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()
1001 dma_pool_destroy(ccp->cmd_q[i].dma_pool); in ccp5_init()
/Linux-v6.6/drivers/usb/musb/
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()
/Linux-v6.6/drivers/usb/chipidea/
Dci.h104 struct dma_pool *td_pool;
231 struct dma_pool *qh_pool;
232 struct dma_pool *td_pool;
/Linux-v6.6/drivers/dma/
Dfsl_raid.h261 struct dma_pool *cf_desc_pool;
262 struct dma_pool *hw_desc_pool;
/Linux-v6.6/drivers/usb/fotg210/
Dfotg210-hcd.h162 struct dma_pool *qh_pool; /* qh per active urb */
163 struct dma_pool *qtd_pool; /* one or more per qh */
164 struct dma_pool *itd_pool; /* itd per iso urb */
/Linux-v6.6/drivers/net/wan/
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-v6.6/drivers/crypto/hisilicon/sec/
Dsec_drv.h394 struct dma_pool;
414 struct dma_pool *hw_sgl_pool;
/Linux-v6.6/drivers/crypto/marvell/cesa/
Dcesa.h399 struct dma_pool *tdma_desc_pool;
400 struct dma_pool *op_pool;
401 struct dma_pool *cache_pool;
402 struct dma_pool *padding_pool;
/Linux-v6.6/drivers/usb/host/
Dehci.h195 struct dma_pool *qh_pool; /* qh per active urb */
196 struct dma_pool *qtd_pool; /* one or more per qh */
197 struct dma_pool *itd_pool; /* itd per iso urb */
198 struct dma_pool *sitd_pool; /* sitd per split iso urb */
/Linux-v6.6/drivers/scsi/mpi3mr/
Dmpi3mr.h1101 struct dma_pool *reply_buf_pool;
1108 struct dma_pool *reply_free_q_pool;
1115 struct dma_pool *sense_buf_pool;
1120 struct dma_pool *sense_buf_q_pool;
1149 struct dma_pool *chain_buf_pool;
/Linux-v6.6/drivers/net/ethernet/xscale/
Dixp4xx_eth.c274 static struct dma_pool *dma_pool; variable
1112 dma_pool = dma_pool_create(DRV_NAME, &port->netdev->dev, in init_queues()
1114 if (!dma_pool) in init_queues()
1118 port->desc_tab = dma_pool_zalloc(dma_pool, GFP_KERNEL, &port->desc_tab_phys); in init_queues()
1175 dma_pool_free(dma_pool, port->desc_tab, port->desc_tab_phys); in destroy_queues()
1179 if (!ports_open && dma_pool) { in destroy_queues()
1180 dma_pool_destroy(dma_pool); in destroy_queues()
1181 dma_pool = NULL; in destroy_queues()
/Linux-v6.6/drivers/crypto/ccree/
Dcc_buffer_mgr.h34 struct dma_pool *curr_pool;
/Linux-v6.6/drivers/s390/cio/
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()
/Linux-v6.6/drivers/scsi/lpfc/
Dlpfc.h1283 struct dma_pool *lpfc_sg_dma_buf_pool;
1284 struct dma_pool *lpfc_mbuf_pool;
1285 struct dma_pool *lpfc_hrb_pool; /* header receive buffer pool */
1286 struct dma_pool *lpfc_drb_pool; /* data receive buffer pool */
1287 struct dma_pool *lpfc_nvmet_drb_pool; /* data receive buffer pool */
1288 struct dma_pool *lpfc_hbq_pool; /* SLI3 hbq buffer pool */
1289 struct dma_pool *lpfc_cmd_rsp_buf_pool;

123456