Home
last modified time | relevance | path

Searched refs:sc_skew (Results 1 – 2 of 2) sorted by relevance

/openbsd/sys/dev/gpio/
H A Dgpiodcf.c75 struct ksensor sc_skew; /* recv vs local skew */ member
174 sc->sc_skew.type = SENSOR_TIMEDELTA; in gpiodcf_attach()
175 sc->sc_skew.status = SENSOR_S_UNKNOWN; in gpiodcf_attach()
176 strlcpy(sc->sc_skew.desc, "local clock skew", in gpiodcf_attach()
177 sizeof(sc->sc_skew.desc)); in gpiodcf_attach()
178 sensor_attach(&sc->sc_sensordev, &sc->sc_skew); in gpiodcf_attach()
421 if (sc->sc_skew.status == SENSOR_S_UNKNOWN) in gpiodcf_mg_probe()
422 sc->sc_skew.status = SENSOR_S_CRIT; in gpiodcf_mg_probe()
423 sc->sc_skew.value = skew * 1000000000LL; in gpiodcf_mg_probe()
424 getmicrotime(&sc->sc_skew.tv); in gpiodcf_mg_probe()
/openbsd/sys/dev/usb/
H A Dudcf.c86 struct ksensor sc_skew; /* recv vs local skew */ member
187 sc->sc_skew.type = SENSOR_TIMEDELTA; in udcf_attach()
188 sc->sc_skew.status = SENSOR_S_UNKNOWN; in udcf_attach()
189 strlcpy(sc->sc_skew.desc, "local clock skew", in udcf_attach()
190 sizeof(sc->sc_skew.desc)); in udcf_attach()
191 sensor_attach(&sc->sc_sensordev, &sc->sc_skew); in udcf_attach()
585 if (sc->sc_skew.status == SENSOR_S_UNKNOWN) in udcf_mg_probe()
586 sc->sc_skew.status = SENSOR_S_CRIT; in udcf_mg_probe()
587 sc->sc_skew.value = skew * 1000000000LL; in udcf_mg_probe()
588 getmicrotime(&sc->sc_skew.tv); in udcf_mg_probe()