Searched refs:read_c0_prid (Results 1 – 25 of 33) sorted by relevance
12
44 uint32_t prid = read_c0_prid(); in nlm_chip_is_xls_b()53 uint32_t prid = read_c0_prid(); in nlm_chip_is_xls()
74 if (can_use_mips_counter(read_c0_prid())) in get_cycles()89 unsigned int prid = read_c0_prid(); in random_get_entropy()
104 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()
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()
793 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()
123 if ((read_c0_prid() & PRID_IMP_MASK) == PRID_IMP_LOONGSON_64R) in prom_init()
149 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()
116 return ((read_c0_prid() & PRID_IMP_MASK) in nlm_cores_per_node()
138 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()
123 switch (read_c0_prid() & PRID_IMP_MASK) { in get_system_type()
154 int chip = read_c0_prid() & PRID_IMP_MASK; in nlm_ahci_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()
111 sb1_pass = read_c0_prid() & PRID_REV_MASK; in bcm1480_setup()
174 sb1_pass = read_c0_prid() & PRID_REV_MASK; in sb1250_setup()
91 c->processor_id = read_c0_prid(); in cpu_probe()
177 switch (read_c0_prid() & PRID_IMP_MASK) { in plat_mem_setup()
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()
223 unsigned int prid = read_c0_prid() & (PRID_COMP_MASK | PRID_IMP_MASK); in plat_time_init()
32 prid_rev = read_c0_prid() & PRID_REV_MASK; in loongson3_cpu_temp()
16 return ((read_c0_prid() & PRID_IMP_MASK) == PRID_IMP_LOONGSON_64G); in cpu_has_cfg()
124 pr_emerg("PrId : %08x\n", read_c0_prid()); in nmi_cpu_eframe_save()
194 processor_id = read_c0_prid() & PRID_IMP_MASK; in xlr_board_info_setup()
70 #define cpu_is_r4600_v1_x() ((read_c0_prid() & 0xfffffff0) == 0x00002010)71 #define cpu_is_r4600_v2_x() ((read_c0_prid() & 0xfffffff0) == 0x00002020)
128 #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()