Home
last modified time | relevance | path

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

123

/openbmc/linux/drivers/dma/
H 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 …]
/openbmc/qemu/tests/qtest/
H A Dbcm2835-dma-test.c48 uint64_t dma_base = RASPI3_DMA_BASE + dma_c * 0x100; in bcm2835_dma_test_interrupt() local
53 int isr = readl(dma_base + BCM2708_DMA_INT_STATUS); in bcm2835_dma_test_interrupt()
55 uint32_t reg0 = readl(dma_base + BCM2708_DMA_CS); in bcm2835_dma_test_interrupt()
68 writel(dma_base + BCM2708_DMA_ADDR, SCB_ADDR); in bcm2835_dma_test_interrupt()
75 writel(dma_base + BCM2708_DMA_CS, BCM2708_DMA_ACTIVE); in bcm2835_dma_test_interrupt()
96 writel(dma_base + BCM2708_DMA_CS, BCM2708_DMA_INT); in bcm2835_dma_test_interrupt()
/openbmc/u-boot/drivers/dma/
H A Dfsl_dma.c27 dma83xx_t *dma_base = (void *)(CONFIG_SYS_MPC83xx_DMA_ADDR); variable
29 ccsr_dma_t *dma_base = (void *)(CONFIG_SYS_MPC85xx_DMA_ADDR); variable
31 ccsr_dma_t *dma_base = (void *)(CONFIG_SYS_MPC86xx_DMA_ADDR); variable
64 volatile fsl_dma_t *dma = &dma_base->dma[0]; in dma_check()
84 volatile fsl_dma_t *dma = &dma_base->dma[0]; in dma_init()
94 volatile fsl_dma_t *dma = &dma_base->dma[0]; in dmacpy()
/openbmc/linux/drivers/net/ethernet/8390/
H 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 …]
/openbmc/linux/arch/arm64/mm/
H A Ddma-mapping.c49 void arch_setup_dma_ops(struct device *dev, u64 dma_base, u64 size, in arch_setup_dma_ops() argument
62 iommu_setup_dma_ops(dev, dma_base, dma_base + size - 1); in arch_setup_dma_ops()
/openbmc/linux/drivers/ata/
H A Dpata_octeon_cf.c59 u64 dma_base; member
249 c = (cf_port->dma_base & 8) >> 3; in octeon_cf_set_dmamode()
279 cvmx_write_csr(cf_port->dma_base + DMA_TIM, dma_tim.u64); in octeon_cf_set_dmamode()
604 dma_cfg.u64 = cvmx_read_csr(cf_port->dma_base + DMA_CFG); in octeon_cf_dma_finished()
614 cvmx_write_csr(cf_port->dma_base + DMA_CFG, dma_cfg.u64); in octeon_cf_dma_finished()
622 cvmx_write_csr(cf_port->dma_base + DMA_INT, dma_int.u64); in octeon_cf_dma_finished()
658 dma_int.u64 = cvmx_read_csr(cf_port->dma_base + DMA_INT); in octeon_cf_interrupt()
659 dma_cfg.u64 = cvmx_read_csr(cf_port->dma_base + DMA_CFG); in octeon_cf_interrupt()
690 cvmx_write_csr(cf_port->dma_base + DMA_INT, in octeon_cf_interrupt()
859 if (!cf_port->dma_base) { in octeon_cf_probe()
[all …]
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/falcon/
H 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()
H 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()
/openbmc/linux/arch/alpha/kernel/
H 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 …]
H 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()
H 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()
H A Dpci.c101 if (pci && pci->dma_base + pci->size >= 0xfff00000UL) in quirk_cypress()
102 pci->size = 0xfff00000UL - pci->dma_base; in quirk_cypress()
335 sg_base = hose->sg_pci ? hose->sg_pci->dma_base : ~0; in common_init_pci()
H A Dpci_impl.h140 dma_addr_t dma_base; member
/openbmc/linux/arch/arm/mach-omap1/
H 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()
/openbmc/linux/drivers/media/platform/samsung/s5p-mfc/
H 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()
/openbmc/linux/arch/arm/mach-davinci/
H 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()
/openbmc/linux/drivers/mmc/host/
H A Dcavium-thunderx.c86 host->dma_base = host->base; in thunder_mmc_probe()
181 dma_cfg = readq(host->dma_base + MIO_EMM_DMA_CFG(host)); in thunder_mmc_remove()
183 writeq(dma_cfg, host->dma_base + MIO_EMM_DMA_CFG(host)); in thunder_mmc_remove()
H A Dcavium-octeon.c218 host->dma_base = base; in octeon_mmc_probe()
309 dma_cfg = readq(host->dma_base + MIO_EMM_DMA_CFG(host)); in octeon_mmc_remove()
311 writeq(dma_cfg, host->dma_base + MIO_EMM_DMA_CFG(host)); in octeon_mmc_remove()
H 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()
/openbmc/linux/drivers/net/ethernet/cortina/
H 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()
1609 ptr_reg = port->dma_base + GMAC_SW_TX_QUEUE0_PTR_REG; in gmac_dump_dma_state()
2428 if (IS_ERR(port->dma_base)) { in gemini_ethernet_port_probe()
[all …]
/openbmc/qemu/hw/sparc/
H A Dsun4m.c300 static void *sparc32_dma_init(hwaddr dma_base, in sparc32_dma_init() argument
899 sparc32_dma_init(hwdef->dma_base, in sun4m_hw_init()
1140 .dma_base = 0x78400000, in ss5_class_init()
1174 .dma_base = 0xef0400000ULL, in ss10_class_init()
1207 .dma_base = 0xef0081000ULL, in ss600mp_class_init()
1242 .dma_base = 0xef0400000ULL, in ss20_class_init()
1293 .dma_base = 0x78400000, in voyager_class_init()
1327 .dma_base = 0x78400000, in ss_lx_class_init()
1359 .dma_base = 0x78400000, in ss4_class_init()
1391 .dma_base = 0x78400000, in scls_class_init()
[all …]
/openbmc/linux/arch/powerpc/platforms/pseries/
H A Diommu.c367 __be64 dma_base; /* address hi,lo */ member
427 dma_offset = next + be64_to_cpu(maprange->dma_base); in tce_clearrange_multi_pSeriesLP()
452 be64_to_cpu(maprange->dma_base); in tce_setrange_multi_pSeriesLP()
497 dma_offset = next + be64_to_cpu(maprange->dma_base); in tce_setrange_multi_pSeriesLP()
754 prop->dma_base = p->dma_base; in pci_dma_find()
763 prop->dma_base = cpu_to_be64(offset); in pci_dma_find()
810 be64_to_cpu(prop.dma_base), in pci_dma_bus_setup_pSeriesLP()
819 ppci->table_group->tce32_start = be64_to_cpu(prop.dma_base); in pci_dma_bus_setup_pSeriesLP()
973 *dma_addr = be64_to_cpu(dma64->dma_base); in find_existing_ddw()
1282 ddwprop->dma_base = cpu_to_be64(dma_addr); in ddw_property_create()
[all …]
/openbmc/linux/drivers/gpu/drm/msm/dsi/
H A Ddsi.h63 bool msm_dsi_manager_cmd_xfer_trigger(int id, u32 dma_base, u32 len);
85 u32 dma_base, u32 len);
/openbmc/linux/arch/arm/mm/
H A Ddma-mapping-nommu.c36 void arch_setup_dma_ops(struct device *dev, u64 dma_base, u64 size, in arch_setup_dma_ops() argument
/openbmc/linux/arch/arc/mm/
H A Ddma.c93 void arch_setup_dma_ops(struct device *dev, u64 dma_base, u64 size, in arch_setup_dma_ops() argument

123