sdtemp.c | 80 static int sdtemp_read_16(struct sdtemp_softc *, uint8_t, uint16_t *); 224 error = sdtemp_read_16(&sc, SDTEMP_REG_MFG_ID, &mfgid) | 225 sdtemp_read_16(&sc, SDTEMP_REG_DEV_REV, &devid) | 226 sdtemp_read_16(&sc, SDTEMP_REG_CAPABILITY, &cap); 267 if ((error = sdtemp_read_16(sc, SDTEMP_REG_MFG_ID, &mfgid)) != 0 || 268 (error = sdtemp_read_16(sc, SDTEMP_REG_DEV_REV, &devid)) != 0) { 297 error = sdtemp_read_16(sc, SDTEMP_REG_CAPABILITY, &sc->sc_capability); 438 if (sdtemp_read_16(sc, SDTEMP_REG_LOWER_LIM, &lim) == 0 && lim != 0) { 442 if (sdtemp_read_16(sc, SDTEMP_REG_UPPER_LIM, &lim) == 0 && lim != 0) { 446 if (sdtemp_read_16(sc, SDTEMP_REG_CRIT_LIM, &lim) == 0 && lim != 0) 524 sdtemp_read_16(struct sdtemp_softc *sc, uint8_t reg, uint16_t *valp) function in typeref:typename:int [all...] |