Searched refs:manual_time (Results 1 – 1 of 1) sorted by relevance
131 static int s11059_manual_timing_write(const struct device *dev, uint16_t manual_time) in s11059_manual_timing_write() argument134 const uint8_t opcode[] = {S11059_REG_ADDR_MANUAL_TIMING, manual_time >> 8, in s11059_manual_timing_write()135 manual_time & 0xFF}; in s11059_manual_timing_write()173 static int s11059_integ_time_calculate(const struct device *dev, uint16_t *manual_time, in s11059_integ_time_calculate() argument181 *manual_time = 1; in s11059_integ_time_calculate()183 *manual_time = S11059_MAX_MANUAL_TIMING; in s11059_integ_time_calculate()188 *manual_time = (uint16_t)tmp; in s11059_integ_time_calculate()259 uint16_t manual_time; in s11059_init() local269 rc = s11059_integ_time_calculate(dev, &manual_time, &timing_mode); in s11059_init()275 rc = s11059_manual_timing_write(dev, manual_time); in s11059_init()