Searched refs:prid (Results 1 – 11 of 11) sorted by relevance
/arch/mips/include/asm/netlogic/xlr/ |
D | xlr.h | 44 uint32_t prid = read_c0_prid(); in nlm_chip_is_xls_b() local 46 return ((prid & 0xf000) == 0x4000); in nlm_chip_is_xls_b() 53 uint32_t prid = read_c0_prid(); in nlm_chip_is_xls() local 55 return ((prid & 0xf000) == 0x8000 || (prid & 0xf000) == 0x4000 || in nlm_chip_is_xls() 56 (prid & 0xf000) == 0xc000); in nlm_chip_is_xls()
|
/arch/mips/include/asm/ |
D | timex.h | 52 static inline int can_use_mips_counter(unsigned int prid) in can_use_mips_counter() argument 54 int comp = (prid & PRID_COMP_MASK) != PRID_COMP_LEGACY; in can_use_mips_counter() 66 prid >= (PRID_IMP_R4000 | PRID_REV_ENCODE_44(5, 0)))) in can_use_mips_counter() 89 unsigned int prid = read_c0_prid(); in random_get_entropy() local 90 unsigned int imp = prid & PRID_IMP_MASK; in random_get_entropy() 92 if (can_use_mips_counter(prid)) in random_get_entropy()
|
/arch/mips/include/asm/netlogic/ |
D | mips-extns.h | 149 uint32_t prid = read_c0_prid() & PRID_IMP_MASK; in nlm_nodeid() local 151 if ((prid == PRID_IMP_NETLOGIC_XLP9XX) || in nlm_nodeid() 152 (prid == PRID_IMP_NETLOGIC_XLP5XX)) in nlm_nodeid() 160 uint32_t prid = read_c0_prid() & PRID_IMP_MASK; in nlm_core_id() local 162 if ((prid == PRID_IMP_NETLOGIC_XLP9XX) || in nlm_core_id() 163 (prid == PRID_IMP_NETLOGIC_XLP5XX)) in nlm_core_id()
|
/arch/mips/mti-sead3/ |
D | sead3-time.c | 24 unsigned int prid = read_c0_prid() & (PRID_COMP_MASK | PRID_IMP_MASK); in estimate_cpu_frequency() local 56 if ((prid != (PRID_COMP_MIPS | PRID_IMP_20KC)) && in estimate_cpu_frequency() 57 (prid != (PRID_COMP_MIPS | PRID_IMP_25KF))) in estimate_cpu_frequency()
|
/arch/mips/ar7/ |
D | platform.c | 508 char *prid, *usb_prod; in detect_leds() local 515 prid = prom_getenv("ProductID"); in detect_leds() 519 if (!prid) in detect_leds() 522 if (strstr(prid, "Fritz_Box_FON")) { in detect_leds() 525 } else if (strstr(prid, "Fritz_Box_")) { in detect_leds() 528 } else if ((!strcmp(prid, "AR7RD") || !strcmp(prid, "AR7DB")) in detect_leds() 532 } else if (strstr(prid, "DG834")) { in detect_leds() 535 } else if (strstr(prid, "CYWM") || strstr(prid, "CYWL")) { in detect_leds() 538 } else if (strstr(prid, "GT701")) { in detect_leds()
|
/arch/mips/mti-malta/ |
D | malta-time.c | 190 unsigned int prid = read_c0_prid() & (PRID_COMP_MASK | PRID_IMP_MASK); in plat_time_init() local 197 if ((prid != (PRID_COMP_MIPS | PRID_IMP_20KC)) && in plat_time_init() 198 (prid != (PRID_COMP_MIPS | PRID_IMP_25KF))) in plat_time_init()
|
/arch/xtensa/kernel/ |
D | head.S | 213 rsr a2, prid 329 rsr a0, prid
|
/arch/mips/include/asm/lasat/ |
D | lasat.h | 69 unsigned short prid; member
|
/arch/mips/lasat/ |
D | lasat_board.c | 237 lasat_board_info.li_prid = lasat_board_info.li_eeprom_info.prid; in lasat_init_board_info()
|
D | sysctl.c | 154 lasat_board_info.li_eeprom_info.prid = in proc_lasat_prid()
|
/arch/mips/mm/ |
D | c-r4k.c | 1027 unsigned int prid = read_c0_prid(); in probe_pcache() local 1180 if (prid & 0x3) in probe_pcache() 1188 if (prid & 0x3) in probe_pcache() 1299 if ((prid & PRID_IMP_MASK) == PRID_IMP_R4000 && in probe_pcache() 1300 (prid & PRID_REV_MASK) < PRID_REV_R4400 && in probe_pcache()
|