Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/iio/light/
Dopt3001.c3 * opt3001.c - Texas Instruments OPT3001 Light Sensor
73 struct opt3001 { struct
147 static int opt3001_find_scale(const struct opt3001 *opt, int val, in opt3001_find_scale()
170 static void opt3001_to_iio_ret(struct opt3001 *opt, u8 exponent, in opt3001_to_iio_ret()
180 static void opt3001_set_mode(struct opt3001 *opt, u16 *reg, u16 mode) in opt3001_set_mode()
224 static int opt3001_get_lux(struct opt3001 *opt, int *val, int *val2) in opt3001_get_lux()
347 static int opt3001_get_int_time(struct opt3001 *opt, int *val, int *val2) in opt3001_get_int_time()
355 static int opt3001_set_int_time(struct opt3001 *opt, int time) in opt3001_set_int_time()
390 struct opt3001 *opt = iio_priv(iio); in opt3001_read_raw()
421 struct opt3001 *opt = iio_priv(iio); in opt3001_write_raw()
[all …]
DKconfig382 config OPT3001 config
383 tristate "Texas Instruments OPT3001 Light Sensor"
387 OPT3001 Ambient Light Sensor.
390 opt3001.
DMakefile38 obj-$(CONFIG_OPT3001) += opt3001.o
/kernel/linux/linux-6.6/drivers/iio/light/
Dopt3001.c3 * opt3001.c - Texas Instruments OPT3001 Light Sensor
73 struct opt3001 { struct
147 static int opt3001_find_scale(const struct opt3001 *opt, int val, in opt3001_find_scale()
170 static void opt3001_to_iio_ret(struct opt3001 *opt, u8 exponent, in opt3001_to_iio_ret()
180 static void opt3001_set_mode(struct opt3001 *opt, u16 *reg, u16 mode) in opt3001_set_mode()
224 static int opt3001_get_lux(struct opt3001 *opt, int *val, int *val2) in opt3001_get_lux()
347 static int opt3001_get_int_time(struct opt3001 *opt, int *val, int *val2) in opt3001_get_int_time()
355 static int opt3001_set_int_time(struct opt3001 *opt, int time) in opt3001_set_int_time()
390 struct opt3001 *opt = iio_priv(iio); in opt3001_read_raw()
421 struct opt3001 *opt = iio_priv(iio); in opt3001_write_raw()
[all …]
DKconfig420 config OPT3001 config
421 tristate "Texas Instruments OPT3001 Light Sensor"
425 OPT3001 Ambient Light Sensor.
428 opt3001.
DMakefile39 obj-$(CONFIG_OPT3001) += opt3001.o
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/light/
Dopt3001.txt1 * Texas Instruments OPT3001 Ambient Light Sensor
9 https://www.ti.com/product/opt3001
12 - compatible: should be "ti,opt3001"
20 opt3001@44 {
21 compatible = "ti,opt3001";
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/iio/light/
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";