Home
last modified time | relevance | path

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

/freebsd-13.1/sys/dev/uart/
H A Duart_core.c172 pps_capture(&sc->sc_pps); in uart_pps_process()
177 pps_event(&sc->sc_pps, PPS_CAPTUREASSERT); in uart_pps_process()
178 pps_event(&sc->sc_pps, PPS_CAPTURECLEAR); in uart_pps_process()
184 pps_event(&sc->sc_pps, is_assert ? PPS_CAPTUREASSERT : in uart_pps_process()
225 sc->sc_pps.ppscap = PPS_CAPTUREBOTH; in uart_pps_init()
226 sc->sc_pps.driver_mtx = uart_tty_getlock(sc); in uart_pps_init()
227 sc->sc_pps.driver_abi = PPS_ABI_VERSION; in uart_pps_init()
228 pps_init_abi(&sc->sc_pps); in uart_pps_init()
387 if (sc->sc_pps.ppsparam.mode & PPS_CAPTUREBOTH) { in uart_intr_sigchg()
H A Duart_bus.h122 struct pps_state sc_pps; member
H A Duart_tty.c255 return pps_ioctl(cmd, data, &sc->sc_pps); in uart_tty_ioctl()
/freebsd-13.1/sys/dev/usb/serial/
H A Dusb_serial.c447 sc->sc_pps.ppscap = PPS_CAPTUREBOTH; in ucom_attach_tty()
448 sc->sc_pps.driver_abi = PPS_ABI_VERSION; in ucom_attach_tty()
449 sc->sc_pps.driver_mtx = sc->sc_mtx; in ucom_attach_tty()
450 pps_init_abi(&sc->sc_pps); in ucom_attach_tty()
938 error = pps_ioctl(cmd, data, &sc->sc_pps); in ucom_ioctl()
1188 if ((sc->sc_pps.ppsparam.mode & PPS_CAPTUREBOTH) && in ucom_cfg_status_change()
1190 pps_capture(&sc->sc_pps); in ucom_cfg_status_change()
1194 pps_event(&sc->sc_pps, onoff ? PPS_CAPTUREASSERT : in ucom_cfg_status_change()
H A Dusb_serial.h162 struct pps_state sc_pps; member