Lines Matching refs:cpuinfo
151 static inline unsigned int cpu_cluster(struct cpuinfo_mips *cpuinfo) in cpu_cluster() argument
157 return (cpuinfo->globalnumber & MIPS_GLOBALNUMBER_CLUSTER) >> in cpu_cluster()
161 static inline unsigned int cpu_core(struct cpuinfo_mips *cpuinfo) in cpu_core() argument
163 return (cpuinfo->globalnumber & MIPS_GLOBALNUMBER_CORE) >> in cpu_core()
167 static inline unsigned int cpu_vpe_id(struct cpuinfo_mips *cpuinfo) in cpu_vpe_id() argument
173 return (cpuinfo->globalnumber & MIPS_GLOBALNUMBER_VP) >> in cpu_vpe_id()
177 extern void cpu_set_cluster(struct cpuinfo_mips *cpuinfo, unsigned int cluster);
178 extern void cpu_set_core(struct cpuinfo_mips *cpuinfo, unsigned int core);
179 extern void cpu_set_vpe_id(struct cpuinfo_mips *cpuinfo, unsigned int vpe);
203 static inline unsigned long cpu_asid_mask(struct cpuinfo_mips *cpuinfo) in cpu_asid_mask() argument
206 return cpuinfo->asid_mask; in cpu_asid_mask()
211 static inline void set_cpu_asid_mask(struct cpuinfo_mips *cpuinfo, in set_cpu_asid_mask() argument
215 cpuinfo->asid_mask = asid_mask; in set_cpu_asid_mask()