Lines Matching refs:fxos8700_data
167 struct fxos8700_data { struct
330 static int fxos8700_set_active_mode(struct fxos8700_data *data, in fxos8700_set_active_mode()
345 static int fxos8700_set_scale(struct fxos8700_data *data, in fxos8700_set_scale()
392 static int fxos8700_get_scale(struct fxos8700_data *data, in fxos8700_get_scale()
417 static int fxos8700_get_data(struct fxos8700_data *data, int chan_type, in fxos8700_get_data()
480 static int fxos8700_set_odr(struct fxos8700_data *data, enum fxos8700_sensor t, in fxos8700_set_odr()
516 static int fxos8700_get_odr(struct fxos8700_data *data, enum fxos8700_sensor t, in fxos8700_get_odr()
546 struct fxos8700_data *data = iio_priv(indio_dev); in fxos8700_read_raw()
572 struct fxos8700_data *data = iio_priv(indio_dev); in fxos8700_write_raw()
611 static int fxos8700_chip_init(struct fxos8700_data *data, bool use_spi) in fxos8700_chip_init()
674 struct fxos8700_data *fxos8700_data = data; in fxos8700_chip_uninit() local
676 fxos8700_set_active_mode(fxos8700_data, FXOS8700_ACCEL, false); in fxos8700_chip_uninit()
677 fxos8700_set_active_mode(fxos8700_data, FXOS8700_MAGN, false); in fxos8700_chip_uninit()
684 struct fxos8700_data *data; in fxos8700_core_probe()