Lines Matching +full:powered +full:- +full:off

1 /* SPDX-License-Identifier: GPL-2.0-or-later */
18 #define CPS_ACCESSOR_A(unit, off, name) \ argument
21 return mips_##unit##_base + (off); \
92 #define CPS_ACCESSOR_RO(unit, sz, off, name) \ argument
93 CPS_ACCESSOR_A(unit, off, name) \
96 #define CPS_ACCESSOR_WO(unit, sz, off, name) \ argument
97 CPS_ACCESSOR_A(unit, off, name) \
100 #define CPS_ACCESSOR_RW(unit, sz, off, name) \ argument
101 CPS_ACCESSOR_A(unit, off, name) \
106 #include <asm/mips-cm.h>
107 #include <asm/mips-cpc.h>
108 #include <asm/mips-gic.h>
111 * mips_cps_numclusters - return the number of clusters present in the system
124 * mips_cps_cluster_config - return (GCR|CPC)_CONFIG from a cluster
147 * powered up allowing us not to need to power up the CM. in mips_cps_cluster_config()
158 * mips_cps_numcores - return the number of cores present in a cluster
175 * mips_cps_numiocu - return the number of IOCUs present in a cluster
191 * mips_cps_numvps - return the number of VPs (threads) supported by a core
197 * kernel do not support hardware mutlti-threading this returns 1.
221 * always powered, which allows us to not worry about powering in mips_cps_numvps()
233 * mips_cps_multicluster_cpus() - Detect whether CPUs are in multiple clusters
235 * Determine whether the system includes CPUs in multiple clusters - ie.
236 * whether we can treat the system as single or multi-cluster as far as CPUs
238 * whether multiple clusters are present - it is possible for there to be
248 * CPUs are numbered sequentially by cluster - ie. CPUs 0..X will be in in mips_cps_multicluster_cpus()
255 last_cl = cpu_cluster(&cpu_data[nr_cpu_ids - 1]); in mips_cps_multicluster_cpus()
260 * mips_cps_first_online_in_cluster() - Detect if CPU is first online in cluster
263 * cluster - that is, whether there are any other online CPUs in the local