Commit c3668a0f authored by Peter Meerwald's avatar Peter Meerwald Committed by Jonathan Cameron

iio: document missing elements

Signed-off-by: default avatarPeter Meerwald <pmeerw@pmeerw.net>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent 00062a9c
...@@ -229,6 +229,7 @@ ssize_t iio_enum_write(struct iio_dev *indio_dev, ...@@ -229,6 +229,7 @@ ssize_t iio_enum_write(struct iio_dev *indio_dev,
* @indexed: Specify the channel has a numerical index. If not, * @indexed: Specify the channel has a numerical index. If not,
* the channel index number will be suppressed for sysfs * the channel index number will be suppressed for sysfs
* attributes but not for event codes. * attributes but not for event codes.
* @output: Channel is output.
* @differential: Channel is differential. * @differential: Channel is differential.
*/ */
struct iio_chan_spec { struct iio_chan_spec {
...@@ -312,6 +313,9 @@ struct iio_dev; ...@@ -312,6 +313,9 @@ struct iio_dev;
* Meaning is event dependent. * Meaning is event dependent.
* @validate_trigger: function to validate the trigger when the * @validate_trigger: function to validate the trigger when the
* current trigger gets changed. * current trigger gets changed.
* @update_scan_mode: function to configure device and scan buffer when
* channels have changed
* @debugfs_reg_access: function to read or write register value of device
**/ **/
struct iio_info { struct iio_info {
struct module *driver_module; struct module *driver_module;
......
...@@ -39,7 +39,7 @@ struct iio_trigger_ops { ...@@ -39,7 +39,7 @@ struct iio_trigger_ops {
/** /**
* struct iio_trigger - industrial I/O trigger device * struct iio_trigger - industrial I/O trigger device
* * @ops: [DRIVER] operations structure
* @id: [INTERN] unique id number * @id: [INTERN] unique id number
* @name: [DRIVER] unique name * @name: [DRIVER] unique name
* @dev: [DRIVER] associated device (if relevant) * @dev: [DRIVER] associated device (if relevant)
...@@ -104,7 +104,8 @@ void iio_trigger_unregister(struct iio_trigger *trig_info); ...@@ -104,7 +104,8 @@ void iio_trigger_unregister(struct iio_trigger *trig_info);
/** /**
* iio_trigger_poll() - called on a trigger occurring * iio_trigger_poll() - called on a trigger occurring
* @trig: trigger which occurred * @trig: trigger which occurred
* @time: timestamp when trigger occurred
* *
* Typically called in relevant hardware interrupt handler. * Typically called in relevant hardware interrupt handler.
**/ **/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment