Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
Dkvm_host.h738 __BUILD_KVM_RW_SW(prid, 32, MIPS_CP0_PRID, 0)
/kernel/linux/linux-5.10/drivers/dio/
Ddio.c119 u_char prid, secid, i; in dio_find() local
145 prid = DIO_ID(va); in dio_find()
147 if (DIO_NEEDSSECID(prid)) { in dio_find()
149 id = DIO_ENCODE_ID(prid, secid); in dio_find()
151 id = prid; in dio_find()
195 u_char prid, secid = 0; /* primary, secondary ID bytes */ in dio_init() local
233 prid = DIO_ID(va); in dio_init()
235 if (DIO_NEEDSSECID(prid)) { in dio_init()
237 dev->id = DIO_ENCODE_ID(prid, secid); in dio_init()
239 dev->id = prid; in dio_init()
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/mips/sgi-ip30/
Dip30-smp.c31 u32 prid; member
91 i, mpc->prid, mpc->physid, mpc->virtid); in ip30_smp_setup()
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_symlink.c158 prid_t prid; in xfs_symlink() local
179 prid = xfs_get_initial_prid(dp); in xfs_symlink()
184 error = xfs_qm_vop_dqalloc(dp, current_fsuid(), current_fsgid(), prid, in xfs_symlink()
227 prid, &ip); in xfs_symlink()
Dxfs_inode.c801 prid_t prid, in xfs_ialloc() argument
853 ip->i_d.di_projid = prid; in xfs_ialloc()
953 prid_t prid, /* project id */ in xfs_dir_ialloc() argument
982 code = xfs_ialloc(tp, dp, mode, nlink, rdev, prid, &ialloc_context, in xfs_dir_ialloc()
1052 code = xfs_ialloc(tp, dp, mode, nlink, rdev, prid, in xfs_dir_ialloc()
1123 prid_t prid; in xfs_create() local
1135 prid = xfs_get_initial_prid(dp); in xfs_create()
1140 error = xfs_qm_vop_dqalloc(dp, current_fsuid(), current_fsgid(), prid, in xfs_create()
1185 error = xfs_dir_ialloc(&tp, dp, mode, is_dir ? 2 : 1, rdev, prid, &ip); in xfs_create()
1274 prid_t prid; in xfs_create_tmpfile() local
[all …]
Dxfs_quota.h114 prid_t prid, uint flags, struct xfs_dquot **udqp, in xfs_qm_vop_dqalloc() argument
Dxfs_qm.c1628 prid_t prid, in xfs_qm_vop_dqalloc() argument
1718 if (ip->i_d.di_projid != prid) { in xfs_qm_vop_dqalloc()
1720 error = xfs_qm_dqget(mp, prid, in xfs_qm_vop_dqalloc()
/kernel/linux/linux-5.10/arch/xtensa/kernel/
Dhead.S206 rsr a2, prid
325 rsr a0, prid
/kernel/linux/linux-5.10/drivers/staging/netlogic/
Dxlr_net.c856 u32 prid = (read_c0_prid() & 0xf000); in xlr_port_enable() local
859 if ((prid == 0x8000 || prid == 0x4000 || prid == 0xc000) && in xlr_port_enable()
/kernel/linux/linux-5.10/drivers/phy/broadcom/
Dphy-brcm-usb-init.c641 u32 prid; in brcmusb_memc_fix() local
656 prid = params->product_id & 0xfffff000; in brcmusb_memc_fix()
657 switch (prid) { in brcmusb_memc_fix()
/kernel/linux/linux-5.10/arch/mips/mm/
Dc-r4k.c1109 unsigned int prid = read_c0_prid(); in probe_pcache() local
1261 if (prid & 0x3) in probe_pcache()
1269 if (prid & 0x3) in probe_pcache()
1384 if ((prid & PRID_IMP_MASK) == PRID_IMP_R4000 && in probe_pcache()
1385 (prid & PRID_REV_MASK) < PRID_REV_R4400 && in probe_pcache()
/kernel/linux/patches/linux-5.10/yangfan_patch/
Dothers.patch114 ip->i_d.di_projid = prid;