Searched refs:ver2 (Results 1 – 5 of 5) sorted by relevance
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/ |
H A D | package.py | 45 for ver1, ver2, sort in self.tests: 47 …status = subprocess.call((oe.path.join(self.bindir, "dpkg"), "--compare-versions", ver1, op, ver2)) 48 self.assertEqual(status, 0, "%s %s %s failed" % (ver1, op, ver2)) 52 …status = subprocess.call((oe.path.join(self.bindir, "dpkg"), "--compare-versions", ver1, op, ver2)) 53 self.assertNotEqual(status, 0, "%s %s %s failed" % (ver1, op, ver2)) 57 …status = subprocess.call((oe.path.join(self.bindir, "dpkg"), "--compare-versions", ver1, op, ver2)) 58 self.assertNotEqual(status, 0, "%s %s %s failed" % (ver1, op, ver2)) 61 for ver1, ver2, sort in self.tests: 63 … status = subprocess.call((oe.path.join(self.bindir, "opkg"), "compare-versions", ver1, op, ver2)) 64 self.assertEqual(status, 0, "%s %s %s failed" % (ver1, op, ver2)) [all …]
|
/openbmc/linux/drivers/gpu/drm/hyperv/ |
H A D | hyperv_drm_proto.c | 186 static inline bool hyperv_version_ge(u32 ver1, u32 ver2) in hyperv_version_ge() argument 188 if (SYNTHVID_VER_GET_MAJOR(ver1) > SYNTHVID_VER_GET_MAJOR(ver2) || in hyperv_version_ge() 189 (SYNTHVID_VER_GET_MAJOR(ver1) == SYNTHVID_VER_GET_MAJOR(ver2) && in hyperv_version_ge() 190 SYNTHVID_VER_GET_MINOR(ver1) >= SYNTHVID_VER_GET_MINOR(ver2))) in hyperv_version_ge()
|
/openbmc/linux/sound/isa/cs423x/ |
H A D | cs4236_lib.c | 268 unsigned char ver1, ver2; in snd_cs4236_create() local 304 ver2 = snd_cs4236_ext_in(chip, CS4236_VERSION); in snd_cs4236_create() 306 cport, ver1, ver2); in snd_cs4236_create() 307 if (ver1 != ver2) { in snd_cs4236_create()
|
/openbmc/linux/drivers/video/fbdev/ |
H A D | hyperv_fb.c | 520 static inline bool synthvid_ver_ge(u32 ver1, u32 ver2) in synthvid_ver_ge() argument 522 if (SYNTHVID_VER_GET_MAJOR(ver1) > SYNTHVID_VER_GET_MAJOR(ver2) || in synthvid_ver_ge() 523 (SYNTHVID_VER_GET_MAJOR(ver1) == SYNTHVID_VER_GET_MAJOR(ver2) && in synthvid_ver_ge() 524 SYNTHVID_VER_GET_MINOR(ver1) >= SYNTHVID_VER_GET_MINOR(ver2))) in synthvid_ver_ge()
|
/openbmc/linux/drivers/ptp/ |
H A D | ptp_clockmatrix.c | 166 u8 ver1[3], ver2[3]; in idtcm_strverscmp() local 173 &ver2[0], &ver2[1], &ver2[2]) != 3) in idtcm_strverscmp() 177 if (ver1[i] > ver2[i]) in idtcm_strverscmp() 179 if (ver1[i] < ver2[i]) in idtcm_strverscmp()
|