Home
last modified time | relevance | path

Searched refs:sx_common_data (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/iio/proximity/
H A Dsx_common.c61 struct sx_common_data *data = iio_priv(indio_dev); in sx_common_irq_handler()
78 struct sx_common_data *data = iio_priv(indio_dev); in sx_common_push_events()
253 struct sx_common_data *data = iio_priv(indio_dev); in sx_common_read_event_config()
274 struct sx_common_data *data = iio_priv(indio_dev); in sx_common_write_event_config()
312 struct sx_common_data *data = iio_priv(indio_dev); in sx_common_set_trigger_state()
339 struct sx_common_data *data = iio_priv(indio_dev); in sx_common_irq_thread_handler()
367 struct sx_common_data *data = iio_priv(indio_dev); in sx_common_trigger_handler()
397 struct sx_common_data *data = iio_priv(indio_dev); in sx_common_buffer_preenable()
413 struct sx_common_data *data = iio_priv(indio_dev); in sx_common_buffer_postdisable()
452 struct sx_common_data *data = iio_priv(indio_dev); in sx_common_init_device()
[all …]
H A Dsx_common.h20 struct sx_common_data;
47 int (*read_prox_data)(struct sx_common_data *data,
51 int (*wait_for_sample)(struct sx_common_data *data);
114 struct sx_common_data { struct
137 int sx_common_read_proximity(struct sx_common_data *data, argument
H A Dsx9360.c257 static int sx9360_read_prox_data(struct sx_common_data *data, in sx9360_read_prox_data()
268 static int sx9360_wait_for_sample(struct sx_common_data *data) in sx9360_wait_for_sample()
282 static int sx9360_read_gain(struct sx_common_data *data, in sx9360_read_gain()
298 static int sx9360_read_samp_freq(struct sx_common_data *data, in sx9360_read_samp_freq()
324 struct sx_common_data *data = iio_priv(indio_dev); in sx9360_read_raw()
387 static int sx9360_set_samp_freq(struct sx_common_data *data, in sx9360_set_samp_freq()
486 struct sx_common_data *data = iio_priv(indio_dev); in sx9360_read_event_val()
605 struct sx_common_data *data = iio_priv(indio_dev); in sx9360_write_event_val()
629 static int sx9360_write_gain(struct sx_common_data *data, in sx9360_write_gain()
652 struct sx_common_data *data = iio_priv(indio_dev); in sx9360_write_raw()
[all …]
H A Dsx9324.c181 struct sx_common_data *data = iio_priv(indio_dev); in sx9324_phase_configuration_show()
387 static int sx9324_read_gain(struct sx_common_data *data, in sx9324_read_gain()
431 struct sx_common_data *data = iio_priv(indio_dev); in sx9324_read_raw()
484 static int sx9324_set_samp_freq(struct sx_common_data *data, in sx9324_set_samp_freq()
508 static int sx9324_read_thresh(struct sx_common_data *data, in sx9324_read_thresh()
598 struct sx_common_data *data = iio_priv(indio_dev); in sx9324_read_event_val()
622 static int sx9324_write_thresh(struct sx_common_data *data, in sx9324_write_thresh()
721 struct sx_common_data *data = iio_priv(indio_dev); in sx9324_write_event_val()
745 static int sx9324_write_gain(struct sx_common_data *data, in sx9324_write_gain()
772 struct sx_common_data *data = iio_priv(indio_dev); in sx9324_write_raw()
[all …]
H A Dsx9310.c254 static int sx9310_read_prox_data(struct sx_common_data *data, in sx9310_read_prox_data()
286 static int sx9310_read_gain(struct sx_common_data *data, in sx9310_read_gain()
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()
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()
630 struct sx_common_data *data = iio_priv(indio_dev); in sx9310_write_event_val()
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()
[all …]