/linux/arch/mips/kernel/ |
H A D | cpu-probe.c | 311 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 D | cpu-r3k-probe.c | 81 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 D | pm-cps.c | 248 switch (__get_cpu_type(cpu_info->cputype)) { in cps_gen_flush_fsb()
|
/linux/tools/perf/tests/shell/ |
H A D | stat_metrics_values.sh | 19 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 D | stat.sh | 142 # 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 D | bugs.c | 12 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 D | setup.c | 114 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 D | cpu-type.h | 191 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 D | cpu-info.h | 69 unsigned int cputype; member
|
/linux/arch/mips/loongson64/ |
H A D | env.c | 90 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 D | cpu-probe.c | 241 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 D | perf_metric_validation.py | 39 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 D | c-octeon.c | 176 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 D | cpu-feature-overrides.h | 59 #define cpu_has_rixi (cpu_data[0].cputype != CPU_CAVIUM_OCTEON)
|
/linux/arch/mips/ath25/ |
H A D | devices.h | 36 return (current_cpu_data.cputype == CPU_4KEC); in is_ar2315()
|
/linux/arch/loongarch/include/asm/ |
H A D | cpu-info.h | 47 unsigned int cputype; member
|
/linux/tools/perf/ |
H A D | builtin-list.c | 535 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 D | check-headers.sh | 187 check arch/arm64/include/asm/cputype.h '-I "^#include [<\"]\(asm/\)*sysreg.h"'
|
/linux/arch/mips/bcm47xx/ |
H A D | setup.c | 159 if (c->cputype == CPU_74K) { in plat_mem_setup()
|
/linux/arch/mips/include/asm/mach-loongson64/ |
H A D | loongson.h | 29 enum loongson_cpu_type cputype; member
|
/linux/arch/mips/alchemy/common/ |
H A D | clock.c | 90 int cputype; member 1105 if (t->cputype == ctype) in alchemy_clk_init()
|
/linux/Documentation/arch/arm/ |
H A D | tcm.rst | 19 location and size of TCM memories. arch/arm/include/asm/cputype.h
|
/linux/tools/perf/Documentation/ |
H A D | perf-stat.txt | 572 --cputype::
|
/linux/arch/powerpc/ |
H A D | Kconfig | 2 source "arch/powerpc/platforms/Kconfig.cputype"
|