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

Data Fields

struct devicedev
 
struct ad5064_chip_infochip_info
 
struct regulator_bulk_data vref_reg [AD5064_MAX_VREFS]
 
bool pwr_down [AD5064_MAX_DAC_CHANNELS]
 
u8 pwr_down_mode [AD5064_MAX_DAC_CHANNELS]
 
unsigned int dac_cache [AD5064_MAX_DAC_CHANNELS]
 
bool use_internal_vref
 
ad5064_write_func write
 
union {
   u8   i2c [3]
 
   __be32   spi
 
____cacheline_aligned
 

Detailed Description

struct ad5064_state - driver instance specific data : the device for this driver instance : chip model specific constants, available modes etc : vref supply regulators : whether channel is powered down : channel's current power down mode : current DAC raw value (chip does not support readback) : set to true if the internal reference voltage should be used. : register write callback : i2c/spi transfer buffers

Definition at line 86 of file ad5064.c.

Field Documentation

union { ... } ____cacheline_aligned

Definition at line 88 of file ad5064.c.

unsigned int dac_cache[AD5064_MAX_DAC_CHANNELS]

Definition at line 92 of file ad5064.c.

struct device* dev

Definition at line 87 of file ad5064.c.

u8 i2c[3]

Definition at line 102 of file ad5064.c.

Definition at line 90 of file ad5064.c.

u8 pwr_down_mode[AD5064_MAX_DAC_CHANNELS]

Definition at line 91 of file ad5064.c.

__be32 spi

Definition at line 103 of file ad5064.c.

bool use_internal_vref

Definition at line 93 of file ad5064.c.

Definition at line 89 of file ad5064.c.

Definition at line 95 of file ad5064.c.


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