Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/iio/light/
Dopt3001.c36 #define OPT3001_CONFIGURATION 0x01 macro
251 ret = i2c_smbus_read_word_swapped(opt->client, OPT3001_CONFIGURATION); in opt3001_get_lux()
254 OPT3001_CONFIGURATION); in opt3001_get_lux()
261 ret = i2c_smbus_write_word_swapped(opt->client, OPT3001_CONFIGURATION, in opt3001_get_lux()
265 OPT3001_CONFIGURATION); in opt3001_get_lux()
318 ret = i2c_smbus_read_word_swapped(opt->client, OPT3001_CONFIGURATION); in opt3001_set_int_time()
321 OPT3001_CONFIGURATION); in opt3001_set_int_time()
340 return i2c_smbus_write_word_swapped(opt->client, OPT3001_CONFIGURATION, in opt3001_set_int_time()
514 ret = i2c_smbus_read_word_swapped(opt->client, OPT3001_CONFIGURATION); in opt3001_write_event_config()
517 OPT3001_CONFIGURATION); in opt3001_write_event_config()
[all …]