Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
mcs.h File Reference

Go to the source code of this file.

Data Structures

struct  mcs_platform_data
 

Macros

#define MCS_KEY_MAP(v, c)   ((((v) & 0xff) << 16) | ((c) & 0xffff))
 
#define MCS_KEY_VAL(v)   (((v) >> 16) & 0xff)
 
#define MCS_KEY_CODE(v)   ((v) & 0xffff)
 

Macro Definition Documentation

#define MCS_KEY_CODE (   v)    ((v) & 0xffff)

Definition at line 18 of file mcs.h.

#define MCS_KEY_MAP (   v,
  c 
)    ((((v) & 0xff) << 16) | ((c) & 0xffff))

Definition at line 16 of file mcs.h.

#define MCS_KEY_VAL (   v)    (((v) >> 16) & 0xff)

Definition at line 17 of file mcs.h.