Home
last modified time | relevance | path

Searched refs:svr (Results 1 – 20 of 20) sorted by relevance

/kernel/linux/linux-5.10/drivers/soc/fsl/
Dguts.c24 u32 svr; member
41 .svr = 0x82400000,
46 .svr = 0x85200000,
51 .svr = 0x85300000,
56 .svr = 0x85400000,
66 .svr = 0x87920000,
71 .svr = 0x87010000,
76 .svr = 0x87030000,
81 .svr = 0x87040000,
86 .svr = 0x87070000,
[all …]
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dmpc85xx.h11 #define SVR_REV(svr) ((svr) & 0xFF) /* SOC design resision */ argument
12 #define SVR_MAJ(svr) (((svr) >> 4) & 0xF) /* Major revision field*/ argument
13 #define SVR_MIN(svr) (((svr) >> 0) & 0xF) /* Minor revision field*/ argument
16 #define SVR_SOC_VER(svr) (((svr) >> 8) & 0xFFF7FF) /* SOC Version fields */ argument
/kernel/linux/linux-5.10/arch/powerpc/platforms/83xx/
Dkm83xx.c40 #define SVR_REV(svr) (((svr) >> 0) & 0xFFFF) /* Revision field */ argument
/kernel/linux/linux-5.10/arch/powerpc/kvm/
De500mc.c207 vcpu_e500->svr = mfspr(SPRN_SVR); in kvmppc_core_vcpu_setup()
224 sregs->u.e.impl.fsl.svr = vcpu_e500->svr; in kvmppc_core_get_sregs_e500mc()
245 vcpu_e500->svr = sregs->u.e.impl.fsl.svr; in kvmppc_core_set_sregs_e500mc()
De500.c354 vcpu_e500->svr = mfspr(SPRN_SVR); in kvmppc_core_vcpu_setup()
371 sregs->u.e.impl.fsl.svr = vcpu_e500->svr; in kvmppc_core_get_sregs_e500()
393 vcpu_e500->svr = sregs->u.e.impl.fsl.svr; in kvmppc_core_set_sregs_e500()
De500.h75 u32 svr; member
De500_emulate.c391 *spr_val = vcpu_e500->svr; in kvmppc_core_emulate_mfspr_e500()
/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-mpc.c446 unsigned int svr = mfspr(SPRN_SVR); in mpc_i2c_get_prescaler_8xxx() local
448 if ((SVR_SOC_VER(svr) == SVR_8540) in mpc_i2c_get_prescaler_8xxx()
449 || (SVR_SOC_VER(svr) == SVR_8541) in mpc_i2c_get_prescaler_8xxx()
450 || (SVR_SOC_VER(svr) == SVR_8560) in mpc_i2c_get_prescaler_8xxx()
451 || (SVR_SOC_VER(svr) == SVR_8555) in mpc_i2c_get_prescaler_8xxx()
452 || (SVR_SOC_VER(svr) == SVR_8610)) in mpc_i2c_get_prescaler_8xxx()
455 else if ((SVR_SOC_VER(svr) == SVR_8533) in mpc_i2c_get_prescaler_8xxx()
456 || (SVR_SOC_VER(svr) == SVR_8544)) in mpc_i2c_get_prescaler_8xxx()
/kernel/linux/linux-5.10/drivers/media/i2c/
Dimx274.c1391 u32 svr; in imx274_get_frame_length() local
1394 err = imx274_read_mbreg(priv, IMX274_SVR_REG_LSB, &svr, 2); in imx274_get_frame_length()
1402 *val = vmax * (svr + 1); in imx274_get_frame_length()
1728 u32 svr; in imx274_set_frame_interval() local
1757 err = imx274_read_mbreg(priv, IMX274_SVR_REG_LSB, &svr, 2); in imx274_set_frame_interval()
1762 "%s : register SVR = %d\n", __func__, svr); in imx274_set_frame_interval()
1776 frame_length = IMX274_PIXCLK_CONST1 / (svr + 1) / hmax in imx274_set_frame_interval()
/kernel/linux/linux-5.10/arch/powerpc/sysdev/
Dfsl_pci.c527 u32 svr = mfspr(SPRN_SVR); in fsl_add_bridge() local
614 if (((SVR_SOC_VER(svr) == SVR_8543) || in fsl_add_bridge()
615 (SVR_SOC_VER(svr) == SVR_8545) || in fsl_add_bridge()
616 (SVR_SOC_VER(svr) == SVR_8547) || in fsl_add_bridge()
617 (SVR_SOC_VER(svr) == SVR_8548)) && in fsl_add_bridge()
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/
Dgianfar.c928 unsigned int svr = mfspr(SPRN_SVR); in __gfar_detect_errata_83xx() local
929 unsigned int mod = (svr >> 16) & 0xfff6; /* w/o E suffix */ in __gfar_detect_errata_83xx()
930 unsigned int rev = svr & 0xffff; in __gfar_detect_errata_83xx()
949 unsigned int svr = mfspr(SPRN_SVR); in __gfar_detect_errata_85xx() local
951 if ((SVR_SOC_VER(svr) == SVR_8548) && (SVR_REV(svr) == 0x20)) in __gfar_detect_errata_85xx()
954 if (((SVR_SOC_VER(svr) == SVR_P2020) && (SVR_REV(svr) < 0x20)) || in __gfar_detect_errata_85xx()
955 ((SVR_SOC_VER(svr) == SVR_P2010) && (SVR_REV(svr) < 0x20)) || in __gfar_detect_errata_85xx()
956 ((SVR_SOC_VER(svr) == SVR_8548) && (SVR_REV(svr) < 0x31))) in __gfar_detect_errata_85xx()
/kernel/linux/linux-5.10/drivers/tty/serial/
Ducc_uart.c1127 unsigned int svr; in soc_info() local
1147 svr = mfspr(SPRN_SVR); in soc_info()
1148 *rev_h = (svr >> 4) & 0xf; in soc_info()
1149 *rev_l = svr & 0xf; in soc_info()
/kernel/linux/linux-5.10/drivers/iommu/
Dfsl_pamu.c977 u32 svr; member
1110 if (port_id_map[i].svr == (mfspr(SPRN_SVR) & ~SVR_SECURITY)) { in fsl_pamu_probe()
1113 port_id_map[i].svr); in fsl_pamu_probe()
/kernel/linux/linux-5.10/include/linux/fsl/
Dguts.h87 u32 svr; /* 0x.00a4 - System Version Register */ member
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dapicdef.h254 } svr; member
/kernel/linux/linux-5.10/drivers/clk/
Dclk-qoriq.c1446 u32 svr = mfspr(SPRN_SVR); in has_erratum_a4510() local
1449 svr &= ~SVR_SECURITY; in has_erratum_a4510()
1452 if (svr == a4510_svrs[i]) in has_erratum_a4510()
/kernel/linux/linux-5.10/arch/powerpc/include/uapi/asm/
Dkvm.h197 __u32 svr; member
/kernel/linux/linux-5.10/tools/arch/powerpc/include/uapi/asm/
Dkvm.h197 __u32 svr; member
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/
D0005_linux_include.patch3843 diff --git a/include/linux/fsl/svr.h b/include/linux/fsl/svr.h
3847 +++ b/include/linux/fsl/svr.h
3863 +#define SVR_REV(svr) ((svr) & 0xFF) /* SOC design resision */
3864 +#define SVR_MAJ(svr) (((svr) >> 4) & 0xF) /* Major revision field*/
3865 +#define SVR_MIN(svr) (((svr) >> 0) & 0xF) /* Minor revision field*/
3868 +#define SVR_SOC_VER(svr) (((svr) >> 8) & 0xFFF7FF) /* SOC Version fields */
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0036_linux_drivers_staging.patch6039 + .soc_id = "svr:0x87040010",