Searched refs:opt3001 (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/iio/light/ |
H A D | opt3001.c | 3 * 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 *op in opt3001_write_raw() [all...] |
/kernel/linux/linux-6.6/drivers/iio/light/ |
H A D | opt3001.c | 3 * 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 *op in opt3001_write_raw() [all...] |
Completed in 2 milliseconds