Home
last modified time | relevance | path

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

/openbsd/sys/dev/i2c/
H A Dtsl2560.c205 u_int32_t ratio, ratio1; in tsl_lux() local
209 ratio1 = 0; in tsl_lux()
211 ratio1 = (chan1 << (TSL2560_RATIO_SCALE + 1)) / chan0; in tsl_lux()
212 ratio = (ratio1 + 1) >> 1; in tsl_lux()