Searched refs:it_ms (Results 1 - 1 of 1) sorted by relevance

/linux-master/drivers/iio/light/
H A Dvl6180.c392 int ret, it_ms; local
394 it_ms = DIV_ROUND_CLOSEST(val2, 1000); /* round to ms */
395 if (val != 0 || it_ms < 1 || it_ms > 512)
403 ret = vl6180_write_word(data->client, VL6180_ALS_IT, it_ms - 1);
406 data->als_it_ms = it_ms;

Completed in 198 milliseconds