Searched refs:sram_base (Results 1 – 4 of 4) sorted by relevance
129 (struct mtk_share_obj __iomem *)(scp->sram_base + recv_offset); in scp_ipi_init()131 (struct mtk_share_obj __iomem *)(scp->sram_base + send_offset); in scp_ipi_init()415 return (void __force *)scp->sram_base + offset; in scp_da_to_va()655 scp->sram_base = devm_ioremap_resource(dev, res); in scp_probe()656 if (IS_ERR((__force void *)scp->sram_base)) { in scp_probe()658 ret = PTR_ERR((__force void *)scp->sram_base); in scp_probe()
89 void __iomem *sram_base; member
263 unsigned int sram_base; member
16894 void __iomem *sram_base; in tg3_get_invariants() local16900 sram_base = tp->regs + NIC_SRAM_WIN_BASE + NIC_SRAM_STATS_BLK; in tg3_get_invariants()16902 writel(0x00000000, sram_base); in tg3_get_invariants()16903 writel(0x00000000, sram_base + 4); in tg3_get_invariants()16904 writel(0xffffffff, sram_base + 4); in tg3_get_invariants()16905 if (readl(sram_base) != 0x00000000) in tg3_get_invariants()