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

#include <max8998-private.h>

Data Fields

struct devicedev
 
struct i2c_clienti2c
 
struct i2c_clientrtc
 
struct mutex iolock
 
struct mutex irqlock
 
int irq_base
 
int irq
 
int ono
 
u8 irq_masks_cur [MAX8998_NUM_IRQ_REGS]
 
u8 irq_masks_cache [MAX8998_NUM_IRQ_REGS]
 
int type
 
bool wakeup
 

Detailed Description

struct max8998_dev - max8998 master device for sub-drivers : master device of the chip (can be used to access platform data) : i2c client private data for regulator : i2c client private data for rtc : mutex for serializing io access : mutex for buslock : base IRQ number for max8998, required for IRQs : generic IRQ number for max8998 : power onoff IRQ number for max8998 : currently active value : cached hardware value : indicate which max8998 "variant" is used

Definition at line 149 of file max8998-private.h.

Field Documentation

struct device* dev

Definition at line 150 of file max8998-private.h.

Definition at line 151 of file max8998-private.h.

struct mutex iolock

Definition at line 153 of file max8998-private.h.

int irq

Definition at line 157 of file max8998-private.h.

int irq_base

Definition at line 156 of file max8998-private.h.

u8 irq_masks_cache[MAX8998_NUM_IRQ_REGS]

Definition at line 160 of file max8998-private.h.

u8 irq_masks_cur[MAX8998_NUM_IRQ_REGS]

Definition at line 159 of file max8998-private.h.

struct mutex irqlock

Definition at line 154 of file max8998-private.h.

int ono

Definition at line 158 of file max8998-private.h.

Definition at line 152 of file max8998-private.h.

Definition at line 161 of file max8998-private.h.

bool wakeup

Definition at line 162 of file max8998-private.h.


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