Linux Kernel
3.7.1
|
#include <ade7854.h>
Data Fields | |
struct spi_device * | spi |
struct i2c_client * | i2c |
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] |
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
struct i2c_client* i2c |
struct spi_device* spi |