Searched refs:ratio1 (Results 1 – 1 of 1) sorted by relevance
205 u_int32_t ratio, ratio1; in tsl_lux() local209 ratio1 = 0; in tsl_lux()211 ratio1 = (chan1 << (TSL2560_RATIO_SCALE + 1)) / chan0; in tsl_lux()212 ratio = (ratio1 + 1) >> 1; in tsl_lux()