Home
last modified time | relevance | path

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

12345

/linux-6.6.21/include/linux/iio/
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 …]
Dtrigger_consumer.h14 struct iio_trigger;
51 void iio_trigger_notify_done(struct iio_trigger *trig);
Diio.h392 struct iio_trigger; /* forward declaration */
515 struct iio_trigger *trig);
588 struct iio_trigger *trig;
743 struct iio_trigger *__devm_iio_trigger_alloc(struct device *parent,
/linux-6.6.21/drivers/iio/
Dindustrialio-trigger.c52 struct iio_trigger *trig = to_iio_trigger(dev); in name_show()
65 static struct iio_trigger *__iio_trigger_find_by_name(const char *name);
67 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()
115 int iio_trigger_set_immutable(struct iio_dev *indio_dev, struct iio_trigger *trig) in iio_trigger_set_immutable()
135 static struct iio_trigger *__iio_trigger_find_by_name(const char *name) in __iio_trigger_find_by_name()
137 struct iio_trigger *iter; in __iio_trigger_find_by_name()
146 static struct iio_trigger *iio_trigger_acquire_by_name(const char *name) in iio_trigger_acquire_by_name()
148 struct iio_trigger *trig = NULL, *iter; in iio_trigger_acquire_by_name()
164 struct iio_trigger *trig = container_of(work, struct iio_trigger, in iio_reenable_work_fn()
[all …]
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-6.6.21/drivers/iio/trigger/
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()
Dstm32-timer-trigger.c118 struct iio_trigger *trig, in stm32_timer_start()
182 struct iio_trigger *trig) in stm32_timer_stop()
217 struct iio_trigger *trig = to_iio_trigger(dev); in stm32_tt_store_frequency()
240 struct iio_trigger *trig = to_iio_trigger(dev); in stm32_tt_read_frequency()
290 struct iio_trigger *trig = to_iio_trigger(dev); in stm32_tt_show_master_mode()
308 struct iio_trigger *trig = to_iio_trigger(dev); in stm32_tt_store_master_mode()
345 struct iio_trigger *trig = to_iio_trigger(dev); in stm32_tt_show_master_mode_avail()
393 struct iio_trigger *tr; in stm32_unregister_iio_triggers()
407 struct iio_trigger *trig; in stm32_register_iio_triggers()
519 struct iio_trigger *trig) in stm32_counter_validate_trigger()
[all …]
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()
Diio-trig-interrupt.c31 struct iio_trigger *trig; in iio_interrupt_trigger_probe()
86 struct iio_trigger *trig; in iio_interrupt_trigger_remove()
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()
Diio-trig-sysfs.c17 struct iio_trigger *trig;
103 struct iio_trigger *trig = to_iio_trigger(dev); in iio_sysfs_trigger_poll()
/linux-6.6.21/include/linux/iio/timer/
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()
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-6.6.21/drivers/iio/common/st_sensors/
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-6.6.21/drivers/iio/adc/
Dxilinx-xadc.h56 struct iio_trigger *trigger;
57 struct iio_trigger *convst_trigger;
58 struct iio_trigger *samplerate_trigger;
/linux-6.6.21/Documentation/driver-api/iio/
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-6.6.21/include/linux/iio/adc/
Dad_sigma_delta.h77 struct iio_trigger *trig;
178 int ad_sd_validate_trigger(struct iio_dev *indio_dev, struct iio_trigger *trig);
/linux-6.6.21/drivers/iio/light/
Dst_uvis25.h27 struct iio_trigger *trig;
/linux-6.6.21/drivers/iio/gyro/
Dst_gyro.h29 int st_gyro_trig_set_state(struct iio_trigger *trig, bool state);
/linux-6.6.21/drivers/iio/magnetometer/
Dst_magn.h29 int st_magn_trig_set_state(struct iio_trigger *trig, bool state);
Dst_magn_buffer.c19 int st_magn_trig_set_state(struct iio_trigger *trig, bool state) in st_magn_trig_set_state()
/linux-6.6.21/drivers/iio/imu/
Dkmx61.c137 struct iio_trigger *acc_dready_trig;
138 struct iio_trigger *motion_trig;
145 struct iio_trigger *mag_dready_trig;
978 struct iio_trigger *trig) in kmx61_acc_validate_trigger()
989 struct iio_trigger *trig) in kmx61_mag_validate_trigger()
1018 static int kmx61_data_rdy_trigger_set_state(struct iio_trigger *trig, in kmx61_data_rdy_trigger_set_state()
1064 static void kmx61_trig_reenable(struct iio_trigger *trig) in kmx61_trig_reenable()
1254 static struct iio_trigger *kmx61_trigger_setup(struct kmx61_data *data, in kmx61_trigger_setup()
1258 struct iio_trigger *trig; in kmx61_trigger_setup()
/linux-6.6.21/drivers/iio/imu/bmi160/
Dbmi160.h10 struct iio_trigger *trig;
/linux-6.6.21/drivers/iio/pressure/
Dst_pressure_buffer.c19 int st_press_trig_set_state(struct iio_trigger *trig, bool state) in st_press_trig_set_state()
Dst_pressure.h48 int st_press_trig_set_state(struct iio_trigger *trig, bool state);

12345