Lines Matching refs:als_it
135 u16 als_it; in cm3232_read_als_it() local
138 als_it = chip->regs_cmd; in cm3232_read_als_it()
139 als_it &= CM3232_CMD_ALS_IT_MASK; in cm3232_read_als_it()
140 als_it >>= CM3232_CMD_ALS_IT_SHIFT; in cm3232_read_als_it()
142 if (als_it == cm3232_als_it_scales[i].it) { in cm3232_read_als_it()
165 u16 als_it, cmd; in cm3232_write_als_it() local
173 als_it = cm3232_als_it_scales[i].it; in cm3232_write_als_it()
174 als_it <<= CM3232_CMD_ALS_IT_SHIFT; in cm3232_write_als_it()
177 cmd |= als_it; in cm3232_write_als_it()
205 int als_it; in cm3232_get_lux() local
212 als_it = val * 1000000 + val2; in cm3232_get_lux()
215 lux = div_u64(lux, als_it); in cm3232_get_lux()