Home
last modified time | relevance | path

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

/linux-6.1.9/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()
Dmipsregs.h1749 #define read_c0_prid() __read_const_32bit_c0_register($15, 0) macro
/linux-6.1.9/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.c792 prid_imp = read_c0_prid() & PRID_IMP_MASK; in play_dead()
793 prid_rev = read_c0_prid() & PRID_REV_MASK; in play_dead()
832 if ((read_c0_prid() & PRID_REV_MASK) == PRID_REV_LOONGSON3A_R1) { in loongson3_disable_clock()
846 if ((read_c0_prid() & PRID_REV_MASK) == PRID_REV_LOONGSON3A_R1) { in loongson3_enable_clock()
Dinit.c125 if ((read_c0_prid() & PRID_IMP_MASK) == PRID_IMP_LOONGSON_64R) in prom_init()
/linux-6.1.9/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-6.1.9/arch/mips/alchemy/common/ !
Dsetup.c49 if ((read_c0_prid() & PRID_REV_MASK) == 0) in alchemy_dma_coherent()
/linux-6.1.9/arch/mips/sibyte/bcm1480/ !
Dsetup.c109 sb1_pass = read_c0_prid() & PRID_REV_MASK; in bcm1480_setup()
/linux-6.1.9/arch/mips/kernel/ !
Dcpu-r3k-probe.c91 c->processor_id = read_c0_prid(); in cpu_probe()
Dsmp-bmips.c620 switch (read_c0_prid()) { in bmips_cpu_setup()
Dcpu-probe.c1855 c->processor_id = read_c0_prid(); in cpu_probe()
Dtraps.c357 printk("PrId : %08x (%s)\n", read_c0_prid(), in __show_regs()
/linux-6.1.9/arch/mips/sibyte/sb1250/ !
Dsetup.c174 sb1_pass = read_c0_prid() & PRID_REV_MASK; in sb1250_setup()
/linux-6.1.9/arch/mips/sni/ !
Dsetup.c177 switch (read_c0_prid() & PRID_IMP_MASK) { in plat_mem_setup()
/linux-6.1.9/drivers/platform/mips/ !
Dcpu_hwmon.c32 prid_rev = read_c0_prid() & PRID_REV_MASK; in loongson3_cpu_temp()
/linux-6.1.9/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-6.1.9/arch/mips/mti-malta/ !
Dmalta-time.c225 unsigned int prid = read_c0_prid() & (PRID_COMP_MASK | PRID_IMP_MASK); in plat_time_init()
/linux-6.1.9/arch/mips/sgi-ip27/ !
Dip27-nmi.c124 pr_emerg("PrId : %08x\n", read_c0_prid()); in nmi_cpu_eframe_save()
/linux-6.1.9/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-6.1.9/arch/mips/mm/ !
Dpage.c69 #define cpu_is_r4600_v1_x() ((read_c0_prid() & 0xfffffff0) == 0x00002010)
70 #define cpu_is_r4600_v2_x() ((read_c0_prid() & 0xfffffff0) == 0x00002020)
Dc-r4k.c127 #define cpu_is_r4600_v1_x() ((read_c0_prid() & 0xfffffff0) == 0x00002010)
128 #define cpu_is_r4600_v2_x() ((read_c0_prid() & 0xfffffff0) == 0x00002020)
1108 unsigned int prid = read_c0_prid(); in probe_pcache()
1705 switch (read_c0_prid()) { in au1x00_fixup_config_od()
Dcerr-sb1.c177 (read_c0_prid() >> 25) & 0x7); in sb1_cache_error()
/linux-6.1.9/arch/mips/fw/cfe/ !
Dcfe_api.c436 prid = read_c0_prid(); in cfe_die()
/linux-6.1.9/arch/mips/pci/ !
Dpci-alchemy.c433 read_c0_prid() < 0x01030202 && !dma_default_coherent) { in alchemy_pci_probe()
/linux-6.1.9/arch/mips/cavium-octeon/ !
Dsetup.c510 board_type, octeon_model_get_string(read_c0_prid())); in init_octeon_system_type()