OXIESEC PANEL
- Current Dir:
/
/
usr
/
src
/
linux-headers-4.15.0-213
/
include
/
linux
/
iio
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
05/09/2024 07:14:16 AM
rwxr-xr-x
📁
accel
-
05/09/2024 07:14:16 AM
rwxr-xr-x
📁
adc
-
05/09/2024 07:14:16 AM
rwxr-xr-x
📄
buffer-dma.h
4.56 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
buffer-dmaengine.h
389 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
buffer.h
1.73 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
buffer_impl.h
5.18 KB
06/16/2023 05:32:39 PM
rw-r--r--
📁
common
-
05/09/2024 07:14:16 AM
rwxr-xr-x
📄
configfs.h
405 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
consumer.h
12.08 KB
01/28/2018 09:20:33 PM
rw-r--r--
📁
dac
-
05/09/2024 07:14:16 AM
rwxr-xr-x
📄
driver.h
832 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
events.h
2.24 KB
01/28/2018 09:20:33 PM
rw-r--r--
📁
frequency
-
05/09/2024 07:14:16 AM
rwxr-xr-x
📁
gyro
-
05/09/2024 07:14:16 AM
rwxr-xr-x
📄
iio.h
27.09 KB
06/16/2023 05:32:39 PM
rw-r--r--
📁
imu
-
05/09/2024 07:14:16 AM
rwxr-xr-x
📄
kfifo_buf.h
372 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
machine.h
998 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📁
magnetometer
-
05/09/2024 07:14:16 AM
rwxr-xr-x
📄
sw_device.h
1.84 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
sw_trigger.h
1.88 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
sysfs.h
4.73 KB
01/28/2018 09:20:33 PM
rw-r--r--
📁
timer
-
05/09/2024 07:14:16 AM
rwxr-xr-x
📄
trigger.h
5.3 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
trigger_consumer.h
1.79 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
triggered_buffer.h
781 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
triggered_event.h
352 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
types.h
873 bytes
01/28/2018 09:20:33 PM
rw-r--r--
Editing: trigger_consumer.h
Close
/* The industrial I/O core, trigger consumer functions * * Copyright (c) 2008-2011 Jonathan Cameron * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 as published by * the Free Software Foundation. */ #ifndef __LINUX_IIO_TRIGGER_CONSUMER_H__ #define __LINUX_IIO_TRIGGER_CONSUMER_H__ #include <linux/interrupt.h> #include <linux/types.h> struct iio_dev; struct iio_trigger; /** * struct iio_poll_func - poll function pair * * @indio_dev: data specific to device (passed into poll func) * @h: the function that is actually run on trigger * @thread: threaded interrupt part * @type: the type of interrupt (basically if oneshot) * @name: name used to identify the trigger consumer. * @irq: the corresponding irq as allocated from the * trigger pool * @timestamp: some devices need a timestamp grabbed as soon * as possible after the trigger - hence handler * passes it via here. **/ struct iio_poll_func { struct iio_dev *indio_dev; irqreturn_t (*h)(int irq, void *p); irqreturn_t (*thread)(int irq, void *p); int type; char *name; int irq; s64 timestamp; }; struct iio_poll_func *iio_alloc_pollfunc(irqreturn_t (*h)(int irq, void *p), irqreturn_t (*thread)(int irq, void *p), int type, struct iio_dev *indio_dev, const char *fmt, ...); void iio_dealloc_pollfunc(struct iio_poll_func *pf); irqreturn_t iio_pollfunc_store_time(int irq, void *p); void iio_trigger_notify_done(struct iio_trigger *trig); /* * Two functions for common case where all that happens is a pollfunc * is attached and detached from a trigger */ int iio_triggered_buffer_postenable(struct iio_dev *indio_dev); int iio_triggered_buffer_predisable(struct iio_dev *indio_dev); #endif