Searched defs:iio_buffer_access_funcs (Results 1 – 1 of 1) sorted by relevance
67 struct iio_buffer_access_funcs { struct68 int (*store_to)(struct iio_buffer *buffer, const void *data);69 int (*read)(struct iio_buffer *buffer, size_t n, char __user *buf);70 size_t (*data_available)(struct iio_buffer *buffer);71 int (*remove_from)(struct iio_buffer *buffer, void *data);72 int (*write)(struct iio_buffer *buffer, size_t n, const char __user *buf);73 size_t (*space_available)(struct iio_buffer *buffer);75 int (*request_update)(struct iio_buffer *buffer);77 int (*set_bytes_per_datum)(struct iio_buffer *buffer, size_t bpd);78 int (*set_length)(struct iio_buffer *buffer, unsigned int length);[all …]