Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/gpu/drm/loongson/
H A Dlsdc_probe.c34 unsigned int prid = 0; in loongson_cpu_get_prid() local
38 : "=&r"(prid) in loongson_cpu_get_prid()
45 : "=r" (prid) in loongson_cpu_get_prid()
50 *imp = (prid & LOONGSON_CPU_IMP_MASK) >> LOONGSON_CPU_IMP_SHIFT; in loongson_cpu_get_prid()
53 *rev = prid & LOONGSON_CPU_REV_MASK; in loongson_cpu_get_prid()
55 return prid; in loongson_cpu_get_prid()
/openbmc/linux/drivers/dio/
H A Ddio.c124 u_char prid, secid, i; in dio_find() local
150 prid = DIO_ID(va); in dio_find()
152 if (DIO_NEEDSSECID(prid)) { in dio_find()
154 id = DIO_ENCODE_ID(prid, secid); in dio_find()
156 id = prid; in dio_find()
199 u_char prid, secid = 0; /* primary, secondary ID bytes */ in dio_init() local
241 prid = DIO_ID(va); in dio_init()
243 if (DIO_NEEDSSECID(prid)) { in dio_init()
245 dev->id = DIO_ENCODE_ID(prid, secid); in dio_init()
247 dev->id = prid; in dio_init()
[all …]
/openbmc/linux/arch/mips/ar7/
H A 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()
/openbmc/linux/arch/mips/include/asm/
H A 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()
/openbmc/linux/arch/mips/mti-malta/
H A Dmalta-time.c225 unsigned int prid = read_c0_prid() & (PRID_COMP_MASK | PRID_IMP_MASK); in plat_time_init() local
232 if ((prid != (PRID_COMP_MIPS | PRID_IMP_20KC)) && in plat_time_init()
233 (prid != (PRID_COMP_MIPS | PRID_IMP_25KF))) in plat_time_init()
/openbmc/linux/arch/mips/sgi-ip30/
H A Dip30-smp.c31 u32 prid; member
91 i, mpc->prid, mpc->physid, mpc->virtid); in ip30_smp_setup()
/openbmc/linux/arch/mips/fw/cfe/
H A Dcfe_api.c423 unsigned int prid, __maybe_unused rev; in cfe_die() local
436 prid = read_c0_prid(); in cfe_die()
437 if ((prid & PRID_COMP_MASK) != PRID_COMP_BROADCOM) in cfe_die()
440 rev = prid & PRID_REV_MASK; in cfe_die()
443 switch (prid & PRID_IMP_MASK) { in cfe_die()
/openbmc/linux/fs/xfs/
H A Dxfs_symlink.c169 prid_t prid; in xfs_symlink() local
191 prid = xfs_get_initial_prid(dp); in xfs_symlink()
199 mapped_fsgid(idmap, i_user_ns(VFS_I(dp))), prid, in xfs_symlink()
237 S_IFLNK | (mode & ~S_IFMT), 1, 0, prid, in xfs_symlink()
H A Dxfs_inode.c787 prid_t prid, in xfs_init_new_inode() argument
823 ip->i_projid = prid; in xfs_init_new_inode()
969 prid_t prid; in xfs_create() local
982 prid = xfs_get_initial_prid(dp); in xfs_create()
990 mapped_fsgid(idmap, i_user_ns(VFS_I(dp))), prid, in xfs_create()
1032 is_dir ? 2 : 1, rdev, prid, init_xattrs, &ip); in xfs_create()
1122 prid_t prid; in xfs_create_tmpfile() local
1133 prid = xfs_get_initial_prid(dp); in xfs_create_tmpfile()
1141 mapped_fsgid(idmap, i_user_ns(VFS_I(dp))), prid, in xfs_create_tmpfile()
1158 0, 0, prid, false, &ip); in xfs_create_tmpfile()
H A Dxfs_quota.h120 prid_t prid, uint flags, struct xfs_dquot **udqp, in xfs_qm_vop_dqalloc() argument
H A Dxfs_qm.c1666 prid_t prid, in xfs_qm_vop_dqalloc() argument
1756 if (ip->i_projid != prid) { in xfs_qm_vop_dqalloc()
1758 error = xfs_qm_dqget(mp, prid, in xfs_qm_vop_dqalloc()
H A Dxfs_inode.h554 xfs_nlink_t nlink, dev_t rdev, prid_t prid, bool init_xattrs,
/openbmc/linux/fs/xfs/scrub/
H A Dinode.c376 prid_t prid; in xchk_dinode() local
411 prid = 0; in xchk_dinode()
425 prid = be16_to_cpu(dip->di_projid_lo); in xchk_dinode()
433 prid |= (prid_t)be16_to_cpu(dip->di_projid_hi) << 16; in xchk_dinode()
447 if (prid == -1U) in xchk_dinode()
/openbmc/linux/tools/testing/selftests/net/openvswitch/
H A Dovs-dpctl.py1531 msg, msg_type=self.prid, msg_flags=NLM_F_REQUEST
1574 msg, msg_type=self.prid, msg_flags=NLM_F_REQUEST | NLM_F_ACK
1595 msg, msg_type=self.prid, msg_flags=NLM_F_REQUEST | NLM_F_ACK
1686 msg, msg_type=self.prid, msg_flags=NLM_F_REQUEST
1713 msg, msg_type=self.prid, msg_flags=NLM_F_REQUEST | NLM_F_ACK
1741 msg, msg_type=self.prid, msg_flags=NLM_F_REQUEST | NLM_F_ACK
1759 msg, msg_type=self.prid, msg_flags=NLM_F_REQUEST | NLM_F_ACK
1941 msg_type=self.prid,
1967 msg_type=self.prid,
2001 msg_type=self.prid,
/openbmc/linux/arch/xtensa/kernel/
H A Dhead.S210 rsr a2, prid
329 rsr a0, prid
/openbmc/linux/arch/mips/mm/
H A Dc-r4k.c998 unsigned int prid = read_c0_prid(); in probe_pcache() local
1107 if (prid & 0x3) in probe_pcache()
1115 if (prid & 0x3) in probe_pcache()
1230 if ((prid & PRID_IMP_MASK) == PRID_IMP_R4000 && in probe_pcache()
1231 (prid & PRID_REV_MASK) < PRID_REV_R4400 && in probe_pcache()
/openbmc/linux/drivers/phy/broadcom/
H A Dphy-brcm-usb-init.c692 u32 prid; in brcmusb_memc_fix() local
707 prid = params->product_id & 0xfffff000; in brcmusb_memc_fix()
708 switch (prid) { in brcmusb_memc_fix()
/openbmc/qemu/target/xtensa/core-lx106/
H A Dgdb-config.c.inc68 XTREG( 45,180,32, 4, 4,0x02eb,0x0003,-2, 2,0x1000,prid, 0,0,0,0,0,0)
/openbmc/qemu/target/xtensa/core-sample_controller/
H A Dgdb-config.c.inc104 XTREG( 80,320,32, 4, 4,0x02eb,0x0003,-2, 2,0x1000,prid, 0,0,0,0,0,0)
/openbmc/qemu/target/xtensa/core-dc232b/
H A Dgdb-config.c.inc212 XTREG(95, 380, 32, 4, 4, 0x02eb, 0x0003, -2, 2, 0x1000, prid,
/openbmc/qemu/target/xtensa/core-dc233c/
H A Dgdb-config.c.inc121 XTREG(96, 384, 32, 4, 4, 0x02eb, 0x0003, -2, 2, 0x1000, prid, 0, 0, 0, 0, 0, 0)
/openbmc/qemu/target/xtensa/core-test_mmuhifi_c3/
H A Dgdb-config.c.inc118 XTREG( 83,380,32, 4, 4,0x02eb,0x0003,-2, 2,0x1000,prid, 0,0,0,0,0,0)
/openbmc/qemu/target/xtensa/core-de212/
H A Dgdb-config.c.inc113 XTREG( 89,356,32, 4, 4,0x02eb,0x0003,-2, 2,0x1000,prid, 0,0,0,0,0,0)
/openbmc/qemu/target/xtensa/core-test_kc705_be/
H A Dgdb-config.c.inc150 XTREG(115,508,32, 4, 4,0x02eb,0x0003,-2, 2,0x1000,prid, 0,0,0,0,0,0)
/openbmc/qemu/target/xtensa/core-de233_fpu/
H A Dgdb-config.c.inc154 XTREG(115,524,32, 4, 4,0x02eb,0x0003,-2, 2,0x1000,prid, 0,0,0,0,0,0)

12