Lines Matching +defs:val +defs:dir
464 static int apds9306_read_data(struct apds9306_data *data, int *val, int reg) in apds9306_read_data()
628 static int apds9306_sampling_freq_get(struct apds9306_data *data, int *val, in apds9306_sampling_freq_get()
647 static int apds9306_sampling_freq_set(struct apds9306_data *data, int val, in apds9306_sampling_freq_set()
662 static int apds9306_scale_get(struct apds9306_data *data, int *val, int *val2) in apds9306_scale_get()
686 static int apds9306_scale_set(struct apds9306_data *data, int val, int val2) in apds9306_scale_set()
720 static int apds9306_event_period_get(struct apds9306_data *data, int *val) in apds9306_event_period_get()
737 static int apds9306_event_period_set(struct apds9306_data *data, int val) in apds9306_event_period_set()
747 static int apds9306_event_thresh_get(struct apds9306_data *data, int dir, in apds9306_event_thresh_get()
748 int *val) in apds9306_event_thresh_get()
769 static int apds9306_event_thresh_set(struct apds9306_data *data, int dir, in apds9306_event_thresh_set()
770 int val) in apds9306_event_thresh_set()
790 static int apds9306_event_thresh_adaptive_get(struct apds9306_data *data, int *val) in apds9306_event_thresh_adaptive_get()
807 static int apds9306_event_thresh_adaptive_set(struct apds9306_data *data, int val) in apds9306_event_thresh_adaptive_set()
818 struct iio_chan_spec const *chan, int *val, in apds9306_read_raw()
907 struct iio_chan_spec const *chan, int val, in apds9306_write_raw()
980 enum iio_event_direction dir, in apds9306_read_event()
982 int *val, int *val2) in apds9306_read_event()
1011 enum iio_event_direction dir, in apds9306_write_event()
1013 int val, int val2) in apds9306_write_event()
1033 enum iio_event_direction dir) in apds9306_read_event_config()
1073 enum iio_event_direction dir, in apds9306_write_event_config()