Home
last modified time | relevance | path

Searched refs:read_c0_prid (Results 1 – 25 of 32) sorted by relevance

12

/kernel/linux/linux-5.10/arch/mips/include/asm/netlogic/xlr/
Dxlr.h44 uint32_t prid = read_c0_prid(); in nlm_chip_is_xls_b()
53 uint32_t prid = read_c0_prid(); in nlm_chip_is_xls()
/kernel/linux/linux-5.10/arch/mips/include/asm/
Dtimex.h74 if (can_use_mips_counter(read_c0_prid())) in get_cycles()
89 if (can_use_mips_counter(read_c0_prid())) in random_get_entropy()
/kernel/linux/linux-5.10/arch/mips/include/asm/netlogic/xlp-hal/
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/loongson64/
Denv.c190 if ((read_c0_prid() & PRID_IMP_MASK) == PRID_IMP_LOONGSON_64C) { in prom_init_env()
191 switch (read_c0_prid() & PRID_REV_MASK) { in prom_init_env()
216 } else if ((read_c0_prid() & PRID_IMP_MASK) == PRID_IMP_LOONGSON_64G) { in prom_init_env()
Dsmp.c717 prid_imp = read_c0_prid() & PRID_IMP_MASK; in play_dead()
718 prid_rev = read_c0_prid() & PRID_REV_MASK; in play_dead()
757 if ((read_c0_prid() & PRID_REV_MASK) == PRID_REV_LOONGSON3A_R1) { in loongson3_disable_clock()
771 if ((read_c0_prid() & PRID_REV_MASK) == PRID_REV_LOONGSON3A_R1) { in loongson3_enable_clock()
/kernel/linux/linux-5.10/arch/mips/include/asm/netlogic/
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()
Dcommon.h116 return ((read_c0_prid() & PRID_IMP_MASK) in nlm_cores_per_node()
/kernel/linux/linux-5.10/arch/mips/netlogic/xlp/
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()
Dsetup.c123 switch (read_c0_prid() & PRID_IMP_MASK) { in get_system_type()
Dahci-init.c154 int chip = read_c0_prid() & PRID_IMP_MASK; in nlm_ahci_init()
/kernel/linux/linux-5.10/arch/mips/bcm63xx/
Dcpu.c305 if ((read_c0_prid() & PRID_IMP_MASK) != PRID_IMP_BMIPS3300_ALT) in bcm63xx_cpu_init()
312 switch ((read_c0_prid() & PRID_REV_MASK)) { in bcm63xx_cpu_init()
/kernel/linux/linux-5.10/arch/mips/alchemy/common/
Dsetup.c61 if (0 == (read_c0_prid() & PRID_REV_MASK)) in plat_mem_setup()
/kernel/linux/linux-5.10/arch/mips/sibyte/bcm1480/
Dsetup.c111 sb1_pass = read_c0_prid() & PRID_REV_MASK; in bcm1480_setup()
/kernel/linux/linux-5.10/arch/mips/sibyte/sb1250/
Dsetup.c174 sb1_pass = read_c0_prid() & PRID_REV_MASK; in sb1250_setup()
/kernel/linux/linux-5.10/arch/mips/kernel/
Dcpu-r3k-probe.c90 c->processor_id = read_c0_prid(); in cpu_probe()
Dsmp-bmips.c615 switch (read_c0_prid()) { in bmips_cpu_setup()
/kernel/linux/linux-5.10/arch/mips/sni/
Dsetup.c177 switch (read_c0_prid() & PRID_IMP_MASK) { in plat_mem_setup()
/kernel/linux/linux-5.10/drivers/platform/mips/
Dcpu_hwmon.c32 prid_rev = read_c0_prid() & PRID_REV_MASK; in loongson3_cpu_temp()
/kernel/linux/linux-5.10/arch/mips/include/asm/mach-au1x00/
Dau1000.h635 switch (read_c0_prid()) { in au1xxx_cpu_has_pll_wo()
652 switch (read_c0_prid()) { in au1xxx_cpu_needs_config_od()
681 switch (read_c0_prid() & (PRID_OPT_MASK | PRID_COMP_MASK)) { in alchemy_get_cputype()
/kernel/linux/linux-5.10/arch/mips/mti-malta/
Dmalta-time.c228 unsigned int prid = read_c0_prid() & (PRID_COMP_MASK | PRID_IMP_MASK); in plat_time_init()
/kernel/linux/linux-5.10/arch/mips/include/asm/mach-loongson64/
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/sgi-ip27/
Dip27-nmi.c124 pr_emerg("PrId : %08x\n", read_c0_prid()); in nmi_cpu_eframe_save()
/kernel/linux/linux-5.10/arch/mips/netlogic/xlr/
Dfmn-config.c191 processor_id = read_c0_prid() & PRID_IMP_MASK; in xlr_board_info_setup()
/kernel/linux/linux-5.10/arch/mips/mm/
Dpage.c70 #define cpu_is_r4600_v1_x() ((read_c0_prid() & 0xfffffff0) == 0x00002010)
71 #define cpu_is_r4600_v2_x() ((read_c0_prid() & 0xfffffff0) == 0x00002020)
Dc-r4k.c128 #define cpu_is_r4600_v1_x() ((read_c0_prid() & 0xfffffff0) == 0x00002010)
129 #define cpu_is_r4600_v2_x() ((read_c0_prid() & 0xfffffff0) == 0x00002020)
1109 unsigned int prid = read_c0_prid(); in probe_pcache()
1753 switch (read_c0_prid()) { in au1x00_fixup_config_od()

12