Home
last modified time | relevance | path

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

/arch/arm/mach-tegra/
Dpm.c115 int phy_cpu_id = cpu_logical_map(smp_processor_id()); in tegra_clear_cpu_in_lp2() local
120 BUG_ON(!(*cpu_in_lp2 & BIT(phy_cpu_id))); in tegra_clear_cpu_in_lp2()
121 *cpu_in_lp2 &= ~BIT(phy_cpu_id); in tegra_clear_cpu_in_lp2()
128 int phy_cpu_id = cpu_logical_map(smp_processor_id()); in tegra_set_cpu_in_lp2() local
135 BUG_ON((*cpu_in_lp2 & BIT(phy_cpu_id))); in tegra_set_cpu_in_lp2()
136 *cpu_in_lp2 |= BIT(phy_cpu_id); in tegra_set_cpu_in_lp2()
138 if ((phy_cpu_id == 0) && cpumask_equal(cpu_lp2_mask, cpu_online_mask)) in tegra_set_cpu_in_lp2()
140 else if (tegra_get_chip_id() == TEGRA20 && phy_cpu_id == 1) in tegra_set_cpu_in_lp2()