Home
last modified time | relevance | path

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

123

/openbmc/u-boot/drivers/usb/common/
H A Dfsl-errata.c37 return IS_SVR_REV(svr, 1, 0) || IS_SVR_REV(svr, 1, 1); in has_dual_phy()
41 return IS_SVR_REV(svr, 1, 0) || IS_SVR_REV(svr, 2, 0); in has_dual_phy()
61 return IS_SVR_REV(svr, 1, 0) || IS_SVR_REV(svr, 1, 1); in has_erratum_a005275()
65 return IS_SVR_REV(svr, 1, 0) || IS_SVR_REV(svr, 2, 0); in has_erratum_a005275()
83 return IS_SVR_REV(svr, 1, 0) || IS_SVR_REV(svr, 2, 0); in has_erratum_a006261()
88 IS_SVR_REV(svr, 2, 0) || IS_SVR_REV(svr, 2, 1); in has_erratum_a006261()
92 IS_SVR_REV(svr, 2, 0) || IS_SVR_REV(svr, 2, 1); in has_erratum_a006261()
96 return IS_SVR_REV(svr, 1, 0) || IS_SVR_REV(svr, 2, 0); in has_erratum_a006261()
98 return IS_SVR_REV(svr, 1, 0) || IS_SVR_REV(svr, 2, 0); in has_erratum_a006261()
101 IS_SVR_REV(svr, 2, 0) || IS_SVR_REV(svr, 2, 1); in has_erratum_a006261()
[all …]
/openbmc/u-boot/include/
H A Dfsl_errata.h22 u32 svr = get_svr(); in has_erratum_a006379() local
23 if (((SVR_SOC_VER(svr) == SVR_T4240) && SVR_MAJ(svr) <= 1) || in has_erratum_a006379()
24 ((SVR_SOC_VER(svr) == SVR_T4160) && SVR_MAJ(svr) <= 1) || in has_erratum_a006379()
25 ((SVR_SOC_VER(svr) == SVR_T4080) && SVR_MAJ(svr) <= 1) || in has_erratum_a006379()
26 ((SVR_SOC_VER(svr) == SVR_B4860) && SVR_MAJ(svr) <= 2) || in has_erratum_a006379()
27 ((SVR_SOC_VER(svr) == SVR_B4420) && SVR_MAJ(svr) <= 2) || in has_erratum_a006379()
28 ((SVR_SOC_VER(svr) == SVR_T2080) && SVR_MAJ(svr) <= 1) || in has_erratum_a006379()
29 ((SVR_SOC_VER(svr) == SVR_T2081) && SVR_MAJ(svr) <= 1)) in has_erratum_a006379()
39 u32 svr = get_svr(); in has_erratum_a007186() local
53 return IS_SVR_REV(svr, 1, 0) || IS_SVR_REV(svr, 1, 1); in has_erratum_a007186()
[all …]
/openbmc/linux/drivers/soc/fsl/
H A Dguts.c19 u32 svr; member
36 .svr = 0x82400000,
41 .svr = 0x85200000,
46 .svr = 0x85300000,
51 .svr = 0x85400000,
61 .svr = 0x87920000,
111 if (matches->svr == (svr & matches->mask)) in fsl_soc_die_match()
193 u32 svr; in fsl_guts_init() local
209 svr = ioread32(&regs->svr); in fsl_guts_init()
211 svr = ioread32be(&regs->svr); in fsl_guts_init()
[all …]
/openbmc/linux/drivers/soc/loongson/
H A Dloongson2_guts.c47 u32 svr; member
60 .svr = 0x00000013,
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()
90 return svr; in loongson2_guts_get_svr()
99 u32 svr; in loongson2_guts_probe() local
[all …]
/openbmc/u-boot/arch/powerpc/cpu/mpc85xx/
H A Dcmd_errata.c56 if (SVR_MAJ(svr) == 2) in check_erratum_a4849()
58 if (SVR_MAJ(svr) == 3) in check_erratum_a4849()
158 if (SVR_MAJ(svr) < 3) in do_errata()
189 if (SVR_MAJ(svr) < 3) in do_errata()
224 if ((SVR_MAJ(svr) == 1) || IS_SVR_REV(svr, 2, 0)) in do_errata()
231 if ((SVR_MAJ(svr) == 1) || IS_SVR_REV(svr, 2, 0)) in do_errata()
247 if (IS_SVR_REV(svr, 1, 0)) in do_errata()
260 check_erratum_a4849(svr); in do_errata()
264 check_erratum_a4580(svr); in do_errata()
284 if (IS_SVR_REV(svr, 1, 0)) in do_errata()
[all …]
H A Dcpu_init.c447 uint svr = get_svr(); in cpu_init_f() local
455 if ((SVR_MAJ(svr) == 1) || ((SVR_MAJ(svr) == 2 && SVR_MIN(svr) == 0x0))) in cpu_init_f()
523 u32 cluster, svr = get_svr(); in enable_cluster_l2() local
597 ver = SVR_SOC_VER(svr); in l2cache_init()
768 (SVR_SOC_VER(svr) == SVR_P4080 && SVR_MAJ(svr) < 3) || in cpu_init_r()
769 (SVR_SOC_VER(svr) != SVR_P4080 && SVR_MAJ(svr) < 2); in cpu_init_r()
825 if (IS_SVR_REV(svr, 1, 0)) in cpu_init_r()
830 if (IS_SVR_REV(svr, 1, 0)) { in cpu_init_r()
866 if (SVR_MAJ(svr) < 3) { in cpu_init_r()
978 if (SVR_SOC_VER(svr) == SVR_C293) in cpu_init_r()
[all …]
H A Dp2041_serdes.c55 u32 svr = get_svr(); in serdes_get_prtcl() local
56 u32 ver = SVR_SOC_VER(svr); in serdes_get_prtcl()
73 u32 svr = get_svr(); in is_serdes_prtcl_valid() local
74 u32 ver = SVR_SOC_VER(svr); in is_serdes_prtcl_valid()
H A Dcpu.c42 uint pvr, svr; in checkcpu() local
81 svr = get_svr(); in checkcpu()
82 major = SVR_MAJ(svr); in checkcpu()
83 minor = SVR_MIN(svr); in checkcpu()
86 if (SVR_SOC_VER(svr) == SVR_T4080) { in checkcpu()
123 if (IS_E_PROCESSOR(svr)) in checkcpu()
126 printf(", Version: %d.%d, (0x%08x)\n", major, minor, svr); in checkcpu()
/openbmc/u-boot/arch/arm/include/asm/arch-fsl-layerscape/
H A Dsoc.h106 #define SVR_MAJ(svr) (((svr) >> 4) & 0xf) argument
107 #define SVR_MIN(svr) (((svr) >> 0) & 0xf) argument
108 #define SVR_REV(svr) (((svr) >> 0) & 0xff) argument
109 #define SVR_SOC_VER(svr) (((svr) >> 8) & SVR_WO_E) argument
110 #define IS_E_PROCESSOR(svr) (!((svr >> 8) & 0x1)) argument
112 #define IS_C_PROCESSOR(svr) (!((svr >> 12) & 0x1)) argument
114 #define IS_SVR_REV(svr, maj, min) \ argument
115 ((SVR_MAJ(svr) == (maj)) && (SVR_MIN(svr) == (min)))
116 #define SVR_DEV(svr) ((svr) >> 8) argument
117 #define IS_SVR_DEV(svr, dev) (((svr) >> 16) == (dev)) argument
/openbmc/u-boot/drivers/pci/
H A Dpcie_layerscape_fixup.c78 uint svr; in fdt_pcie_set_msi_map_entry() local
87 if (svr == SVR_LS2088A || svr == SVR_LS2084A || in fdt_pcie_set_msi_map_entry()
88 svr == SVR_LS2048A || svr == SVR_LS2044A || in fdt_pcie_set_msi_map_entry()
89 svr == SVR_LS2081A || svr == SVR_LS2041A) in fdt_pcie_set_msi_map_entry()
132 uint svr; in fdt_pcie_set_iommu_map_entry() local
141 if (svr == SVR_LS2088A || svr == SVR_LS2084A || in fdt_pcie_set_iommu_map_entry()
142 svr == SVR_LS2048A || svr == SVR_LS2044A || in fdt_pcie_set_iommu_map_entry()
143 svr == SVR_LS2081A || svr == SVR_LS2041A) in fdt_pcie_set_iommu_map_entry()
232 if (svr == SVR_LS2088A || svr == SVR_LS2084A || in ft_pcie_rc_fix()
233 svr == SVR_LS2048A || svr == SVR_LS2044A || in ft_pcie_rc_fix()
[all …]
H A Dpcie_layerscape.c56 uint svr; in ls_pcie_ltssm() local
149 uint svr; in ls_pcie_setup_atu() local
175 svr = (svr >> SVR_VAR_PER_SHIFT) & 0xFFFFFE; in ls_pcie_setup_atu()
176 if (svr == SVR_LS2088A || svr == SVR_LS2084A || in ls_pcie_setup_atu()
177 svr == SVR_LS2048A || svr == SVR_LS2044A || in ls_pcie_setup_atu()
178 svr == SVR_LS2081A || svr == SVR_LS2041A) { in ls_pcie_setup_atu()
445 uint svr; in ls_pcie_probe() local
505 svr = (svr >> SVR_VAR_PER_SHIFT) & 0xFFFFFE; in ls_pcie_probe()
506 if (svr == SVR_LS2088A || svr == SVR_LS2084A || in ls_pcie_probe()
507 svr == SVR_LS2048A || svr == SVR_LS2044A || in ls_pcie_probe()
[all …]
/openbmc/linux/arch/powerpc/include/asm/
H A 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
/openbmc/u-boot/arch/powerpc/include/asm/
H A Dprocessor.h843 #define SVR_VER(svr) (((svr) >> 16) & 0xFFFF) /* Version field */ argument
844 #define SVR_REV(svr) (((svr) >> 0) & 0xFF) /* Revision field */ argument
848 #define SVR_SID(svr) (((svr) >> 16) & 0x3F) /* SOC ID */ argument
1025 #define SVR_FAM(svr) (((svr) >> 20) & 0xFFF) /* Family field */ argument
1026 #define SVR_MEM(svr) (((svr) >> 16) & 0xF) /* Member field */ argument
1029 #define SVR_MAJ(svr) (((svr) >> 4) & 0x7) /* Major revision field*/ argument
1031 #define SVR_MAJ(svr) (((svr) >> 4) & 0xF) /* Major revision field*/ argument
1033 #define SVR_MIN(svr) (((svr) >> 0) & 0xF) /* Minor revision field*/ argument
1036 #define SVR_SOC_VER(svr) (((svr) >> 8) & 0xFFF7FF) /* SOC w/o E bit*/ argument
1040 #define IS_E_PROCESSOR(svr) (svr & 0x80000) argument
[all …]
/openbmc/u-boot/arch/arm/cpu/armv7/ls102xa/
H A Dcpu.c225 return in_be32(&gur->svr); in get_svr()
233 unsigned int svr, major, minor, ver, i; in print_cpuinfo() local
235 svr = in_be32(&gur->svr); in print_cpuinfo()
236 major = SVR_MAJ(svr); in print_cpuinfo()
237 minor = SVR_MIN(svr); in print_cpuinfo()
241 ver = SVR_SOC_VER(svr); in print_cpuinfo()
260 if (IS_E_PROCESSOR(svr) && (ver != SOC_VER_SLS1020)) in print_cpuinfo()
263 printf(", Version: %d.%d, (0x%08x)\n", major, minor, svr); in print_cpuinfo()
H A Dfdt.c79 unsigned int svr; in ft_cpu_setup() local
80 svr = in_be32(&gur->svr); in ft_cpu_setup()
85 if (!IS_E_PROCESSOR(svr)) in ft_cpu_setup()
H A Dsoc.c55 unsigned int svr, major; in get_soc_major_rev() local
57 svr = in_be32(&gur->svr); in get_soc_major_rev()
58 major = SVR_MAJ(svr); in get_soc_major_rev()
/openbmc/u-boot/arch/arm/include/asm/arch-ls102xa/
H A Dimmap_ls102xa.h10 #define SVR_MAJ(svr) (((svr) >> 4) & 0xf) argument
11 #define SVR_MIN(svr) (((svr) >> 0) & 0xf) argument
12 #define SVR_SOC_VER(svr) (((svr) >> 8) & 0x7ff) argument
13 #define IS_E_PROCESSOR(svr) (svr & 0x80000) argument
14 #define IS_SVR_REV(svr, maj, min) \ argument
15 ((SVR_MAJ(svr) == maj) && (SVR_MIN(svr) == min))
109 u32 svr; /* System version */ member
/openbmc/openbmc/poky/meta/recipes-core/dropbear/dropbear/
H A D0006-dropbear-configuration-file.patch15 svr-authpam.c | 2 +-
18 diff --git a/svr-authpam.c b/svr-authpam.c
20 --- a/svr-authpam.c
21 +++ b/svr-authpam.c
/openbmc/u-boot/arch/powerpc/cpu/mpc86xx/
H A Dcpu.c34 uint pvr, svr; in checkcpu() local
42 svr = get_svr(); in checkcpu()
43 major = SVR_MAJ(svr); in checkcpu()
44 minor = SVR_MIN(svr); in checkcpu()
58 printf(", Version: %d.%d, (0x%08x)\n", major, minor, svr); in checkcpu()
/openbmc/u-boot/drivers/ddr/fsl/
H A Dmpc85xx_ddr_gen2.c24 uint svr; in fsl_ddr_set_memctl_regs() local
37 svr = get_svr(); in fsl_ddr_set_memctl_regs()
38 if ((SVR_MAJ(svr) == 1) || IS_SVR_REV(svr, 2, 0)) { in fsl_ddr_set_memctl_regs()
/openbmc/u-boot/board/freescale/ls2080ardb/
H A Dls2080ardb.c254 u32 svr = gur_in32(&gur->svr); in misc_init_r() local
286 if ((SVR_SOC_VER(svr) == SVR_LS2088A) || in misc_init_r()
287 (SVR_SOC_VER(svr) == SVR_LS2048A)) in misc_init_r()
289 else if ((SVR_SOC_VER(svr) == SVR_LS2081A) || in misc_init_r()
290 (SVR_SOC_VER(svr) == SVR_LS2041A)) in misc_init_r()
/openbmc/u-boot/arch/arm/cpu/armv8/fsl-layerscape/
H A Dmp.c72 u32 svr, ver, cluster, type; in fsl_layerscape_wake_seconday_cores() local
103 svr = gur_in32(&gur->svr); in fsl_layerscape_wake_seconday_cores()
104 ver = SVR_SOC_VER(svr); in fsl_layerscape_wake_seconday_cores()
H A Dsoc.c35 u32 svr = gur_in32(&gur->svr); in soc_has_dp_ddr() local
38 if ((SVR_SOC_VER(svr) == SVR_LS2085A) || in soc_has_dp_ddr()
39 (SVR_SOC_VER(svr) == SVR_LS2088A) || in soc_has_dp_ddr()
40 (SVR_SOC_VER(svr) == SVR_LS2048A)) in soc_has_dp_ddr()
49 u32 svr = gur_in32(&gur->svr); in soc_has_aiop() local
52 if (SVR_SOC_VER(svr) == SVR_LS2085A) in soc_has_aiop()
H A Dcpu.c366 unsigned int i, svr, ver; in cpu_name() local
368 svr = gur_in32(&gur->svr); in cpu_name()
369 ver = SVR_SOC_VER(svr); in cpu_name()
375 if (IS_C_PROCESSOR(svr)) in cpu_name()
379 if (IS_E_PROCESSOR(svr)) in cpu_name()
383 SVR_MAJ(svr), SVR_MIN(svr)); in cpu_name()
429 u32 svr, ver; in fix_pcie_mmu_map() local
432 svr = gur_in32(&gur->svr); in fix_pcie_mmu_map()
433 ver = SVR_SOC_VER(svr); in fix_pcie_mmu_map()
950 return gur_in32(&gur->svr); in get_svr()
[all …]
/openbmc/slpd-lite/
H A Dmain.cpp74 slp::udp::Server svr(slp::PORT, requestHandler); in main() local
75 return svr.run(); in main()

123