Home
last modified time | relevance | path

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

/drivers/iio/proximity/
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()
110 static int sx_common_enable_irq(struct sx_common_data *data, unsigned int irq) in sx_common_enable_irq()
119 static int sx_common_disable_irq(struct sx_common_data *data, unsigned int irq) in sx_common_disable_irq()
127 static int sx_common_update_chan_en(struct sx_common_data *data, in sx_common_update_chan_en()
147 static int sx_common_get_read_channel(struct sx_common_data *data, int channel) in sx_common_get_read_channel()
153 static int sx_common_put_read_channel(struct sx_common_data *data, int channel) in sx_common_put_read_channel()
159 static int sx_common_get_event_channel(struct sx_common_data *data, int channel) in sx_common_get_event_channel()
165 static int sx_common_put_event_channel(struct sx_common_data *data, int channel) in sx_common_put_event_channel()
180 int sx_common_read_proximity(struct sx_common_data *data, in sx_common_read_proximity()
[all …]
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()
405 static int sx9360_read_thresh(struct sx_common_data *data, int *val) in sx9360_read_thresh()
422 static int sx9360_read_hysteresis(struct sx_common_data *data, int *val) in sx9360_read_hysteresis()
444 static int sx9360_read_far_debounce(struct sx_common_data *data, int *val) in sx9360_read_far_debounce()
462 static int sx9360_read_close_debounce(struct sx_common_data *data, int *val) in sx9360_read_close_debounce()
[all …]
Dsx9310.c254 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()
[all …]
Dsx9324.c181 struct sx_common_data *data = iio_priv(indio_dev); in sx9324_phase_configuration_show()
355 static int sx9324_read_prox_data(struct sx_common_data *data, in sx9324_read_prox_data()
372 static int sx9324_wait_for_sample(struct sx_common_data *data) in sx9324_wait_for_sample()
387 static int sx9324_read_gain(struct sx_common_data *data, in sx9324_read_gain()
410 static int sx9324_read_samp_freq(struct sx_common_data *data, in sx9324_read_samp_freq()
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()
533 static int sx9324_read_hysteresis(struct sx_common_data *data, in sx9324_read_hysteresis()
556 static int sx9324_read_far_debounce(struct sx_common_data *data, int *val) in sx9324_read_far_debounce()
[all …]
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