Home
last modified time | relevance | path

Searched refs:PRID_IMP_MASK (Results 1 – 16 of 16) sorted by relevance

/linux/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)
H A Dloongson_regs.h16 return ((read_c0_prid() & PRID_IMP_MASK) == PRID_IMP_LOONGSON_64G); in cpu_has_cfg()
/linux/arch/mips/loongson64/
H A Denv.c205 if ((read_c0_prid() & PRID_IMP_MASK) == PRID_IMP_LOONGSON_64C) { in prom_lefi_init_env()
231 } else if ((read_c0_prid() & PRID_IMP_MASK) == PRID_IMP_LOONGSON_64R) { in prom_lefi_init_env()
233 } else if ((read_c0_prid() & PRID_IMP_MASK) == PRID_IMP_LOONGSON_64G) { in prom_lefi_init_env()
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 Dinit.c143 if ((read_c0_prid() & PRID_IMP_MASK) == PRID_IMP_LOONGSON_64R) in prom_init()
H A Dsmp.c762 prid_imp = read_c0_prid() & PRID_IMP_MASK; in play_dead()
/linux/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.c1038 switch (c->processor_id & PRID_IMP_MASK) { in cpu_probe_legacy()
1307 switch (c->processor_id & PRID_IMP_MASK) { in cpu_probe_mips()
1474 switch (c->processor_id & PRID_IMP_MASK) { in cpu_probe_alchemy()
1516 switch (c->processor_id & PRID_IMP_MASK) { in cpu_probe_sibyte()
1534 switch (c->processor_id & PRID_IMP_MASK) { in cpu_probe_sandcraft()
1547 switch (c->processor_id & PRID_IMP_MASK) { in cpu_probe_nxp()
1559 switch (c->processor_id & PRID_IMP_MASK) { in cpu_probe_broadcom()
1594 if ((c->processor_id & PRID_IMP_MASK) == PRID_IMP_BMIPS5200) in cpu_probe_broadcom()
1610 switch (c->processor_id & PRID_IMP_MASK) { in cpu_probe_cavium()
1685 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()
H A Dperf_event_mipsxx.c176 if ((boot_cpu_data.processor_id & PRID_IMP_MASK) == PRID_IMP_LOONGSON_64C) in get_loongson3_pmu_type()
178 if ((boot_cpu_data.processor_id & PRID_IMP_MASK) == PRID_IMP_LOONGSON_64G) in get_loongson3_pmu_type()
/linux/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()
/linux/arch/mips/sni/
H A Dsetup.c179 switch (read_c0_prid() & PRID_IMP_MASK) { in plat_mem_setup()
/linux/arch/mips/mti-malta/
H A Dmalta-time.c225 unsigned int prid = read_c0_prid() & (PRID_COMP_MASK | PRID_IMP_MASK); in plat_time_init()
/linux/arch/mips/bcm63xx/
H A Dcpu.c305 if ((read_c0_prid() & PRID_IMP_MASK) != PRID_IMP_BMIPS3300_ALT) in bcm63xx_cpu_init()
/linux/arch/mips/include/asm/
H A Dcpu.h60 #define PRID_IMP_MASK 0xff00 macro
/linux/arch/mips/fw/cfe/
H A Dcfe_api.c443 switch (prid & PRID_IMP_MASK) { in cfe_die()