Home
last modified time | relevance | path

Searched refs:sc_pps (Results 1 – 5 of 5) sorted by relevance

/freebsd/sys/dev/uart/
H A Duart_core.c168 pps_capture(&sc->sc_pps); in uart_pps_process()
173 pps_event(&sc->sc_pps, PPS_CAPTUREASSERT); in uart_pps_process()
174 pps_event(&sc->sc_pps, PPS_CAPTURECLEAR); in uart_pps_process()
180 pps_event(&sc->sc_pps, is_assert ? PPS_CAPTUREASSERT : in uart_pps_process()
221 sc->sc_pps.ppscap = PPS_CAPTUREBOTH; in uart_pps_init()
222 sc->sc_pps.driver_mtx = uart_tty_getlock(sc); in uart_pps_init()
223 sc->sc_pps.driver_abi = PPS_ABI_VERSION; in uart_pps_init()
224 pps_init_abi(&sc->sc_pps); in uart_pps_init()
385 if (sc->sc_pps.ppsparam.mode & PPS_CAPTUREBOTH) { in uart_intr_sigchg()
H A Duart_bus.h123 struct pps_state sc_pps; member
H A Duart_tty.c255 return pps_ioctl(cmd, data, &sc->sc_pps); in uart_tty_ioctl()
/freebsd/sys/dev/usb/serial/
H A Dusb_serial.c445 sc->sc_pps.ppscap = PPS_CAPTUREBOTH; in ucom_attach_tty()
446 sc->sc_pps.driver_abi = PPS_ABI_VERSION; in ucom_attach_tty()
447 sc->sc_pps.driver_mtx = sc->sc_mtx; in ucom_attach_tty()
448 pps_init_abi(&sc->sc_pps); in ucom_attach_tty()
936 error = pps_ioctl(cmd, data, &sc->sc_pps); in ucom_ioctl()
1186 if ((sc->sc_pps.ppsparam.mode & PPS_CAPTUREBOTH) && in ucom_cfg_status_change()
1188 pps_capture(&sc->sc_pps); in ucom_cfg_status_change()
1192 pps_event(&sc->sc_pps, onoff ? PPS_CAPTUREASSERT : in ucom_cfg_status_change()
H A Dusb_serial.h161 struct pps_state sc_pps; member