Searched refs:negmul (Results 1 – 1 of 1) sorted by relevance
162 int i, negmul, offset, size, tmphi, tmplo; in gpioths_dht_readbytes() local262 negmul = (value & 0x80) ? -1 : 1; in gpioths_dht_readbytes()263 sc->temp = DK_OFFSET + (negmul * (tmphi * 10 + tmplo)); in gpioths_dht_readbytes()267 negmul = (value & 0x8000) ? -1 : 1; in gpioths_dht_readbytes()268 sc->temp = DK_OFFSET + (negmul * (value & 0x03ff)); in gpioths_dht_readbytes()