Home
last modified time | relevance | path

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

/linux/arch/mips/kernel/
H A Dcpu-probe.c311 switch (c->cputype) { in set_ftlb_enable()
372 switch (c->cputype) { in mm_config()
1042 c->cputype = CPU_R2000; in cpu_probe_legacy()
1054 c->cputype = CPU_R3081E; in cpu_probe_legacy()
1057 c->cputype = CPU_R3000A; in cpu_probe_legacy()
1061 c->cputype = CPU_R3000; in cpu_probe_legacy()
1075 c->cputype = CPU_R4400PC; in cpu_probe_legacy()
1078 c->cputype = CPU_R4000PC; in cpu_probe_legacy()
1104 c->cputype = mc ? CPU_R4400MC : CPU_R4400SC; in cpu_probe_legacy()
1107 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()
/linux/tools/perf/tests/shell/
H A Dstat_metrics_values.sh19 for cputype in /sys/bus/event_source/devices/cpu_*; do
20 cputype=$(basename "$cputype")
21 echo "Testing metrics for: $cputype"
23 -cputype "${cputype}"
H A Dstat.sh183 if perf stat --cputype="123" -e instructions true > /dev/null 2>&1
214 if ! perf stat --cputype="$pmu" -e instructions true 2>&1 | grep -E -q "instructions"
/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()
/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/arch/mips/include/asm/
H A Dcpu-type.h190 const int cpu_type = current_cpu_data.cputype; in current_cpu_type()
197 const int cpu_type = cpu_data[0].cputype; in boot_cpu_type()
/linux/arch/loongarch/kernel/
H A Dcpu-probe.c289 c->cputype = CPU_LOONGSON32; in cpu_probe_loongson()
293 c->cputype = CPU_LOONGSON64; in cpu_probe_loongson()
372 c->cputype = CPU_UNKNOWN; in cpu_probe()
390 BUG_ON(c->cputype == CPU_UNKNOWN); in cpu_probe()
/linux/tools/perf/tests/shell/lib/
H A Dperf_metric_validation.py39 workload='true', metrics='', cputype='cpu'): argument
47 self.cputype = cputype
382 command = [tool, 'stat', '--cputype', self.cputype, '-j', '-M', f"{metric}", "-a"]
448 if 'Unit' in m and m['Unit'] != self.cputype:
595 metrics=args.m, cputype=args.cputype)
/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/arch/loongarch/include/asm/
H A Dcpu-info.h47 unsigned int cputype; member
/linux/tools/perf/
H A Dbuiltin-list.c561 const char *cputype = NULL; in cmd_list() local
577 OPT_STRING(0, "cputype", &cputype, "cpu type", in cmd_list()
628 else if (cputype) { in cmd_list()
629 const struct perf_pmu *pmu = perf_pmus__pmu_for_pmu_filter(cputype); in cmd_list()
H A Dcheck-headers.sh191 check arch/arm64/include/asm/cputype.h '-I "^#include [<\"]\(asm/\)*sysreg.h"'
/linux/arch/mips/bcm47xx/
H A Dprom.c101 if (c->cputype == CPU_74K && (mem == (128 << 20))) in prom_init_mem()
/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))
3800 L(cputype):
/linux/arch/mips/include/asm/mach-loongson64/
H A Dloongson.h29 enum loongson_cpu_type cputype; member
/linux/arch/mips/alchemy/common/
H A Dclock.c90 int cputype; member
1109 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()
/linux/tools/perf/Documentation/
H A Dperf-stat.txt572 --cputype::
/linux/arch/powerpc/
H A DKconfig2 source "arch/powerpc/platforms/Kconfig.cputype"