svr 11 arch/powerpc/include/asm/mpc85xx.h #define SVR_REV(svr) ((svr) & 0xFF) /* SOC design resision */ svr 12 arch/powerpc/include/asm/mpc85xx.h #define SVR_MAJ(svr) (((svr) >> 4) & 0xF) /* Major revision field*/ svr 13 arch/powerpc/include/asm/mpc85xx.h #define SVR_MIN(svr) (((svr) >> 0) & 0xF) /* Minor revision field*/ svr 16 arch/powerpc/include/asm/mpc85xx.h #define SVR_SOC_VER(svr) (((svr) >> 8) & 0xFFF7FF) /* SOC Version fields */ svr 197 arch/powerpc/include/uapi/asm/kvm.h __u32 svr; svr 354 arch/powerpc/kvm/e500.c vcpu_e500->svr = mfspr(SPRN_SVR); svr 371 arch/powerpc/kvm/e500.c sregs->u.e.impl.fsl.svr = vcpu_e500->svr; svr 393 arch/powerpc/kvm/e500.c vcpu_e500->svr = sregs->u.e.impl.fsl.svr; svr 75 arch/powerpc/kvm/e500.h u32 svr; svr 392 arch/powerpc/kvm/e500_emulate.c *spr_val = vcpu_e500->svr; svr 207 arch/powerpc/kvm/e500mc.c vcpu_e500->svr = mfspr(SPRN_SVR); svr 224 arch/powerpc/kvm/e500mc.c sregs->u.e.impl.fsl.svr = vcpu_e500->svr; svr 245 arch/powerpc/kvm/e500mc.c vcpu_e500->svr = sregs->u.e.impl.fsl.svr; svr 41 arch/powerpc/platforms/83xx/km83xx.c #define SVR_REV(svr) (((svr) >> 0) & 0xFFFF) /* Revision field */ svr 526 arch/powerpc/sysdev/fsl_pci.c u32 svr = mfspr(SPRN_SVR); svr 606 arch/powerpc/sysdev/fsl_pci.c if (((SVR_SOC_VER(svr) == SVR_8543) || svr 607 arch/powerpc/sysdev/fsl_pci.c (SVR_SOC_VER(svr) == SVR_8545) || svr 608 arch/powerpc/sysdev/fsl_pci.c (SVR_SOC_VER(svr) == SVR_8547) || svr 609 arch/powerpc/sysdev/fsl_pci.c (SVR_SOC_VER(svr) == SVR_8548)) && svr 254 arch/x86/include/asm/apicdef.h } svr; svr 1402 drivers/clk/clk-qoriq.c u32 svr = mfspr(SPRN_SVR); svr 1405 drivers/clk/clk-qoriq.c svr &= ~SVR_SECURITY; svr 1408 drivers/clk/clk-qoriq.c if (svr == a4510_svrs[i]) svr 367 drivers/i2c/busses/i2c-mpc.c unsigned int svr = mfspr(SPRN_SVR); svr 369 drivers/i2c/busses/i2c-mpc.c if ((SVR_SOC_VER(svr) == SVR_8540) svr 370 drivers/i2c/busses/i2c-mpc.c || (SVR_SOC_VER(svr) == SVR_8541) svr 371 drivers/i2c/busses/i2c-mpc.c || (SVR_SOC_VER(svr) == SVR_8560) svr 372 drivers/i2c/busses/i2c-mpc.c || (SVR_SOC_VER(svr) == SVR_8555) svr 373 drivers/i2c/busses/i2c-mpc.c || (SVR_SOC_VER(svr) == SVR_8610)) svr 376 drivers/i2c/busses/i2c-mpc.c else if ((SVR_SOC_VER(svr) == SVR_8533) svr 377 drivers/i2c/busses/i2c-mpc.c || (SVR_SOC_VER(svr) == SVR_8544)) svr 977 drivers/iommu/fsl_pamu.c u32 svr; svr 1110 drivers/iommu/fsl_pamu.c if (port_id_map[i].svr == (mfspr(SPRN_SVR) & ~SVR_SECURITY)) { svr 1113 drivers/iommu/fsl_pamu.c port_id_map[i].svr); svr 1389 drivers/media/i2c/imx274.c u32 svr; svr 1392 drivers/media/i2c/imx274.c err = imx274_read_mbreg(priv, IMX274_SVR_REG_LSB, &svr, 2); svr 1400 drivers/media/i2c/imx274.c *val = vmax * (svr + 1); svr 1726 drivers/media/i2c/imx274.c u32 svr; svr 1755 drivers/media/i2c/imx274.c err = imx274_read_mbreg(priv, IMX274_SVR_REG_LSB, &svr, 2); svr 1760 drivers/media/i2c/imx274.c "%s : register SVR = %d\n", __func__, svr); svr 1774 drivers/media/i2c/imx274.c frame_length = IMX274_PIXCLK_CONST1 / (svr + 1) / hmax svr 919 drivers/net/ethernet/freescale/gianfar.c unsigned int svr = mfspr(SPRN_SVR); svr 920 drivers/net/ethernet/freescale/gianfar.c unsigned int mod = (svr >> 16) & 0xfff6; /* w/o E suffix */ svr 921 drivers/net/ethernet/freescale/gianfar.c unsigned int rev = svr & 0xffff; svr 940 drivers/net/ethernet/freescale/gianfar.c unsigned int svr = mfspr(SPRN_SVR); svr 942 drivers/net/ethernet/freescale/gianfar.c if ((SVR_SOC_VER(svr) == SVR_8548) && (SVR_REV(svr) == 0x20)) svr 945 drivers/net/ethernet/freescale/gianfar.c if (((SVR_SOC_VER(svr) == SVR_P2020) && (SVR_REV(svr) < 0x20)) || svr 946 drivers/net/ethernet/freescale/gianfar.c ((SVR_SOC_VER(svr) == SVR_P2010) && (SVR_REV(svr) < 0x20)) || svr 947 drivers/net/ethernet/freescale/gianfar.c ((SVR_SOC_VER(svr) == SVR_8548) && (SVR_REV(svr) < 0x31))) svr 24 drivers/soc/fsl/guts.c u32 svr; svr 42 drivers/soc/fsl/guts.c .svr = 0x82400000, svr 47 drivers/soc/fsl/guts.c .svr = 0x85200000, svr 52 drivers/soc/fsl/guts.c .svr = 0x85300000, svr 57 drivers/soc/fsl/guts.c .svr = 0x85400000, svr 67 drivers/soc/fsl/guts.c .svr = 0x87920000, svr 72 drivers/soc/fsl/guts.c .svr = 0x87010000, svr 77 drivers/soc/fsl/guts.c .svr = 0x87030000, svr 82 drivers/soc/fsl/guts.c .svr = 0x87040000, svr 87 drivers/soc/fsl/guts.c .svr = 0x87070000, svr 92 drivers/soc/fsl/guts.c .svr = 0x87090000, svr 97 drivers/soc/fsl/guts.c .svr = 0x87000000, svr 102 drivers/soc/fsl/guts.c .svr = 0x87360000, svr 107 drivers/soc/fsl/guts.c .svr = 0x870b0000, svr 114 drivers/soc/fsl/guts.c u32 svr, const struct fsl_soc_die_attr *matches) svr 116 drivers/soc/fsl/guts.c while (matches->svr) { svr 117 drivers/soc/fsl/guts.c if (matches->svr == (svr & matches->mask)) svr 126 drivers/soc/fsl/guts.c u32 svr = 0; svr 129 drivers/soc/fsl/guts.c return svr; svr 132 drivers/soc/fsl/guts.c svr = ioread32(&guts->regs->svr); svr 134 drivers/soc/fsl/guts.c svr = ioread32be(&guts->regs->svr); svr 136 drivers/soc/fsl/guts.c return svr; svr 146 drivers/soc/fsl/guts.c u32 svr; svr 167 drivers/soc/fsl/guts.c svr = fsl_guts_get_svr(); svr 168 drivers/soc/fsl/guts.c soc_die = fsl_soc_die_match(svr, fsl_soc_die); svr 178 drivers/soc/fsl/guts.c "svr:0x%08x", svr); svr 182 drivers/soc/fsl/guts.c (svr >> 4) & 0xf, svr & 0xf); svr 1131 drivers/tty/serial/ucc_uart.c unsigned int svr; svr 1149 drivers/tty/serial/ucc_uart.c svr = mfspr(SPRN_SVR); svr 1150 drivers/tty/serial/ucc_uart.c *rev_h = (svr >> 4) & 0xf; svr 1151 drivers/tty/serial/ucc_uart.c *rev_l = svr & 0xf; svr 87 include/linux/fsl/guts.h u32 svr; /* 0x.00a4 - System Version Register */ svr 197 tools/arch/powerpc/include/uapi/asm/kvm.h __u32 svr;