Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/iio/light/
Dopt3001.c28 #define OPT3001_CONFIGURATION 0x01 macro
255 ret = i2c_smbus_read_word_swapped(opt->client, OPT3001_CONFIGURATION); in opt3001_get_lux()
258 OPT3001_CONFIGURATION); in opt3001_get_lux()
265 ret = i2c_smbus_write_word_swapped(opt->client, OPT3001_CONFIGURATION, in opt3001_get_lux()
269 OPT3001_CONFIGURATION); in opt3001_get_lux()
286 OPT3001_CONFIGURATION); in opt3001_get_lux()
289 OPT3001_CONFIGURATION); in opt3001_get_lux()
359 ret = i2c_smbus_read_word_swapped(opt->client, OPT3001_CONFIGURATION); in opt3001_set_int_time()
362 OPT3001_CONFIGURATION); in opt3001_set_int_time()
381 return i2c_smbus_write_word_swapped(opt->client, OPT3001_CONFIGURATION, in opt3001_set_int_time()
[all …]