[ SYSTEM ]: Linux srv.persadacompanies.com 4.18.0-553.56.1.el8_10.x86_64 #1 SMP Tue Jun 10 05:00:59 EDT 2025 x86_64
[ SERVER ]: Apache | PHP: 8.4.20
[ USER ]: persadamedika | IP: 45.64.1.108
GEFORCE FILE MANAGER
/
usr
/
src
/
kernels
/
4.18.0-553.56.1.el8_10.x86_64
/
include
/
linux
/
iio
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📁 accel
SET
[ DEL ]
📁 adc
SET
[ DEL ]
📁 common
SET
[ DEL ]
📁 dac
SET
[ DEL ]
📁 frequency
SET
[ DEL ]
📁 gyro
SET
[ DEL ]
📁 imu
SET
[ DEL ]
📁 magnetometer
SET
[ DEL ]
📁 timer
SET
[ DEL ]
📄 buffer-dma.h
4,673 B
SET
[ EDIT ]
|
[ DEL ]
📄 buffer-dmaengine.h
389 B
SET
[ EDIT ]
|
[ DEL ]
📄 buffer.h
1,768 B
SET
[ EDIT ]
|
[ DEL ]
📄 buffer_impl.h
5,305 B
SET
[ EDIT ]
|
[ DEL ]
📄 configfs.h
405 B
SET
[ EDIT ]
|
[ DEL ]
📄 consumer.h
13,699 B
SET
[ EDIT ]
|
[ DEL ]
📄 driver.h
832 B
SET
[ EDIT ]
|
[ DEL ]
📄 events.h
2,296 B
SET
[ EDIT ]
|
[ DEL ]
📄 hw-consumer.h
683 B
SET
[ EDIT ]
|
[ DEL ]
📄 iio.h
27,077 B
SET
[ EDIT ]
|
[ DEL ]
📄 kfifo_buf.h
372 B
SET
[ EDIT ]
|
[ DEL ]
📄 machine.h
1,235 B
SET
[ EDIT ]
|
[ DEL ]
📄 sw_device.h
1,882 B
SET
[ EDIT ]
|
[ DEL ]
📄 sw_trigger.h
1,921 B
SET
[ EDIT ]
|
[ DEL ]
📄 sysfs.h
4,842 B
SET
[ EDIT ]
|
[ DEL ]
📄 trigger.h
5,486 B
SET
[ EDIT ]
|
[ DEL ]
📄 trigger_consumer.h
1,830 B
SET
[ EDIT ]
|
[ DEL ]
📄 triggered_buffer.h
781 B
SET
[ EDIT ]
|
[ DEL ]
📄 triggered_event.h
352 B
SET
[ EDIT ]
|
[ DEL ]
📄 types.h
1,660 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: trigger_consumer.h
/* 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