Lines Matching refs:cpuid

55 	void (*get_cpu_cluster_id)(u32 cpu, u32 *cpuid, u32 *clusterid);
56 int (*get_cpu_ndiv)(u32 cpu, u32 cpuid, u32 clusterid, u64 *ndiv);
79 static void tegra234_get_cpu_cluster_id(u32 cpu, u32 *cpuid, u32 *clusterid) in tegra234_get_cpu_cluster_id() argument
85 if (cpuid) in tegra234_get_cpu_cluster_id()
86 *cpuid = MPIDR_AFFINITY_LEVEL(mpidr, 1); in tegra234_get_cpu_cluster_id()
91 static int tegra234_get_cpu_ndiv(u32 cpu, u32 cpuid, u32 clusterid, u64 *ndiv) in tegra234_get_cpu_ndiv() argument
98 mpidr_id = (clusterid * data->soc->maxcpus_per_cluster) + cpuid; in tegra234_get_cpu_ndiv()
110 u32 cpu, cpuid, clusterid; in tegra234_set_cpu_ndiv() local
114 data->soc->ops->get_cpu_cluster_id(cpu, &cpuid, &clusterid); in tegra234_set_cpu_ndiv()
117 mpidr_id = (clusterid * data->soc->maxcpus_per_cluster) + cpuid; in tegra234_set_cpu_ndiv()
135 u32 cpuid, clusterid; in tegra234_read_counters() local
138 data->soc->ops->get_cpu_cluster_id(c->cpu, &cpuid, &clusterid); in tegra234_read_counters()
139 actmon_reg = CORE_ACTMON_CNTR_REG(data, clusterid, cpuid); in tegra234_read_counters()
171 static void tegra194_get_cpu_cluster_id(u32 cpu, u32 *cpuid, u32 *clusterid) in tegra194_get_cpu_cluster_id() argument
177 if (cpuid) in tegra194_get_cpu_cluster_id()
178 *cpuid = MPIDR_AFFINITY_LEVEL(mpidr, 0); in tegra194_get_cpu_cluster_id()
315 static int tegra194_get_cpu_ndiv(u32 cpu, u32 cpuid, u32 clusterid, u64 *ndiv) in tegra194_get_cpu_ndiv() argument
336 u32 cpuid, clusterid; in tegra194_get_speed() local
341 data->soc->ops->get_cpu_cluster_id(cpu, &cpuid, &clusterid); in tegra194_get_speed()
347 ret = data->soc->ops->get_cpu_ndiv(cpu, cpuid, clusterid, &ndiv); in tegra194_get_speed()