/linux/include/linux/iio/ |
H A D | trigger.h | 19 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 D | trigger_consumer.h | 14 struct iio_trigger; 51 void iio_trigger_notify_done(struct iio_trigger *trig);
|
/linux/drivers/iio/ |
H A D | industrialio-trigger.c | 53 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 D | iio_core_trigger.h | 24 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 D | stm32-lptimer-trigger.c | 31 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 D | iio-trig-hrtimer.c | 41 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 D | iio-trig-loop.c | 44 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 D | iio-trig-sysfs.c | 17 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 D | stm32-lptim-trigger.h | 19 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 D | stm32-timer-trigger.h | 76 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 D | st_sensors_trigger.c | 59 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 D | triggers.rst | 5 * 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 D | ad_sigma_delta.h | 84 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 D | st_uvis25.h | 27 struct iio_trigger *trig;
|
/linux/drivers/media/pci/mgb4/ |
H A D | mgb4_trigger.c | 25 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 D | st_magn.h | 29 int st_magn_trig_set_state(struct iio_trigger *trig, bool state);
|
H A D | st_magn_buffer.c | 19 int st_magn_trig_set_state(struct iio_trigger *trig, bool state) in st_magn_trig_set_state()
|
/linux/drivers/iio/gyro/ |
H A D | st_gyro.h | 29 int st_gyro_trig_set_state(struct iio_trigger *trig, bool state);
|
H A D | st_gyro_buffer.c | 19 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 D | bmi160.h | 10 struct iio_trigger *trig;
|
/linux/drivers/iio/pressure/ |
H A D | st_pressure_buffer.c | 19 int st_press_trig_set_state(struct iio_trigger *trig, bool state) in st_press_trig_set_state()
|
H A D | st_pressure.h | 48 int st_press_trig_set_state(struct iio_trigger *trig, bool state);
|
/linux/include/linux/iio/common/ |
H A D | st_sensors.h | 242 struct iio_trigger *trig; 274 int st_sensors_validate_device(struct iio_trigger *trig,
|
/linux/drivers/iio/accel/ |
H A D | st_accel.h | 48 int st_accel_trig_set_state(struct iio_trigger *trig, bool state);
|
/linux/drivers/iio/humidity/ |
H A D | hts221.h | 33 struct iio_trigger *trig;
|