/usr/src/kernels/4.18.0-553.157.1.el8_10.x86_64/include/linux/iio
NameSizeModeActions
accel/-0755rm
adc/-0755rm
common/-0755rm
dac/-0755rm
frequency/-0755rm
gyro/-0755rm
imu/-0755rm
magnetometer/-0755rm
timer/-0755rm
buffer-dma.h46730644editdlrm
buffer-dmaengine.h3890644editdlrm
buffer.h17680644editdlrm
buffer_impl.h53050644editdlrm
configfs.h4050644editdlrm
consumer.h136990644editdlrm
driver.h8320644editdlrm
events.h22960644editdlrm
hw-consumer.h6830644editdlrm
iio.h270770644editdlrm
kfifo_buf.h3720644editdlrm
machine.h12350644editdlrm
sw_device.h18820644editdlrm
sw_trigger.h19210644editdlrm
sysfs.h48420644editdlrm
trigger.h54860644editdlrm
triggered_buffer.h7810644editdlrm
triggered_event.h3520644editdlrm
trigger_consumer.h18300644editdlrm
types.h16600644editdlrm
Edit: /usr/src/kernels/4.18.0-553.157.1.el8_10.x86_64/include/linux/iio/machine.h (1235B)
/* * Industrial I/O in kernel access map definitions for board files. * * Copyright (c) 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_MACHINE_H__ #define __LINUX_IIO_MACHINE_H__ /** * struct iio_map - description of link between consumer and device channels * @adc_channel_label: Label used to identify the channel on the provider. * This is matched against the datasheet_name element * of struct iio_chan_spec. * @consumer_dev_name: Name to uniquely identify the consumer device. * @consumer_channel: Unique name used to identify the channel on the * consumer side. * @consumer_data: Data about the channel for use by the consumer driver. */ struct iio_map { const char *adc_channel_label; const char *consumer_dev_name; const char *consumer_channel; void *consumer_data; }; #define IIO_MAP(_provider_channel, _consumer_dev_name, _consumer_channel) \ { \ .adc_channel_label = _provider_channel, \ .consumer_dev_name = _consumer_dev_name, \ .consumer_channel = _consumer_channel, \ } #endif