Commit 3bdff937 authored by Peter Meerwald's avatar Peter Meerwald Committed by Jonathan Cameron

iio: cleanup buffer.h comments

Signed-off-by: default avatarPeter Meerwald <pmeerw@pmeerw.net>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent c866ffc7
...@@ -85,7 +85,7 @@ struct iio_buffer { ...@@ -85,7 +85,7 @@ struct iio_buffer {
/** /**
* iio_buffer_init() - Initialize the buffer structure * iio_buffer_init() - Initialize the buffer structure
* @buffer: buffer to be initialized * @buffer: buffer to be initialized
**/ **/
void iio_buffer_init(struct iio_buffer *buffer); void iio_buffer_init(struct iio_buffer *buffer);
...@@ -107,8 +107,9 @@ int iio_scan_mask_query(struct iio_dev *indio_dev, ...@@ -107,8 +107,9 @@ int iio_scan_mask_query(struct iio_dev *indio_dev,
/** /**
* iio_scan_mask_set() - set particular bit in the scan mask * iio_scan_mask_set() - set particular bit in the scan mask
* @buffer: the buffer whose scan mask we are interested in * @indio_dev IIO device structure
* @bit: the bit to be set. * @buffer: the buffer whose scan mask we are interested in
* @bit: the bit to be set.
**/ **/
int iio_scan_mask_set(struct iio_dev *indio_dev, int iio_scan_mask_set(struct iio_dev *indio_dev,
struct iio_buffer *buffer, int bit); struct iio_buffer *buffer, int bit);
...@@ -116,8 +117,8 @@ int iio_scan_mask_set(struct iio_dev *indio_dev, ...@@ -116,8 +117,8 @@ int iio_scan_mask_set(struct iio_dev *indio_dev,
/** /**
* iio_push_to_buffer() - push to a registered buffer. * iio_push_to_buffer() - push to a registered buffer.
* @buffer: IIO buffer structure for device * @buffer: IIO buffer structure for device
* @scan: Full scan. * @data: the data to push to the buffer
* @timestamp: * @timestamp: timestamp to associate with the data
*/ */
int iio_push_to_buffer(struct iio_buffer *buffer, unsigned char *data, int iio_push_to_buffer(struct iio_buffer *buffer, unsigned char *data,
s64 timestamp); s64 timestamp);
...@@ -126,7 +127,9 @@ int iio_update_demux(struct iio_dev *indio_dev); ...@@ -126,7 +127,9 @@ int iio_update_demux(struct iio_dev *indio_dev);
/** /**
* iio_buffer_register() - register the buffer with IIO core * iio_buffer_register() - register the buffer with IIO core
* @indio_dev: device with the buffer to be registered * @indio_dev: device with the buffer to be registered
* @channels: the channel descriptions used to construct buffer
* @num_channels: the number of channels
**/ **/
int iio_buffer_register(struct iio_dev *indio_dev, int iio_buffer_register(struct iio_dev *indio_dev,
const struct iio_chan_spec *channels, const struct iio_chan_spec *channels,
...@@ -134,7 +137,7 @@ int iio_buffer_register(struct iio_dev *indio_dev, ...@@ -134,7 +137,7 @@ int iio_buffer_register(struct iio_dev *indio_dev,
/** /**
* iio_buffer_unregister() - unregister the buffer from IIO core * iio_buffer_unregister() - unregister the buffer from IIO core
* @indio_dev: the device with the buffer to be unregistered * @indio_dev: the device with the buffer to be unregistered
**/ **/
void iio_buffer_unregister(struct iio_dev *indio_dev); void iio_buffer_unregister(struct iio_dev *indio_dev);
......
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