libiio
Public Attributes | List of all members
iio_backend_ops Struct Reference

Public Attributes

struct iio_context *(* clone )(const struct iio_context *ctx)
 
ssize_t(* read )(const struct iio_device *dev, void *dst, size_t len, uint32_t *mask, size_t words)
 
ssize_t(* write )(const struct iio_device *dev, const void *src, size_t len)
 
int(* open )(const struct iio_device *dev, size_t samples_count, bool cyclic)
 
int(* close )(const struct iio_device *dev)
 
int(* get_fd )(const struct iio_device *dev)
 
int(* set_blocking_mode )(const struct iio_device *dev, bool blocking)
 
void(* cancel )(const struct iio_device *dev)
 
int(* set_kernel_buffers_count )(const struct iio_device *dev, unsigned int nb_blocks)
 
ssize_t(* get_buffer )(const struct iio_device *dev, void **addr_ptr, size_t bytes_used, uint32_t *mask, size_t words)
 
ssize_t(* read_device_attr )(const struct iio_device *dev, const char *attr, char *dst, size_t len, enum iio_attr_type)
 
ssize_t(* write_device_attr )(const struct iio_device *dev, const char *attr, const char *src, size_t len, enum iio_attr_type)
 
ssize_t(* read_channel_attr )(const struct iio_channel *chn, const char *attr, char *dst, size_t len)
 
ssize_t(* write_channel_attr )(const struct iio_channel *chn, const char *attr, const char *src, size_t len)
 
int(* get_trigger )(const struct iio_device *dev, const struct iio_device **trigger)
 
int(* set_trigger )(const struct iio_device *dev, const struct iio_device *trigger)
 
void(* shutdown )(struct iio_context *ctx)
 
int(* get_version )(const struct iio_context *ctx, unsigned int *major, unsigned int *minor, char git_tag[8])
 
int(* set_timeout )(struct iio_context *ctx, unsigned int timeout)
 

The documentation for this struct was generated from the following file: