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

#include <ade7854.h>

Data Fields

struct spi_devicespi
 
struct i2c_clienti2c
 
int(* read_reg_8 )(struct device *, u16, u8 *)
 
int(* read_reg_16 )(struct device *, u16, u16 *)
 
int(* read_reg_24 )(struct device *, u16, u32 *)
 
int(* read_reg_32 )(struct device *, u16, u32 *)
 
int(* write_reg_8 )(struct device *, u16, u8)
 
int(* write_reg_16 )(struct device *, u16, u16)
 
int(* write_reg_24 )(struct device *, u16, u32)
 
int(* write_reg_32 )(struct device *, u16, u32)
 
int irq
 
struct mutex buf_lock
 
u8 tx[ADE7854_MAX_TX____cacheline_aligned
 
u8 rx [ADE7854_MAX_RX]
 

Detailed Description

struct ade7854_state - device instance specific data : actual spi_device : industrial I/O device structure : mutex to protect tx and rx : transmit buffer : receive buffer

Definition at line 155 of file ade7854.h.

Field Documentation

Definition at line 168 of file ade7854.h.

struct mutex buf_lock

Definition at line 167 of file ade7854.h.

Definition at line 157 of file ade7854.h.

int irq

Definition at line 166 of file ade7854.h.

int(* read_reg_16)(struct device *, u16, u16 *)

Definition at line 159 of file ade7854.h.

int(* read_reg_24)(struct device *, u16, u32 *)

Definition at line 160 of file ade7854.h.

int(* read_reg_32)(struct device *, u16, u32 *)

Definition at line 161 of file ade7854.h.

int(* read_reg_8)(struct device *, u16, u8 *)

Definition at line 158 of file ade7854.h.

Definition at line 169 of file ade7854.h.

Definition at line 156 of file ade7854.h.

int(* write_reg_16)(struct device *, u16, u16)

Definition at line 163 of file ade7854.h.

int(* write_reg_24)(struct device *, u16, u32)

Definition at line 164 of file ade7854.h.

int(* write_reg_32)(struct device *, u16, u32)

Definition at line 165 of file ade7854.h.

int(* write_reg_8)(struct device *, u16, u8)

Definition at line 162 of file ade7854.h.


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