Symbol: opt4060_chip
drivers/iio/light/opt4060.c
1064
struct opt4060_chip *chip = iio_priv(idev);
drivers/iio/light/opt4060.c
1098
struct opt4060_chip *chip = iio_priv(idev);
drivers/iio/light/opt4060.c
1158
static int opt4060_setup_buffer(struct opt4060_chip *chip, struct iio_dev *idev)
drivers/iio/light/opt4060.c
1171
static int opt4060_setup_trigger(struct opt4060_chip *chip, struct iio_dev *idev)
drivers/iio/light/opt4060.c
1228
struct opt4060_chip *chip;
drivers/iio/light/opt4060.c
220
static int opt4060_set_int_state(struct opt4060_chip *chip, u32 state)
drivers/iio/light/opt4060.c
235
static int opt4060_set_sampling_mode(struct opt4060_chip *chip,
drivers/iio/light/opt4060.c
265
static bool opt4060_event_active(struct opt4060_chip *chip)
drivers/iio/light/opt4060.c
270
static int opt4060_set_state_common(struct opt4060_chip *chip,
drivers/iio/light/opt4060.c
304
struct opt4060_chip *chip = iio_priv(indio_dev);
drivers/iio/light/opt4060.c
330
struct opt4060_chip *chip = iio_priv(indio_dev);
drivers/iio/light/opt4060.c
335
static int opt4060_read_raw_value(struct opt4060_chip *chip,
drivers/iio/light/opt4060.c
364
struct opt4060_chip *chip = iio_priv(indio_dev);
drivers/iio/light/opt4060.c
405
struct opt4060_chip *chip = iio_priv(indio_dev);
drivers/iio/light/opt4060.c
433
struct opt4060_chip *chip = iio_priv(indio_dev);
drivers/iio/light/opt4060.c
458
static int opt4060_calc_illuminance(struct opt4060_chip *chip, int *val)
drivers/iio/light/opt4060.c
479
struct opt4060_chip *chip = iio_priv(indio_dev);
drivers/iio/light/opt4060.c
496
static int opt4060_set_int_time(struct opt4060_chip *chip)
drivers/iio/light/opt4060.c
510
static int opt4060_power_down(struct opt4060_chip *chip)
drivers/iio/light/opt4060.c
608
struct opt4060_chip *chip = iio_priv(indio_dev);
drivers/iio/light/opt4060.c
630
struct opt4060_chip *chip = iio_priv(indio_dev);
drivers/iio/light/opt4060.c
708
static ssize_t opt4060_read_ev_period(struct opt4060_chip *chip, int *val,
drivers/iio/light/opt4060.c
743
static ssize_t opt4060_write_ev_period(struct opt4060_chip *chip, int val,
drivers/iio/light/opt4060.c
767
static int opt4060_get_channel_sel(struct opt4060_chip *chip, int *ch_sel)
drivers/iio/light/opt4060.c
781
static int opt4060_set_channel_sel(struct opt4060_chip *chip, int ch_sel)
drivers/iio/light/opt4060.c
794
static int opt4060_get_thresholds(struct opt4060_chip *chip, u32 *th_lo, u32 *th_hi)
drivers/iio/light/opt4060.c
816
static int opt4060_set_thresholds(struct opt4060_chip *chip, u32 th_lo, u32 th_hi)
drivers/iio/light/opt4060.c
840
struct opt4060_chip *chip = iio_priv(indio_dev);
drivers/iio/light/opt4060.c
876
struct opt4060_chip *chip = iio_priv(indio_dev);
drivers/iio/light/opt4060.c
908
struct opt4060_chip *chip = iio_priv(indio_dev);
drivers/iio/light/opt4060.c
933
struct opt4060_chip *chip = iio_priv(indio_dev);
drivers/iio/light/opt4060.c
992
static int opt4060_load_defaults(struct opt4060_chip *chip)