Lines Matching full:cpuid
62 u32 flowctrl_read_cpu_csr(unsigned int cpuid) in flowctrl_read_cpu_csr() argument
64 u8 offset = flowctrl_offset_cpu_csr[cpuid]; in flowctrl_read_cpu_csr()
73 void flowctrl_write_cpu_csr(unsigned int cpuid, u32 value) in flowctrl_write_cpu_csr() argument
75 return flowctrl_update(flowctrl_offset_cpu_csr[cpuid], value); in flowctrl_write_cpu_csr()
78 void flowctrl_write_cpu_halt(unsigned int cpuid, u32 value) in flowctrl_write_cpu_halt() argument
80 return flowctrl_update(flowctrl_offset_halt_cpu[cpuid], value); in flowctrl_write_cpu_halt()
83 void flowctrl_cpu_suspend_enter(unsigned int cpuid) in flowctrl_cpu_suspend_enter() argument
88 reg = flowctrl_read_cpu_csr(cpuid); in flowctrl_cpu_suspend_enter()
96 reg |= TEGRA20_FLOW_CTRL_CSR_WFE_CPU0 << cpuid; in flowctrl_cpu_suspend_enter()
106 reg |= TEGRA30_FLOW_CTRL_CSR_WFI_CPU0 << cpuid; in flowctrl_cpu_suspend_enter()
112 flowctrl_write_cpu_csr(cpuid, reg); in flowctrl_cpu_suspend_enter()
115 if (i == cpuid) in flowctrl_cpu_suspend_enter()
124 void flowctrl_cpu_suspend_exit(unsigned int cpuid) in flowctrl_cpu_suspend_exit() argument
129 reg = flowctrl_read_cpu_csr(cpuid); in flowctrl_cpu_suspend_exit()
149 flowctrl_write_cpu_csr(cpuid, reg); in flowctrl_cpu_suspend_exit()