Home
last modified time | relevance | path

Searched refs:mode2 (Results 1 – 19 of 19) sorted by relevance

/src/sys/dev/drm2/
H A Ddrm_modes.c753 bool drm_mode_equal(const struct drm_display_mode *mode1, const struct drm_display_mode *mode2) in drm_mode_equal() argument
757 if (mode1->clock && mode2->clock) { in drm_mode_equal()
758 if (KHZ2PICOS(mode1->clock) != KHZ2PICOS(mode2->clock)) in drm_mode_equal()
760 } else if (mode1->clock != mode2->clock) in drm_mode_equal()
763 if (mode1->hdisplay == mode2->hdisplay && in drm_mode_equal()
764 mode1->hsync_start == mode2->hsync_start && in drm_mode_equal()
765 mode1->hsync_end == mode2->hsync_end && in drm_mode_equal()
766 mode1->htotal == mode2->htotal && in drm_mode_equal()
767 mode1->hskew == mode2->hskew && in drm_mode_equal()
768 mode1->vdisplay == mode2->vdisplay && in drm_mode_equal()
[all …]
H A Ddrm_crtc.h897 …rn bool drm_mode_equal(const struct drm_display_mode *mode1, const struct drm_display_mode *mode2);
/src/contrib/libevent/
H A Devthread-internal.h314 #define EVLOCK_LOCK2(lock1,lock2,mode1,mode2) EVUTIL_NIL_STMT_ argument
315 #define EVLOCK_UNLOCK2(lock1,lock2,mode1,mode2) EVUTIL_NIL_STMT_ argument
350 #define EVLOCK_LOCK2(lock1,lock2,mode1,mode2) \ argument
357 EVLOCK_LOCK(lock2_tmplock_,mode2); \
360 #define EVLOCK_UNLOCK2(lock1,lock2,mode1,mode2) \ argument
366 EVLOCK_UNLOCK(lock2_tmplock_,mode2); \
/src/contrib/ntp/sntp/libevent/
H A Devthread-internal.h314 #define EVLOCK_LOCK2(lock1,lock2,mode1,mode2) EVUTIL_NIL_STMT_ argument
315 #define EVLOCK_UNLOCK2(lock1,lock2,mode1,mode2) EVUTIL_NIL_STMT_ argument
350 #define EVLOCK_LOCK2(lock1,lock2,mode1,mode2) \ argument
357 EVLOCK_LOCK(lock2_tmplock_,mode2); \
360 #define EVLOCK_UNLOCK2(lock1,lock2,mode1,mode2) \ argument
366 EVLOCK_UNLOCK(lock2_tmplock_,mode2); \
/src/sys/arm/broadcom/bcm2835/
H A Dbcm2835_pwm.c69 uint32_t mode2; member
107 if (sc->mode == 0 && sc->mode2 == 0) /* both modes are zero */ in bcm_pwm_reconf()
160 if (sc->mode2 != 0) { in bcm_pwm_reconf()
168 if (sc->mode2 == 1) in bcm_pwm_reconf()
272 if (sc->mode2 == 1) in bcm_pwm_pwm_freq2_proc()
288 r = sc->mode2; in bcm_pwm_mode2_proc()
294 sc->mode2 = r; in bcm_pwm_mode2_proc()
476 sc->mode2 = 0; in bcm_pwm_detach()
/src/lib/libc/tests/stdio/
H A Dfreopen_test.c37 const char *mode2, bool success) in runtest() argument
46 fp2 = freopen(fname2, mode2, fp1); in runtest()
50 "unexpectedly", fname2_print, mode2, fname1, mode1); in runtest()
55 fname2_print, mode2, fname1, mode1, errno); in runtest()
/src/contrib/libdiff/test/
H A Dexpect019.diff26 const char *label1, const char *label2, mode_t mode1, mode_t mode2,
88 mode_t mode1, mode_t mode2, struct got_repository *repo)
93 - err = diff_blobs(NULL, blob1, blob2, label1, label2, mode1, mode2,
97 + blob1, blob2, label1, label2, mode1, mode2, a->diff_context,
H A Dtest019.left.txt45 const char *label1, const char *label2, mode_t mode1, mode_t mode2,
97 if (mode1 && mode1 != mode2) {
108 if (mode2 && mode1 != mode2) {
109 if (S_ISLNK(mode2))
114 mode2 & modebits) == -1) {
159 mode_t mode1, mode_t mode2, struct got_repository *repo)
164 err = diff_blobs(NULL, blob1, blob2, label1, label2, mode1, mode2,
295 const char *label1, const char *label2, mode_t mode1, mode_t mode2,
328 err = cb(cb_arg, blob1, blob2, id1, id2, label1, label2, mode1, mode2,
574 mode_t mode1, mode_t mode2, struct got_repository *repo)
[all …]
H A Dtest019.right.txt60 const char *label1, const char *label2, mode_t mode1, mode_t mode2,
117 if (mode1 && mode1 != mode2) {
128 if (mode2 && mode1 != mode2) {
129 if (S_ISLNK(mode2))
134 mode2 & modebits) == -1) {
201 mode_t mode1, mode_t mode2, struct got_repository *repo)
206 blob1, blob2, label1, label2, mode1, mode2, a->diff_context,
338 const char *label1, const char *label2, mode_t mode1, mode_t mode2,
371 err = cb(cb_arg, blob1, blob2, id1, id2, label1, label2, mode1, mode2,
617 mode_t mode1, mode_t mode2, struct got_repository *repo)
[all …]
H A Dtest020.left.txt43 const char *label1, const char *label2, mode_t mode1, mode_t mode2,
118 if (mode1 && mode1 != mode2) {
129 if (mode2 && mode1 != mode2) {
130 if (S_ISLNK(mode2))
135 mode2 & modebits) == -1) {
161 mode_t mode1, mode_t mode2, struct got_repository *repo)
165 return diff_blobs(blob1, blob2, label1, label2, mode1, mode2,
334 const char *label1, const char *label2, mode_t mode1, mode_t mode2,
367 err = cb(cb_arg, blob1, blob2, id1, id2, label1, label2, mode1, mode2,
613 mode_t mode1, mode_t mode2, struct got_repository *repo)
[all …]
H A Dtest020.right.txt60 const char *label1, const char *label2, mode_t mode1, mode_t mode2,
117 if (mode1 && mode1 != mode2) {
128 if (mode2 && mode1 != mode2) {
129 if (S_ISLNK(mode2))
134 mode2 & modebits) == -1) {
201 mode_t mode1, mode_t mode2, struct got_repository *repo)
206 blob1, blob2, label1, label2, mode1, mode2, a->diff_context,
369 const char *label1, const char *label2, mode_t mode1, mode_t mode2,
402 err = cb(cb_arg, blob1, blob2, id1, id2, label1, label2, mode1, mode2,
648 mode_t mode1, mode_t mode2, struct got_repository *repo)
[all …]
/src/contrib/bzip2/
H A Dbzlib.c1398 char mode2[10] = ""; in bzopen_or_bzdopen() local
1422 strcat(mode2, writing ? "w" : "r" ); in bzopen_or_bzdopen()
1423 strcat(mode2,"b"); /* binary mode */ in bzopen_or_bzdopen()
1430 fp = fopen(path,mode2); in bzopen_or_bzdopen()
1436 fp = fdopen(fd,mode2); in bzopen_or_bzdopen()
/src/contrib/llvm-project/openmp/runtime/src/
H A Dz_Windows_NT-586_asm.asm66 ; __kmp_x86_cpuid( int mode, int mode2, struct kmp_cpuid *p );
627 ; __kmp_x86_cpuid( int mode, int mode2, struct kmp_cpuid *p );
631 ; mode2: edx
649 mov ecx, edx ; mode2 parameter
H A Dkmp.h1458 extern void __kmp_x86_cpuid(int mode, int mode2, struct kmp_cpuid *p);
/src/sys/contrib/device-tree/src/arm64/freescale/
H A Dimx8mq-zii-ultra.dtsi265 usb-mode2-hog {
269 line-name = "usb-mode2";
/src/sys/contrib/device-tree/src/arm/aspeed/
H A Daspeed-bmc-opp-nicole.dts261 func-mode2-hog {
H A Daspeed-bmc-opp-palmetto.dts226 pin-func-mode2-hog {
/src/sys/contrib/device-tree/src/arm/nxp/imx/
H A Dimx6qdl-zii-rdu2.dtsi354 usb-mode2-hog {
358 line-name = "usb-mode2";
/src/contrib/wpa/wpa_supplicant/
H A Dp2p_supplicant.c6469 enum hostapd_hw_mode mode1, mode2; in wpas_same_band() local
6473 mode2 = ieee80211_freq_to_chan(freq2, &chan2); in wpas_same_band()
6476 return mode1 == mode2; in wpas_same_band()