Searched refs:opt3001 (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.4/drivers/iio/light/ |
D | opt3001.c | 72 struct opt3001 { struct 146 static int opt3001_find_scale(const struct opt3001 *opt, int val, in opt3001_find_scale() 169 static void opt3001_to_iio_ret(struct opt3001 *opt, u8 exponent, in opt3001_to_iio_ret() 179 static void opt3001_set_mode(struct opt3001 *opt, u16 *reg, u16 mode) in opt3001_set_mode() 223 static int opt3001_get_lux(struct opt3001 *opt, int *val, int *val2) in opt3001_get_lux() 346 static int opt3001_get_int_time(struct opt3001 *opt, int *val, int *val2) in opt3001_get_int_time() 354 static int opt3001_set_int_time(struct opt3001 *opt, int time) in opt3001_set_int_time() 389 struct opt3001 *opt = iio_priv(iio); in opt3001_read_raw() 420 struct opt3001 *opt = iio_priv(iio); in opt3001_write_raw() 447 struct opt3001 *opt = iio_priv(iio); in opt3001_read_event_value() [all …]
|
D | Makefile | 33 obj-$(CONFIG_OPT3001) += opt3001.o
|
D | Kconfig | 333 opt3001.
|
/Linux-v5.4/Documentation/devicetree/bindings/iio/light/ |
D | opt3001.txt | 9 http://www.ti.com/product/opt3001 12 - compatible: should be "ti,opt3001" 20 opt3001@44 { 21 compatible = "ti,opt3001";
|