Home
last modified time | relevance | path

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

/linux-4.4.14/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()
/linux-4.4.14/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(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()
/linux-4.4.14/drivers/dio/
Ddio.c118 u_char prid, secid, i; in dio_find() local
149 prid = DIO_ID(va); in dio_find()
151 if (DIO_NEEDSSECID(prid)) { in dio_find()
153 id = DIO_ENCODE_ID(prid, secid); in dio_find()
155 id = prid; in dio_find()
200 u_char prid, secid = 0; /* primary, secondary ID bytes */ in dio_init() local
243 prid = DIO_ID(va); in dio_init()
245 if (DIO_NEEDSSECID(prid)) { in dio_init()
247 dev->id = DIO_ENCODE_ID(prid, secid); in dio_init()
249 dev->id = prid; in dio_init()
[all …]
/linux-4.4.14/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()
/linux-4.4.14/arch/mips/ar7/
Dplatform.c508 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()
/linux-4.4.14/arch/mips/mti-sead3/
Dsead3-time.c24 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()
/linux-4.4.14/arch/mips/mti-malta/
Dmalta-time.c190 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()
/linux-4.4.14/fs/xfs/
Dxfs_symlink.c191 prid_t prid; in xfs_symlink() local
212 prid = xfs_get_initial_prid(dp); in xfs_symlink()
219 xfs_kgid_to_gid(current_fsgid()), prid, in xfs_symlink()
281 prid, resblks > 0, &ip, NULL); in xfs_symlink()
Dxfs_inode.c749 prid_t prid, in xfs_ialloc() argument
800 xfs_set_projid(ip, prid); in xfs_ialloc()
951 prid_t prid, /* project id */ in xfs_dir_ialloc() argument
983 code = xfs_ialloc(tp, dp, mode, nlink, rdev, prid, okalloc, in xfs_dir_ialloc()
1055 code = xfs_ialloc(tp, dp, mode, nlink, rdev, prid, in xfs_dir_ialloc()
1147 prid_t prid; in xfs_create() local
1159 prid = xfs_get_initial_prid(dp); in xfs_create()
1165 xfs_kgid_to_gid(current_fsgid()), prid, in xfs_create()
1229 prid, resblks > 0, &ip, &committed); in xfs_create()
1328 prid_t prid; in xfs_create_tmpfile() local
[all …]
Dxfs_quota.h106 prid_t prid, uint flags, struct xfs_dquot **udqp, in xfs_qm_vop_dqalloc() argument
Dxfs_qm.c1604 prid_t prid, in xfs_qm_vop_dqalloc() argument
1695 if (xfs_get_projid(ip) != prid) { in xfs_qm_vop_dqalloc()
1697 error = xfs_qm_dqget(mp, NULL, (xfs_dqid_t)prid, in xfs_qm_vop_dqalloc()
/linux-4.4.14/arch/xtensa/kernel/
Dhead.S210 rsr a2, prid
325 rsr a0, prid
/linux-4.4.14/arch/mips/include/asm/lasat/
Dlasat.h69 unsigned short prid; member
/linux-4.4.14/arch/mips/mm/
Dc-r4k.c957 unsigned int prid = read_c0_prid(); in probe_pcache() local
1110 if (prid & 0x3) in probe_pcache()
1118 if (prid & 0x3) in probe_pcache()
1229 if ((prid & PRID_IMP_MASK) == PRID_IMP_R4000 && in probe_pcache()
1230 (prid & PRID_REV_MASK) < PRID_REV_R4400 && in probe_pcache()
/linux-4.4.14/arch/mips/lasat/
Dlasat_board.c237 lasat_board_info.li_prid = lasat_board_info.li_eeprom_info.prid; in lasat_init_board_info()
Dsysctl.c154 lasat_board_info.li_eeprom_info.prid = in proc_lasat_prid()
/linux-4.4.14/drivers/staging/netlogic/
Dxlr_net.c913 u32 prid = (read_c0_prid() & 0xf000); in xlr_port_enable() local
916 if ((prid == 0x8000 || prid == 0x4000 || prid == 0xc000) && in xlr_port_enable()