Home
last modified time | relevance | path

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

/linux/drivers/iio/light/
H A Dopt3001.c30 #define OPT3001_CONFIGURATION 0x01 macro
329 ret = i2c_smbus_read_word_swapped(client, OPT3001_CONFIGURATION); in opt3001_start_conversion()
332 OPT3001_CONFIGURATION); in opt3001_start_conversion()
339 ret = i2c_smbus_write_word_swapped(client, OPT3001_CONFIGURATION, reg); in opt3001_start_conversion()
342 OPT3001_CONFIGURATION); in opt3001_start_conversion()
418 ret = i2c_smbus_read_word_swapped(client, OPT3001_CONFIGURATION); in opt3001_get_processed_noirq()
421 OPT3001_CONFIGURATION); in opt3001_get_processed_noirq()
478 ret = i2c_smbus_read_word_swapped(client, OPT3001_CONFIGURATION); in opt3001_set_int_time()
481 OPT3001_CONFIGURATION); in opt3001_set_int_time()
500 return i2c_smbus_write_word_swapped(client, OPT3001_CONFIGURATION, reg); in opt3001_set_int_time()
[all …]