Home
last modified time | relevance | path

Searched refs:cputype (Results 1 - 25 of 253) sorted by relevance

1234567891011

/kernel/linux/linux-5.10/arch/mips/kernel/
H A Dcpu-probe.c308 switch (c->cputype) { in set_ftlb_enable()
369 switch (c->cputype) { in mm_config()
1040 c->cputype = CPU_R2000; in cpu_probe_legacy()
1052 c->cputype = CPU_R3081E; in cpu_probe_legacy()
1055 c->cputype = CPU_R3000A; in cpu_probe_legacy()
1059 c->cputype = CPU_R3000; in cpu_probe_legacy()
1073 c->cputype = CPU_R4400PC; in cpu_probe_legacy()
1076 c->cputype = CPU_R4000PC; in cpu_probe_legacy()
1102 c->cputype = mc ? CPU_R4400MC : CPU_R4400SC; in cpu_probe_legacy()
1105 c->cputype in cpu_probe_legacy()
[all...]
H A Dcpu-r3k-probe.c81 c->cputype = CPU_UNKNOWN; in cpu_probe()
93 c->cputype = CPU_R2000; in cpu_probe()
104 c->cputype = CPU_R3081E; in cpu_probe()
107 c->cputype = CPU_R3000A; in cpu_probe()
111 c->cputype = CPU_R3000; in cpu_probe()
124 c->cputype = CPU_TX3927; in cpu_probe()
130 c->cputype = CPU_TX3912; in cpu_probe()
135 c->cputype = CPU_TX3922; in cpu_probe()
145 BUG_ON(c->cputype == CPU_UNKNOWN); in cpu_probe()
152 BUG_ON(current_cpu_type() != c->cputype); in cpu_probe()
[all...]
/kernel/linux/linux-6.6/arch/mips/kernel/
H A Dcpu-probe.c309 switch (c->cputype) { in set_ftlb_enable()
370 switch (c->cputype) { in mm_config()
1041 c->cputype = CPU_R2000; in cpu_probe_legacy()
1053 c->cputype = CPU_R3081E; in cpu_probe_legacy()
1056 c->cputype = CPU_R3000A; in cpu_probe_legacy()
1060 c->cputype = CPU_R3000; in cpu_probe_legacy()
1074 c->cputype = CPU_R4400PC; in cpu_probe_legacy()
1077 c->cputype = CPU_R4000PC; in cpu_probe_legacy()
1103 c->cputype = mc ? CPU_R4400MC : CPU_R4400SC; in cpu_probe_legacy()
1106 c->cputype in cpu_probe_legacy()
[all...]
H A Dcpu-r3k-probe.c82 c->cputype = CPU_UNKNOWN; in cpu_probe()
94 c->cputype = CPU_R2000; in cpu_probe()
105 c->cputype = CPU_R3081E; in cpu_probe()
108 c->cputype = CPU_R3000A; in cpu_probe()
112 c->cputype = CPU_R3000; in cpu_probe()
124 BUG_ON(c->cputype == CPU_UNKNOWN); in cpu_probe()
131 BUG_ON(current_cpu_type() != c->cputype); in cpu_probe()
/kernel/linux/linux-5.10/arch/alpha/kernel/
H A Dbugs.c11 unsigned long cputype; in cpu_is_ev6_or_later() local
14 cputype = cpu->type & 0xffffffff; in cpu_is_ev6_or_later()
16 return (cputype == EV6_CPU) || ((cputype >= EV67_CPU) && (cputype <= EV69_CPU)); in cpu_is_ev6_or_later()
/kernel/linux/linux-6.6/arch/alpha/kernel/
H A Dbugs.c11 unsigned long cputype; in cpu_is_ev6_or_later() local
14 cputype = cpu->type & 0xffffffff; in cpu_is_ev6_or_later()
16 return (cputype == EV6_CPU) || ((cputype >= EV67_CPU) && (cputype <= EV69_CPU)); in cpu_is_ev6_or_later()
/kernel/linux/linux-5.10/arch/loongarch/kernel/
H A Dcpu-probe.c285 c->cputype = CPU_LOONGSON32; in cpu_probe_loongson()
291 c->cputype = CPU_LOONGSON64; in cpu_probe_loongson()
297 c->cputype = CPU_LOONGSON64; in cpu_probe_loongson()
303 c->cputype = CPU_LOONGSON64; in cpu_probe_loongson()
309 c->cputype = CPU_LOONGSON64; in cpu_probe_loongson()
315 c->cputype = CPU_LOONGSON64; in cpu_probe_loongson()
353 c->cputype = CPU_UNKNOWN; in cpu_probe()
371 BUG_ON(c->cputype == CPU_UNKNOWN); in cpu_probe()
/kernel/linux/linux-6.6/arch/loongarch/kernel/
H A Dcpu-probe.c233 c->cputype = CPU_LOONGSON32; in cpu_probe_loongson()
239 c->cputype = CPU_LOONGSON64; in cpu_probe_loongson()
245 c->cputype = CPU_LOONGSON64; in cpu_probe_loongson()
251 c->cputype = CPU_LOONGSON64; in cpu_probe_loongson()
257 c->cputype = CPU_LOONGSON64; in cpu_probe_loongson()
263 c->cputype = CPU_LOONGSON64; in cpu_probe_loongson()
301 c->cputype = CPU_UNKNOWN; in cpu_probe()
319 BUG_ON(c->cputype == CPU_UNKNOWN); in cpu_probe()
/kernel/linux/linux-5.10/arch/mips/sni/
H A Dsetup.c113 int cputype; in plat_mem_setup() local
126 cputype = *(unsigned char *)SNI_IDPROM_CPUTYPE; in plat_mem_setup()
129 switch (cputype) { in plat_mem_setup()
148 switch (cputype) { in plat_mem_setup()
/kernel/linux/linux-6.6/arch/mips/sni/
H A Dsetup.c113 int cputype; in plat_mem_setup() local
126 cputype = *(unsigned char *)SNI_IDPROM_CPUTYPE; in plat_mem_setup()
129 switch (cputype) { in plat_mem_setup()
148 switch (cputype) { in plat_mem_setup()
/kernel/linux/linux-5.10/arch/mips/include/asm/
H A Dcpu-type.h211 const int cpu_type = current_cpu_data.cputype; in current_cpu_type()
218 const int cpu_type = cpu_data[0].cputype; in boot_cpu_type()
/kernel/linux/linux-6.6/arch/mips/include/asm/
H A Dcpu-type.h191 const int cpu_type = current_cpu_data.cputype; in current_cpu_type()
198 const int cpu_type = cpu_data[0].cputype; in boot_cpu_type()
/kernel/linux/linux-6.6/tools/perf/tests/shell/
H A Dstat.sh107 # Test --cputype argument.
108 echo "cputype test"
111 if perf stat --cputype="123" -e instructions true > /dev/null 2>&1
113 echo "cputype test [Bogus PMU didn't fail]"
118 # Find a known PMU for cputype.
135 echo "cputype test [Skipped known PMU not found]"
139 # Test running with cputype produces output.
140 if ! perf stat --cputype="$pmu" -e instructions true 2>&1 | grep -E -q "instructions"
142 echo "cputype test [Failed count missed with given filter]"
146 echo "cputype tes
[all...]
/kernel/linux/linux-5.10/arch/mips/loongson64/
H A Denv.c66 loongson_sysconf.cputype = ecpu->cputype; in prom_init_env()
67 switch (ecpu->cputype) { in prom_init_env()
/kernel/linux/linux-6.6/arch/mips/loongson64/
H A Denv.c89 loongson_sysconf.cputype = ecpu->cputype; in prom_lefi_init_env()
90 switch (ecpu->cputype) { in prom_lefi_init_env()
/kernel/linux/linux-5.10/arch/mips/include/asm/mach-loongson64/
H A Dboot_param.h57 u32 cputype; /* Loongson_3A/3B, etc. */ member
208 enum loongson_cpu_type cputype; member
/kernel/linux/linux-6.6/include/linux/soc/mmp/
H A Dcputype.h6 #include <asm/cputype.h>
/kernel/linux/linux-5.10/arch/mips/mm/
H A Dc-octeon.c173 int cputype = current_cpu_type(); in probe_octeon() local
176 switch (cputype) { in probe_octeon()
187 if (cputype == CPU_CAVIUM_OCTEON_PLUS) in probe_octeon()
/kernel/linux/linux-6.6/arch/mips/mm/
H A Dc-octeon.c176 int cputype = current_cpu_type(); in probe_octeon() local
179 switch (cputype) { in probe_octeon()
190 if (cputype == CPU_CAVIUM_OCTEON_PLUS) in probe_octeon()
/kernel/linux/linux-6.6/tools/perf/
H A Dbuiltin-list.c462 const char *cputype = NULL; in cmd_list() local
476 OPT_STRING(0, "cputype", &cputype, "cpu type", in cmd_list()
495 set_option_flag(list_options, 0, "cputype", PARSE_OPT_HIDDEN); in cmd_list()
522 else if (cputype) { in cmd_list()
523 const struct perf_pmu *pmu = perf_pmus__pmu_for_pmu_filter(cputype); in cmd_list()
526 pr_err("ERROR: cputype is not supported!\n"); in cmd_list()
/kernel/linux/linux-5.10/arch/mips/ath25/
H A Ddevices.h36 return (current_cpu_data.cputype == CPU_4KEC); in is_ar2315()
/kernel/linux/linux-5.10/arch/mips/include/asm/mach-cavium-octeon/
H A Dcpu-feature-overrides.h60 #define cpu_has_rixi (cpu_data[0].cputype != CPU_CAVIUM_OCTEON)
/kernel/linux/linux-5.10/arch/arm/kernel/
H A Dthumbee.c11 #include <asm/cputype.h>
/kernel/linux/linux-5.10/arch/arm/include/asm/
H A Dsmp_scu.h12 #include <asm/cputype.h>
/kernel/linux/linux-5.10/arch/arm/mach-ixp4xx/include/mach/
H A Dcpu.h14 #include <asm/cputype.h>

Completed in 12 milliseconds

1234567891011