Searched refs:read_c0_prid (Results 1 – 25 of 25) sorted by relevance
74 if (can_use_mips_counter(read_c0_prid())) in get_cycles()89 if (can_use_mips_counter(read_c0_prid())) in random_get_entropy()
1749 #define read_c0_prid() __read_const_32bit_c0_register($15, 0) macro
190 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()
792 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()
125 if ((read_c0_prid() & PRID_IMP_MASK) == PRID_IMP_LOONGSON_64R) in prom_init()
305 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()
49 if ((read_c0_prid() & PRID_REV_MASK) == 0) in alchemy_dma_coherent()
109 sb1_pass = read_c0_prid() & PRID_REV_MASK; in bcm1480_setup()
91 c->processor_id = read_c0_prid(); in cpu_probe()
620 switch (read_c0_prid()) { in bmips_cpu_setup()
1855 c->processor_id = read_c0_prid(); in cpu_probe()
357 printk("PrId : %08x (%s)\n", read_c0_prid(), in __show_regs()
174 sb1_pass = read_c0_prid() & PRID_REV_MASK; in sb1250_setup()
177 switch (read_c0_prid() & PRID_IMP_MASK) { in plat_mem_setup()
32 prid_rev = read_c0_prid() & PRID_REV_MASK; in loongson3_cpu_temp()
635 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()
225 unsigned int prid = read_c0_prid() & (PRID_COMP_MASK | PRID_IMP_MASK); in plat_time_init()
124 pr_emerg("PrId : %08x\n", read_c0_prid()); in nmi_cpu_eframe_save()
16 return ((read_c0_prid() & PRID_IMP_MASK) == PRID_IMP_LOONGSON_64G); in cpu_has_cfg()
69 #define cpu_is_r4600_v1_x() ((read_c0_prid() & 0xfffffff0) == 0x00002010)70 #define cpu_is_r4600_v2_x() ((read_c0_prid() & 0xfffffff0) == 0x00002020)
127 #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()
177 (read_c0_prid() >> 25) & 0x7); in sb1_cache_error()
436 prid = read_c0_prid(); in cfe_die()
433 read_c0_prid() < 0x01030202 && !dma_default_coherent) { in alchemy_pci_probe()
510 board_type, octeon_model_get_string(read_c0_prid())); in init_octeon_system_type()