Home
last modified time | relevance | path

Searched refs:cur_resolution (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/iio/light/
H A Dveml6030.c55 int cur_resolution; member
305 data->cur_resolution <<= int_idx - data->cur_integration_time; in veml6030_set_intgrn_tm()
307 data->cur_resolution >>= data->cur_integration_time - int_idx; in veml6030_set_intgrn_tm()
410 data->cur_resolution <<= gain_idx - data->cur_gain; in veml6030_set_als_gain()
412 data->cur_resolution >>= data->cur_gain - gain_idx; in veml6030_set_als_gain()
524 *val = (reg * data->cur_resolution) / 10000; in veml6030_read_raw()
525 *val2 = (reg * data->cur_resolution) % 10000 * 100; in veml6030_read_raw()
537 *val = (reg * data->cur_resolution) / 10000; in veml6030_read_raw()
538 *val2 = (reg * data->cur_resolution) % 10000; in veml6030_read_raw()
782 data->cur_resolution = 5376; in veml6030_hw_init()