Lines Matching refs:rpr0521_data
180 struct rpr0521_data { struct
285 static int rpr0521_als_enable(struct rpr0521_data *data, u8 status) in rpr0521_als_enable()
303 static int rpr0521_pxs_enable(struct rpr0521_data *data, u8 status) in rpr0521_pxs_enable()
331 static int rpr0521_set_power_state(struct rpr0521_data *data, bool on, in rpr0521_set_power_state()
391 static inline bool rpr0521_is_triggered(struct rpr0521_data *data) in rpr0521_is_triggered()
411 struct rpr0521_data *data = iio_priv(indio_dev); in rpr0521_drdy_irq_handler()
426 struct rpr0521_data *data = iio_priv(indio_dev); in rpr0521_drdy_irq_thread()
452 struct rpr0521_data *data = iio_priv(indio_dev); in rpr0521_trigger_consumer_handler()
482 static int rpr0521_write_int_enable(struct rpr0521_data *data) in rpr0521_write_int_enable()
509 static int rpr0521_write_int_disable(struct rpr0521_data *data) in rpr0521_write_int_disable()
526 struct rpr0521_data *data = iio_priv(indio_dev); in rpr0521_pxs_drdy_set_state()
547 struct rpr0521_data *data = iio_priv(indio_dev); in rpr0521_buffer_preenable()
562 struct rpr0521_data *data = iio_priv(indio_dev); in rpr0521_buffer_postdisable()
581 static int rpr0521_get_gain(struct rpr0521_data *data, int chan, in rpr0521_get_gain()
597 static int rpr0521_set_gain(struct rpr0521_data *data, int chan, in rpr0521_set_gain()
618 static int rpr0521_read_samp_freq(struct rpr0521_data *data, in rpr0521_read_samp_freq()
648 static int rpr0521_write_samp_freq_common(struct rpr0521_data *data, in rpr0521_write_samp_freq_common()
684 static int rpr0521_read_ps_offset(struct rpr0521_data *data, int *offset) in rpr0521_read_ps_offset()
701 static int rpr0521_write_ps_offset(struct rpr0521_data *data, int offset) in rpr0521_write_ps_offset()
722 struct rpr0521_data *data = iio_priv(indio_dev); in rpr0521_read_raw()
800 struct rpr0521_data *data = iio_priv(indio_dev); in rpr0521_write_raw()
837 static int rpr0521_init(struct rpr0521_data *data) in rpr0521_init()
877 static int rpr0521_poweroff(struct rpr0521_data *data) in rpr0521_poweroff()
932 struct rpr0521_data *data; in rpr0521_probe()
1065 struct rpr0521_data *data = iio_priv(indio_dev); in rpr0521_runtime_suspend()
1086 struct rpr0521_data *data = iio_priv(indio_dev); in rpr0521_runtime_resume()