opt3001 146 drivers/iio/light/opt3001.c static int opt3001_find_scale(const struct opt3001 *opt, int val, opt3001 169 drivers/iio/light/opt3001.c static void opt3001_to_iio_ret(struct opt3001 *opt, u8 exponent, opt3001 179 drivers/iio/light/opt3001.c static void opt3001_set_mode(struct opt3001 *opt, u16 *reg, u16 mode) opt3001 223 drivers/iio/light/opt3001.c static int opt3001_get_lux(struct opt3001 *opt, int *val, int *val2) opt3001 346 drivers/iio/light/opt3001.c static int opt3001_get_int_time(struct opt3001 *opt, int *val, int *val2) opt3001 354 drivers/iio/light/opt3001.c static int opt3001_set_int_time(struct opt3001 *opt, int time) opt3001 389 drivers/iio/light/opt3001.c struct opt3001 *opt = iio_priv(iio); opt3001 420 drivers/iio/light/opt3001.c struct opt3001 *opt = iio_priv(iio); opt3001 447 drivers/iio/light/opt3001.c struct opt3001 *opt = iio_priv(iio); opt3001 475 drivers/iio/light/opt3001.c struct opt3001 *opt = iio_priv(iio); opt3001 530 drivers/iio/light/opt3001.c struct opt3001 *opt = iio_priv(iio); opt3001 539 drivers/iio/light/opt3001.c struct opt3001 *opt = iio_priv(iio); opt3001 589 drivers/iio/light/opt3001.c static int opt3001_read_id(struct opt3001 *opt) opt3001 620 drivers/iio/light/opt3001.c static int opt3001_configure(struct opt3001 *opt) opt3001 687 drivers/iio/light/opt3001.c struct opt3001 *opt = iio_priv(iio); opt3001 743 drivers/iio/light/opt3001.c struct opt3001 *opt; opt3001 800 drivers/iio/light/opt3001.c struct opt3001 *opt = iio_priv(iio);