Home
last modified time | relevance | path

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

/freebsd/contrib/ntp/include/
H A Dtimepps-SCO.h96 #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 Dtimepps-SunOS.h96 #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 Dtimepps-Solaris.h96 #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 Dppsapitest.c86 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 Dpps.c138 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 Dam335x_dmtpps.c254 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 Delan-mmcr.c278 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 Dgpiopps.c147 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 Dpps-api.c73 pp.mode = PPS_CAPTUREASSERT | PPS_ECHOASSERT; in main()
/freebsd/contrib/ntp/ntpd/
H A Drefclock_jupiter.c385 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 Dntp_refclock.c1470 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 Drefclock_mx4200.c339 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 Drefclock_oncore.c871 mode = PPS_CAPTUREASSERT; in oncore_ppsapi()
911 i = PPS_CAPTUREASSERT; in oncore_ppsapi()
H A Drefclock_ripencc.c662 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 Drefclock_parse.c2873 i = PPS_CAPTUREASSERT; in parse_hardpps()
/freebsd/sys/sys/
H A Dtimepps.h81 #define PPS_CAPTUREASSERT 0x01 macro
/freebsd/sys/dev/uart/
H A Duart_core.c173 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 Dkern_tc.c1739 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 Dusb_serial.c1192 pps_event(&sc->sc_pps, onoff ? PPS_CAPTUREASSERT : in ucom_cfg_status_change()