diff options
| author | Peter Meerwald <pmeerw@pmeerw.net> | 2012-08-26 08:43:00 -0400 |
|---|---|---|
| committer | Jonathan Cameron <jic23@kernel.org> | 2012-09-03 15:26:42 -0400 |
| commit | c3668a0f8097af2f24a5fd67695f4ee830f99eda (patch) | |
| tree | 9ae0c15494061426a5cbf265d02a11fae0937aa1 /include/linux/iio | |
| parent | 00062a9c2e772345388cd352695790f00a95b934 (diff) | |
iio: document missing elements
Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'include/linux/iio')
| -rw-r--r-- | include/linux/iio/iio.h | 4 | ||||
| -rw-r--r-- | include/linux/iio/trigger.h | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/include/linux/iio/iio.h b/include/linux/iio/iio.h index b18e74e0bdd..2c395a89819 100644 --- a/include/linux/iio/iio.h +++ b/include/linux/iio/iio.h | |||
| @@ -229,6 +229,7 @@ ssize_t iio_enum_write(struct iio_dev *indio_dev, | |||
| 229 | * @indexed: Specify the channel has a numerical index. If not, | 229 | * @indexed: Specify the channel has a numerical index. If not, |
| 230 | * the channel index number will be suppressed for sysfs | 230 | * the channel index number will be suppressed for sysfs |
| 231 | * attributes but not for event codes. | 231 | * attributes but not for event codes. |
| 232 | * @output: Channel is output. | ||
| 232 | * @differential: Channel is differential. | 233 | * @differential: Channel is differential. |
| 233 | */ | 234 | */ |
| 234 | struct iio_chan_spec { | 235 | struct iio_chan_spec { |
| @@ -312,6 +313,9 @@ struct iio_dev; | |||
| 312 | * Meaning is event dependent. | 313 | * Meaning is event dependent. |
| 313 | * @validate_trigger: function to validate the trigger when the | 314 | * @validate_trigger: function to validate the trigger when the |
| 314 | * current trigger gets changed. | 315 | * current trigger gets changed. |
| 316 | * @update_scan_mode: function to configure device and scan buffer when | ||
| 317 | * channels have changed | ||
| 318 | * @debugfs_reg_access: function to read or write register value of device | ||
| 315 | **/ | 319 | **/ |
| 316 | struct iio_info { | 320 | struct iio_info { |
| 317 | struct module *driver_module; | 321 | struct module *driver_module; |
diff --git a/include/linux/iio/trigger.h b/include/linux/iio/trigger.h index a9819940a84..f0af2673891 100644 --- a/include/linux/iio/trigger.h +++ b/include/linux/iio/trigger.h | |||
| @@ -39,7 +39,7 @@ struct iio_trigger_ops { | |||
| 39 | 39 | ||
| 40 | /** | 40 | /** |
| 41 | * struct iio_trigger - industrial I/O trigger device | 41 | * struct iio_trigger - industrial I/O trigger device |
| 42 | * | 42 | * @ops: [DRIVER] operations structure |
| 43 | * @id: [INTERN] unique id number | 43 | * @id: [INTERN] unique id number |
| 44 | * @name: [DRIVER] unique name | 44 | * @name: [DRIVER] unique name |
| 45 | * @dev: [DRIVER] associated device (if relevant) | 45 | * @dev: [DRIVER] associated device (if relevant) |
| @@ -104,7 +104,8 @@ void iio_trigger_unregister(struct iio_trigger *trig_info); | |||
| 104 | 104 | ||
| 105 | /** | 105 | /** |
| 106 | * iio_trigger_poll() - called on a trigger occurring | 106 | * iio_trigger_poll() - called on a trigger occurring |
| 107 | * @trig: trigger which occurred | 107 | * @trig: trigger which occurred |
| 108 | * @time: timestamp when trigger occurred | ||
| 108 | * | 109 | * |
| 109 | * Typically called in relevant hardware interrupt handler. | 110 | * Typically called in relevant hardware interrupt handler. |
| 110 | **/ | 111 | **/ |
