opt4060_chip
struct opt4060_chip *chip = iio_priv(idev);
struct opt4060_chip *chip = iio_priv(idev);
static int opt4060_setup_buffer(struct opt4060_chip *chip, struct iio_dev *idev)
static int opt4060_setup_trigger(struct opt4060_chip *chip, struct iio_dev *idev)
struct opt4060_chip *chip;
static int opt4060_set_int_state(struct opt4060_chip *chip, u32 state)
static int opt4060_set_sampling_mode(struct opt4060_chip *chip,
static bool opt4060_event_active(struct opt4060_chip *chip)
static int opt4060_set_state_common(struct opt4060_chip *chip,
struct opt4060_chip *chip = iio_priv(indio_dev);
struct opt4060_chip *chip = iio_priv(indio_dev);
static int opt4060_read_raw_value(struct opt4060_chip *chip,
struct opt4060_chip *chip = iio_priv(indio_dev);
struct opt4060_chip *chip = iio_priv(indio_dev);
struct opt4060_chip *chip = iio_priv(indio_dev);
static int opt4060_calc_illuminance(struct opt4060_chip *chip, int *val)
struct opt4060_chip *chip = iio_priv(indio_dev);
static int opt4060_set_int_time(struct opt4060_chip *chip)
static int opt4060_power_down(struct opt4060_chip *chip)
struct opt4060_chip *chip = iio_priv(indio_dev);
struct opt4060_chip *chip = iio_priv(indio_dev);
static ssize_t opt4060_read_ev_period(struct opt4060_chip *chip, int *val,
static ssize_t opt4060_write_ev_period(struct opt4060_chip *chip, int val,
static int opt4060_get_channel_sel(struct opt4060_chip *chip, int *ch_sel)
static int opt4060_set_channel_sel(struct opt4060_chip *chip, int ch_sel)
static int opt4060_get_thresholds(struct opt4060_chip *chip, u32 *th_lo, u32 *th_hi)
static int opt4060_set_thresholds(struct opt4060_chip *chip, u32 th_lo, u32 th_hi)
struct opt4060_chip *chip = iio_priv(indio_dev);
struct opt4060_chip *chip = iio_priv(indio_dev);
struct opt4060_chip *chip = iio_priv(indio_dev);
struct opt4060_chip *chip = iio_priv(indio_dev);
static int opt4060_load_defaults(struct opt4060_chip *chip)