Searched full:opt3001 (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/iio/light/ |
H A D | opt3001.c | 3 * opt3001.c - Texas Instruments OPT3001 Light Sensor 86 * eg. 0.01 (scaled to integer 10) for opt3001. 102 struct opt3001 { struct 227 static int opt3001_find_scale(const struct opt3001 *opt, int val, in opt3001_find_scale() 246 static void opt3001_to_iio_ret(struct opt3001 *opt, u8 exponent, in opt3001_to_iio_ret() 259 static void opt3001_set_mode(struct opt3001 *opt, u16 *reg, u16 mode) in opt3001_set_mode() 314 static int opt3001_get_processed(struct opt3001 *opt, int *val, int *val2) in opt3001_get_processed() 437 static int opt3001_get_int_time(struct opt3001 *opt, int *val, int *val2) in opt3001_get_int_time() 445 static int opt3001_set_int_time(struct opt3001 *opt, int time) in opt3001_set_int_time() 480 struct opt3001 *opt = iio_priv(iio); in opt3001_read_raw() [all …]
|
/linux/arch/arm64/boot/dts/ti/ |
H A D | k3-am642-hummingboard-t.dts | 142 compatible = "ti,opt3001";
|