Home
last modified time | relevance | path

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

12

/Linux-v5.15/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()
/Linux-v5.15/arch/mips/include/asm/
Dtimex.h74 if (can_use_mips_counter(read_c0_prid())) in get_cycles()
89 unsigned int prid = read_c0_prid(); in random_get_entropy()
/Linux-v5.15/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()
/Linux-v5.15/arch/mips/loongson64/
Denv.c190 if ((read_c0_prid() & PRID_IMP_MASK) == PRID_IMP_LOONGSON_64C) { in prom_lefi_init_env()
191 switch (read_c0_prid() & PRID_REV_MASK) { in prom_lefi_init_env()
216 } else if ((read_c0_prid() & PRID_IMP_MASK) == PRID_IMP_LOONGSON_64G) { in prom_lefi_init_env()
Dsmp.c793 prid_imp = read_c0_prid() & PRID_IMP_MASK; in play_dead()
794 prid_rev = read_c0_prid() & PRID_REV_MASK; in play_dead()
833 if ((read_c0_prid() & PRID_REV_MASK) == PRID_REV_LOONGSON3A_R1) { in loongson3_disable_clock()
847 if ((read_c0_prid() & PRID_REV_MASK) == PRID_REV_LOONGSON3A_R1) { in loongson3_enable_clock()
Dinit.c123 if ((read_c0_prid() & PRID_IMP_MASK) == PRID_IMP_LOONGSON_64R) in prom_init()
/Linux-v5.15/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()
/Linux-v5.15/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()
/Linux-v5.15/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()
/Linux-v5.15/arch/mips/alchemy/common/
Dsetup.c49 if ((read_c0_prid() & PRID_REV_MASK) == 0) in alchemy_dma_coherent()
/Linux-v5.15/arch/mips/sibyte/bcm1480/
Dsetup.c111 sb1_pass = read_c0_prid() & PRID_REV_MASK; in bcm1480_setup()
/Linux-v5.15/arch/mips/sibyte/sb1250/
Dsetup.c174 sb1_pass = read_c0_prid() & PRID_REV_MASK; in sb1250_setup()
/Linux-v5.15/arch/mips/kernel/
Dcpu-r3k-probe.c91 c->processor_id = read_c0_prid(); in cpu_probe()
/Linux-v5.15/arch/mips/sni/
Dsetup.c177 switch (read_c0_prid() & PRID_IMP_MASK) { in plat_mem_setup()
/Linux-v5.15/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()
/Linux-v5.15/arch/mips/mti-malta/
Dmalta-time.c223 unsigned int prid = read_c0_prid() & (PRID_COMP_MASK | PRID_IMP_MASK); in plat_time_init()
/Linux-v5.15/drivers/platform/mips/
Dcpu_hwmon.c32 prid_rev = read_c0_prid() & PRID_REV_MASK; in loongson3_cpu_temp()
/Linux-v5.15/arch/mips/include/asm/mach-loongson64/
Dloongson_regs.h16 return ((read_c0_prid() & PRID_IMP_MASK) == PRID_IMP_LOONGSON_64G); in cpu_has_cfg()
/Linux-v5.15/arch/mips/sgi-ip27/
Dip27-nmi.c124 pr_emerg("PrId : %08x\n", read_c0_prid()); in nmi_cpu_eframe_save()
/Linux-v5.15/arch/mips/netlogic/xlr/
Dfmn-config.c194 processor_id = read_c0_prid() & PRID_IMP_MASK; in xlr_board_info_setup()
/Linux-v5.15/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()
1752 switch (read_c0_prid()) { in au1x00_fixup_config_od()

12