/kernel/linux/linux-6.6/arch/mips/include/asm/mach-loongson64/ |
H A D | kernel-entry-init.h | 29 andi t1, t0, PRID_IMP_MASK 34 andi t0, (PRID_IMP_MASK | PRID_REV_MASK) 60 andi t1, t0, PRID_IMP_MASK 65 andi t0, (PRID_IMP_MASK | PRID_REV_MASK) 88 andi s0, s0, (PRID_IMP_MASK | PRID_REV_MASK)
|
/kernel/linux/linux-5.10/arch/mips/include/asm/mach-loongson64/ |
H A D | kernel-entry-init.h | 33 andi t1, t0, PRID_IMP_MASK 38 andi t0, (PRID_IMP_MASK | PRID_REV_MASK) 68 andi t1, t0, PRID_IMP_MASK 73 andi t0, (PRID_IMP_MASK | PRID_REV_MASK)
|
H A D | loongson_regs.h | 16 return ((read_c0_prid() & PRID_IMP_MASK) == PRID_IMP_LOONGSON_64G); in cpu_has_cfg()
|
/kernel/linux/linux-5.10/arch/mips/include/asm/netlogic/xlp-hal/ |
H A D | xlp.h | 104 int chip = read_c0_prid() & PRID_IMP_MASK; in cpu_is_xlpii() 113 int chip = read_c0_prid() & PRID_IMP_MASK; in cpu_is_xlp9xx()
|
/kernel/linux/linux-5.10/arch/mips/kernel/ |
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()
|
H A D | cpu-probe.c | 1038 switch (c->processor_id & PRID_IMP_MASK) { in cpu_probe_legacy() 1361 switch (c->processor_id & PRID_IMP_MASK) { in cpu_probe_mips() 1528 switch (c->processor_id & PRID_IMP_MASK) { in cpu_probe_alchemy() 1566 switch (c->processor_id & PRID_IMP_MASK) { in cpu_probe_sibyte() 1584 switch (c->processor_id & PRID_IMP_MASK) { in cpu_probe_sandcraft() 1597 switch (c->processor_id & PRID_IMP_MASK) { in cpu_probe_nxp() 1609 switch (c->processor_id & PRID_IMP_MASK) { in cpu_probe_broadcom() 1642 if ((c->processor_id & PRID_IMP_MASK) == PRID_IMP_BMIPS5200) in cpu_probe_broadcom() 1655 switch (c->processor_id & PRID_IMP_MASK) { in cpu_probe_cavium() 1730 switch (c->processor_id & PRID_IMP_MASK) { in cpu_probe_loongson() [all...] |
H A D | cpu-r3k-probe.c | 91 switch (c->processor_id & (PRID_COMP_MASK | PRID_IMP_MASK)) { in cpu_probe()
|
/kernel/linux/linux-5.10/arch/mips/netlogic/xlp/ |
H A D | wakeup.c | 138 switch (read_c0_prid() & PRID_IMP_MASK) { in xlp_enable_secondary_cores() 150 switch (read_c0_prid() & PRID_IMP_MASK) { in xlp_enable_secondary_cores()
|
H A D | dt.c | 51 switch (current_cpu_data.processor_id & PRID_IMP_MASK) { in xlp_dt_init()
|
H A D | setup.c | 123 switch (read_c0_prid() & PRID_IMP_MASK) { in get_system_type()
|
/kernel/linux/linux-5.10/arch/mips/include/asm/netlogic/ |
H A D | mips-extns.h | 149 uint32_t prid = read_c0_prid() & PRID_IMP_MASK; in nlm_nodeid() 160 uint32_t prid = read_c0_prid() & PRID_IMP_MASK; in nlm_core_id()
|
H A D | common.h | 116 return ((read_c0_prid() & PRID_IMP_MASK) in nlm_cores_per_node()
|
/kernel/linux/linux-6.6/arch/mips/kernel/ |
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()
|
H A D | cpu-probe.c | 1039 switch (c->processor_id & PRID_IMP_MASK) { in cpu_probe_legacy() 1308 switch (c->processor_id & PRID_IMP_MASK) { in cpu_probe_mips() 1475 switch (c->processor_id & PRID_IMP_MASK) { in cpu_probe_alchemy() 1517 switch (c->processor_id & PRID_IMP_MASK) { in cpu_probe_sibyte() 1535 switch (c->processor_id & PRID_IMP_MASK) { in cpu_probe_sandcraft() 1548 switch (c->processor_id & PRID_IMP_MASK) { in cpu_probe_nxp() 1560 switch (c->processor_id & PRID_IMP_MASK) { in cpu_probe_broadcom() 1595 if ((c->processor_id & PRID_IMP_MASK) == PRID_IMP_BMIPS5200) in cpu_probe_broadcom() 1611 switch (c->processor_id & PRID_IMP_MASK) { in cpu_probe_cavium() 1686 switch (c->processor_id & PRID_IMP_MASK) { in cpu_probe_loongson() [all...] |
H A D | cpu-r3k-probe.c | 92 switch (c->processor_id & (PRID_COMP_MASK | PRID_IMP_MASK)) { in cpu_probe()
|
/kernel/linux/linux-5.10/arch/mips/loongson64/ |
H A D | cpucfg-emul.c | 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()
|
H A D | env.c | 190 if ((read_c0_prid() & PRID_IMP_MASK) == PRID_IMP_LOONGSON_64C) { in prom_init_env() 216 } else if ((read_c0_prid() & PRID_IMP_MASK) == PRID_IMP_LOONGSON_64G) { in prom_init_env()
|
/kernel/linux/linux-6.6/arch/mips/loongson64/ |
H A D | cpucfg-emul.c | 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()
|
H A D | env.c | 198 if ((read_c0_prid() & PRID_IMP_MASK) == PRID_IMP_LOONGSON_64C) { in prom_lefi_init_env() 224 } else if ((read_c0_prid() & PRID_IMP_MASK) == PRID_IMP_LOONGSON_64G) { in prom_lefi_init_env()
|
/kernel/linux/linux-5.10/arch/mips/netlogic/common/ |
H A D | reset.S | 95 andi t0, t0, PRID_IMP_MASK 174 andi t0, PRID_IMP_MASK
|
/kernel/linux/linux-5.10/arch/mips/sni/ |
H A D | setup.c | 177 switch (read_c0_prid() & PRID_IMP_MASK) { in plat_mem_setup()
|
/kernel/linux/linux-6.6/arch/mips/sni/ |
H A D | setup.c | 177 switch (read_c0_prid() & PRID_IMP_MASK) { in plat_mem_setup()
|
/kernel/linux/linux-5.10/arch/mips/mm/ |
H A D | c-r4k.c | 1054 unsigned int imp = c->processor_id & PRID_IMP_MASK; in alias_74k_erratum() 1301 if ((c->processor_id & (PRID_IMP_MASK | PRID_REV_MASK)) >= in probe_pcache() 1303 (c->processor_id & PRID_IMP_MASK) == PRID_IMP_LOONGSON_64R) in probe_pcache() 1384 if ((prid & PRID_IMP_MASK) == PRID_IMP_R4000 && in probe_pcache() 1631 if ((c->processor_id & PRID_IMP_MASK) == PRID_IMP_LOONGSON_64R) in loongson3_sc_init()
|
/kernel/linux/linux-6.6/arch/mips/mm/ |
H A D | c-r4k.c | 943 unsigned int imp = c->processor_id & PRID_IMP_MASK; in alias_74k_erratum() 1147 if ((c->processor_id & (PRID_IMP_MASK | PRID_REV_MASK)) >= in probe_pcache() 1149 (c->processor_id & PRID_IMP_MASK) == PRID_IMP_LOONGSON_64R) in probe_pcache() 1230 if ((prid & PRID_IMP_MASK) == PRID_IMP_R4000 && in probe_pcache() 1472 if ((c->processor_id & PRID_IMP_MASK) == PRID_IMP_LOONGSON_64R) in loongson3_sc_init()
|
/kernel/linux/linux-5.10/arch/mips/mti-malta/ |
H A D | malta-time.c | 228 unsigned int prid = read_c0_prid() & (PRID_COMP_MASK | PRID_IMP_MASK); in plat_time_init()
|