Lines Matching refs:cluster
38 unsigned int cluster) in hisi_cpus_pd_in_cluster_besides_curr() argument
44 val = val >> (cluster * 16); in hisi_cpus_pd_in_cluster_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
136 offset = cluster * 4; in hisi_ipc_cluster_on_off()
138 offset = cluster * 4 + 1; in hisi_ipc_cluster_on_off()
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
182 offset = cluster * 4 + 1; in hisi_ipc_cluster_suspend()
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()