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

/arch/mips/include/asm/netlogic/xlr/
H A Dxlr.h44 uint32_t prid = read_c0_prid(); local
46 return ((prid & 0xf000) == 0x4000);
53 uint32_t prid = read_c0_prid(); local
55 return ((prid & 0xf000) == 0x8000 || (prid & 0xf000) == 0x4000 ||
56 (prid & 0xf000) == 0xc000);
/arch/mips/include/asm/
H A Dtimex.h52 static inline int can_use_mips_counter(unsigned int prid) argument
54 int comp = (prid & PRID_COMP_MASK) != PRID_COMP_LEGACY;
66 prid >= (PRID_IMP_R4000 | PRID_REV_ENCODE_44(5, 0))))
89 unsigned int prid = read_c0_prid(); local
90 unsigned int imp = prid & PRID_IMP_MASK;
92 if (can_use_mips_counter(prid))
/arch/mips/mti-sead3/
H A Dsead3-time.c36 unsigned int prid = read_c0_prid() & (PRID_COMP_MASK | PRID_IMP_MASK); local
68 if ((prid != (PRID_COMP_MIPS | PRID_IMP_20KC)) &&
69 (prid != (PRID_COMP_MIPS | PRID_IMP_25KF)))
/arch/mips/include/asm/netlogic/
H A Dmips-extns.h149 uint32_t prid = read_c0_prid() & PRID_IMP_MASK; local
151 if ((prid == PRID_IMP_NETLOGIC_XLP9XX) ||
152 (prid == PRID_IMP_NETLOGIC_XLP5XX))
/arch/mips/ar7/
H A Dplatform.c513 char *prid, *usb_prod; local
520 prid = prom_getenv("ProductID");
524 if (!prid)
527 if (strstr(prid, "Fritz_Box_FON")) {
530 } else if (strstr(prid, "Fritz_Box_")) {
533 } else if ((!strcmp(prid, "AR7RD") || !strcmp(prid, "AR7DB"))
537 } else if (strstr(prid, "DG834")) {
540 } else if (strstr(prid, "CYWM") || strstr(prid, "CYW
[all...]
/arch/mips/mti-malta/
H A Dmalta-time.c173 unsigned int prid = read_c0_prid() & (PRID_COMP_MASK | PRID_IMP_MASK); local
180 if ((prid != (PRID_COMP_MIPS | PRID_IMP_20KC)) &&
181 (prid != (PRID_COMP_MIPS | PRID_IMP_25KF)))
/arch/xtensa/kernel/
H A Dhead.S205 rsr a2, prid
320 rsr a0, prid
/arch/mips/include/asm/lasat/
H A Dlasat.h69 unsigned short prid; member in struct:lasat_eeprom_struct
/arch/mips/lasat/
H A Dlasat_board.c237 lasat_board_info.li_prid = lasat_board_info.li_eeprom_info.prid;
H A Dsysctl.c169 lasat_board_info.li_eeprom_info.prid =
202 .procname = "prid",
/arch/mips/mm/
H A Dc-r4k.c928 unsigned int prid = read_c0_prid(); local
1079 if (prid & 0x3)
1087 if (prid & 0x3)
1198 if ((prid & PRID_IMP_MASK) == PRID_IMP_R4000 &&
1199 (prid & PRID_REV_MASK) < PRID_REV_R4400 &&

Completed in 1173 milliseconds