Home
last modified time | relevance | path

Searched refs:cputype (Results 1 – 24 of 24) 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 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.c248 switch (__get_cpu_type(cpu_info->cputype)) { in cps_gen_flush_fsb()
/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.sh142 # Test --cputype argument.
143 echo "cputype test"
146 if perf stat --cputype="123" -e instructions true > /dev/null 2>&1
148 echo "cputype test [Bogus PMU didn't fail]"
153 # Find a known PMU for cputype.
172 echo "cputype test [Skipped known PMU not found]"
176 # Test running with cputype produces output.
177 if ! perf stat --cputype="$pmu" -e instructions true 2>&1 | grep -E -q "instructions"
179 echo "cputype test [Failed count missed with given filter]"
183 echo "cputype tes
[all...]
/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.c114 int cputype; in plat_mem_setup() local
127 cputype = *(unsigned char *)SNI_IDPROM_CPUTYPE; in plat_mem_setup()
130 switch (cputype) { in plat_mem_setup()
149 switch (cputype) { in plat_mem_setup()
/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/loongson64/
H A Denv.c90 loongson_sysconf.cputype = ecpu->cputype; in prom_lefi_init_env()
91 switch (ecpu->cputype) { in prom_lefi_init_env()
/linux/arch/loongarch/kernel/
H A Dcpu-probe.c241 c->cputype = CPU_LOONGSON32; in cpu_probe_loongson()
245 c->cputype = CPU_LOONGSON64; in cpu_probe_loongson()
327 c->cputype = CPU_UNKNOWN; in cpu_probe()
345 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:
585 parser.add_argument("-cputype", help="Only test metrics for the given CPU/PMU type",
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.c535 const char *cputype = NULL; in cmd_list() local
551 OPT_STRING(0, "cputype", &cputype, "cpu type", in cmd_list()
570 set_option_flag(list_options, 0, "cputype", PARSE_OPT_HIDDEN); in cmd_list()
601 else if (cputype) { in cmd_list()
602 const struct perf_pmu *pmu = perf_pmus__pmu_for_pmu_filter(cputype); in cmd_list()
605 pr_err("ERROR: cputype is not supported!\n"); in cmd_list()
H A Dcheck-headers.sh187 check arch/arm64/include/asm/cputype.h '-I "^#include [<\"]\(asm/\)*sysreg.h"'
/linux/arch/mips/bcm47xx/
H A Dsetup.c159 if (c->cputype == CPU_74K) { in plat_mem_setup()
/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
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/tools/perf/Documentation/
H A Dperf-stat.txt572 --cputype::
/linux/arch/powerpc/
H A DKconfig2 source "arch/powerpc/platforms/Kconfig.cputype"