/freebsd/contrib/ntp/include/ |
H A D | timepps-SCO.h | 96 #define PPS_CAPTUREASSERT 0x01 /* capture assert events */ macro 185 #define PPS_CAP (PPS_CAPTUREASSERT | PPS_OFFSETASSERT | PPS_TSFMT_TSPEC | PPS_TSFMT_NTPFP) 237 (*handle)->params.mode = PPS_CAPTUREASSERT | PPS_TSFMT_TSPEC; in time_pps_create() 309 if (mode_in & ~(PPS_CAPTUREASSERT | PPS_OFFSETASSERT)) { in time_pps_setparams() 420 if (!handle->params.mode & PPS_CAPTUREASSERT) { in time_pps_fetch()
|
H A D | timepps-SunOS.h | 96 #define PPS_CAPTUREASSERT 0x01 /* capture assert events */ macro 185 #define PPS_CAP (PPS_CAPTUREASSERT | PPS_OFFSETASSERT | PPS_TSFMT_TSPEC | PPS_TSFMT_NTPFP) 238 (*handle)->params.mode = PPS_CAPTUREASSERT | PPS_TSFMT_TSPEC; in time_pps_create() 310 if (mode_in & ~(PPS_CAPTUREASSERT | PPS_OFFSETASSERT)) { in time_pps_setparams() 424 if (!handle->params.mode & PPS_CAPTUREASSERT) { in time_pps_fetch()
|
H A D | timepps-Solaris.h | 96 #define PPS_CAPTUREASSERT 0x01 /* capture assert events */ macro 206 #define PPS_CAP (PPS_CAPTUREASSERT | PPS_OFFSETASSERT | PPS_TSFMT_TSPEC | PPS_TSFMT_NTPFP) 267 punit->params.mode = PPS_CAPTUREASSERT | PPS_TSFMT_TSPEC; in time_pps_create() 372 if (mode_in & ~(PPS_CAPTUREASSERT | PPS_OFFSETASSERT | in time_pps_setparams() 493 if (!punit->params.mode & PPS_CAPTUREASSERT) { in time_pps_fetch()
|
/freebsd/tools/test/ppsapi/ |
H A D | ppsapitest.c | 86 if (mode & PPS_CAPTUREASSERT) in main() 110 if (mode & PPS_CAPTUREASSERT) in main() 123 if (Aflag && !(mode & PPS_CAPTUREASSERT)) in main() 131 pp.mode |= PPS_CAPTUREASSERT; in main()
|
/freebsd/sys/dev/ppbus/ |
H A D | pps.c | 138 sc->pps[0].ppscap = PPS_CAPTUREASSERT | PPS_ECHOASSERT; in ppsattach() 192 sc->pps[i].ppscap = PPS_CAPTUREASSERT | PPS_CAPTURECLEAR; in ppsattach() 292 i & k ? PPS_CAPTUREASSERT : PPS_CAPTURECLEAR); in ppshcpoll() 312 pps_event(&sc->pps[0], PPS_CAPTUREASSERT); in ppsintr()
|
/freebsd/sys/arm/ti/am335x/ |
H A D | am335x_dmtpps.c | 254 newmode = sc->pps_state.ppsparam.mode & PPS_CAPTUREASSERT; in dmtpps_set_hw_capture() 260 if (newmode == PPS_CAPTUREASSERT) in dmtpps_set_hw_capture() 308 pps_event(&sc->pps_state, PPS_CAPTUREASSERT); in dmtpps_poll() 561 sc->pps_state.ppscap = PPS_CAPTUREASSERT; in dmtpps_attach()
|
/freebsd/sys/i386/i386/ |
H A D | elan-mmcr.c | 278 pps_event(&elan_pps, PPS_CAPTUREASSERT); in elan_poll_pps() 365 elan_pps.ppscap |= PPS_CAPTUREASSERT; in init_AMD_Elan_sc520() 446 if (elan_pps.ppsparam.mode & PPS_CAPTUREASSERT) { in elan_ioctl()
|
/freebsd/sys/dev/gpio/ |
H A D | gpiopps.c | 147 pps_event(&sc->pps_state, PPS_CAPTUREASSERT); in gpiopps_ithrd() 183 sc->pps_state.ppscap = PPS_CAPTUREASSERT | PPS_CAPTURECLEAR; in gpiopps_fdt_attach()
|
/freebsd/contrib/ntp/util/ |
H A D | pps-api.c | 73 pp.mode = PPS_CAPTUREASSERT | PPS_ECHOASSERT; in main()
|
/freebsd/contrib/ntp/ntpd/ |
H A D | refclock_jupiter.c | 385 up->pps_params.mode = capability & PPS_CAPTUREASSERT; in jupiter_ppsapi() 386 if (!(up->pps_params.mode & (PPS_CAPTUREASSERT | PPS_CAPTURECLEAR))) { in jupiter_ppsapi() 446 if (up->pps_params.mode & PPS_CAPTUREASSERT) { in jupiter_pps()
|
H A D | ntp_refclock.c | 1470 ap->pps_params.mode = PPS_TSFMT_TSPEC | PPS_CAPTUREASSERT; in refclock_params() 1542 if (ap->pps_params.mode & PPS_CAPTUREASSERT) in refclock_pps() 1688 if (ap->pps_params.mode & PPS_CAPTUREASSERT) in refclock_ppsaugment()
|
H A D | refclock_mx4200.c | 339 up->pps_p.mode = PPS_CAPTUREASSERT | PPS_TSFMT_TSPEC; in mx4200_config() 349 if (time_pps_kcbind(up->pps_h, PPS_KC_HARDPPS, PPS_CAPTUREASSERT, in mx4200_config()
|
H A D | refclock_oncore.c | 871 mode = PPS_CAPTUREASSERT; in oncore_ppsapi() 911 i = PPS_CAPTUREASSERT; in oncore_ppsapi()
|
H A D | refclock_ripencc.c | 662 up->pps_params.mode = capability & PPS_CAPTUREASSERT; in ripencc_ppsapi() 733 if (up->pps_params.mode & PPS_CAPTUREASSERT) { in ripencc_get_pps_ts()
|
H A D | refclock_parse.c | 2873 i = PPS_CAPTUREASSERT; in parse_hardpps()
|
/freebsd/sys/sys/ |
H A D | timepps.h | 81 #define PPS_CAPTUREASSERT 0x01 macro
|
/freebsd/sys/dev/uart/ |
H A D | uart_core.c | 173 pps_event(&sc->sc_pps, PPS_CAPTUREASSERT); in uart_pps_process() 180 pps_event(&sc->sc_pps, is_assert ? PPS_CAPTUREASSERT : in uart_pps_process()
|
/freebsd/sys/kern/ |
H A D | kern_tc.c | 1739 if (pps->ppscap & PPS_CAPTUREASSERT) in pps_init() 1815 if (event == PPS_CAPTUREASSERT) { in pps_event() 1820 fhard = pps->kcmode & PPS_CAPTUREASSERT; in pps_event()
|
/freebsd/sys/dev/usb/serial/ |
H A D | usb_serial.c | 1192 pps_event(&sc->sc_pps, onoff ? PPS_CAPTUREASSERT : in ucom_cfg_status_change()
|