Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/iio/light/
Dopt3001.c29 #define OPT3001_CONFIGURATION 0x01 macro
260 ret = i2c_smbus_read_word_swapped(opt->client, OPT3001_CONFIGURATION); in opt3001_get_lux()
263 OPT3001_CONFIGURATION); in opt3001_get_lux()
270 ret = i2c_smbus_write_word_swapped(opt->client, OPT3001_CONFIGURATION, in opt3001_get_lux()
274 OPT3001_CONFIGURATION); in opt3001_get_lux()
293 OPT3001_CONFIGURATION); in opt3001_get_lux()
296 OPT3001_CONFIGURATION); in opt3001_get_lux()
364 ret = i2c_smbus_read_word_swapped(opt->client, OPT3001_CONFIGURATION); in opt3001_set_int_time()
367 OPT3001_CONFIGURATION); in opt3001_set_int_time()
386 return i2c_smbus_write_word_swapped(opt->client, OPT3001_CONFIGURATION, in opt3001_set_int_time()
[all …]