Home
last modified time | relevance | path

Searched refs:cb_buff (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/drivers/iio/buffer/
Dindustrialio-buffer-cb.c29 struct iio_cb_buffer *cb_buff = buffer_to_cb_buffer(buffer); in iio_buffer_cb_store_to() local
30 return cb_buff->cb(data, cb_buff->private); in iio_buffer_cb_store_to()
35 struct iio_cb_buffer *cb_buff = buffer_to_cb_buffer(buffer); in iio_buffer_cb_release() local
37 bitmap_free(cb_buff->buffer.scan_mask); in iio_buffer_cb_release()
38 kfree(cb_buff); in iio_buffer_cb_release()
54 struct iio_cb_buffer *cb_buff; in iio_channel_get_all_cb() local
62 cb_buff = kzalloc(sizeof(*cb_buff), GFP_KERNEL); in iio_channel_get_all_cb()
63 if (cb_buff == NULL) in iio_channel_get_all_cb()
66 iio_buffer_init(&cb_buff->buffer); in iio_channel_get_all_cb()
68 cb_buff->private = private; in iio_channel_get_all_cb()
[all …]
/linux-5.19.10/include/linux/iio/
Dconsumer.h172 int iio_channel_start_all_cb(struct iio_cb_buffer *cb_buff);
178 void iio_channel_stop_all_cb(struct iio_cb_buffer *cb_buff);