Home
last modified time | relevance | path

Searched full:opt3001 (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/iio/light/
H A Dopt3001.c3 * opt3001.c - Texas Instruments OPT3001 Light Sensor
73 struct opt3001 { struct
151 static int opt3001_find_scale(const struct opt3001 *opt, int val, in opt3001_find_scale()
174 static void opt3001_to_iio_ret(struct opt3001 *opt, u8 exponent, in opt3001_to_iio_ret()
184 static void opt3001_set_mode(struct opt3001 *opt, u16 *reg, u16 mode) in opt3001_set_mode()
228 static int opt3001_get_lux(struct opt3001 *opt, int *val, int *val2) in opt3001_get_lux()
351 static int opt3001_get_int_time(struct opt3001 *opt, int *val, int *val2) in opt3001_get_int_time()
359 static int opt3001_set_int_time(struct opt3001 *opt, int time) in opt3001_set_int_time()
394 struct opt3001 *opt = iio_priv(iio); in opt3001_read_raw()
425 struct opt3001 *opt = iio_priv(iio); in opt3001_write_raw()
[all …]
H A DKconfig422 config OPT3001 config
423 tristate "Texas Instruments OPT3001 Light Sensor"
427 OPT3001 Ambient Light Sensor.
430 opt3001.
H A DMakefile39 obj-$(CONFIG_OPT3001) += opt3001.o
/openbmc/linux/Documentation/devicetree/bindings/iio/light/
H A Dti,opt3001.yaml4 $id: http://devicetree.org/schemas/iio/light/ti,opt3001.yaml#
7 title: Texas Instruments OPT3001 Ambient Light Sensor
18 const: ti,opt3001
41 compatible = "ti,opt3001";
/openbmc/linux/
H A Dopengrok2.0.log[all...]