Home
last modified time | relevance | path

Searched refs:prid (Results 1 – 11 of 11) sorted by relevance

/arch/mips/include/asm/netlogic/xlr/
Dxlr.h44 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/netlogic/
Dmips-extns.h149 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/include/asm/
Dtimex.h52 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(15, 15)))) in can_use_mips_counter()
Dkvm_host.h711 __BUILD_KVM_RW_SW(prid, 32, MIPS_CP0_PRID, 0)
/arch/mips/ar7/
Dplatform.c494 char *prid, *usb_prod; in detect_leds() local
501 prid = prom_getenv("ProductID"); in detect_leds()
505 if (!prid) in detect_leds()
508 if (strstr(prid, "Fritz_Box_FON")) { in detect_leds()
511 } else if (strstr(prid, "Fritz_Box_")) { in detect_leds()
514 } else if ((!strcmp(prid, "AR7RD") || !strcmp(prid, "AR7DB")) in detect_leds()
518 } else if (strstr(prid, "DG834")) { in detect_leds()
521 } else if (strstr(prid, "CYWM") || strstr(prid, "CYWL")) { in detect_leds()
524 } else if (strstr(prid, "GT701")) { in detect_leds()
/arch/mips/mti-malta/
Dmalta-time.c228 unsigned int prid = read_c0_prid() & (PRID_COMP_MASK | PRID_IMP_MASK); in plat_time_init() local
235 if ((prid != (PRID_COMP_MIPS | PRID_IMP_20KC)) && in plat_time_init()
236 (prid != (PRID_COMP_MIPS | PRID_IMP_25KF))) in plat_time_init()
/arch/xtensa/kernel/
Dhead.S206 rsr a2, prid
318 rsr a0, prid
/arch/mips/include/asm/lasat/
Dlasat.h57 unsigned short prid; member
/arch/mips/lasat/
Dsysctl.c149 lasat_board_info.li_eeprom_info.prid = in proc_lasat_prid()
Dlasat_board.c225 lasat_board_info.li_prid = lasat_board_info.li_eeprom_info.prid; in lasat_init_board_info()
/arch/mips/mm/
Dc-r4k.c1078 unsigned int prid = read_c0_prid(); in probe_pcache() local
1230 if (prid & 0x3) in probe_pcache()
1238 if (prid & 0x3) in probe_pcache()
1270 if ((prid & PRID_REV_MASK) >= PRID_REV_LOONGSON3A_R2_0) in probe_pcache()
1351 if ((prid & PRID_IMP_MASK) == PRID_IMP_R4000 && in probe_pcache()
1352 (prid & PRID_REV_MASK) < PRID_REV_R4400 && in probe_pcache()