Lines Matching refs:als_it
245 u16 als_it; in cm32181_read_als_it() local
248 als_it = cm32181->conf_regs[CM32181_REG_ADDR_CMD]; in cm32181_read_als_it()
249 als_it &= CM32181_CMD_ALS_IT_MASK; in cm32181_read_als_it()
250 als_it >>= CM32181_CMD_ALS_IT_SHIFT; in cm32181_read_als_it()
252 if (als_it == cm32181->als_it_bits[i]) { in cm32181_read_als_it()
273 u16 als_it; in cm32181_write_als_it() local
283 als_it = cm32181->als_it_bits[i]; in cm32181_write_als_it()
284 als_it <<= CM32181_CMD_ALS_IT_SHIFT; in cm32181_write_als_it()
290 als_it; in cm32181_write_als_it()
311 int als_it; in cm32181_get_lux() local
314 ret = cm32181_read_als_it(cm32181, &als_it); in cm32181_get_lux()
320 lux = div_u64(lux, als_it); in cm32181_get_lux()