Loading include/linux/iio/buffer.h +10 −7 Original line number Diff line number Diff line Loading @@ -107,6 +107,7 @@ int iio_scan_mask_query(struct iio_dev *indio_dev, /** * iio_scan_mask_set() - set particular bit in the scan mask * @indio_dev IIO device structure * @buffer: the buffer whose scan mask we are interested in * @bit: the bit to be set. **/ Loading @@ -116,8 +117,8 @@ int iio_scan_mask_set(struct iio_dev *indio_dev, /** * iio_push_to_buffer() - push to a registered buffer. * @buffer: IIO buffer structure for device * @scan: Full scan. * @timestamp: * @data: the data to push to the buffer * @timestamp: timestamp to associate with the data */ int iio_push_to_buffer(struct iio_buffer *buffer, unsigned char *data, s64 timestamp); Loading @@ -127,6 +128,8 @@ int iio_update_demux(struct iio_dev *indio_dev); /** * iio_buffer_register() - register the buffer with IIO core * @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, const struct iio_chan_spec *channels, Loading Loading
include/linux/iio/buffer.h +10 −7 Original line number Diff line number Diff line Loading @@ -107,6 +107,7 @@ int iio_scan_mask_query(struct iio_dev *indio_dev, /** * iio_scan_mask_set() - set particular bit in the scan mask * @indio_dev IIO device structure * @buffer: the buffer whose scan mask we are interested in * @bit: the bit to be set. **/ Loading @@ -116,8 +117,8 @@ int iio_scan_mask_set(struct iio_dev *indio_dev, /** * iio_push_to_buffer() - push to a registered buffer. * @buffer: IIO buffer structure for device * @scan: Full scan. * @timestamp: * @data: the data to push to the buffer * @timestamp: timestamp to associate with the data */ int iio_push_to_buffer(struct iio_buffer *buffer, unsigned char *data, s64 timestamp); Loading @@ -127,6 +128,8 @@ int iio_update_demux(struct iio_dev *indio_dev); /** * iio_buffer_register() - register the buffer with IIO core * @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, const struct iio_chan_spec *channels, Loading