/kernel/linux/linux-5.10/arch/mips/kernel/ |
H A D | cpu-r3k-probe.c | 79 c->processor_id = PRID_IMP_UNKNOWN; in cpu_probe() 90 c->processor_id = read_c0_prid(); in cpu_probe() 91 switch (c->processor_id & (PRID_COMP_MASK | PRID_IMP_MASK)) { in cpu_probe() 102 if ((c->processor_id & PRID_REV_MASK) == PRID_REV_R3000A) { in cpu_probe() 123 if ((c->processor_id & 0xf0) == (PRID_REV_TX3927 & 0xf0)) { in cpu_probe() 128 switch (c->processor_id & PRID_REV_MASK) { in cpu_probe() 168 smp_processor_id(), c->processor_id, cpu_name_string()); in cpu_report()
|
H A D | cpu-probe.c | 160 if ((c->processor_id & PRID_REV_MASK) <= PRID_REV_34K_V1_0_2) in check_errata() 1038 switch (c->processor_id & PRID_IMP_MASK) { in cpu_probe_legacy() 1050 if ((c->processor_id & PRID_REV_MASK) == PRID_REV_R3000A) { in cpu_probe_legacy() 1071 if ((c->processor_id & PRID_REV_MASK) >= in cpu_probe_legacy() 1100 if ((c->processor_id & PRID_REV_MASK) >= in cpu_probe_legacy() 1122 switch (c->processor_id & 0xf0) { in cpu_probe_legacy() 1132 if ((c->processor_id & 0xf) < 0x3) { in cpu_probe_legacy() 1141 if ((c->processor_id & 0xf) < 0x4) { in cpu_probe_legacy() 1186 if ((c->processor_id & 0xf0) == (PRID_REV_TX3927 & 0xf0)) { in cpu_probe_legacy() 1191 switch (c->processor_id in cpu_probe_legacy() [all...] |
H A D | idle.c | 182 if ((c->processor_id & (PRID_IMP_MASK | PRID_REV_MASK)) >= in check_wait() 184 (c->processor_id & PRID_IMP_MASK) == PRID_IMP_LOONGSON_64R) in check_wait() 222 if ((c->processor_id & 0xff) >= PRID_REV_ENCODE_332(2, 1, 0)) in check_wait() 238 if ((c->processor_id & 0xff) <= 0x64) in check_wait()
|
/kernel/linux/linux-5.10/arch/mips/loongson2ef/common/ |
H A D | env.c | 27 unsigned int processor_id; in prom_init_env() local 39 processor_id = (¤t_cpu_data)->processor_id; in prom_init_env() 40 switch (processor_id & PRID_REV_MASK) { in prom_init_env()
|
H A D | platform.c | 21 if ((c->processor_id & PRID_REV_MASK) >= PRID_REV_LOONGSON2F) in loongson2_cpufreq_init()
|
/kernel/linux/linux-6.6/arch/mips/loongson2ef/common/ |
H A D | env.c | 27 unsigned int processor_id; in prom_init_env() local 39 processor_id = (¤t_cpu_data)->processor_id; in prom_init_env() 40 switch (processor_id & PRID_REV_MASK) { in prom_init_env()
|
H A D | platform.c | 21 if ((c->processor_id & PRID_REV_MASK) >= PRID_REV_LOONGSON2F) in loongson2_cpufreq_init()
|
/kernel/linux/linux-5.10/arch/mips/loongson32/common/ |
H A D | setup.c | 14 unsigned int processor_id = (¤t_cpu_data)->processor_id; in get_system_type() local 16 switch (processor_id & PRID_REV_MASK) { in get_system_type()
|
/kernel/linux/linux-6.6/arch/mips/loongson32/common/ |
H A D | setup.c | 14 unsigned int processor_id = (¤t_cpu_data)->processor_id; in get_system_type() local 16 switch (processor_id & PRID_REV_MASK) { in get_system_type()
|
/kernel/linux/linux-6.6/arch/mips/kernel/ |
H A D | cpu-r3k-probe.c | 80 c->processor_id = PRID_IMP_UNKNOWN; in cpu_probe() 91 c->processor_id = read_c0_prid(); in cpu_probe() 92 switch (c->processor_id & (PRID_COMP_MASK | PRID_IMP_MASK)) { in cpu_probe() 103 if ((c->processor_id & PRID_REV_MASK) == PRID_REV_R3000A) { in cpu_probe() 149 smp_processor_id(), c->processor_id, cpu_name_string()); in cpu_report()
|
H A D | idle.c | 171 if ((c->processor_id & (PRID_IMP_MASK | PRID_REV_MASK)) >= in check_wait() 173 (c->processor_id & PRID_IMP_MASK) == PRID_IMP_LOONGSON_64R) in check_wait() 211 if ((c->processor_id & 0xff) >= PRID_REV_ENCODE_332(2, 1, 0)) in check_wait() 227 if ((c->processor_id & 0xff) <= 0x64) in check_wait()
|
H A D | cpu-probe.c | 161 if ((c->processor_id & PRID_REV_MASK) <= PRID_REV_34K_V1_0_2) in check_errata() 1039 switch (c->processor_id & PRID_IMP_MASK) { in cpu_probe_legacy() 1051 if ((c->processor_id & PRID_REV_MASK) == PRID_REV_R3000A) { in cpu_probe_legacy() 1072 if ((c->processor_id & PRID_REV_MASK) >= in cpu_probe_legacy() 1101 if ((c->processor_id & PRID_REV_MASK) >= in cpu_probe_legacy() 1167 if (!(c->processor_id & 0x08)) in cpu_probe_legacy() 1233 if (((c->processor_id >> 4) & 0x0f) > 2) { in cpu_probe_legacy() 1249 switch (c->processor_id & PRID_REV_MASK) { in cpu_probe_legacy() 1295 switch (c->processor_id & PRID_REV_MASK) { in cpu_probe_legacy() 1308 switch (c->processor_id in cpu_probe_mips() [all...] |
/kernel/linux/linux-5.10/drivers/soc/fsl/qbman/ |
H A D | qman_test_stash.c | 64 * into 'hp_cpu_list'. Specifically, set processor_id, allocate HP_PER_CPU 156 unsigned int processor_id; member 161 unsigned int processor_id; member 321 hp_cpu->processor_id = smp_processor_id(); in create_per_cpu_handlers() 334 handler->processor_id = hp_cpu->processor_id; in create_per_cpu_handlers() 393 if (handler->processor_id != smp_processor_id()) { in init_handler() 503 if (hp_cpu->processor_id == smp_processor_id()) { in init_phase3() 508 smp_call_function_single(hp_cpu->processor_id, in init_phase3() 524 if (special_handler->processor_id ! in send_first_frame() [all...] |
/kernel/linux/linux-6.6/drivers/soc/fsl/qbman/ |
H A D | qman_test_stash.c | 64 * into 'hp_cpu_list'. Specifically, set processor_id, allocate HP_PER_CPU 156 unsigned int processor_id; member 161 unsigned int processor_id; member 323 hp_cpu->processor_id = smp_processor_id(); in create_per_cpu_handlers() 336 handler->processor_id = hp_cpu->processor_id; in create_per_cpu_handlers() 395 if (handler->processor_id != smp_processor_id()) { in init_handler() 505 if (hp_cpu->processor_id == smp_processor_id()) { in init_phase3() 510 smp_call_function_single(hp_cpu->processor_id, in init_phase3() 526 if (special_handler->processor_id ! in send_first_frame() [all...] |
/kernel/linux/linux-5.10/arch/mips/vr41xx/common/ |
H A D | init.c | 33 if (current_cpu_data.processor_id == PRID_VR4131_REV2_0 || in plat_time_init() 34 current_cpu_data.processor_id == PRID_VR4131_REV2_1) in plat_time_init()
|
/kernel/linux/linux-5.10/arch/mips/netlogic/xlr/ |
H A D | fmn-config.c | 188 int processor_id, num_core; in xlr_board_info_setup() local 191 processor_id = read_c0_prid() & PRID_IMP_MASK; in xlr_board_info_setup() 194 switch (processor_id) { in xlr_board_info_setup() 283 pr_err("Unknown CPU with processor ID [%d]\n", processor_id); in xlr_board_info_setup()
|
/kernel/linux/linux-5.10/drivers/firmware/ |
H A D | ti_sci.h | 1293 * @processor_id: ID of processor being requested 1300 u8 processor_id; member 1306 * @processor_id: ID of processor being released 1313 u8 processor_id; member 1319 * @processor_id: ID of processor being handed over 1327 u8 processor_id; member 1339 * @processor_id: ID of processor being configured 1354 u8 processor_id; member 1364 * @processor_id: ID of processor being configured 1377 u8 processor_id; member 1392 u8 processor_id; global() member 1409 u8 processor_id; global() member [all...] |
/kernel/linux/linux-6.6/drivers/firmware/ |
H A D | ti_sci.h | 1273 * @processor_id: ID of processor being requested 1280 u8 processor_id; member 1286 * @processor_id: ID of processor being released 1293 u8 processor_id; member 1299 * @processor_id: ID of processor being handed over 1307 u8 processor_id; member 1319 * @processor_id: ID of processor being configured 1334 u8 processor_id; member 1344 * @processor_id: ID of processor being configured 1357 u8 processor_id; member 1372 u8 processor_id; global() member 1389 u8 processor_id; global() member [all...] |
/kernel/linux/linux-5.10/arch/mips/loongson64/ |
H A D | cpucfg-emul.c | 14 switch (c->processor_id & PRID_COMP_MASK) { in is_loongson() 16 return ((c->processor_id & PRID_IMP_MASK) == in is_loongson() 139 switch (c->processor_id & (PRID_IMP_MASK | PRID_REV_MASK)) { in loongson3_cpucfg_synthesize_data()
|
/kernel/linux/linux-6.6/arch/mips/loongson64/ |
H A D | cpucfg-emul.c | 14 switch (c->processor_id & PRID_COMP_MASK) { in is_loongson() 16 return ((c->processor_id & PRID_IMP_MASK) == in is_loongson() 139 switch (c->processor_id & (PRID_IMP_MASK | PRID_REV_MASK)) { in loongson3_cpucfg_synthesize_data()
|
/kernel/linux/linux-5.10/arch/loongarch/kernel/ |
H A D | cpu-probe.c | 283 switch (c->processor_id & PRID_SERIES_MASK) { in cpu_probe_loongson() 337 smp_processor_id(), c->processor_id, cpu_family_string()); in cpu_report() 354 c->processor_id = read_cpucfg(LOONGARCH_CPUCFG0); in cpu_probe() 364 switch (c->processor_id & PRID_COMP_MASK) { in cpu_probe()
|
/kernel/linux/linux-6.6/arch/loongarch/kernel/ |
H A D | cpu-probe.c | 231 switch (c->processor_id & PRID_SERIES_MASK) { in cpu_probe_loongson() 285 smp_processor_id(), c->processor_id, cpu_family_string()); in cpu_report() 302 c->processor_id = read_cpucfg(LOONGARCH_CPUCFG0); in cpu_probe() 312 switch (c->processor_id & PRID_COMP_MASK) { in cpu_probe()
|
/kernel/linux/linux-5.10/arch/arm/mm/ |
H A D | cache-tauros2.c | 157 return !!((processor_id & 0x000f0000) == 0x000f0000); in cpuid_scheme() 215 if ((processor_id & 0xff0f0000) == 0x56050000) { in tauros2_internal_init()
|
/kernel/linux/linux-6.6/arch/arm/mm/ |
H A D | cache-tauros2.c | 154 return !!((processor_id & 0x000f0000) == 0x000f0000); in cpuid_scheme() 212 if ((processor_id & 0xff0f0000) == 0x56050000) { in tauros2_internal_init()
|
/kernel/linux/linux-5.10/arch/arm/include/asm/ |
H A D | cputype.h | 113 extern unsigned int processor_id; 178 * rather than directly reading processor_id or read_cpuid() directly. 216 return processor_id; in read_cpuid_id()
|