Searched refs:als_it (Results 1 – 3 of 3) sorted by relevance
135 u16 als_it; in cm3232_read_als_it() local138 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() local173 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[all …]
245 u16 als_it; in cm32181_read_als_it() local248 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() local283 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[all …]
538 STK3310_REGFIELD(als_it); in stk3310_regmap_init()