Searched refs:sc_resolution (Results 1 - 2 of 2) sorted by relevance

/netbsd-6-1-5-RELEASE/sys/dev/i2c/
H A Dsdtemp.c57 int sc_resolution; member in struct:sdtemp_softc
200 sc->sc_resolution =
231 if (sc->sc_resolution < 0) {
232 sc->sc_resolution = ~sc->sc_resolution;
234 sc->sc_resolution & 0x3);
241 sc->sc_resolution++;
461 temp &= ~(0xf >> sc->sc_resolution);
/netbsd-6-1-5-RELEASE/sys/dev/bluetooth/
H A Dbtmagic.c153 int sc_resolution; /* for soft scaling */ member in struct:btmagic_softc
319 sc->sc_resolution = 650;
577 t = sc->sc_resolution;
586 sc->sc_resolution = t;
587 DPRINTF(sc, "sc_resolution = %u", t);
608 if (t < 1 || t > 40 || (sc->sc_resolution / t) == 0)
1154 dx = btmagic_scale(dx, &sc->sc_rx, sc->sc_resolution);
1157 dy = btmagic_scale(dy, &sc->sc_ry, sc->sc_resolution);
1269 dx = btmagic_scale(dx, &sc->sc_rx, sc->sc_resolution);
1273 dy = btmagic_scale(dy, &sc->sc_ry, sc->sc_resolution);
[all...]

Completed in 108 milliseconds