Searched refs:cb_buff (Results 1 – 2 of 2) sorted by relevance
29 struct iio_cb_buffer *cb_buff = buffer_to_cb_buffer(buffer); in iio_buffer_cb_store_to() local30 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() local37 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() local62 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 …]
172 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);