Lines Matching defs:data
166 static int fxas21002c_odr_hz_from_value(struct fxas21002c_data *data, u8 value) in fxas21002c_odr_hz_from_value()
175 static int fxas21002c_odr_value_from_hz(struct fxas21002c_data *data, in fxas21002c_odr_value_from_hz()
188 static int fxas21002c_lpf_bw_from_value(struct fxas21002c_data *data, u8 value) in fxas21002c_lpf_bw_from_value()
197 static int fxas21002c_lpf_value_from_bw(struct fxas21002c_data *data, in fxas21002c_lpf_value_from_bw()
210 static int fxas21002c_hpf_sel_from_value(struct fxas21002c_data *data, u8 value) in fxas21002c_hpf_sel_from_value()
219 static int fxas21002c_hpf_value_from_sel(struct fxas21002c_data *data, in fxas21002c_hpf_value_from_sel()
232 static int fxas21002c_range_fs_from_value(struct fxas21002c_data *data, in fxas21002c_range_fs_from_value()
252 static int fxas21002c_range_value_from_fs(struct fxas21002c_data *data, in fxas21002c_range_value_from_fs()
280 static int fxas21002c_mode_get(struct fxas21002c_data *data) in fxas21002c_mode_get()
301 static int fxas21002c_mode_set(struct fxas21002c_data *data, in fxas21002c_mode_set()
337 static int fxas21002c_write(struct fxas21002c_data *data, in fxas21002c_write()
367 static int fxas21002c_pm_get(struct fxas21002c_data *data) in fxas21002c_pm_get()
372 static int fxas21002c_pm_put(struct fxas21002c_data *data) in fxas21002c_pm_put()
381 static int fxas21002c_temp_get(struct fxas21002c_data *data, int *val) in fxas21002c_temp_get()
413 static int fxas21002c_axis_get(struct fxas21002c_data *data, in fxas21002c_axis_get()
447 static int fxas21002c_odr_get(struct fxas21002c_data *data, int *odr) in fxas21002c_odr_get()
467 static int fxas21002c_odr_set(struct fxas21002c_data *data, int odr) in fxas21002c_odr_set()
478 static int fxas21002c_lpf_get(struct fxas21002c_data *data, int *val2) in fxas21002c_lpf_get()
498 static int fxas21002c_lpf_set(struct fxas21002c_data *data, int bw) in fxas21002c_lpf_set()
522 static int fxas21002c_hpf_get(struct fxas21002c_data *data, int *val2) in fxas21002c_hpf_get()
542 static int fxas21002c_hpf_set(struct fxas21002c_data *data, int sel) in fxas21002c_hpf_set()
553 static int fxas21002c_scale_get(struct fxas21002c_data *data, int *val) in fxas21002c_scale_get()
578 static int fxas21002c_scale_set(struct fxas21002c_data *data, int range) in fxas21002c_scale_set()
593 struct fxas21002c_data *data = iio_priv(indio_dev); in fxas21002c_read_raw() local
636 struct fxas21002c_data *data = iio_priv(indio_dev); in fxas21002c_write_raw() local
729 struct fxas21002c_data *data = iio_priv(indio_dev); in fxas21002c_trigger_handler() local
749 static int fxas21002c_chip_init(struct fxas21002c_data *data) in fxas21002c_chip_init()
783 struct fxas21002c_data *data = iio_priv(indio_dev); in fxas21002c_data_rdy_trigger_set_state() local
795 struct fxas21002c_data *data = iio_priv(indio_dev); in fxas21002c_data_rdy_handler() local
805 struct fxas21002c_data *data = iio_priv(indio_dev); in fxas21002c_data_rdy_thread() local
821 static int fxas21002c_trigger_probe(struct fxas21002c_data *data) in fxas21002c_trigger_probe()
877 static int fxas21002c_power_enable(struct fxas21002c_data *data) in fxas21002c_power_enable()
894 static void fxas21002c_power_disable(struct fxas21002c_data *data) in fxas21002c_power_disable()
902 struct fxas21002c_data *data = _data; in fxas21002c_power_disable_action() local
907 static int fxas21002c_regulators_get(struct fxas21002c_data *data) in fxas21002c_regulators_get()
923 struct fxas21002c_data *data; in fxas21002c_core_probe() local
1016 struct fxas21002c_data *data = iio_priv(dev_get_drvdata(dev)); in fxas21002c_suspend() local
1026 struct fxas21002c_data *data = iio_priv(dev_get_drvdata(dev)); in fxas21002c_resume() local
1038 struct fxas21002c_data *data = iio_priv(dev_get_drvdata(dev)); in fxas21002c_runtime_suspend() local
1045 struct fxas21002c_data *data = iio_priv(dev_get_drvdata(dev)); in fxas21002c_runtime_resume() local