Searched refs:tegra_powergate_set (Results 1 – 2 of 2) sorted by relevance
/openbmc/u-boot/arch/arm/mach-tegra/ |
H A D | powergate.c | 22 static int tegra_powergate_set(enum tegra_powergate id, bool state) in tegra_powergate_set() function 48 return tegra_powergate_set(id, true); in tegra_powergate_power_on() 53 return tegra_powergate_set(id, false); in tegra_powergate_power_off()
|
/openbmc/linux/drivers/soc/tegra/ |
H A D | pmc.c | 647 static int tegra_powergate_set(struct tegra_pmc *pmc, unsigned int id, in tegra_powergate_set() function 796 err = tegra_powergate_set(pg->pmc, pg->id, true); in tegra_powergate_power_up() 846 tegra_powergate_set(pg->pmc, pg->id, false); in tegra_powergate_power_up() 875 err = tegra_powergate_set(pg->pmc, pg->id, false); in tegra_powergate_power_down() 951 return tegra_powergate_set(pmc, id, true); in tegra_powergate_power_on() 964 return tegra_powergate_set(pmc, id, false); in tegra_powergate_power_off() 1083 return tegra_powergate_set(pmc, id, true); in tegra_pmc_cpu_power_on()
|