Home
last modified time | relevance | path

Searched refs:cb_buffer (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/iio/potentiostat/
H A Dlmp91000.c69 struct iio_cb_buffer *cb_buffer; member
164 int ret = iio_channel_start_all_cb(data->cb_buffer); in lmp91000_read_raw()
171 iio_channel_stop_all_cb(data->cb_buffer); in lmp91000_read_raw()
278 return iio_channel_start_all_cb(data->cb_buffer); in lmp91000_buffer_postenable()
285 iio_channel_stop_all_cb(data->cb_buffer); in lmp91000_buffer_predisable()
335 ret = iio_trigger_set_immutable(iio_channel_cb_get_iio_dev(data->cb_buffer), in lmp91000_probe()
354 data->cb_buffer = iio_channel_get_all_cb(dev, &lmp91000_buffer_cb, in lmp91000_probe()
357 if (IS_ERR(data->cb_buffer)) { in lmp91000_probe()
358 if (PTR_ERR(data->cb_buffer) == -ENODEV) in lmp91000_probe()
361 ret = PTR_ERR(data->cb_buffer); in lmp91000_probe()
[all …]
/linux/include/linux/iio/
H A Dconsumer.h153 int iio_channel_cb_set_buffer_watermark(struct iio_cb_buffer *cb_buffer,
160 void iio_channel_release_all_cb(struct iio_cb_buffer *cb_buffer);
185 *iio_channel_cb_get_channels(const struct iio_cb_buffer *cb_buffer);
197 *iio_channel_cb_get_iio_dev(const struct iio_cb_buffer *cb_buffer);
/linux/drivers/iio/buffer/
H A Dindustrialio-buffer-cb.c141 *iio_channel_cb_get_channels(const struct iio_cb_buffer *cb_buffer) in iio_channel_cb_get_channels() argument
143 return cb_buffer->channels; in iio_channel_cb_get_channels()
148 *iio_channel_cb_get_iio_dev(const struct iio_cb_buffer *cb_buffer) in iio_channel_cb_get_iio_dev() argument
150 return cb_buffer->indio_dev; in iio_channel_cb_get_iio_dev()