Home
last modified time | relevance | path

Searched refs:dma_base (Results 1 – 25 of 64) sorted by relevance

123

/linux-6.3-rc2/drivers/dma/
A Dmv_xor_v2.c157 void __iomem *dma_base; member
251 xor_dev->dma_base + MV_XOR_V2_DMA_DESQ_CTRL_OFF); in mv_xor_v2_set_desc_size()
272 reg = readl(xor_dev->dma_base + MV_XOR_V2_DMA_IMSG_TMOT); in mv_xor_v2_enable_imsg_thrd()
275 writel(reg, xor_dev->dma_base + MV_XOR_V2_DMA_IMSG_TMOT); in mv_xor_v2_enable_imsg_thrd()
623 xor_dev->dma_base + MV_XOR_V2_DMA_IMSG_BALR_OFF); in mv_xor_v2_set_msi_msg()
625 xor_dev->dma_base + MV_XOR_V2_DMA_IMSG_BAHR_OFF); in mv_xor_v2_set_msi_msg()
627 xor_dev->dma_base + MV_XOR_V2_DMA_IMSG_CDAT_OFF); in mv_xor_v2_set_msi_msg()
636 xor_dev->dma_base + MV_XOR_V2_DMA_DESQ_SIZE_OFF); in mv_xor_v2_descq_init()
640 xor_dev->dma_base + MV_XOR_V2_DMA_DESQ_BALR_OFF); in mv_xor_v2_descq_init()
729 if (IS_ERR(xor_dev->dma_base)) in mv_xor_v2_probe()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/8390/
A Detherh.c67 void __iomem *dma_base; member
309 void __iomem *dma_base, *addr; in etherh_block_output() local
327 dma_base = etherh_priv(dev)->dma_base; in etherh_block_output()
350 writesb (dma_base, buf, count); in etherh_block_output()
374 void __iomem *dma_base, *addr; in etherh_block_input() local
386 dma_base = etherh_priv(dev)->dma_base; in etherh_block_input()
397 readsw (dma_base, buf, count >> 1); in etherh_block_input()
399 buf[count - 1] = readb (dma_base); in etherh_block_input()
401 readsb (dma_base, buf, count); in etherh_block_input()
414 void __iomem *dma_base, *addr; in etherh_get_header() local
[all …]
/linux-6.3-rc2/drivers/ata/
A Dpata_octeon_cf.c58 u64 dma_base; member
248 c = (cf_port->dma_base & 8) >> 3; in octeon_cf_set_dmamode()
278 cvmx_write_csr(cf_port->dma_base + DMA_TIM, dma_tim.u64); in octeon_cf_set_dmamode()
603 dma_cfg.u64 = cvmx_read_csr(cf_port->dma_base + DMA_CFG); in octeon_cf_dma_finished()
613 cvmx_write_csr(cf_port->dma_base + DMA_CFG, dma_cfg.u64); in octeon_cf_dma_finished()
621 cvmx_write_csr(cf_port->dma_base + DMA_INT, dma_int.u64); in octeon_cf_dma_finished()
657 dma_int.u64 = cvmx_read_csr(cf_port->dma_base + DMA_INT); in octeon_cf_interrupt()
658 dma_cfg.u64 = cvmx_read_csr(cf_port->dma_base + DMA_CFG); in octeon_cf_interrupt()
689 cvmx_write_csr(cf_port->dma_base + DMA_INT, in octeon_cf_interrupt()
865 if (!cf_port->dma_base) { in octeon_cf_probe()
[all …]
/linux-6.3-rc2/arch/arm64/mm/
A Ddma-mapping.c64 void arch_setup_dma_ops(struct device *dev, u64 dma_base, u64 size, in arch_setup_dma_ops() argument
77 iommu_setup_dma_ops(dev, dma_base, dma_base + size - 1); in arch_setup_dma_ops()
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/falcon/
A Dbase.c40 nvkm_falcon_dma_wr(struct nvkm_falcon *falcon, const u8 *img, u64 dma_addr, u32 dma_base, in nvkm_falcon_dma_wr() argument
54 dma_start = dma_base; in nvkm_falcon_dma_wr()
55 dma_addr += dma_base; in nvkm_falcon_dma_wr()
59 type, mem_base, len, dma_base, dma_addr - dma_base, dma_start); in nvkm_falcon_dma_wr()
68 src = dma_base; in nvkm_falcon_dma_wr()
81 printk(KERN_CONT " <- %08x+%08x", dma_base, in nvkm_falcon_dma_wr()
82 src + i - dma_base - (x * 4)); in nvkm_falcon_dma_wr()
A Dga102.c34 ga102_flcn_dma_xfer(struct nvkm_falcon *falcon, u32 mem_base, u32 dma_base, u32 cmd) in ga102_flcn_dma_xfer() argument
37 nvkm_falcon_wr32(falcon, 0x11c, dma_base); in ga102_flcn_dma_xfer()
/linux-6.3-rc2/arch/alpha/kernel/
A Dpci_iommu.c85 arena->dma_base = base; in iommu_arena_new_node()
114 base = arena->dma_base >> PAGE_SHIFT; in iommu_arena_find_pages()
278 if (!arena || arena->dma_base + arena->size - 1 > max_dma) in pci_map_single_1()
297 ret = arena->dma_base + dma_ofs * PAGE_SIZE; in pci_map_single_1()
380 if (!arena || dma_addr < arena->dma_base) in alpha_pci_unmap_page()
383 dma_ofs = (dma_addr - arena->dma_base) >> PAGE_SHIFT; in alpha_pci_unmap_page()
387 dma_addr, arena->dma_base, arena->size); in alpha_pci_unmap_page()
735 if (!arena || arena->dma_base + arena->size - 1 > max_dma) in alpha_pci_unmap_sg()
772 ofs = (addr - arena->dma_base) >> PAGE_SHIFT; in alpha_pci_unmap_sg()
811 if (arena && arena->dma_base + arena->size - 1 <= mask) in alpha_pci_supported()
[all …]
A Dcore_titan.c326 port->wsba[0].csr = hose->sg_isa->dma_base | 3; in titan_init_one_pachip_port()
334 port->wsba[2].csr = hose->sg_pci->dma_base | 3; in titan_init_one_pachip_port()
498 baddr >= (unsigned long)hose->sg_pci->dma_base && in titan_ioremap()
499 last < (unsigned long)hose->sg_pci->dma_base + hose->sg_pci->size){ in titan_ioremap()
504 baddr -= hose->sg_pci->dma_base; in titan_ioremap()
505 last -= hose->sg_pci->dma_base; in titan_ioremap()
612 aper->arena->dma_base + aper->pg_start * PAGE_SIZE; in titan_agp_setup()
702 unsigned long baddr = addr - aper->arena->dma_base; in titan_agp_translate()
A Dcore_marvel.c293 hose->sg_isa->dma_base | wbase_m_ena | wbase_m_sg; in io7_init_hose()
310 hose->sg_pci->dma_base | wbase_m_ena | wbase_m_sg; in io7_init_hose()
727 baddr >= (unsigned long)hose->sg_pci->dma_base && in marvel_ioremap()
728 last < (unsigned long)hose->sg_pci->dma_base + hose->sg_pci->size) { in marvel_ioremap()
733 baddr -= hose->sg_pci->dma_base; in marvel_ioremap()
734 last -= hose->sg_pci->dma_base; in marvel_ioremap()
882 aper->arena->dma_base + aper->pg_start * PAGE_SIZE; in marvel_agp_setup()
994 unsigned long baddr = addr - aper->arena->dma_base; in marvel_agp_translate()
A Dpci.c101 if (pci && pci->dma_base + pci->size >= 0xfff00000UL) in quirk_cypress()
102 pci->size = 0xfff00000UL - pci->dma_base; in quirk_cypress()
336 sg_base = hose->sg_pci ? hose->sg_pci->dma_base : ~0; in common_init_pci()
A Dpci_impl.h140 dma_addr_t dma_base; member
/linux-6.3-rc2/arch/arm/mach-omap1/
A Ddma.c174 static void __iomem *dma_base; variable
177 void __iomem *addr = dma_base; in dma_write()
189 void __iomem *addr = dma_base; in dma_read()
308 dma_base = ioremap(res[0].start, resource_size(&res[0])); in omap1_system_dma_init()
309 if (!dma_base) { in omap1_system_dma_init()
388 iounmap(dma_base); in omap1_system_dma_init()
/linux-6.3-rc2/drivers/media/platform/samsung/s5p-mfc/
A Ds5p_mfc_ctrl.c176 mfc_write(dev, dev->dma_base[BANK_L_CTX], in s5p_mfc_init_memctrl()
179 &dev->dma_base[BANK_L_CTX]); in s5p_mfc_init_memctrl()
181 mfc_write(dev, dev->dma_base[BANK_L_CTX], in s5p_mfc_init_memctrl()
183 mfc_write(dev, dev->dma_base[BANK_R_CTX], in s5p_mfc_init_memctrl()
186 &dev->dma_base[BANK_L_CTX], in s5p_mfc_init_memctrl()
187 &dev->dma_base[BANK_R_CTX]); in s5p_mfc_init_memctrl()
/linux-6.3-rc2/arch/arm/mach-davinci/
A Dsram.c24 dma_addr_t dma_base = davinci_soc_info.sram_dma; in sram_alloc() local
28 if (!sram_pool || (dma && !dma_base)) in sram_alloc()
/linux-6.3-rc2/drivers/net/ethernet/cortina/
A Dgemini.c110 void __iomem *dma_base; member
525 readl(port->dma_base + GMAC_AHB_WEIGHT_REG); in gmac_init()
529 port->dma_base + GMAC_TX_WEIGHTING_CTRL_0_REG); in gmac_init()
531 port->dma_base + GMAC_TX_WEIGHTING_CTRL_1_REG); in gmac_init()
559 rwptr_reg = port->dma_base + GMAC_SW_TX_QUEUE0_PTR_REG; in gmac_setup_txqs()
582 port->dma_base + GMAC_SW_TX_QUEUE_BASE_REG); in gmac_setup_txqs()
683 rwptr_reg = port->dma_base + GMAC_SW_TX_QUEUE0_PTR_REG; in gmac_cleanup_txqs()
693 writel(0, port->dma_base + GMAC_SW_TX_QUEUE_BASE_REG); in gmac_cleanup_txqs()
1574 ptr_reg = port->dma_base + GMAC_SW_TX_QUEUE0_PTR_REG; in gmac_dump_dma_state()
2404 if (IS_ERR(port->dma_base)) { in gemini_ethernet_port_probe()
[all …]
/linux-6.3-rc2/drivers/mmc/host/
A Dcavium-thunderx.c85 host->dma_base = host->base; in thunder_mmc_probe()
180 dma_cfg = readq(host->dma_base + MIO_EMM_DMA_CFG(host)); in thunder_mmc_remove()
182 writeq(dma_cfg, host->dma_base + MIO_EMM_DMA_CFG(host)); in thunder_mmc_remove()
A Dcavium-octeon.c216 host->dma_base = base; in octeon_mmc_probe()
307 dma_cfg = readq(host->dma_base + MIO_EMM_DMA_CFG(host)); in octeon_mmc_remove()
309 writeq(dma_cfg, host->dma_base + MIO_EMM_DMA_CFG(host)); in octeon_mmc_remove()
A Dcavium.c387 fifo_cfg = readq(host->dma_base + MIO_EMM_DMA_FIFO_CFG(host)); in finish_dma_sg()
396 writeq(BIT_ULL(16), host->dma_base + MIO_EMM_DMA_FIFO_CFG(host)); in finish_dma_sg()
538 writeq(dma_cfg, host->dma_base + MIO_EMM_DMA_CFG(host)); in prepare_dma_single()
544 writeq(addr, host->dma_base + MIO_EMM_DMA_ADR(host)); in prepare_dma_single()
566 writeq(0, host->dma_base + MIO_EMM_DMA_FIFO_CFG(host)); in prepare_dma_sg()
573 writeq(addr, host->dma_base + MIO_EMM_DMA_FIFO_ADR(host)); in prepare_dma_sg()
596 writeq(fifo_cmd, host->dma_base + MIO_EMM_DMA_FIFO_CMD(host)); in prepare_dma_sg()
613 writeq(BIT_ULL(16), host->dma_base + MIO_EMM_DMA_FIFO_CFG(host)); in prepare_dma_sg()
/linux-6.3-rc2/drivers/gpu/drm/msm/dsi/
A Ddsi.h63 bool msm_dsi_manager_cmd_xfer_trigger(int id, u32 dma_base, u32 len);
85 u32 dma_base, u32 len);
/linux-6.3-rc2/arch/arm/mm/
A Ddma-mapping-nommu.c36 void arch_setup_dma_ops(struct device *dev, u64 dma_base, u64 size, in arch_setup_dma_ops() argument
/linux-6.3-rc2/arch/arc/mm/
A Ddma.c93 void arch_setup_dma_ops(struct device *dev, u64 dma_base, u64 size, in arch_setup_dma_ops() argument
/linux-6.3-rc2/drivers/net/ethernet/broadcom/
A Dbgmac.c585 ring->dma_base); in bgmac_dma_ring_desc_free()
638 &ring->dma_base, in bgmac_dma_alloc()
649 ring->index_base = lower_32_bits(ring->dma_base); in bgmac_dma_alloc()
663 &ring->dma_base, in bgmac_dma_alloc()
674 ring->index_base = lower_32_bits(ring->dma_base); in bgmac_dma_alloc()
697 lower_32_bits(ring->dma_base)); in bgmac_dma_init()
699 upper_32_bits(ring->dma_base)); in bgmac_dma_init()
715 lower_32_bits(ring->dma_base)); in bgmac_dma_init()
717 upper_32_bits(ring->dma_base)); in bgmac_dma_init()
/linux-6.3-rc2/sound/soc/bcm/
A Dbcm2835-i2s.c834 dma_addr_t dma_base; in bcm2835_i2s_probe() local
864 dma_base = be32_to_cpup(addr); in bcm2835_i2s_probe()
867 dma_base + BCM2835_I2S_FIFO_A_REG; in bcm2835_i2s_probe()
870 dma_base + BCM2835_I2S_FIFO_A_REG; in bcm2835_i2s_probe()
/linux-6.3-rc2/arch/riscv/mm/
A Ddma-noncoherent.c59 void arch_setup_dma_ops(struct device *dev, u64 dma_base, u64 size, in arch_setup_dma_ops() argument
/linux-6.3-rc2/drivers/gpu/drm/nouveau/include/nvfw/
A Dpmu.h15 u32 dma_base; member

Completed in 57 milliseconds

123