Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
iio_buffer_setup_ops Struct Reference

#include <iio.h>

Data Fields

int(* preenable )(struct iio_dev *)
 
int(* postenable )(struct iio_dev *)
 
int(* predisable )(struct iio_dev *)
 
int(* postdisable )(struct iio_dev *)
 
bool(* validate_scan_mask )(struct iio_dev *indio_dev, const unsigned long *scan_mask)
 

Detailed Description

struct iio_buffer_setup_ops - buffer setup related callbacks : [DRIVER] function to run prior to marking buffer enabled : [DRIVER] function to run after marking buffer enabled : [DRIVER] function to run prior to marking buffer disabled : [DRIVER] function to run after marking buffer disabled : [DRIVER] function callback to check whether a given scan mask is valid for the device.

Definition at line 395 of file iio.h.

Field Documentation

int(* postdisable)(struct iio_dev *)

Definition at line 399 of file iio.h.

int(* postenable)(struct iio_dev *)

Definition at line 397 of file iio.h.

int(* predisable)(struct iio_dev *)

Definition at line 398 of file iio.h.

int(* preenable)(struct iio_dev *)

Definition at line 396 of file iio.h.

bool(* validate_scan_mask)(struct iio_dev *indio_dev, const unsigned long *scan_mask)

Definition at line 400 of file iio.h.


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