10 #include <linux/kernel.h>
11 #include <linux/slab.h>
25 const unsigned long *active_scan_mask)
33 scan_count = bitmap_weight(active_scan_mask, indio_dev->
masklength);
37 for (i = 0, m =
AD7298_CH(0); i < AD7298_MAX_CHAN; i++, m >>= 1)
55 for (i = 0; i < scan_count; i++) {
73 static irqreturn_t ad7298_trigger_handler(
int irq,
void *
p)
87 time_ns = iio_get_time_ns();
89 &time_ns,
sizeof(time_ns));
107 &ad7298_trigger_handler,
NULL);