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

#include <lis3lv02d.h>

Data Fields

voidbus_priv
 
struct devicepm_dev
 
int(* init )(struct lis3lv02d *lis3)
 
int(* write )(struct lis3lv02d *lis3, int reg, u8 val)
 
int(* read )(struct lis3lv02d *lis3, int reg, u8 *ret)
 
int(* blkread )(struct lis3lv02d *lis3, int reg, int len, u8 *ret)
 
int(* reg_ctrl )(struct lis3lv02d *lis3, bool state)
 
intodrs
 
u8regs
 
int regs_size
 
u8reg_cache
 
bool regs_stored
 
u8 odr_mask
 
u8 whoami
 
s16(* read_data )(struct lis3lv02d *lis3, int reg)
 
int mdps_max_val
 
int pwron_delay
 
int scale
 
struct input_polled_dev * idev
 
struct platform_devicepdev
 
struct regulator_bulk_data regulators [2]
 
atomic_t count
 
union axis_conversion ac
 
int mapped_btns [3]
 
u32 irq
 
struct fasync_structasync_queue
 
wait_queue_head_t misc_wait
 
unsigned long misc_opened
 
struct miscdevice miscdev
 
int data_ready_count [2]
 
atomic_t wake_thread
 
unsigned char irq_cfg
 
unsigned int shift_adj
 
struct lis3lv02d_platform_datapdata
 
struct mutex mutex
 

Detailed Description

Definition at line 273 of file lis3lv02d.h.

Field Documentation

union axis_conversion ac

Definition at line 301 of file lis3lv02d.h.

struct fasync_struct* async_queue

Definition at line 305 of file lis3lv02d.h.

int(* blkread)(struct lis3lv02d *lis3, int reg, int len, u8 *ret)

Definition at line 279 of file lis3lv02d.h.

void* bus_priv

Definition at line 274 of file lis3lv02d.h.

atomic_t count

Definition at line 300 of file lis3lv02d.h.

int data_ready_count[2]

Definition at line 310 of file lis3lv02d.h.

struct input_polled_dev* idev

Definition at line 297 of file lis3lv02d.h.

int(* init)(struct lis3lv02d *lis3)

Definition at line 276 of file lis3lv02d.h.

u32 irq

Definition at line 304 of file lis3lv02d.h.

unsigned char irq_cfg

Definition at line 312 of file lis3lv02d.h.

int mapped_btns[3]

Definition at line 302 of file lis3lv02d.h.

int mdps_max_val

Definition at line 290 of file lis3lv02d.h.

unsigned long misc_opened

Definition at line 307 of file lis3lv02d.h.

wait_queue_head_t misc_wait

Definition at line 306 of file lis3lv02d.h.

struct miscdevice miscdev

Definition at line 308 of file lis3lv02d.h.

Definition at line 316 of file lis3lv02d.h.

u8 odr_mask

Definition at line 287 of file lis3lv02d.h.

int* odrs

Definition at line 282 of file lis3lv02d.h.

Definition at line 315 of file lis3lv02d.h.

Definition at line 298 of file lis3lv02d.h.

struct device* pm_dev

Definition at line 275 of file lis3lv02d.h.

int pwron_delay

Definition at line 291 of file lis3lv02d.h.

int(* read)(struct lis3lv02d *lis3, int reg, u8 *ret)

Definition at line 278 of file lis3lv02d.h.

s16(* read_data)(struct lis3lv02d *lis3, int reg)

Definition at line 289 of file lis3lv02d.h.

u8* reg_cache

Definition at line 285 of file lis3lv02d.h.

int(* reg_ctrl)(struct lis3lv02d *lis3, bool state)

Definition at line 280 of file lis3lv02d.h.

u8* regs

Definition at line 283 of file lis3lv02d.h.

int regs_size

Definition at line 284 of file lis3lv02d.h.

bool regs_stored

Definition at line 286 of file lis3lv02d.h.

struct regulator_bulk_data regulators[2]

Definition at line 299 of file lis3lv02d.h.

int scale

Definition at line 292 of file lis3lv02d.h.

unsigned int shift_adj

Definition at line 313 of file lis3lv02d.h.

atomic_t wake_thread

Definition at line 311 of file lis3lv02d.h.

u8 whoami

Definition at line 288 of file lis3lv02d.h.

int(* write)(struct lis3lv02d *lis3, int reg, u8 val)

Definition at line 277 of file lis3lv02d.h.


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