Home
last modified time | relevance | path

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

12

/external/u-boot/drivers/usb/common/
Dfsl-errata.c20 u32 svr = get_svr(); in has_dual_phy() local
21 u32 soc = SVR_SOC_VER(svr); in has_dual_phy()
29 return IS_SVR_REV(svr, 1, 0); in has_dual_phy()
36 return IS_SVR_REV(svr, 1, 0) || IS_SVR_REV(svr, 1, 1); in has_dual_phy()
40 return IS_SVR_REV(svr, 1, 0) || IS_SVR_REV(svr, 2, 0); in has_dual_phy()
49 u32 svr = get_svr(); in has_erratum_a006261() local
50 u32 soc = SVR_SOC_VER(svr); in has_erratum_a006261()
55 return IS_SVR_REV(svr, 1, 0) || IS_SVR_REV(svr, 2, 0); in has_erratum_a006261()
58 return IS_SVR_REV(svr, 1, 0) || in has_erratum_a006261()
59 IS_SVR_REV(svr, 1, 1) || in has_erratum_a006261()
[all …]
/external/u-boot/include/
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
40 u32 soc = SVR_SOC_VER(svr); in has_erratum_a007186()
[all …]
/external/u-boot/arch/powerpc/cpu/mpc85xx/
Dcmd_errata.c23 static void check_erratum_a4849(uint32_t svr) in check_erratum_a4849() argument
56 if (SVR_MAJ(svr) == 2) in check_erratum_a4849()
58 if (SVR_MAJ(svr) == 3) in check_erratum_a4849()
83 static void check_erratum_a4580(uint32_t svr) in check_erratum_a4580() argument
136 __maybe_unused u32 svr = get_svr(); in do_errata() local
139 if (IS_SVR_REV(svr, 1, 0)) { in do_errata()
140 switch (SVR_SOC_VER(svr)) { in do_errata()
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()
[all …]
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
531 if (SVR_SOC_VER(svr) == SVR_T4080) in enable_cluster_l2()
583 __maybe_unused u32 svr = get_svr(); in l2cache_init() local
597 ver = SVR_SOC_VER(svr); in l2cache_init()
676 if (SVR_SOC_VER(svr) == SVR_P2040) { in l2cache_init()
724 __maybe_unused u32 svr = get_svr(); in cpu_init_r() local
749 enable_cpu_a011_workaround = (SVR_MAJ(svr) < 3); in cpu_init_r()
768 (SVR_SOC_VER(svr) == SVR_P4080 && SVR_MAJ(svr) < 3) || in cpu_init_r()
[all …]
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()
/external/u-boot/drivers/pci/
Dpcie_layerscape_fixup.c78 uint svr; in fdt_pcie_set_msi_map_entry() local
86 svr = (get_svr() >> SVR_VAR_PER_SHIFT) & 0xFFFFFE; in fdt_pcie_set_msi_map_entry()
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
140 svr = (get_svr() >> SVR_VAR_PER_SHIFT) & 0xFFFFFE; in fdt_pcie_set_iommu_map_entry()
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()
[all …]
Dpcie_layerscape.c56 uint svr; in ls_pcie_ltssm() local
58 svr = get_svr(); in ls_pcie_ltssm()
59 if (((svr >> SVR_VAR_PER_SHIFT) & SVR_LS102XA_MASK) == SVR_LS102XA) { in ls_pcie_ltssm()
149 uint svr; in ls_pcie_setup_atu() local
151 svr = get_svr(); in ls_pcie_setup_atu()
152 if (((svr >> SVR_VAR_PER_SHIFT) & SVR_LS102XA_MASK) == SVR_LS102XA) { in ls_pcie_setup_atu()
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()
[all …]
/external/u-boot/arch/arm/include/asm/arch-fsl-layerscape/
Dsoc.h78 #define SVR_MAJ(svr) (((svr) >> 4) & 0xf) argument
79 #define SVR_MIN(svr) (((svr) >> 0) & 0xf) argument
80 #define SVR_REV(svr) (((svr) >> 0) & 0xff) argument
81 #define SVR_SOC_VER(svr) (((svr) >> 8) & SVR_WO_E) argument
82 #define IS_E_PROCESSOR(svr) (!((svr >> 8) & 0x1)) argument
83 #define IS_SVR_REV(svr, maj, min) \ argument
84 ((SVR_MAJ(svr) == (maj)) && (SVR_MIN(svr) == (min)))
85 #define SVR_DEV(svr) ((svr) >> 8) argument
86 #define IS_SVR_DEV(svr, dev) (((svr) >> 16) == (dev)) argument
/external/u-boot/arch/powerpc/include/asm/
Dprocessor.h843 #define SVR_VER(svr) (((svr) >> 16) & 0xFFFF) /* Version field */ argument
844 #define SVR_REV(svr) (((svr) >> 0) & 0xFF) /* Revision field */ argument
846 #define SVR_CID(svr) (((svr) >> 28) & 0x0F) /* Company or manufacturer ID */ argument
847 #define SVR_SOCOP(svr) (((svr) >> 22) & 0x3F) /* SOC integration options */ argument
848 #define SVR_SID(svr) (((svr) >> 16) & 0x3F) /* SOC ID */ argument
849 #define SVR_PROC(svr) (((svr) >> 12) & 0x0F) /* Process revision field */ argument
850 #define SVR_MFG(svr) (((svr) >> 8) & 0x0F) /* Manufacturing revision */ argument
851 #define SVR_MJREV(svr) (((svr) >> 4) & 0x0F) /* Major SOC design revision indicator */ argument
852 #define SVR_MNREV(svr) (((svr) >> 0) & 0x0F) /* Minor SOC design revision indicator */ argument
1023 #define SVR_SUBVER(svr) (((svr) >> 8) & 0xFF) /* Process/MFG sub-version */ argument
[all …]
/external/grpc-grpc/test/core/fling/
Dfling_test.cc37 gpr_subprocess *svr, *cli; in main() local
51 svr = gpr_subprocess_create(4, (const char**)args); in main()
71 gpr_subprocess_destroy(svr); in main()
76 gpr_subprocess_interrupt(svr); in main()
77 status = gpr_subprocess_join(svr); in main()
78 gpr_subprocess_destroy(svr); in main()
Dfling_stream_test.cc37 gpr_subprocess *svr, *cli; in main() local
51 svr = gpr_subprocess_create(4, (const char**)args); in main()
71 gpr_subprocess_destroy(svr); in main()
76 gpr_subprocess_interrupt(svr); in main()
77 status = gpr_subprocess_join(svr); in main()
78 gpr_subprocess_destroy(svr); in main()
/external/grpc-grpc/test/core/memory_usage/
Dmemory_usage_test.cc37 gpr_subprocess *svr, *cli; in main() local
51 svr = gpr_subprocess_create(4, (const char**)args); in main()
70 gpr_subprocess_destroy(svr); in main()
75 gpr_subprocess_interrupt(svr); in main()
76 status = gpr_subprocess_join(svr); in main()
77 gpr_subprocess_destroy(svr); in main()
/external/u-boot/arch/arm/cpu/armv7/ls102xa/
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()
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()
Dsoc.c54 unsigned int svr, major; in get_soc_major_rev() local
56 svr = in_be32(&gur->svr); in get_soc_major_rev()
57 major = SVR_MAJ(svr); in get_soc_major_rev()
/external/u-boot/arch/arm/include/asm/arch-ls102xa/
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))
107 u32 svr; /* System version */ member
/external/grpc-grpc/test/cpp/interop/
Dinterop_test.cc76 pid_t svr; in main() local
94 svr = fork(); in main()
95 if (svr == 0) { in main()
126 kill(svr, SIGINT); in main()
127 if (waitpid(svr, &status, 0) == -1) return 2; in main()
/external/u-boot/arch/powerpc/cpu/mpc86xx/
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()
/external/u-boot/arch/arm/cpu/armv8/fsl-layerscape/
Dcpu.c41 unsigned int i, svr, ver; in cpu_name() local
43 svr = gur_in32(&gur->svr); in cpu_name()
44 ver = SVR_SOC_VER(svr); in cpu_name()
50 if (IS_E_PROCESSOR(svr)) in cpu_name()
54 SVR_MAJ(svr), SVR_MIN(svr)); in cpu_name()
97 u32 svr, ver; in fix_pcie_mmu_map() local
100 svr = gur_in32(&gur->svr); in fix_pcie_mmu_map()
101 ver = SVR_SOC_VER(svr); in fix_pcie_mmu_map()
404 return gur_in32(&gur->svr); in get_svr()
415 u32 type, rcw, svr = gur_in32(&gur->svr); in print_cpuinfo() local
[all …]
Dsoc.c31 u32 svr = gur_in32(&gur->svr); in soc_has_dp_ddr() local
34 if ((SVR_SOC_VER(svr) == SVR_LS2085A) || in soc_has_dp_ddr()
35 (SVR_SOC_VER(svr) == SVR_LS2088A) || in soc_has_dp_ddr()
36 (SVR_SOC_VER(svr) == SVR_LS2048A)) in soc_has_dp_ddr()
45 u32 svr = gur_in32(&gur->svr); in soc_has_aiop() local
48 if (SVR_SOC_VER(svr) == SVR_LS2085A) in soc_has_aiop()
/external/syzkaller/vendor/google.golang.org/grpc/internal/channelz/
Dfuncs.go182 svr := &server{
189 db.get().addServer(id, svr)
432 if svr, ok := c.servers[v]; ok {
433 ss = append(ss, svr)
435 ListenSockets: copyMap(svr.listenSockets),
449 for i, svr := range ss {
450 s[i].ServerData = svr.s.ChannelzMetric()
451 s[i].ID = svr.id
452 s[i].RefName = svr.refName
458 var svr *server
[all …]
/external/grpc-grpc/test/core/bad_ssl/
Dbad_ssl_test.cc127 gpr_subprocess* svr; in main() local
148 svr = gpr_subprocess_create(4, (const char**)args); in main()
158 gpr_subprocess_interrupt(svr); in main()
159 status = gpr_subprocess_join(svr); in main()
160 gpr_subprocess_destroy(svr); in main()
/external/u-boot/drivers/ddr/fsl/
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()
/external/u-boot/board/freescale/ls2080ardb/
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()
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/
Dgrpc_testlib_server.cc108 std::unique_ptr<tensorflow::ServerInterface> svr; in main() local
109 s = tensorflow::NewServer(def, &svr); in main()
115 TF_QCHECK_OK(svr->Start()); in main()
116 TF_QCHECK_OK(svr->Join()); in main()

12