Home
last modified time | relevance | path

Searched refs:iio_trigger (Results 1 – 25 of 74) sorted by relevance

123

/linux/include/linux/iio/
H A Dtrigger.h19 struct iio_trigger;
33 int (*set_trigger_state)(struct iio_trigger *trig, bool state);
34 void (*reenable)(struct iio_trigger *trig);
35 int (*validate_device)(struct iio_trigger *trig,
60 struct iio_trigger { struct
82 static inline struct iio_trigger *to_iio_trigger(struct device *d) in to_iio_trigger() argument
84 return container_of(d, struct iio_trigger, dev); in to_iio_trigger()
87 static inline void iio_trigger_put(struct iio_trigger *trig) in iio_trigger_put()
93 static inline struct iio_trigger *iio_trigger_get(struct iio_trigger *trig) in iio_trigger_get()
114 static inline void iio_trigger_set_drvdata(struct iio_trigger *trig, void *data) in iio_trigger_set_drvdata()
[all …]
H A Dtrigger_consumer.h14 struct iio_trigger;
51 void iio_trigger_notify_done(struct iio_trigger *trig);
/linux/drivers/iio/
H A Dindustrialio-trigger.c53 struct iio_trigger *trig = to_iio_trigger(dev); in name_show()
66 static struct iio_trigger *__iio_trigger_find_by_name(const char *name);
68 int iio_trigger_register(struct iio_trigger *trig_info) in iio_trigger_register()
103 void iio_trigger_unregister(struct iio_trigger *trig_info) in iio_trigger_unregister()
114 int iio_trigger_set_immutable(struct iio_dev *indio_dev, struct iio_trigger *trig) in iio_trigger_set_immutable()
133 static struct iio_trigger *__iio_trigger_find_by_name(const char *name) in __iio_trigger_find_by_name()
135 struct iio_trigger *iter; in __iio_trigger_find_by_name()
144 static struct iio_trigger *iio_trigger_acquire_by_name(const char *name) in iio_trigger_acquire_by_name()
146 struct iio_trigger *iter; in iio_trigger_acquire_by_name()
158 struct iio_trigger *trig = container_of(work, struct iio_trigger, in iio_reenable_work_fn()
[all …]
H A Diio_core_trigger.h24 int iio_trigger_attach_poll_func(struct iio_trigger *trig,
26 int iio_trigger_detach_poll_func(struct iio_trigger *trig,
48 static inline int iio_trigger_attach_poll_func(struct iio_trigger *trig, in iio_trigger_attach_poll_func()
53 static inline int iio_trigger_detach_poll_func(struct iio_trigger *trig, in iio_trigger_detach_poll_func()
/linux/drivers/iio/trigger/
H A Dstm32-lptimer-trigger.c31 static int stm32_lptim_validate_device(struct iio_trigger *trig, in stm32_lptim_validate_device()
51 bool is_stm32_lptim_trigger(struct iio_trigger *trig) in is_stm32_lptim_trigger()
59 struct iio_trigger *trig; in stm32_lptim_setup_trig()
H A Diio-trig-hrtimer.c41 struct iio_trigger *trig = to_iio_trigger(dev); in iio_hrtimer_show_sampling_frequency()
54 struct iio_trigger *trig = to_iio_trigger(dev); in iio_hrtimer_store_sampling_frequency()
110 static int iio_trig_hrtimer_set_state(struct iio_trigger *trig, bool state) in iio_trig_hrtimer_set_state()
H A Diio-trig-loop.c44 struct iio_trigger *trig = data; in iio_loop_thread()
55 static int iio_loop_trigger_set_state(struct iio_trigger *trig, bool state) in iio_loop_trigger_set_state()
H A Diio-trig-sysfs.c17 struct iio_trigger *trig;
103 struct iio_trigger *trig = to_iio_trigger(dev); in iio_sysfs_trigger_poll()
/linux/include/linux/iio/timer/
H A Dstm32-lptim-trigger.h19 bool is_stm32_lptim_trigger(struct iio_trigger *trig);
21 static inline bool is_stm32_lptim_trigger(struct iio_trigger *trig) in is_stm32_lptim_trigger()
H A Dstm32-timer-trigger.h76 bool is_stm32_timer_trigger(struct iio_trigger *trig);
78 static inline bool is_stm32_timer_trigger(struct iio_trigger *trig) in is_stm32_timer_trigger()
/linux/drivers/iio/common/st_sensors/
H A Dst_sensors_trigger.c59 struct iio_trigger *trig = p; in st_sensors_irq_handler()
75 struct iio_trigger *trig = p; in st_sensors_irq_thread()
232 int st_sensors_validate_device(struct iio_trigger *trig, in st_sensors_validate_device()
/linux/Documentation/driver-api/iio/
H A Dtriggers.rst5 * struct iio_trigger — industrial I/O trigger device
52 struct iio_trigger *trig;
66 * struct iio_trigger_ops — operations structure for an iio_trigger.
/linux/include/linux/iio/adc/
H A Dad_sigma_delta.h84 struct iio_trigger *trig;
195 int ad_sd_validate_trigger(struct iio_dev *indio_dev, struct iio_trigger *trig);
/linux/drivers/iio/light/
H A Dst_uvis25.h27 struct iio_trigger *trig;
/linux/drivers/media/pci/mgb4/
H A Dmgb4_trigger.c25 struct iio_trigger *trig;
46 static int trigger_set_state(struct iio_trigger *trig, bool state) in trigger_set_state()
/linux/drivers/iio/magnetometer/
H A Dst_magn.h29 int st_magn_trig_set_state(struct iio_trigger *trig, bool state);
H A Dst_magn_buffer.c19 int st_magn_trig_set_state(struct iio_trigger *trig, bool state) in st_magn_trig_set_state()
/linux/drivers/iio/gyro/
H A Dst_gyro.h29 int st_gyro_trig_set_state(struct iio_trigger *trig, bool state);
H A Dst_gyro_buffer.c19 int st_gyro_trig_set_state(struct iio_trigger *trig, bool state) in st_gyro_trig_set_state()
/linux/drivers/iio/imu/bmi160/
H A Dbmi160.h10 struct iio_trigger *trig;
/linux/drivers/iio/pressure/
H A Dst_pressure_buffer.c19 int st_press_trig_set_state(struct iio_trigger *trig, bool state) in st_press_trig_set_state()
H A Dst_pressure.h48 int st_press_trig_set_state(struct iio_trigger *trig, bool state);
/linux/include/linux/iio/common/
H A Dst_sensors.h242 struct iio_trigger *trig;
274 int st_sensors_validate_device(struct iio_trigger *trig,
/linux/drivers/iio/accel/
H A Dst_accel.h48 int st_accel_trig_set_state(struct iio_trigger *trig, bool state);
/linux/drivers/iio/humidity/
H A Dhts221.h33 struct iio_trigger *trig;

123