Home
last modified time | relevance | path

Searched refs:apb_misc (Results 1 – 4 of 4) sorted by relevance

/openbmc/u-boot/arch/arm/mach-tegra/
H A Dspl.c23 struct apb_misc_pp_ctlr *apb_misc = in spl_board_init() local
27 writel(0xC0, &apb_misc->cfg_ctl); in spl_board_init()
/openbmc/linux/drivers/staging/media/tegra-video/
H A Dtegra20.c232 void __iomem *apb_misc; in tegra20_vi_enable() local
235 apb_misc = ioremap(TEGRA_APB_MISC_BASE, PAGE_SIZE); in tegra20_vi_enable()
236 if (!apb_misc) in tegra20_vi_enable()
237 apb_misc = ERR_PTR(-ENOENT); in tegra20_vi_enable()
238 if (IS_ERR(apb_misc)) in tegra20_vi_enable()
239 return dev_err_probe(vi->dev, PTR_ERR(apb_misc), "cannot access APB_MISC"); in tegra20_vi_enable()
241 val = readl(apb_misc + reg_offset); in tegra20_vi_enable()
244 writel(val, apb_misc + reg_offset); in tegra20_vi_enable()
245 iounmap(apb_misc); in tegra20_vi_enable()
/openbmc/u-boot/arch/arm/mach-tegra/tegra20/
H A Dwarmboot_avp.c24 struct apb_misc_pp_ctlr *apb_misc = in wb_start() local
37 writel(CONFIG_CTL_TBE | CONFIG_CTL_JTAG, &apb_misc->cfg_ctl); in wb_start()
H A Dwarmboot.c125 struct apb_misc_pp_ctlr *apb_misc = in warmboot_save_sdram_params() local
139 ram_code = (readl(&apb_misc->strapping_opt_a) >> in warmboot_save_sdram_params()