[ 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: sw_trigger.h
/* * Industrial I/O software trigger interface * * Copyright (c) 2015 Intel Corporation * * 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 __IIO_SW_TRIGGER #define __IIO_SW_TRIGGER #include <linux/module.h> #include <linux/device.h> #include <linux/iio/iio.h> #include <linux/configfs.h> #define module_iio_sw_trigger_driver(__iio_sw_trigger_type) \ module_driver(__iio_sw_trigger_type, iio_register_sw_trigger_type, \ iio_unregister_sw_trigger_type) struct iio_sw_trigger_ops; struct iio_sw_trigger_type { const char *name; struct module *owner; const struct iio_sw_trigger_ops *ops; struct list_head list; struct config_group *group; }; struct iio_sw_trigger { struct iio_trigger *trigger; struct iio_sw_trigger_type *trigger_type; struct config_group group; }; struct iio_sw_trigger_ops { struct iio_sw_trigger* (*probe)(const char *); int (*remove)(struct iio_sw_trigger *); }; static inline struct iio_sw_trigger *to_iio_sw_trigger(struct config_item *item) { return container_of(to_config_group(item), struct iio_sw_trigger, group); } int iio_register_sw_trigger_type(struct iio_sw_trigger_type *tt); void iio_unregister_sw_trigger_type(struct iio_sw_trigger_type *tt); struct iio_sw_trigger *iio_sw_trigger_create(const char *, const char *); void iio_sw_trigger_destroy(struct iio_sw_trigger *); int iio_sw_trigger_type_configfs_register(struct iio_sw_trigger_type *tt); void iio_sw_trigger_type_configfs_unregister(struct iio_sw_trigger_type *tt); static inline void iio_swt_group_init_type_name(struct iio_sw_trigger *t, const char *name, const struct config_item_type *type) { #if IS_ENABLED(CONFIG_CONFIGFS_FS) config_group_init_type_name(&t->group, name, type); #endif } #endif /* __IIO_SW_TRIGGER */