Lines Matching refs:als_it
137 u16 als_it; in cm3232_read_als_it() local
140 als_it = chip->regs_cmd; in cm3232_read_als_it()
141 als_it &= CM3232_CMD_ALS_IT_MASK; in cm3232_read_als_it()
142 als_it >>= CM3232_CMD_ALS_IT_SHIFT; in cm3232_read_als_it()
144 if (als_it == cm3232_als_it_scales[i].it) { in cm3232_read_als_it()
167 u16 als_it, cmd; in cm3232_write_als_it() local
175 als_it = cm3232_als_it_scales[i].it; in cm3232_write_als_it()
176 als_it <<= CM3232_CMD_ALS_IT_SHIFT; in cm3232_write_als_it()
179 cmd |= als_it; in cm3232_write_als_it()
207 int als_it; in cm3232_get_lux() local
214 als_it = val * 1000000 + val2; in cm3232_get_lux()
217 lux = div_u64(lux, als_it); in cm3232_get_lux()