bmc150-accel.h 450 B

123456789101112131415161718192021
  1. #ifndef _BMC150_ACCEL_H_
  2. #define _BMC150_ACCEL_H_
  3. struct regmap;
  4. enum {
  5. bmc150,
  6. bmi055,
  7. bma255,
  8. bma250e,
  9. bma222e,
  10. bma280,
  11. };
  12. int bmc150_accel_core_probe(struct device *dev, struct regmap *regmap, int irq,
  13. const char *name, bool block_supported);
  14. int bmc150_accel_core_remove(struct device *dev);
  15. extern const struct dev_pm_ops bmc150_accel_pm_ops;
  16. extern const struct regmap_config bmc150_regmap_conf;
  17. #endif /* _BMC150_ACCEL_H_ */