Searched refs:IO_TO_VIRT (Results 1 – 5 of 5) sorted by relevance
34 return readl(IO_TO_VIRT(TEGRA_FUSE_BASE + offset)); in fuse_readl()39 writel(value, IO_TO_VIRT(TEGRA_FUSE_BASE + offset)); in fuse_writel()44 u32 reg = readl(IO_TO_VIRT(TEGRA_CLK_RESET_BASE + 0x48)); in tegra_init_fuse()46 writel(reg, IO_TO_VIRT(TEGRA_CLK_RESET_BASE + 0x48)); in tegra_init_fuse()
235 return readl(IO_TO_VIRT(TEGRA_APB_MISC_BASE + offset)); in pg_readl()240 writel(value, IO_TO_VIRT(TEGRA_APB_MISC_BASE + offset)); in pg_writel()
175 return readl(IO_TO_VIRT(TEGRA_APB_MISC_BASE + offset)); in pg_readl()180 writel(value, IO_TO_VIRT(TEGRA_APB_MISC_BASE + offset)); in pg_writel()
34 #define GPIO_REG(x) (IO_TO_VIRT(TEGRA_GPIO_BASE) + \
55 #define IO_TO_VIRT(n) ( \ macro74 #define IO_ADDRESS(n) ((void __iomem *) IO_TO_VIRT(n))