Searched refs:timing_reg (Results 1 – 1 of 1) sorted by relevance
257 uint8_t timing_reg; in tsl2561_sensor_setup() local291 timing_reg = TSL2561_TIMING_INTEG & tmp; in tsl2561_sensor_setup()306 timing_reg |= FIELD_PREP(TSL2561_TIMING_GAIN, tmp); in tsl2561_sensor_setup()308 ret = tsl2561_reg_write(dev, TSL2561_REG_TIMING, timing_reg); in tsl2561_sensor_setup()