Commit 864ab0fd authored by Varun Wadekar's avatar Varun Wadekar
Browse files

Tegra: flowctrl: rename tegra_fc_cpu_idle() to tegra_fc_cpu_powerdn()



This patch renames the tegra_fc_cpu_idle() function to a more appropriate
tegra_fc_cpu_powerdn() to better reflect its usage.
Signed-off-by: default avatarVarun Wadekar <vwadekar@nvidia.com>
parent 4a1dcde7
...@@ -98,9 +98,9 @@ static void tegra_fc_prepare_suspend(int cpu_id, uint32_t csr) ...@@ -98,9 +98,9 @@ static void tegra_fc_prepare_suspend(int cpu_id, uint32_t csr)
} }
/******************************************************************************* /*******************************************************************************
* Suspend the current CPU * Powerdn the current CPU
******************************************************************************/ ******************************************************************************/
void tegra_fc_cpu_idle(uint32_t mpidr) void tegra_fc_cpu_powerdn(uint32_t mpidr)
{ {
int cpu = mpidr & MPIDR_CPU_MASK; int cpu = mpidr & MPIDR_CPU_MASK;
......
...@@ -73,8 +73,8 @@ static inline void tegra_fc_write_32(uint32_t off, uint32_t val) ...@@ -73,8 +73,8 @@ static inline void tegra_fc_write_32(uint32_t off, uint32_t val)
mmio_write_32(TEGRA_FLOWCTRL_BASE + off, val); mmio_write_32(TEGRA_FLOWCTRL_BASE + off, val);
} }
void tegra_fc_cpu_idle(uint32_t mpidr);
void tegra_fc_cluster_idle(uint32_t midr); void tegra_fc_cluster_idle(uint32_t midr);
void tegra_fc_cpu_powerdn(uint32_t mpidr);
void tegra_fc_cluster_powerdn(uint32_t midr); void tegra_fc_cluster_powerdn(uint32_t midr);
void tegra_fc_soc_powerdn(uint32_t midr); void tegra_fc_soc_powerdn(uint32_t midr);
void tegra_fc_cpu_on(int cpu); void tegra_fc_cpu_on(int cpu);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment