/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
H A D | dma.c | 208 struct dma_info { struct 313 static uint txd(struct dma_info *di, uint x) in txd() 318 static uint rxd(struct dma_info *di, uint x) in rxd() 323 static uint nexttxd(struct dma_info *di, uint i) in nexttxd() 328 static uint prevtxd(struct dma_info *di, uint i) in prevtxd() 333 static uint nextrxd(struct dma_info *di, uint i) in nextrxd() 338 static uint ntxdactive(struct dma_info *di, uint h, uint t) in ntxdactive() 343 static uint nrxdactive(struct dma_info *di, uint h, uint t) in nrxdactive() 348 static uint _dma_ctrlflags(struct dma_info *di, uint mask, uint flags) in _dma_ctrlflags() 383 static bool _dma64_addrext(struct dma_info *d [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
H A D | dma.c | 208 struct dma_info { struct 313 static uint txd(struct dma_info *di, uint x) in txd() 318 static uint rxd(struct dma_info *di, uint x) in rxd() 323 static uint nexttxd(struct dma_info *di, uint i) in nexttxd() 328 static uint prevtxd(struct dma_info *di, uint i) in prevtxd() 333 static uint nextrxd(struct dma_info *di, uint i) in nextrxd() 338 static uint ntxdactive(struct dma_info *di, uint h, uint t) in ntxdactive() 343 static uint nrxdactive(struct dma_info *di, uint h, uint t) in nrxdactive() 348 static uint _dma_ctrlflags(struct dma_info *di, uint mask, uint flags) in _dma_ctrlflags() 383 static bool _dma64_addrext(struct dma_info *d [all...] |
/kernel/linux/linux-5.10/arch/sh/drivers/dma/ |
H A D | dma-api.c | 24 struct dma_info *get_dma_info(unsigned int chan) in get_dma_info() 26 struct dma_info *info; in get_dma_info() 44 struct dma_info *get_dma_info_by_name(const char *dmac_name) in get_dma_info_by_name() 46 struct dma_info *info; in get_dma_info_by_name() 61 struct dma_info *info; in get_nr_channels() 75 struct dma_info *info = get_dma_info(chan); in get_dma_channel() 94 struct dma_info *info = get_dma_info(chan); in get_dma_residue() 131 struct dma_info *info; in request_dma_bycap() 167 struct dma_info *info = get_dma_info(0); in dmac_search_free_channel() 194 struct dma_info *inf in request_dma() [all...] |
H A D | dma-sysfs.c | 30 struct dma_info *info = get_dma_info(i); in dma_show_devices() 121 int dma_create_sysfs_files(struct dma_channel *chan, struct dma_info *info) in dma_create_sysfs_files() 149 void dma_remove_sysfs_files(struct dma_channel *chan, struct dma_info *info) in dma_remove_sysfs_files()
|
H A D | dma-g2.c | 60 struct dma_info *info = dev_id; in g2_dma_interrupt() 159 static struct dma_info g2_dma_info = {
|
H A D | dma-pvr2.c | 73 static struct dma_info pvr2_dma_info = {
|
H A D | dma-sh.c | 382 static struct dma_info sh_dmac_info = { 391 struct dma_info *info = &sh_dmac_info; in sh_dmac_init()
|
/kernel/linux/linux-6.6/arch/sh/drivers/dma/ |
H A D | dma-api.c | 24 struct dma_info *get_dma_info(unsigned int chan) in get_dma_info() 26 struct dma_info *info; in get_dma_info() 44 struct dma_info *get_dma_info_by_name(const char *dmac_name) in get_dma_info_by_name() 46 struct dma_info *info; in get_dma_info_by_name() 61 struct dma_info *info; in get_nr_channels() 75 struct dma_info *info = get_dma_info(chan); in get_dma_channel() 94 struct dma_info *info = get_dma_info(chan); in get_dma_residue() 131 struct dma_info *info; in request_dma_bycap() 167 struct dma_info *info = get_dma_info(0); in dmac_search_free_channel() 194 struct dma_info *inf in request_dma() [all...] |
H A D | dma-sysfs.c | 30 struct dma_info *info = get_dma_info(i); in dma_show_devices() 127 int dma_create_sysfs_files(struct dma_channel *chan, struct dma_info *info) in dma_create_sysfs_files() 155 void dma_remove_sysfs_files(struct dma_channel *chan, struct dma_info *info) in dma_remove_sysfs_files()
|
H A D | dma-g2.c | 60 struct dma_info *info = dev_id; in g2_dma_interrupt() 159 static struct dma_info g2_dma_info = {
|
H A D | dma-pvr2.c | 73 static struct dma_info pvr2_dma_info = {
|
H A D | dma-sh.c | 382 static struct dma_info sh_dmac_info = { 391 struct dma_info *info = &sh_dmac_info; in sh_dmac_init()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/ |
H A D | rx.h | 23 struct mlx5e_dma_info *dma_info) in mlx5e_xsk_page_alloc_pool() 25 dma_info->xsk = xsk_buff_alloc(rq->xsk_pool); in mlx5e_xsk_page_alloc_pool() 26 if (!dma_info->xsk) in mlx5e_xsk_page_alloc_pool() 34 dma_info->addr = xsk_buff_xdp_get_frame_dma(dma_info->xsk); in mlx5e_xsk_page_alloc_pool() 22 mlx5e_xsk_page_alloc_pool(struct mlx5e_rq *rq, struct mlx5e_dma_info *dma_info) mlx5e_xsk_page_alloc_pool() argument
|
H A D | rx.c | 32 struct xdp_buff *xdp = wi->umr.dma_info[page_idx].xsk; in mlx5e_xsk_skb_from_cqe_mpwrq_linear()
|
/kernel/linux/linux-5.10/arch/sh/include/asm/ |
H A D | dma.h | 28 * DMAC (dma_info) flags 85 struct dma_info { struct 124 extern struct dma_info *get_dma_info(unsigned int chan); 129 extern int register_dmac(struct dma_info *info); 130 extern void unregister_dmac(struct dma_info *info); 131 extern struct dma_info *get_dma_info_by_name(const char *dmac_name); 137 extern int dma_create_sysfs_files(struct dma_channel *, struct dma_info *); 138 extern void dma_remove_sysfs_files(struct dma_channel *, struct dma_info *);
|
/kernel/linux/linux-6.6/arch/sh/include/asm/ |
H A D | dma.h | 28 * DMAC (dma_info) flags 85 struct dma_info { struct 124 extern struct dma_info *get_dma_info(unsigned int chan); 129 extern int register_dmac(struct dma_info *info); 130 extern void unregister_dmac(struct dma_info *info); 131 extern struct dma_info *get_dma_info_by_name(const char *dmac_name); 137 extern int dma_create_sysfs_files(struct dma_channel *, struct dma_info *); 138 extern void dma_remove_sysfs_files(struct dma_channel *, struct dma_info *);
|
/kernel/liteos_a/net/lwip-2.1/porting/include/lwip/ |
H A D | pbuf.h | 48 #define pbuf_dma_ref(dma_info) // ERR_OK 49 #define pbuf_dma_free(dma_info) 51 #define dma_info payload macro
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_rx.c | 222 struct mlx5e_dma_info *dma_info) in mlx5e_rx_cache_put() 233 if (unlikely(mlx5e_page_is_reserved(dma_info->page))) { in mlx5e_rx_cache_put() 238 cache->page_cache[cache->tail] = *dma_info; in mlx5e_rx_cache_put() 244 struct mlx5e_dma_info *dma_info) in mlx5e_rx_cache_get() 259 *dma_info = cache->page_cache[cache->head]; in mlx5e_rx_cache_get() 263 dma_sync_single_for_device(rq->pdev, dma_info->addr, in mlx5e_rx_cache_get() 270 struct mlx5e_dma_info *dma_info) in mlx5e_page_alloc_pool() 272 if (mlx5e_rx_cache_get(rq, dma_info)) in mlx5e_page_alloc_pool() 275 dma_info->page = page_pool_dev_alloc_pages(rq->page_pool); in mlx5e_page_alloc_pool() 276 if (unlikely(!dma_info in mlx5e_page_alloc_pool() 221 mlx5e_rx_cache_put(struct mlx5e_rq *rq, struct mlx5e_dma_info *dma_info) mlx5e_rx_cache_put() argument 243 mlx5e_rx_cache_get(struct mlx5e_rq *rq, struct mlx5e_dma_info *dma_info) mlx5e_rx_cache_get() argument 269 mlx5e_page_alloc_pool(struct mlx5e_rq *rq, struct mlx5e_dma_info *dma_info) mlx5e_page_alloc_pool() argument 290 mlx5e_page_alloc(struct mlx5e_rq *rq, struct mlx5e_dma_info *dma_info) mlx5e_page_alloc() argument 299 mlx5e_page_dma_unmap(struct mlx5e_rq *rq, struct mlx5e_dma_info *dma_info) mlx5e_page_dma_unmap() argument 305 mlx5e_page_release_dynamic(struct mlx5e_rq *rq, struct mlx5e_dma_info *dma_info, bool recycle) mlx5e_page_release_dynamic() argument 322 mlx5e_page_release(struct mlx5e_rq *rq, struct mlx5e_dma_info *dma_info, bool recycle) mlx5e_page_release() argument 455 mlx5e_copy_skb_header(struct device *pdev, struct sk_buff *skb, struct mlx5e_dma_info *dma_info, int offset_from, u32 headlen) mlx5e_copy_skb_header() argument 472 struct mlx5e_dma_info *dma_info = wi->umr.dma_info; mlx5e_free_rx_mpwqe() local 506 struct mlx5e_dma_info *dma_info = &wi->umr.dma_info[0]; mlx5e_alloc_rx_mpwqe() local [all...] |
/kernel/linux/linux-5.10/drivers/scsi/bfa/ |
H A D | bfa_core.c | 1774 INIT_LIST_HEAD(&meminfo->dma_info.qe); in bfa_cfg_get_meminfo() 1831 struct bfa_mem_dma_s *dma_info, *dma_elem; in bfa_attach() local 1840 dma_info = &meminfo->dma_info; in bfa_attach() 1841 dma_info->kva_curp = dma_info->kva; in bfa_attach() 1842 dma_info->dma_curp = dma_info->dma; in bfa_attach() 1847 list_for_each(dm_qe, &dma_info->qe) { in bfa_attach()
|
H A D | bfad.c | 526 struct bfa_mem_dma_s *dma_info, *dma_elem; in bfad_hal_mem_release() local 530 dma_info = &hal_meminfo->dma_info; in bfad_hal_mem_release() 540 list_for_each(dm_qe, &dma_info->qe) { in bfad_hal_mem_release() 588 struct bfa_mem_dma_s *dma_info, *dma_elem; in bfad_hal_mem_alloc() local 599 dma_info = &hal_meminfo->dma_info; in bfad_hal_mem_alloc() 614 list_for_each(dm_qe, &dma_info->qe) { in bfad_hal_mem_alloc()
|
/kernel/linux/linux-6.6/drivers/scsi/bfa/ |
H A D | bfa_core.c | 1774 INIT_LIST_HEAD(&meminfo->dma_info.qe); in bfa_cfg_get_meminfo() 1831 struct bfa_mem_dma_s *dma_info, *dma_elem; in bfa_attach() local 1840 dma_info = &meminfo->dma_info; in bfa_attach() 1841 dma_info->kva_curp = dma_info->kva; in bfa_attach() 1842 dma_info->dma_curp = dma_info->dma; in bfa_attach() 1847 list_for_each(dm_qe, &dma_info->qe) { in bfa_attach()
|
H A D | bfad.c | 526 struct bfa_mem_dma_s *dma_info, *dma_elem; in bfad_hal_mem_release() local 530 dma_info = &hal_meminfo->dma_info; in bfad_hal_mem_release() 540 list_for_each(dm_qe, &dma_info->qe) { in bfad_hal_mem_release() 588 struct bfa_mem_dma_s *dma_info, *dma_elem; in bfad_hal_mem_alloc() local 599 dma_info = &hal_meminfo->dma_info; in bfad_hal_mem_alloc() 614 list_for_each(dm_qe, &dma_info->qe) { in bfad_hal_mem_alloc()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_rx.c | 648 struct mlx5e_dma_info *dma_info; in mlx5e_build_shampo_hd_umr() local 663 dma_info = &shampo->info[index]; in mlx5e_build_shampo_hd_umr() 679 dma_info->addr = addr; in mlx5e_build_shampo_hd_umr() 680 dma_info->frag_page = frag_page; in mlx5e_build_shampo_hd_umr() 682 dma_info->addr = addr + header_offset; in mlx5e_build_shampo_hd_umr() 683 dma_info->frag_page = frag_page; in mlx5e_build_shampo_hd_umr() 691 cpu_to_be64(dma_info->addr + headroom); in mlx5e_build_shampo_hd_umr() 710 dma_info = &shampo->info[--index]; in mlx5e_build_shampo_hd_umr() 712 dma_info->addr = ALIGN_DOWN(dma_info in mlx5e_build_shampo_hd_umr() 2289 struct mlx5e_dma_info *dma_info = &shampo->info[header_index]; mlx5e_free_rx_shampo_hd_entry() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | txrx.h | 50 void mlx5e_page_dma_unmap(struct mlx5e_rq *rq, struct mlx5e_dma_info *dma_info); 52 struct mlx5e_dma_info *dma_info,
|
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | aha1542.c | 734 char dma_info[] = "no DMA"; in aha1542_hw_init() local 763 snprintf(dma_info, sizeof(dma_info), "DMA %d", sh->dma_channel); in aha1542_hw_init() 765 sh->this_id, base_io, sh->irq, dma_info); in aha1542_hw_init()
|