Lines Matching defs:cluster
38 unsigned int cluster)
44 val = val >> (cluster * 16);
97 void hisi_ipc_cpu_on_off(unsigned int cpu, unsigned int cluster,
104 offset = cluster * 16 + cpu * 4;
106 offset = cluster * 16 + cpu * 4 + 1;
116 hisi_ipc_send(cpu_ipc_num[cluster][cpu]);
119 void hisi_ipc_cpu_on(unsigned int cpu, unsigned int cluster)
121 hisi_ipc_cpu_on_off(cpu, cluster, HISI_IPC_PM_ON);
124 void hisi_ipc_cpu_off(unsigned int cpu, unsigned int cluster)
126 hisi_ipc_cpu_on_off(cpu, cluster, HISI_IPC_PM_OFF);
129 void hisi_ipc_cluster_on_off(unsigned int cpu, unsigned int cluster,
136 offset = cluster * 4;
138 offset = cluster * 4 + 1;
148 hisi_ipc_send(cpu_ipc_num[cluster][cpu]);
151 void hisi_ipc_cluster_on(unsigned int cpu, unsigned int cluster)
153 hisi_ipc_cluster_on_off(cpu, cluster, HISI_IPC_PM_ON);
156 void hisi_ipc_cluster_off(unsigned int cpu, unsigned int cluster)
158 hisi_ipc_cluster_on_off(cpu, cluster, HISI_IPC_PM_OFF);
161 void hisi_ipc_cpu_suspend(unsigned int cpu, unsigned int cluster)
166 offset = cluster * 16 + cpu * 4 + 2;
174 hisi_ipc_send(cpu_ipc_num[cluster][cpu]);
177 void hisi_ipc_cluster_suspend(unsigned int cpu, unsigned int cluster)
182 offset = cluster * 4 + 1;
185 if (hisi_cpus_pd_in_cluster_besides_curr(cpu, cluster)) {
192 hisi_ipc_send(cpu_ipc_num[cluster][cpu]);