Lines Matching refs:tegra_pmc_readl

465 static u32 tegra_pmc_readl(struct tegra_pmc *pmc, unsigned long offset)  in tegra_pmc_readl()  function
511 return tegra_pmc_readl(pmc, offset); in tegra_pmc_scratch_readl()
533 return (tegra_pmc_readl(pmc, GPU_RG_CNTRL) & 0x1) == 0; in tegra_powergate_state()
535 return (tegra_pmc_readl(pmc, PWRGATE_STATUS) & BIT(id)) != 0; in tegra_powergate_state()
591 return !(tegra_pmc_readl(pmc, PWRGATE_TOGGLE) & PWRGATE_TOGGLE_START); in tegra_powergate_toggle_ready()
1122 value = tegra_pmc_readl(pmc, PMC_CNTRL); in tegra_pmc_restart()
1610 value = tegra_pmc_readl(pmc, offset); in tegra_io_pad_poll()
1709 value = tegra_pmc_readl(pmc, status); in tegra_io_pad_is_powered()
1730 value = tegra_pmc_readl(pmc, PMC_IMPL_E_33V_PWR); in tegra_io_pad_set_voltage()
1740 value = tegra_pmc_readl(pmc, PMC_PWR_DET); in tegra_io_pad_set_voltage()
1745 value = tegra_pmc_readl(pmc, PMC_PWR_DET_VALUE); in tegra_io_pad_set_voltage()
1775 value = tegra_pmc_readl(pmc, PMC_IMPL_E_33V_PWR); in tegra_io_pad_get_voltage()
1777 value = tegra_pmc_readl(pmc, PMC_PWR_DET_VALUE); in tegra_io_pad_get_voltage()
1853 value = tegra_pmc_readl(pmc, PMC_CNTRL); in tegra_pmc_enter_suspend_mode()
1979 value = tegra_pmc_readl(pmc, PMC_SENSOR_CTRL); in tegra_pmc_init_tsense_reset()
2005 value = tegra_pmc_readl(pmc, PMC_SENSOR_CTRL); in tegra_pmc_init_tsense_reset()
2173 value = tegra_pmc_readl(pmc, pmc->soc->regs->rst_status); in reset_reason_show()
2190 value = tegra_pmc_readl(pmc, pmc->soc->regs->rst_status); in reset_level_show()
2336 value = tegra_pmc_readl(pmc, offset); in tegra210_pmc_irq_set_wake()
2362 value = tegra_pmc_readl(pmc, offset); in tegra210_pmc_irq_set_type()
2536 tegra_pmc_readl(pmc, offset); in pmc_clk_fence_udelay()
2546 val = tegra_pmc_readl(pmc, clk->offs) >> clk->mux_shift; in pmc_clk_mux_get_parent()
2557 val = tegra_pmc_readl(pmc, clk->offs); in pmc_clk_mux_set_parent()
2571 val = tegra_pmc_readl(pmc, clk->offs) & BIT(clk->force_en_shift); in pmc_clk_is_enabled()
2580 val = tegra_pmc_readl(pmc, offs); in pmc_clk_set_state()
2642 return tegra_pmc_readl(pmc, gate->offs) & BIT(gate->shift) ? 1 : 0; in pmc_clk_gate_is_enabled()
2806 *value = tegra_pmc_readl(pmc, offset); in tegra_pmc_regmap_readl()
3069 value = tegra_pmc_readl(pmc, PMC_CNTRL); in tegra20_pmc_init()
3073 value = tegra_pmc_readl(pmc, PMC_CNTRL); in tegra20_pmc_init()
3089 value = tegra_pmc_readl(pmc, PMC_CNTRL); in tegra20_pmc_init()
3110 value = tegra_pmc_readl(pmc, PMC_CNTRL); in tegra20_pmc_setup_irq_polarity()