root/drivers/iio/imu/bmi160/bmi160.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   1 /* SPDX-License-Identifier: GPL-2.0 */
   2 #ifndef BMI160_H_
   3 #define BMI160_H_
   4 
   5 #include <linux/iio/iio.h>
   6 
   7 struct bmi160_data {
   8         struct regmap *regmap;
   9         struct iio_trigger *trig;
  10 };
  11 
  12 extern const struct regmap_config bmi160_regmap_config;
  13 
  14 int bmi160_core_probe(struct device *dev, struct regmap *regmap,
  15                       const char *name, bool use_spi);
  16 
  17 int bmi160_enable_irq(struct regmap *regmap, bool enable);
  18 
  19 int bmi160_probe_trigger(struct iio_dev *indio_dev, int irq, u32 irq_type);
  20 
  21 #endif  /* BMI160_H_ */

/* [<][>][^][v][top][bottom][index][help] */