Lines Matching defs:data
247 static int vcnl4000_set_power_state(struct vcnl4000_data *data, bool on) in vcnl4000_set_power_state()
253 static int vcnl4000_init(struct vcnl4000_data *data) in vcnl4000_init()
283 static ssize_t vcnl4000_write_als_enable(struct vcnl4000_data *data, bool en) in vcnl4000_write_als_enable()
306 static ssize_t vcnl4000_write_ps_enable(struct vcnl4000_data *data, bool en) in vcnl4000_write_ps_enable()
329 static int vcnl4200_set_power_state(struct vcnl4000_data *data, bool on) in vcnl4200_set_power_state()
354 static int vcnl4200_init(struct vcnl4000_data *data) in vcnl4200_init()
432 static int vcnl4000_read_data(struct vcnl4000_data *data, u8 data_reg, int *val) in vcnl4000_read_data()
444 static int vcnl4000_write_data(struct vcnl4000_data *data, u8 data_reg, int val) in vcnl4000_write_data()
453 static int vcnl4000_measure(struct vcnl4000_data *data, u8 req_mask, in vcnl4000_measure()
496 static int vcnl4200_measure(struct vcnl4000_data *data, in vcnl4200_measure()
523 static int vcnl4000_measure_light(struct vcnl4000_data *data, int *val) in vcnl4000_measure_light()
530 static int vcnl4200_measure_light(struct vcnl4000_data *data, int *val) in vcnl4200_measure_light()
535 static int vcnl4000_measure_proximity(struct vcnl4000_data *data, int *val) in vcnl4000_measure_proximity()
542 static int vcnl4200_measure_proximity(struct vcnl4000_data *data, int *val) in vcnl4200_measure_proximity()
547 static int vcnl4010_read_proxy_samp_freq(struct vcnl4000_data *data, int *val, in vcnl4010_read_proxy_samp_freq()
565 static bool vcnl4010_is_in_periodic_mode(struct vcnl4000_data *data) in vcnl4010_is_in_periodic_mode()
576 static int vcnl4000_set_pm_runtime_state(struct vcnl4000_data *data, bool on) in vcnl4000_set_pm_runtime_state()
591 static int vcnl4040_read_als_it(struct vcnl4000_data *data, int *val, int *val2) in vcnl4040_read_als_it()
609 static ssize_t vcnl4040_write_als_it(struct vcnl4000_data *data, int val) in vcnl4040_write_als_it()
645 static int vcnl4040_read_ps_it(struct vcnl4000_data *data, int *val, int *val2) in vcnl4040_read_ps_it()
664 static ssize_t vcnl4040_write_ps_it(struct vcnl4000_data *data, int val) in vcnl4040_write_ps_it()
698 static ssize_t vcnl4040_read_als_period(struct vcnl4000_data *data, int *val, int *val2) in vcnl4040_read_als_period()
722 static ssize_t vcnl4040_write_als_period(struct vcnl4000_data *data, int val, int val2) in vcnl4040_write_als_period()
759 static ssize_t vcnl4040_read_ps_period(struct vcnl4000_data *data, int *val, int *val2) in vcnl4040_read_ps_period()
782 static ssize_t vcnl4040_write_ps_period(struct vcnl4000_data *data, int val, int val2) in vcnl4040_write_ps_period()
821 static ssize_t vcnl4040_read_ps_oversampling_ratio(struct vcnl4000_data *data, int *val) in vcnl4040_read_ps_oversampling_ratio()
838 static ssize_t vcnl4040_write_ps_oversampling_ratio(struct vcnl4000_data *data, int val) in vcnl4040_write_ps_oversampling_ratio()
868 static ssize_t vcnl4040_read_ps_calibbias(struct vcnl4000_data *data, int *val, int *val2) in vcnl4040_read_ps_calibbias()
886 static ssize_t vcnl4040_write_ps_calibbias(struct vcnl4000_data *data, int val) in vcnl4040_write_ps_calibbias()
921 struct vcnl4000_data *data = iio_priv(indio_dev); in vcnl4000_read_raw() local
996 struct vcnl4000_data *data = iio_priv(indio_dev); in vcnl4040_write_raw() local
1034 struct vcnl4000_data *data = iio_priv(indio_dev); in vcnl4040_read_avail() local
1082 struct vcnl4000_data *data = iio_priv(indio_dev); in vcnl4010_read_raw() local
1132 static int vcnl4010_write_proxy_samp_freq(struct vcnl4000_data *data, int val, in vcnl4010_write_proxy_samp_freq()
1158 struct vcnl4000_data *data = iio_priv(indio_dev); in vcnl4010_write_raw() local
1198 struct vcnl4000_data *data = iio_priv(indio_dev); in vcnl4010_read_event() local
1231 struct vcnl4000_data *data = iio_priv(indio_dev); in vcnl4010_write_event() local
1264 struct vcnl4000_data *data = iio_priv(indio_dev); in vcnl4040_read_event() local
1328 struct vcnl4000_data *data = iio_priv(indio_dev); in vcnl4040_write_event() local
1387 static bool vcnl4010_is_thr_enabled(struct vcnl4000_data *data) in vcnl4010_is_thr_enabled()
1403 struct vcnl4000_data *data = iio_priv(indio_dev); in vcnl4010_read_event_config() local
1415 struct vcnl4000_data *data = iio_priv(indio_dev); in vcnl4010_config_threshold() local
1475 struct vcnl4000_data *data = iio_priv(indio_dev); in vcnl4040_read_event_config() local
1508 struct vcnl4000_data *data = iio_priv(indio_dev); in vcnl4040_write_event_config() local
1557 struct vcnl4000_data *data = iio_priv(indio_dev); in vcnl4040_irq_thread() local
1604 struct vcnl4000_data *data = iio_priv(indio_dev); in vcnl4000_read_near_level() local
1612 struct vcnl4000_data *data = iio_priv(indio_dev); in vcnl4010_irq_thread() local
1658 struct vcnl4000_data *data = iio_priv(indio_dev); in vcnl4010_trigger_handler() local
1703 struct vcnl4000_data *data = iio_priv(indio_dev); in vcnl4010_buffer_postenable() local
1722 struct vcnl4000_data *data = iio_priv(indio_dev); in vcnl4010_buffer_predisable() local
1945 struct vcnl4000_data *data = iio_priv(indio_dev); in vcnl4010_probe_trigger() local
1964 struct vcnl4000_data *data; in vcnl4000_probe() local
2073 struct vcnl4000_data *data = iio_priv(indio_dev); in vcnl4000_remove() local
2090 struct vcnl4000_data *data = iio_priv(indio_dev); in vcnl4000_runtime_suspend() local
2098 struct vcnl4000_data *data = iio_priv(indio_dev); in vcnl4000_runtime_resume() local