Searched refs:als_it (Results 1 – 3 of 3) sorted by relevance
114 u16 als_it; in cm32181_read_als_it() local117 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() local152 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[all …]
137 u16 als_it; in cm3232_read_als_it() local140 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() local175 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[all …]
516 STK3310_REGFIELD(als_it); in stk3310_regmap_init()