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

#include <ade7758.h>

Data Fields

struct spi_deviceus
 
struct iio_triggertrig
 
u8tx
 
u8rx
 
struct mutex buf_lock
 
struct iio_chan_specade7758_ring_channels
 
struct spi_transfer ring_xfer [4]
 
struct spi_message ring_msg
 
unsigned char rx_buf[8] ____cacheline_aligned
 
unsigned char tx_buf [8]
 

Detailed Description

struct ade7758_state - device instance specific data : actual spi_device : data ready trigger registered with iio : transmit buffer : receive buffer : mutex to protect tx and rx

Definition at line 119 of file ade7758.h.

Field Documentation

unsigned char rx_buf [8] ____cacheline_aligned

Definition at line 132 of file ade7758.h.

struct iio_chan_spec* ade7758_ring_channels

Definition at line 125 of file ade7758.h.

struct mutex buf_lock

Definition at line 124 of file ade7758.h.

struct spi_message ring_msg

Definition at line 127 of file ade7758.h.

struct spi_transfer ring_xfer[4]

Definition at line 126 of file ade7758.h.

u8* rx

Definition at line 123 of file ade7758.h.

Definition at line 121 of file ade7758.h.

u8* tx

Definition at line 122 of file ade7758.h.

unsigned char tx_buf[8]

Definition at line 133 of file ade7758.h.

Definition at line 120 of file ade7758.h.


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