Home
last modified time | relevance | path

Searched refs:sram_base (Results 1 – 8 of 8) sorted by relevance

/linux/arch/arm/mach-meson/
H A Dplatsmp.c34 static void __iomem *sram_base; variable
47 u32 val = readl(sram_base + MESON_SMP_SRAM_CPU_CTRL_REG); in meson_smp_set_cpu_ctrl()
57 writel(val, sram_base + MESON_SMP_SRAM_CPU_CTRL_REG); in meson_smp_set_cpu_ctrl()
73 sram_base = of_iomap(node, 0); in meson_smp_prepare_cpus()
75 if (!sram_base) { in meson_smp_prepare_cpus()
125 sram_base + MESON_SMP_SRAM_CPU_CTRL_ADDR_REG(cpu)); in meson_smp_begin_secondary_boot()
139 while (readl(sram_base + MESON_SMP_SRAM_CPU_CTRL_ADDR_REG(cpu))) { in meson_smp_finalize_secondary_boot()
148 sram_base + MESON_SMP_SRAM_CPU_CTRL_ADDR_REG(cpu)); in meson_smp_finalize_secondary_boot()
/linux/drivers/staging/gpib/agilent_82350b/
H A Dagilent_82350b.c98 buffer[i++] = readb(a_priv->sram_base + j); in agilent_82350b_accel_read()
213 writeb(buffer[i], a_priv->sram_base + j); in agilent_82350b_accel_write()
615 writeb(i & byte_mask, a_priv->sram_base + i); in test_sram()
620 unsigned int read_value = readb(a_priv->sram_base + i); in test_sram()
704 a_priv->sram_base = ioremap(pci_resource_start(a_priv->pci_device, in agilent_82350b_generic_attach()
709 driver_name, a_priv->sram_base); in agilent_82350b_generic_attach()
728 a_priv->sram_base = ioremap(pci_resource_start(a_priv->pci_device, SRAM_REGION), in agilent_82350b_generic_attach()
731 driver_name, a_priv->sram_base); in agilent_82350b_generic_attach()
817 if (a_priv->sram_base) in agilent_82350b_detach()
818 iounmap((void *)a_priv->sram_base); in agilent_82350b_detach()
/linux/arch/arm/mach-omap2/
H A Dsleep34xx.S357 ldr r1, sram_base
365 ldr r1, sram_base
493 sram_base: label
/linux/arch/arm/mach-at91/
H A Dpm.c966 unsigned long sram_base; in at91_pm_sram_init() local
989 sram_base = gen_pool_alloc(sram_pool, at91_pm_suspend_in_sram_sz); in at91_pm_sram_init()
990 if (!sram_base) { in at91_pm_sram_init()
995 sram_pbase = gen_pool_virt_to_phys(sram_pool, sram_base); in at91_pm_sram_init()
/linux/drivers/crypto/intel/qat/qat_common/
H A Dicp_qat_uclo.h304 unsigned int sram_base; member
/linux/drivers/net/ethernet/mediatek/
H A Dmtk_eth_soc.c1148 eth->scratch_ring = eth->sram_base; in mtk_init_fq_dma()
2485 ring->dma = eth->sram_base + soc->tx.fq_dma_size * sz; in mtk_tx_alloc()
4803 eth->sram_base = (void __force *)devm_platform_ioremap_resource(pdev, 1); in mtk_probe()
4804 if (IS_ERR(eth->sram_base)) in mtk_probe()
4805 return PTR_ERR(eth->sram_base); in mtk_probe()
4807 eth->sram_base = (void __force *)eth->base + MTK_ETH_SRAM_OFFSET; in mtk_probe()
H A Dmtk_eth_soc.h1236 void *sram_base; member
/linux/drivers/net/ethernet/broadcom/
H A Dtg3.c16924 void __iomem *sram_base; in tg3_get_invariants() local
16930 sram_base = tp->regs + NIC_SRAM_WIN_BASE + NIC_SRAM_STATS_BLK; in tg3_get_invariants()
16932 writel(0x00000000, sram_base); in tg3_get_invariants()
16933 writel(0x00000000, sram_base + 4); in tg3_get_invariants()
16934 writel(0xffffffff, sram_base + 4); in tg3_get_invariants()
16935 if (readl(sram_base) != 0x00000000) in tg3_get_invariants()