Lines Matching refs:cb_buffer
69 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()
366 data->adc_chan = iio_channel_cb_get_channels(data->cb_buffer); in lmp91000_probe()
375 iio_channel_release_all_cb(data->cb_buffer); in lmp91000_probe()
393 iio_channel_stop_all_cb(data->cb_buffer); in lmp91000_remove()
394 iio_channel_release_all_cb(data->cb_buffer); in lmp91000_remove()