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

#include <ab3100.h>

Data Fields

struct mutex access_mutex
 
struct devicedev
 
struct i2c_clienti2c_client
 
struct i2c_clienttestreg_client
 
char chip_name [32]
 
u8 chip_id
 
struct blocking_notifier_head event_subscribers
 
u8 startup_events [3]
 
bool startup_events_read
 

Detailed Description

struct ab3100 : lock out concurrent accesses to the AB3100 registers : pointer to the containing device : I2C client for this chip : secondary client for test registers : name of this chip variant : 8 bit chip ID for this chip variant : event subscribers are listed here : a copy of the first reading of the event registers : whether the first events have been read

This struct is PRIVATE and devices using it should NOT access ANY fields. It is used as a token for calling the AB3100 functions.

Definition at line 93 of file ab3100.h.

Field Documentation

struct mutex access_mutex

Definition at line 94 of file ab3100.h.

Definition at line 99 of file ab3100.h.

char chip_name[32]

Definition at line 98 of file ab3100.h.

struct device* dev

Definition at line 95 of file ab3100.h.

struct blocking_notifier_head event_subscribers

Definition at line 100 of file ab3100.h.

Definition at line 96 of file ab3100.h.

u8 startup_events[3]

Definition at line 101 of file ab3100.h.

bool startup_events_read

Definition at line 102 of file ab3100.h.

struct i2c_client* testreg_client

Definition at line 97 of file ab3100.h.


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