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

#include <stmpe.h>

Data Fields

voiddata
 
int irq
 
voidclient
 
struct devicedev
 
int(* read_byte )(struct stmpe *stmpe, u8 reg)
 
int(* write_byte )(struct stmpe *stmpe, u8 reg, u8 val)
 
int(* read_block )(struct stmpe *stmpe, u8 reg, u8 len, u8 *values)
 
int(* write_block )(struct stmpe *stmpe, u8 reg, u8 len, const u8 *values)
 
void(* init )(struct stmpe *stmpe)
 

Detailed Description

struct stmpe_client_info - i2c or spi specific routines/info : client specific data : read single byte : write single byte : read block or multiple bytes : write block or multiple bytes : client init routine, called during probe

Definition at line 87 of file stmpe.h.

Field Documentation

Definition at line 90 of file stmpe.h.

Definition at line 88 of file stmpe.h.

struct device* dev

Definition at line 91 of file stmpe.h.

void(* init)(struct stmpe *stmpe)

Definition at line 97 of file stmpe.h.

int irq

Definition at line 89 of file stmpe.h.

int(* read_block)(struct stmpe *stmpe, u8 reg, u8 len, u8 *values)

Definition at line 94 of file stmpe.h.

int(* read_byte)(struct stmpe *stmpe, u8 reg)

Definition at line 92 of file stmpe.h.

int(* write_block)(struct stmpe *stmpe, u8 reg, u8 len, const u8 *values)

Definition at line 95 of file stmpe.h.

int(* write_byte)(struct stmpe *stmpe, u8 reg, u8 val)

Definition at line 93 of file stmpe.h.


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