Lines Matching refs:sx_common_data
254 static int sx9310_read_prox_data(struct sx_common_data *data, in sx9310_read_prox_data()
270 static int sx9310_wait_for_sample(struct sx_common_data *data) in sx9310_wait_for_sample()
286 static int sx9310_read_gain(struct sx_common_data *data, in sx9310_read_gain()
314 static int sx9310_read_samp_freq(struct sx_common_data *data, int *val, int *val2) in sx9310_read_samp_freq()
334 struct sx_common_data *data = iio_priv(indio_dev); in sx9310_read_raw()
409 static int sx9310_read_thresh(struct sx_common_data *data, in sx9310_read_thresh()
432 static int sx9310_read_hysteresis(struct sx_common_data *data, in sx9310_read_hysteresis()
456 static int sx9310_read_far_debounce(struct sx_common_data *data, int *val) in sx9310_read_far_debounce()
474 static int sx9310_read_close_debounce(struct sx_common_data *data, int *val) in sx9310_read_close_debounce()
498 struct sx_common_data *data = iio_priv(indio_dev); in sx9310_read_event_val()
522 static int sx9310_write_thresh(struct sx_common_data *data, in sx9310_write_thresh()
552 static int sx9310_write_hysteresis(struct sx_common_data *data, in sx9310_write_hysteresis()
582 static int sx9310_write_far_debounce(struct sx_common_data *data, int val) in sx9310_write_far_debounce()
603 static int sx9310_write_close_debounce(struct sx_common_data *data, int val) in sx9310_write_close_debounce()
630 struct sx_common_data *data = iio_priv(indio_dev); in sx9310_write_event_val()
654 static int sx9310_set_samp_freq(struct sx_common_data *data, int val, int val2) in sx9310_set_samp_freq()
678 static int sx9310_write_gain(struct sx_common_data *data, in sx9310_write_gain()
713 struct sx_common_data *data = iio_priv(indio_dev); in sx9310_write_raw()
773 struct sx_common_data *data = iio_priv(indio_dev); in sx9310_init_compensation()
904 struct sx_common_data *data = iio_priv(indio_dev); in sx9310_check_whoami()
970 struct sx_common_data *data = iio_priv(dev_get_drvdata(dev)); in sx9310_suspend()
996 struct sx_common_data *data = iio_priv(dev_get_drvdata(dev)); in sx9310_resume()