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

Data Fields

struct bh1770_platform_datapdata
 
char chipname [10]
 
u8 revision
 
struct i2c_clientclient
 
struct regulator_bulk_data regs [2]
 
struct mutex mutex
 
wait_queue_head_t wait
 
bool int_mode_prox
 
bool int_mode_lux
 
struct delayed_work prox_work
 
u32 lux_cf
 
u32 lux_ga
 
u32 lux_calib
 
int lux_rate_index
 
u32 lux_corr
 
u16 lux_data_raw
 
u16 lux_threshold_hi
 
u16 lux_threshold_lo
 
u16 lux_thres_hi_onchip
 
u16 lux_thres_lo_onchip
 
bool lux_wait_result
 
int prox_enable_count
 
u16 prox_coef
 
u16 prox_const
 
int prox_rate
 
int prox_rate_threshold
 
u8 prox_persistence
 
u8 prox_persistence_counter
 
u8 prox_data
 
u8 prox_threshold
 
u8 prox_threshold_hw
 
bool prox_force_update
 
u8 prox_abs_thres
 
u8 prox_led
 

Detailed Description

Definition at line 134 of file bh1770glc.c.

Field Documentation

char chipname[10]

Definition at line 136 of file bh1770glc.c.

Definition at line 138 of file bh1770glc.c.

bool int_mode_lux

Definition at line 144 of file bh1770glc.c.

bool int_mode_prox

Definition at line 143 of file bh1770glc.c.

u32 lux_calib

Definition at line 148 of file bh1770glc.c.

u32 lux_cf

Definition at line 146 of file bh1770glc.c.

u32 lux_corr

Definition at line 150 of file bh1770glc.c.

u16 lux_data_raw

Definition at line 151 of file bh1770glc.c.

u32 lux_ga

Definition at line 147 of file bh1770glc.c.

int lux_rate_index

Definition at line 149 of file bh1770glc.c.

u16 lux_thres_hi_onchip

Definition at line 154 of file bh1770glc.c.

u16 lux_thres_lo_onchip

Definition at line 155 of file bh1770glc.c.

u16 lux_threshold_hi

Definition at line 152 of file bh1770glc.c.

u16 lux_threshold_lo

Definition at line 153 of file bh1770glc.c.

bool lux_wait_result

Definition at line 156 of file bh1770glc.c.

Definition at line 140 of file bh1770glc.c.

Definition at line 135 of file bh1770glc.c.

u8 prox_abs_thres

Definition at line 169 of file bh1770glc.c.

u16 prox_coef

Definition at line 159 of file bh1770glc.c.

u16 prox_const

Definition at line 160 of file bh1770glc.c.

u8 prox_data

Definition at line 165 of file bh1770glc.c.

int prox_enable_count

Definition at line 158 of file bh1770glc.c.

bool prox_force_update

Definition at line 168 of file bh1770glc.c.

u8 prox_led

Definition at line 170 of file bh1770glc.c.

u8 prox_persistence

Definition at line 163 of file bh1770glc.c.

u8 prox_persistence_counter

Definition at line 164 of file bh1770glc.c.

int prox_rate

Definition at line 161 of file bh1770glc.c.

int prox_rate_threshold

Definition at line 162 of file bh1770glc.c.

u8 prox_threshold

Definition at line 166 of file bh1770glc.c.

u8 prox_threshold_hw

Definition at line 167 of file bh1770glc.c.

struct delayed_work prox_work

Definition at line 145 of file bh1770glc.c.

Definition at line 139 of file bh1770glc.c.

Definition at line 137 of file bh1770glc.c.

Definition at line 141 of file bh1770glc.c.


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