• Home
  • Raw
  • Download

Lines Matching refs:cpu

37 int hisi_cpus_pd_in_cluster_besides_curr(unsigned int cpu,  in hisi_cpus_pd_in_cluster_besides_curr()  argument
48 if (cpu == i) in hisi_cpus_pd_in_cluster_besides_curr()
59 int hisi_cpus_powered_off_besides_curr(unsigned int cpu) in hisi_cpus_powered_off_besides_curr() argument
64 return (val == (0x8 << (cpu * 4))); in hisi_cpus_powered_off_besides_curr()
97 void hisi_ipc_cpu_on_off(unsigned int cpu, unsigned int cluster, in hisi_ipc_cpu_on_off() argument
104 offset = cluster * 16 + cpu * 4; in hisi_ipc_cpu_on_off()
106 offset = cluster * 16 + cpu * 4 + 1; in hisi_ipc_cpu_on_off()
116 hisi_ipc_send(cpu_ipc_num[cluster][cpu]); in hisi_ipc_cpu_on_off()
119 void hisi_ipc_cpu_on(unsigned int cpu, unsigned int cluster) in hisi_ipc_cpu_on() argument
121 hisi_ipc_cpu_on_off(cpu, cluster, HISI_IPC_PM_ON); in hisi_ipc_cpu_on()
124 void hisi_ipc_cpu_off(unsigned int cpu, unsigned int cluster) in hisi_ipc_cpu_off() argument
126 hisi_ipc_cpu_on_off(cpu, cluster, HISI_IPC_PM_OFF); in hisi_ipc_cpu_off()
129 void hisi_ipc_cluster_on_off(unsigned int cpu, unsigned int cluster, in hisi_ipc_cluster_on_off() argument
148 hisi_ipc_send(cpu_ipc_num[cluster][cpu]); in hisi_ipc_cluster_on_off()
151 void hisi_ipc_cluster_on(unsigned int cpu, unsigned int cluster) in hisi_ipc_cluster_on() argument
153 hisi_ipc_cluster_on_off(cpu, cluster, HISI_IPC_PM_ON); in hisi_ipc_cluster_on()
156 void hisi_ipc_cluster_off(unsigned int cpu, unsigned int cluster) in hisi_ipc_cluster_off() argument
158 hisi_ipc_cluster_on_off(cpu, cluster, HISI_IPC_PM_OFF); in hisi_ipc_cluster_off()
161 void hisi_ipc_cpu_suspend(unsigned int cpu, unsigned int cluster) in hisi_ipc_cpu_suspend() argument
166 offset = cluster * 16 + cpu * 4 + 2; in hisi_ipc_cpu_suspend()
174 hisi_ipc_send(cpu_ipc_num[cluster][cpu]); in hisi_ipc_cpu_suspend()
177 void hisi_ipc_cluster_suspend(unsigned int cpu, unsigned int cluster) in hisi_ipc_cluster_suspend() argument
185 if (hisi_cpus_pd_in_cluster_besides_curr(cpu, cluster)) { in hisi_ipc_cluster_suspend()
192 hisi_ipc_send(cpu_ipc_num[cluster][cpu]); in hisi_ipc_cluster_suspend()