Home
last modified time | relevance | path

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

/freebsd/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);
/freebsd/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); \
/freebsd/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); \
/freebsd/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()
/freebsd/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()
/freebsd/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()
/freebsd/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);
/freebsd/sys/contrib/device-tree/src/arm64/freescale/
H A Dimx8mq-zii-ultra.dtsi265 usb-mode2-hog {
269 line-name = "usb-mode2";
/freebsd/sys/contrib/device-tree/src/arm/nxp/imx/
H A Dimx6qdl-zii-rdu2.dtsi354 usb-mode2-hog {
358 line-name = "usb-mode2";
/freebsd/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()