Home
last modified time | relevance | path

Searched refs:PRID_IMP_MASK (Results 1 - 25 of 39) sorted by relevance

12

/kernel/linux/linux-6.6/arch/mips/include/asm/mach-loongson64/
H A Dkernel-entry-init.h29 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 Dkernel-entry-init.h33 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 Dloongson_regs.h16 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 Dxlp.h104 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 Didle.c182 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 Dcpu-probe.c1038 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 Dcpu-r3k-probe.c91 switch (c->processor_id & (PRID_COMP_MASK | PRID_IMP_MASK)) { in cpu_probe()
/kernel/linux/linux-5.10/arch/mips/netlogic/xlp/
H A Dwakeup.c138 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 Ddt.c51 switch (current_cpu_data.processor_id & PRID_IMP_MASK) { in xlp_dt_init()
H A Dsetup.c123 switch (read_c0_prid() & PRID_IMP_MASK) { in get_system_type()
/kernel/linux/linux-5.10/arch/mips/include/asm/netlogic/
H A Dmips-extns.h149 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 Dcommon.h116 return ((read_c0_prid() & PRID_IMP_MASK) in nlm_cores_per_node()
/kernel/linux/linux-6.6/arch/mips/kernel/
H A Didle.c171 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 Dcpu-probe.c1039 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 Dcpu-r3k-probe.c92 switch (c->processor_id & (PRID_COMP_MASK | PRID_IMP_MASK)) { in cpu_probe()
/kernel/linux/linux-5.10/arch/mips/loongson64/
H A Dcpucfg-emul.c16 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 Denv.c190 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 Dcpucfg-emul.c16 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 Denv.c198 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 Dreset.S95 andi t0, t0, PRID_IMP_MASK
174 andi t0, PRID_IMP_MASK
/kernel/linux/linux-5.10/arch/mips/sni/
H A Dsetup.c177 switch (read_c0_prid() & PRID_IMP_MASK) { in plat_mem_setup()
/kernel/linux/linux-6.6/arch/mips/sni/
H A Dsetup.c177 switch (read_c0_prid() & PRID_IMP_MASK) { in plat_mem_setup()
/kernel/linux/linux-5.10/arch/mips/mm/
H A Dc-r4k.c1054 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 Dc-r4k.c943 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 Dmalta-time.c228 unsigned int prid = read_c0_prid() & (PRID_COMP_MASK | PRID_IMP_MASK); in plat_time_init()

Completed in 14 milliseconds

12