Lines Matching refs:hx9023s_data
124 struct hx9023s_data { struct
300 static int hx9023s_interrupt_enable(struct hx9023s_data *data) in hx9023s_interrupt_enable()
306 static int hx9023s_interrupt_disable(struct hx9023s_data *data) in hx9023s_interrupt_disable()
312 static int hx9023s_data_lock(struct hx9023s_data *data, bool locked) in hx9023s_data_lock()
325 static int hx9023s_ch_cfg(struct hx9023s_data *data) in hx9023s_ch_cfg()
349 static int hx9023s_write_far_debounce(struct hx9023s_data *data, int val) in hx9023s_write_far_debounce()
357 static int hx9023s_write_near_debounce(struct hx9023s_data *data, int val) in hx9023s_write_near_debounce()
365 static int hx9023s_read_far_debounce(struct hx9023s_data *data, int *val) in hx9023s_read_far_debounce()
378 static int hx9023s_read_near_debounce(struct hx9023s_data *data, int *val) in hx9023s_read_near_debounce()
391 static int hx9023s_get_thres_near(struct hx9023s_data *data, u8 ch, int *val) in hx9023s_get_thres_near()
411 static int hx9023s_get_thres_far(struct hx9023s_data *data, u8 ch, int *val) in hx9023s_get_thres_far()
431 static int hx9023s_set_thres_near(struct hx9023s_data *data, u8 ch, int val) in hx9023s_set_thres_near()
443 static int hx9023s_set_thres_far(struct hx9023s_data *data, u8 ch, int val) in hx9023s_set_thres_far()
455 static int hx9023s_get_prox_state(struct hx9023s_data *data) in hx9023s_get_prox_state()
460 static int hx9023s_data_select(struct hx9023s_data *data) in hx9023s_data_select()
491 static int hx9023s_sample(struct hx9023s_data *data) in hx9023s_sample()
566 static int hx9023s_ch_en(struct hx9023s_data *data, u8 ch_id, bool en) in hx9023s_ch_en()
585 static int hx9023s_property_get(struct hx9023s_data *data) in hx9023s_property_get()
626 static int hx9023s_update_chan_en(struct hx9023s_data *data, in hx9023s_update_chan_en()
646 static int hx9023s_get_proximity(struct hx9023s_data *data, in hx9023s_get_proximity()
664 static int hx9023s_get_samp_freq(struct hx9023s_data *data, int *val, int *val2) in hx9023s_get_samp_freq()
684 struct hx9023s_data *data = iio_priv(indio_dev); in hx9023s_read_raw()
706 static int hx9023s_set_samp_freq(struct hx9023s_data *data, int val, int val2) in hx9023s_set_samp_freq()
729 struct hx9023s_data *data = iio_priv(indio_dev); in hx9023s_write_raw()
743 struct hx9023s_data *data = iio_priv(indio_dev); in hx9023s_irq_handler()
753 struct hx9023s_data *data = iio_priv(indio_dev); in hx9023s_push_events()
785 struct hx9023s_data *data = iio_priv(indio_dev); in hx9023s_irq_thread_handler()
799 struct hx9023s_data *data = iio_priv(indio_dev); in hx9023s_read_event_val()
834 struct hx9023s_data *data = iio_priv(indio_dev); in hx9023s_write_event_val()
868 struct hx9023s_data *data = iio_priv(indio_dev); in hx9023s_read_event_config()
879 struct hx9023s_data *data = iio_priv(indio_dev); in hx9023s_write_event_config()
902 struct hx9023s_data *data = iio_priv(indio_dev); in hx9023s_set_trigger_state()
922 struct hx9023s_data *data = iio_priv(indio_dev); in hx9023s_trigger_handler()
956 struct hx9023s_data *data = iio_priv(indio_dev); in hx9023s_buffer_preenable()
971 struct hx9023s_data *data = iio_priv(indio_dev); in hx9023s_buffer_postdisable()
986 struct hx9023s_data *data = iio_priv(indio_dev); in hx9023s_id_check()
1005 struct hx9023s_data *data; in hx9023s_probe()
1090 struct hx9023s_data *data = iio_priv(dev_get_drvdata(dev)); in hx9023s_suspend()
1100 struct hx9023s_data *data = iio_priv(dev_get_drvdata(dev)); in hx9023s_resume()