Lines Matching defs:pps_state
83 struct pps_state pps_state;
252 newmode = sc->pps_state.ppsparam.mode & PPS_CAPTUREASSERT;
295 * it is captured into an area of the pps_state struct which is read
301 pps_capture(&sc->pps_state);
302 sc->pps_state.capcount = DMTIMER_READ4(sc, DMT_TCAR1);
306 pps_event(&sc->pps_state, PPS_CAPTUREASSERT);
359 err = pps_ioctl(cmd, data, &sc->pps_state);
479 * pps_state struct and add its capabilities.
488 sc->pps_state.flags = PPSFLAG_MTX_SPIN;
489 sc->pps_state.ppscap = PPS_CAPTUREASSERT;
490 sc->pps_state.driver_abi = PPS_ABI_VERSION;
491 sc->pps_state.driver_mtx = &sc->pps_mtx;
492 pps_init_abi(&sc->pps_state);