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()
368 static int fxos8700_get_scale(struct fxos8700_data *data, in fxos8700_get_scale()
393 static int fxos8700_get_data(struct fxos8700_data *data, int chan_type, in fxos8700_get_data()
417 static int fxos8700_set_odr(struct fxos8700_data *data, enum fxos8700_sensor t, in fxos8700_set_odr()
454 static int fxos8700_get_odr(struct fxos8700_data *data, enum fxos8700_sensor t, in fxos8700_get_odr()
484 struct fxos8700_data *data = iio_priv(indio_dev); in fxos8700_read_raw()
510 struct fxos8700_data *data = iio_priv(indio_dev); in fxos8700_write_raw()
549 static int fxos8700_chip_init(struct fxos8700_data *data, bool use_spi) in fxos8700_chip_init()
607 struct fxos8700_data *fxos8700_data = data; in fxos8700_chip_uninit() local
609 fxos8700_set_active_mode(fxos8700_data, FXOS8700_ACCEL, false); in fxos8700_chip_uninit()
610 fxos8700_set_active_mode(fxos8700_data, FXOS8700_MAGN, false); in fxos8700_chip_uninit()
617 struct fxos8700_data *data; in fxos8700_core_probe()