Home
last modified time | relevance | path

Searched refs:cputype (Results 1 – 25 of 26) sorted by relevance

12

/linux/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 = mc ? CPU_R4000MC : CPU_R4000SC; 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()
123 BUG_ON(c->cputype == CPU_UNKNOWN); in cpu_probe()
130 BUG_ON(current_cpu_type() != c->cputype); in cpu_probe()
H A Dpm-cps.c246 switch (__get_cpu_type(cpu_info->cputype)) { in cps_gen_flush_fsb()
/linux/arch/alpha/kernel/
H A Dbugs.c12 unsigned long cputype; in cpu_is_ev6_or_later() local
15 cputype = cpu->type & 0xffffffff; in cpu_is_ev6_or_later()
17 return (cputype == EV6_CPU) || ((cputype >= EV67_CPU) && (cputype <= EV69_CPU)); in cpu_is_ev6_or_later()
H A Dperf_event.c583 unsigned long cputype; in supported_cpu() local
587 cputype = cpu->type & 0xffffffff; in supported_cpu()
589 return (cputype >= EV67_CPU) && (cputype <= EV69_CPU); in supported_cpu()
/linux/arch/mips/sni/
H A Dsetup.c115 int cputype; in plat_mem_setup() local
128 cputype = *(unsigned char *)SNI_IDPROM_CPUTYPE; in plat_mem_setup()
131 switch (cputype) { in plat_mem_setup()
150 switch (cputype) { in plat_mem_setup()
/linux/tools/perf/tests/shell/
H A Dstat.sh131 # Test --cputype argument.
132 echo "cputype test"
135 if perf stat --cputype="123" -e instructions true > /dev/null 2>&1
137 echo "cputype test [Bogus PMU didn't fail]"
142 # Find a known PMU for cputype.
161 echo "cputype test [Skipped known PMU not found]"
165 # Test running with cputype produces output.
166 if ! perf stat --cputype="$pmu" -e instructions true 2>&1 | grep -E -q "instructions"
168 echo "cputype test [Failed count missed with given filter]"
172 echo "cputype tes
[all...]
/linux/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()
/linux/arch/loongarch/kernel/
H A Dcpu-probe.c240 c->cputype = CPU_LOONGSON32; in cpu_probe_loongson()
244 c->cputype = CPU_LOONGSON64; in cpu_probe_loongson()
326 c->cputype = CPU_UNKNOWN; in cpu_probe()
344 BUG_ON(c->cputype == CPU_UNKNOWN); in cpu_probe()
/linux/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()
H A Dcpu-info.h69 unsigned int cputype; member
/linux/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()
/linux/arch/mips/include/asm/mach-cavium-octeon/
H A Dcpu-feature-overrides.h59 #define cpu_has_rixi (cpu_data[0].cputype != CPU_CAVIUM_OCTEON)
/linux/arch/mips/ath25/
H A Ddevices.h36 return (current_cpu_data.cputype == CPU_4KEC); in is_ar2315()
/linux/tools/perf/
H A Dbuiltin-list.c521 const char *cputype = NULL; in cmd_list()
537 OPT_STRING(0, "cputype", &cputype, "cpu type", in cmd_list()
556 set_option_flag(list_options, 0, "cputype", PARSE_OPT_HIDDEN); in cmd_list()
587 else if (cputype) { in cmd_list()
588 const struct perf_pmu *pmu = perf_pmus__pmu_for_pmu_filter(cputype); in cmd_list()
591 pr_err("ERROR: cputype is not supported!\n"); in cmd_list()
520 const char *cputype = NULL; cmd_list() local
H A Dcheck-headers.sh190 check arch/arm64/include/asm/cputype.h '-I "^#include [<\"]\(asm/\)*sysreg.h"'
/linux/arch/loongarch/include/asm/
H A Dcpu-info.h47 unsigned int cputype; member
/linux/arch/mips/bcm47xx/
H A Dprom.c101 if (c->cputype == CPU_74K && (mem == (128 << 20))) in prom_init_mem()
H A Dsetup.c159 if (c->cputype == CPU_74K) { in plat_mem_setup()
/linux/arch/m68k/kernel/
H A Dhead.S542 #define is_040_or_060(lab) btst &CPUTYPE_0460,%pc@(L(cputype)+3); jne lab
543 #define is_not_040_or_060(lab) btst &CPUTYPE_0460,%pc@(L(cputype)+3); jeq lab
544 #define is_040(lab) btst &CPUTYPE_040,%pc@(L(cputype)+3); jne lab
545 #define is_060(lab) btst &CPUTYPE_060,%pc@(L(cputype)+3); jne lab
546 #define is_not_060(lab) btst &CPUTYPE_060,%pc@(L(cputype)+3); jeq lab
547 #define is_020(lab) btst &CPUTYPE_020,%pc@(L(cputype)+3); jne lab
548 #define is_not_020(lab) btst &CPUTYPE_020,%pc@(L(cputype)+3); jeq lab
698 lea %pc@(L(cputype)),%a0
894 dputn %pc@(L(cputype))
3799 L(cputype):
/linux/arch/mips/include/asm/mach-loongson64/
H A Dboot_param.h63 u32 cputype; /* Loongson_3A/3B, etc. */ member
H A Dloongson.h29 enum loongson_cpu_type cputype; member
/linux/arch/mips/alchemy/common/
H A Dclock.c90 int cputype; member
1105 if (t->cputype == ctype) in alchemy_clk_init()
/linux/Documentation/arch/arm/
H A Dtcm.rst19 location and size of TCM memories. arch/arm/include/asm/cputype.h
/linux/arch/mips/cavium-octeon/
H A Dsetup.c745 if (current_cpu_data.cputype == CPU_CAVIUM_OCTEON3) { in prom_init()

12