Home
last modified time | relevance | path

Searched refs:dma_info (Results 1 – 12 of 12) sorted by relevance

/linux-6.1.9/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Ddma.c208 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 *di, uint ctrl_offset) in _dma64_addrext()
[all …]
/linux-6.1.9/arch/sh/drivers/dma/
Ddma-api.c24 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 *info = get_dma_info(chan); in request_dma()
[all …]
Ddma-sysfs.c30 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()
Ddma-g2.c60 struct dma_info *info = dev_id; in g2_dma_interrupt()
159 static struct dma_info g2_dma_info = {
Ddma-pvr2.c73 static struct dma_info pvr2_dma_info = {
Ddma-sh.c371 static struct dma_info sh_dmac_info = {
380 struct dma_info *info = &sh_dmac_info; in sh_dmac_init()
/linux-6.1.9/arch/sh/include/asm/
Ddma.h85 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 *);
/linux-6.1.9/drivers/scsi/bfa/
Dbfad.c526 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()
Dbfa_core.c1774 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()
Dbfa_ioc.h102 struct bfa_mem_dma_s dma_info; member
113 list_add_tail(&dm_ptr->qe, &meminfo->dma_info.qe); in bfa_mem_dma_setup()
/linux-6.1.9/drivers/scsi/
Daha1542.c745 char dma_info[] = "no DMA"; in aha1542_hw_init() local
774 snprintf(dma_info, sizeof(dma_info), "DMA %d", sh->dma_channel); in aha1542_hw_init()
776 sh->this_id, base_io, sh->irq, dma_info); in aha1542_hw_init()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Den_rx.c540 struct mlx5e_dma_info *dma_info; in mlx5e_build_shampo_hd_umr() local
553 dma_info = &shampo->info[index]; in mlx5e_build_shampo_hd_umr()
565 page = dma_info->page = au.page; in mlx5e_build_shampo_hd_umr()
566 addr = dma_info->addr = page_pool_get_dma_addr(au.page); in mlx5e_build_shampo_hd_umr()
568 dma_info->addr = addr + header_offset; in mlx5e_build_shampo_hd_umr()
569 dma_info->page = page; in mlx5e_build_shampo_hd_umr()
577 cpu_to_be64(dma_info->addr + headroom); in mlx5e_build_shampo_hd_umr()
596 dma_info = &shampo->info[--index]; in mlx5e_build_shampo_hd_umr()
598 dma_info->addr = ALIGN_DOWN(dma_info->addr, PAGE_SIZE); in mlx5e_build_shampo_hd_umr()
599 mlx5e_page_release_dynamic(rq, dma_info->page, true); in mlx5e_build_shampo_hd_umr()