Lines Matching refs:cpuid
70 u32 cpuid = 0; in get_cpu_id() local
76 __asm__ __volatile__("mrc p15, 0, %0, c0, c0, 0":"=r"(cpuid)); in get_cpu_id()
77 if ((cpuid & 0xf) == 0x0) { in get_cpu_id()
83 cpuid = readl(&id_base->idcode); in get_cpu_id()
86 return cpuid; in get_cpu_id()
96 u32 cpuid = get_cpu_id(); in get_cpu_family() local
98 if (cpuid == 0) in get_cpu_family()
101 hawkeye = (cpuid >> HAWKEYE_SHIFT) & 0xffff; in get_cpu_family()
124 u32 cpuid = get_cpu_id(); in get_cpu_rev() local
126 if (cpuid == 0) in get_cpu_rev()
129 return (cpuid >> CPU_3XX_ID_SHIFT) & 0xf; in get_cpu_rev()