Lines Matching refs:iio_trigger
22 struct iio_trigger;
36 int (*set_trigger_state)(struct iio_trigger *trig, bool state);
37 int (*try_reenable)(struct iio_trigger *trig);
38 int (*validate_device)(struct iio_trigger *trig,
62 struct iio_trigger { struct
83 static inline struct iio_trigger *to_iio_trigger(struct device *d) in to_iio_trigger() argument
85 return container_of(d, struct iio_trigger, dev); in to_iio_trigger()
88 static inline void iio_trigger_put(struct iio_trigger *trig) in iio_trigger_put()
94 static inline struct iio_trigger *iio_trigger_get(struct iio_trigger *trig) in iio_trigger_get()
110 static inline void iio_trigger_set_drvdata(struct iio_trigger *trig, void *data) in iio_trigger_set_drvdata()
121 static inline void *iio_trigger_get_drvdata(struct iio_trigger *trig) in iio_trigger_get_drvdata()
132 int __iio_trigger_register(struct iio_trigger *trig_info,
138 struct iio_trigger *trig_info,
145 void iio_trigger_unregister(struct iio_trigger *trig_info);
148 struct iio_trigger *trig_info);
157 int iio_trigger_set_immutable(struct iio_dev *indio_dev, struct iio_trigger *trig);
165 void iio_trigger_poll(struct iio_trigger *trig);
166 void iio_trigger_poll_chained(struct iio_trigger *trig);
170 __printf(1, 2) struct iio_trigger *iio_trigger_alloc(const char *fmt, ...);
171 void iio_trigger_free(struct iio_trigger *trig);
179 int iio_trigger_validate_own_device(struct iio_trigger *trig,
183 struct iio_trigger;