/linux/drivers/soc/fsl/ |
A D | guts.c | 24 u32 svr; member 42 .svr = 0x82400000, 47 .svr = 0x85200000, 117 if (matches->svr == (svr & matches->mask)) in fsl_soc_die_match() 126 u32 svr = 0; in fsl_guts_get_svr() local 129 return svr; in fsl_guts_get_svr() 132 svr = ioread32(&guts->regs->svr); in fsl_guts_get_svr() 134 svr = ioread32be(&guts->regs->svr); in fsl_guts_get_svr() 136 return svr; in fsl_guts_get_svr() 145 u32 svr; in fsl_guts_probe() local [all …]
|
/linux/arch/powerpc/include/asm/ |
A D | mpc85xx.h | 11 #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
|
/linux/drivers/i2c/busses/ |
A D | i2c-mpc.c | 398 unsigned int svr = mfspr(SPRN_SVR); in mpc_i2c_get_prescaler_8xxx() local 400 if ((SVR_SOC_VER(svr) == SVR_8540) in mpc_i2c_get_prescaler_8xxx() 401 || (SVR_SOC_VER(svr) == SVR_8541) in mpc_i2c_get_prescaler_8xxx() 402 || (SVR_SOC_VER(svr) == SVR_8560) in mpc_i2c_get_prescaler_8xxx() 403 || (SVR_SOC_VER(svr) == SVR_8555) in mpc_i2c_get_prescaler_8xxx() 404 || (SVR_SOC_VER(svr) == SVR_8610)) in mpc_i2c_get_prescaler_8xxx() 407 else if ((SVR_SOC_VER(svr) == SVR_8533) in mpc_i2c_get_prescaler_8xxx() 408 || (SVR_SOC_VER(svr) == SVR_8544)) in mpc_i2c_get_prescaler_8xxx()
|
/linux/arch/powerpc/kvm/ |
A D | e500mc.c | 207 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()
|
A D | e500.c | 354 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()
|
A D | e500.h | 75 u32 svr; member
|
A D | e500_emulate.c | 391 *spr_val = vcpu_e500->svr; in kvmppc_core_emulate_mfspr_e500()
|
/linux/arch/powerpc/platforms/83xx/ |
A D | km83xx.c | 40 #define SVR_REV(svr) (((svr) >> 0) & 0xFFFF) /* Revision field */ argument
|
/linux/drivers/media/i2c/ |
A D | imx274.c | 1506 u32 svr; in imx274_get_frame_length() local 1509 err = imx274_read_mbreg(priv, IMX274_SVR_REG_LSB, &svr, 2); in imx274_get_frame_length() 1517 *val = vmax * (svr + 1); in imx274_get_frame_length() 1843 u32 svr; in imx274_set_frame_interval() local 1872 err = imx274_read_mbreg(priv, IMX274_SVR_REG_LSB, &svr, 2); in imx274_set_frame_interval() 1877 "%s : register SVR = %d\n", __func__, svr); in imx274_set_frame_interval() 1891 frame_length = IMX274_PIXCLK_CONST1 / (svr + 1) / hmax in imx274_set_frame_interval()
|
/linux/arch/powerpc/sysdev/ |
A D | fsl_pci.c | 526 u32 svr = mfspr(SPRN_SVR); in fsl_add_bridge() local 606 if (((SVR_SOC_VER(svr) == SVR_8543) || in fsl_add_bridge() 607 (SVR_SOC_VER(svr) == SVR_8545) || in fsl_add_bridge() 608 (SVR_SOC_VER(svr) == SVR_8547) || in fsl_add_bridge() 609 (SVR_SOC_VER(svr) == SVR_8548)) && in fsl_add_bridge()
|
/linux/drivers/iommu/ |
A D | fsl_pamu.c | 720 u32 svr; member 853 if (port_id_map[i].svr == (mfspr(SPRN_SVR) & ~SVR_SECURITY)) { in fsl_pamu_probe() 856 port_id_map[i].svr); in fsl_pamu_probe()
|
/linux/drivers/net/ethernet/freescale/ |
A D | gianfar.c | 895 unsigned int svr = mfspr(SPRN_SVR); in __gfar_detect_errata_83xx() local 896 unsigned int mod = (svr >> 16) & 0xfff6; /* w/o E suffix */ in __gfar_detect_errata_83xx() 897 unsigned int rev = svr & 0xffff; in __gfar_detect_errata_83xx() 916 unsigned int svr = mfspr(SPRN_SVR); in __gfar_detect_errata_85xx() local 918 if ((SVR_SOC_VER(svr) == SVR_8548) && (SVR_REV(svr) == 0x20)) in __gfar_detect_errata_85xx() 921 if (((SVR_SOC_VER(svr) == SVR_P2020) && (SVR_REV(svr) < 0x20)) || in __gfar_detect_errata_85xx() 922 ((SVR_SOC_VER(svr) == SVR_P2010) && (SVR_REV(svr) < 0x20)) || in __gfar_detect_errata_85xx() 923 ((SVR_SOC_VER(svr) == SVR_8548) && (SVR_REV(svr) < 0x31))) in __gfar_detect_errata_85xx()
|
/linux/drivers/tty/serial/ |
A D | ucc_uart.c | 1127 unsigned int svr; in soc_info() local 1145 svr = mfspr(SPRN_SVR); in soc_info() 1146 *rev_h = (svr >> 4) & 0xf; in soc_info() 1147 *rev_l = svr & 0xf; in soc_info()
|
/linux/include/linux/fsl/ |
A D | guts.h | 87 u32 svr; /* 0x.00a4 - System Version Register */ member
|
/linux/arch/x86/include/asm/ |
A D | apicdef.h | 254 } svr; member
|
/linux/drivers/clk/ |
A D | clk-qoriq.c | 1465 u32 svr = mfspr(SPRN_SVR); in has_erratum_a4510() local 1468 svr &= ~SVR_SECURITY; in has_erratum_a4510() 1471 if (svr == a4510_svrs[i]) in has_erratum_a4510()
|
/linux/tools/arch/powerpc/include/uapi/asm/ |
A D | kvm.h | 197 __u32 svr; member
|
/linux/arch/powerpc/include/uapi/asm/ |
A D | kvm.h | 197 __u32 svr; member
|