Home
last modified time | relevance | path

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

/drivers/soc/fsl/
Dguts.c19 u32 svr; member
36 .svr = 0x82400000,
41 .svr = 0x85200000,
46 .svr = 0x85300000,
51 .svr = 0x85400000,
61 .svr = 0x87920000,
66 .svr = 0x87010000,
71 .svr = 0x87030000,
76 .svr = 0x87040000,
81 .svr = 0x87070000,
[all …]
/drivers/soc/loongson/
Dloongson2_guts.c30 u32 svr; /* Version Register */ member
47 u32 svr; member
60 .svr = 0x00000013,
67 u32 svr, const struct loongson2_soc_die_attr *matches) in loongson2_soc_die_match() argument
69 while (matches->svr) { in loongson2_soc_die_match()
70 if (matches->svr == (svr & matches->mask)) in loongson2_soc_die_match()
80 u32 svr = 0; in loongson2_guts_get_svr() local
83 return svr; in loongson2_guts_get_svr()
86 svr = ioread32(&guts->regs->svr); in loongson2_guts_get_svr()
88 svr = ioread32be(&guts->regs->svr); in loongson2_guts_get_svr()
[all …]
/drivers/i2c/busses/
Di2c-mpc.c407 unsigned int svr = mfspr(SPRN_SVR); in mpc_i2c_get_prescaler_8xxx() local
409 if ((SVR_SOC_VER(svr) == SVR_8540) in mpc_i2c_get_prescaler_8xxx()
410 || (SVR_SOC_VER(svr) == SVR_8541) in mpc_i2c_get_prescaler_8xxx()
411 || (SVR_SOC_VER(svr) == SVR_8560) in mpc_i2c_get_prescaler_8xxx()
412 || (SVR_SOC_VER(svr) == SVR_8555) in mpc_i2c_get_prescaler_8xxx()
413 || (SVR_SOC_VER(svr) == SVR_8610)) in mpc_i2c_get_prescaler_8xxx()
416 else if ((SVR_SOC_VER(svr) == SVR_8533) in mpc_i2c_get_prescaler_8xxx()
417 || (SVR_SOC_VER(svr) == SVR_8544)) in mpc_i2c_get_prescaler_8xxx()
/drivers/media/i2c/
Dimx274.c1510 u32 svr; in imx274_get_frame_length() local
1513 err = imx274_read_mbreg(priv, IMX274_SVR_REG_LSB, &svr, 2); in imx274_get_frame_length()
1521 *val = vmax * (svr + 1); in imx274_get_frame_length()
1847 u32 svr; in imx274_set_frame_interval() local
1876 err = imx274_read_mbreg(priv, IMX274_SVR_REG_LSB, &svr, 2); in imx274_set_frame_interval()
1881 "%s : register SVR = %d\n", __func__, svr); in imx274_set_frame_interval()
1895 frame_length = IMX274_PIXCLK_CONST1 / (svr + 1) / hmax in imx274_set_frame_interval()
/drivers/iommu/
Dfsl_pamu.c724 u32 svr; member
857 if (port_id_map[i].svr == (mfspr(SPRN_SVR) & ~SVR_SECURITY)) { in fsl_pamu_probe()
860 port_id_map[i].svr); in fsl_pamu_probe()
/drivers/net/ethernet/freescale/
Dgianfar.c895 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()
/drivers/tty/serial/
Ducc_uart.c1113 unsigned int svr; in soc_info() local
1133 svr = mfspr(SPRN_SVR); in soc_info()
1134 *rev_h = (svr >> 4) & 0xf; in soc_info()
1135 *rev_l = svr & 0xf; in soc_info()
/drivers/clk/
Dclk-qoriq.c1472 u32 svr = mfspr(SPRN_SVR); in has_erratum_a4510() local
1475 svr &= ~SVR_SECURITY; in has_erratum_a4510()
1478 if (svr == a4510_svrs[i]) in has_erratum_a4510()