Lines Matching refs:sx9500_data
79 struct sx9500_data { struct
204 static int sx9500_inc_users(struct sx9500_data *data, int *counter, in sx9500_inc_users()
215 static int sx9500_dec_users(struct sx9500_data *data, int *counter, in sx9500_dec_users()
226 static int sx9500_inc_chan_users(struct sx9500_data *data, int chan) in sx9500_inc_chan_users()
232 static int sx9500_dec_chan_users(struct sx9500_data *data, int chan) in sx9500_dec_chan_users()
238 static int sx9500_inc_data_rdy_users(struct sx9500_data *data) in sx9500_inc_data_rdy_users()
244 static int sx9500_dec_data_rdy_users(struct sx9500_data *data) in sx9500_dec_data_rdy_users()
250 static int sx9500_inc_close_far_users(struct sx9500_data *data) in sx9500_inc_close_far_users()
257 static int sx9500_dec_close_far_users(struct sx9500_data *data) in sx9500_dec_close_far_users()
264 static int sx9500_read_prox_data(struct sx9500_data *data, in sx9500_read_prox_data()
288 static int sx9500_wait_for_sample(struct sx9500_data *data) in sx9500_wait_for_sample()
304 static int sx9500_read_proximity(struct sx9500_data *data, in sx9500_read_proximity()
359 static int sx9500_read_samp_freq(struct sx9500_data *data, in sx9500_read_samp_freq()
383 struct sx9500_data *data = iio_priv(indio_dev); in sx9500_read_raw()
406 static int sx9500_set_samp_freq(struct sx9500_data *data, in sx9500_set_samp_freq()
434 struct sx9500_data *data = iio_priv(indio_dev); in sx9500_write_raw()
452 struct sx9500_data *data = iio_priv(indio_dev); in sx9500_irq_handler()
470 struct sx9500_data *data = iio_priv(indio_dev); in sx9500_push_events()
501 struct sx9500_data *data = iio_priv(indio_dev); in sx9500_irq_thread_handler()
530 struct sx9500_data *data = iio_priv(indio_dev); in sx9500_read_event_config()
545 struct sx9500_data *data = iio_priv(indio_dev); in sx9500_write_event_config()
586 struct sx9500_data *data = iio_priv(indio_dev); in sx9500_update_scan_mode()
624 struct sx9500_data *data = iio_priv(indio_dev); in sx9500_set_trigger_state()
652 struct sx9500_data *data = iio_priv(indio_dev); in sx9500_trigger_handler()
680 struct sx9500_data *data = iio_priv(indio_dev); in sx9500_buffer_postenable()
704 struct sx9500_data *data = iio_priv(indio_dev); in sx9500_buffer_predisable()
794 struct sx9500_data *data = iio_priv(indio_dev); in sx9500_init_compensation()
825 struct sx9500_data *data = iio_priv(indio_dev); in sx9500_init_device()
874 struct sx9500_data *data) in sx9500_gpio_probe()
909 struct sx9500_data *data; in sx9500_probe()
986 struct sx9500_data *data = iio_priv(indio_dev); in sx9500_remove()
1001 struct sx9500_data *data = iio_priv(indio_dev); in sx9500_suspend()
1024 struct sx9500_data *data = iio_priv(indio_dev); in sx9500_resume()