Searched defs:iio_buffer_access_funcs (Results 1 – 1 of 1) sorted by relevance
53 struct iio_buffer_access_funcs { struct54 int (*store_to)(struct iio_buffer *buffer, const void *data);55 int (*read)(struct iio_buffer *buffer, size_t n, char __user *buf);56 size_t (*data_available)(struct iio_buffer *buffer);57 int (*remove_from)(struct iio_buffer *buffer, void *data);58 int (*write)(struct iio_buffer *buffer, size_t n, const char __user *buf);59 size_t (*space_available)(struct iio_buffer *buffer);61 int (*request_update)(struct iio_buffer *buffer);63 int (*set_bytes_per_datum)(struct iio_buffer *buffer, size_t bpd);64 int (*set_length)(struct iio_buffer *buffer, unsigned int length);[all …]