Lines Matching refs:als_it
114 u16 als_it; in cm32181_read_als_it() local
117 als_it = cm32181->conf_regs[CM32181_REG_ADDR_CMD]; in cm32181_read_als_it()
118 als_it &= CM32181_CMD_ALS_IT_MASK; in cm32181_read_als_it()
119 als_it >>= CM32181_CMD_ALS_IT_SHIFT; in cm32181_read_als_it()
121 if (als_it == als_it_bits[i]) { in cm32181_read_als_it()
142 u16 als_it; in cm32181_write_als_it() local
152 als_it = als_it_bits[i]; in cm32181_write_als_it()
153 als_it <<= CM32181_CMD_ALS_IT_SHIFT; in cm32181_write_als_it()
159 als_it; in cm32181_write_als_it()
180 int als_it; in cm32181_get_lux() local
183 ret = cm32181_read_als_it(cm32181, &als_it); in cm32181_get_lux()
189 lux /= als_it; in cm32181_get_lux()