Lines Matching refs:bno055_priv
198 struct bno055_priv { struct
298 static int bno055_calibration_load(struct bno055_priv *priv, const u8 *data, int len) in bno055_calibration_load()
311 static int bno055_operation_mode_do_set(struct bno055_priv *priv, in bno055_operation_mode_do_set()
327 static int bno055_system_reset(struct bno055_priv *priv) in bno055_system_reset()
350 static int bno055_init(struct bno055_priv *priv, const u8 *caldata, int len) in bno055_init()
384 static ssize_t bno055_operation_mode_set(struct bno055_priv *priv, in bno055_operation_mode_set()
426 struct bno055_priv *priv = arg; in bno055_uninit()
550 static int bno055_get_regmask(struct bno055_priv *priv, int *val, int *val2, in bno055_get_regmask()
579 static int bno055_set_regmask(struct bno055_priv *priv, int val, int val2, in bno055_set_regmask()
660 struct bno055_priv *priv = iio_priv(indio_dev); in bno055_read_simple_chan()
761 static int bno055_sysfs_attr_avail(struct bno055_priv *priv, struct bno055_sysfs_attr *attr, in bno055_sysfs_attr_avail()
784 struct bno055_priv *priv = iio_priv(indio_dev); in bno055_read_avail()
827 struct bno055_priv *priv = iio_priv(indio_dev); in bno055_read_temp_chan()
849 struct bno055_priv *priv = iio_priv(indio_dev); in bno055_read_quaternion()
881 struct bno055_priv *priv = iio_priv(indio_dev); in bno055_is_chan_readable()
948 struct bno055_priv *priv = iio_priv(indio_dev); in bno055_read_raw_multi()
962 struct bno055_priv *priv = iio_priv(iio_dev); in _bno055_write_raw()
1010 struct bno055_priv *priv = iio_priv(iio_dev); in bno055_write_raw()
1024 struct bno055_priv *priv = iio_priv(dev_to_iio_dev(dev)); in in_accel_range_raw_available_show()
1042 struct bno055_priv *priv = iio_priv(dev_to_iio_dev(dev)); in fusion_enable_show()
1053 struct bno055_priv *priv = iio_priv(indio_dev); in fusion_enable_store()
1083 struct bno055_priv *priv = iio_priv(dev_to_iio_dev(dev)); in in_magn_calibration_fast_enable_show()
1094 struct bno055_priv *priv = iio_priv(indio_dev); in in_magn_calibration_fast_enable_store()
1125 struct bno055_priv *priv = iio_priv(dev_to_iio_dev(dev)); in in_accel_range_raw_show()
1143 struct bno055_priv *priv = iio_priv(dev_to_iio_dev(dev)); in in_accel_range_raw_store()
1163 struct bno055_priv *priv = iio_priv(dev_to_iio_dev(dev)); in bno055_get_calib_status()
1190 struct bno055_priv *priv = iio_priv(dev_to_iio_dev(dev)); in serialnumber_show()
1199 struct bno055_priv *priv = iio_priv(dev_to_iio_dev(kobj_to_dev(kobj))); in calibration_data_read()
1264 struct bno055_priv *priv = iio_priv(iio_dev); in bno055_debugfs_reg_access()
1275 struct bno055_priv *priv = file->private_data; in bno055_show_fw_version()
1307 struct bno055_priv *priv = _priv; in bno055_debugfs_remove()
1315 struct bno055_priv *priv = iio_priv(iio_dev); in bno055_debugfs_init()
1382 static int bno055_scan_xfer(struct bno055_priv *priv, in bno055_scan_xfer()
1442 struct bno055_priv *priv = iio_priv(iio_dev); in bno055_trigger_handler()
1527 struct bno055_priv *priv = iio_priv(indio_dev); in bno055_buffer_preenable()
1555 struct bno055_priv *priv; in bno055_probe()