Searched refs:cb_buff (Results 1 – 2 of 2) sorted by relevance
30 return cb_buff->cb(data, cb_buff->private); in iio_buffer_cb_store_to()38 kfree(cb_buff); in iio_buffer_cb_release()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()69 cb_buff->cb = cb; in iio_channel_get_all_cb()79 cb_buff->indio_dev = cb_buff->channels[0].indio_dev; in iio_channel_get_all_cb()80 cb_buff->buffer.scan_mask = bitmap_zalloc(cb_buff->indio_dev->masklength, in iio_channel_get_all_cb()97 return cb_buff; in iio_channel_get_all_cb()104 kfree(cb_buff); in iio_channel_get_all_cb()122 return iio_update_buffers(cb_buff->indio_dev, &cb_buff->buffer, in iio_channel_start_all_cb()[all …]
166 int iio_channel_start_all_cb(struct iio_cb_buffer *cb_buff);172 void iio_channel_stop_all_cb(struct iio_cb_buffer *cb_buff);
Completed in 4 milliseconds