• Home
  • Raw
  • Download

Lines Matching refs:adis

22 struct adis;
52 int (*enable_irq)(struct adis *adis, bool enable);
57 struct adis { struct
74 int adis_init(struct adis *adis, struct iio_dev *indio_dev, argument
76 int adis_reset(struct adis *adis);
78 int adis_write_reg(struct adis *adis, unsigned int reg,
80 int adis_read_reg(struct adis *adis, unsigned int reg,
89 static inline int adis_write_reg_8(struct adis *adis, unsigned int reg, in adis_write_reg_8() argument
92 return adis_write_reg(adis, reg, val, 1); in adis_write_reg_8()
101 static inline int adis_write_reg_16(struct adis *adis, unsigned int reg, in adis_write_reg_16() argument
104 return adis_write_reg(adis, reg, val, 2); in adis_write_reg_16()
113 static inline int adis_write_reg_32(struct adis *adis, unsigned int reg, in adis_write_reg_32() argument
116 return adis_write_reg(adis, reg, val, 4); in adis_write_reg_32()
125 static inline int adis_read_reg_16(struct adis *adis, unsigned int reg, in adis_read_reg_16() argument
131 ret = adis_read_reg(adis, reg, &tmp, 2); in adis_read_reg_16()
143 static inline int adis_read_reg_32(struct adis *adis, unsigned int reg, in adis_read_reg_32() argument
149 ret = adis_read_reg(adis, reg, &tmp, 4); in adis_read_reg_32()
155 int adis_enable_irq(struct adis *adis, bool enable);
156 int adis_check_status(struct adis *adis);
158 int adis_initial_startup(struct adis *adis);
250 int adis_setup_buffer_and_trigger(struct adis *adis,
252 void adis_cleanup_buffer_and_trigger(struct adis *adis,
255 int adis_probe_trigger(struct adis *adis, struct iio_dev *indio_dev);
256 void adis_remove_trigger(struct adis *adis);
263 static inline int adis_setup_buffer_and_trigger(struct adis *adis, in adis_setup_buffer_and_trigger() argument
269 static inline void adis_cleanup_buffer_and_trigger(struct adis *adis, in adis_cleanup_buffer_and_trigger() argument
274 static inline int adis_probe_trigger(struct adis *adis, in adis_probe_trigger() argument
280 static inline void adis_remove_trigger(struct adis *adis) in adis_remove_trigger() argument