Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
sonypi.h File Reference
#include <linux/types.h>

Go to the source code of this file.

Macros

#define SONYPI_EVENT_IGNORE   0
 
#define SONYPI_EVENT_JOGDIAL_DOWN   1
 
#define SONYPI_EVENT_JOGDIAL_UP   2
 
#define SONYPI_EVENT_JOGDIAL_DOWN_PRESSED   3
 
#define SONYPI_EVENT_JOGDIAL_UP_PRESSED   4
 
#define SONYPI_EVENT_JOGDIAL_PRESSED   5
 
#define SONYPI_EVENT_JOGDIAL_RELEASED   6 /* obsolete */
 
#define SONYPI_EVENT_CAPTURE_PRESSED   7
 
#define SONYPI_EVENT_CAPTURE_RELEASED   8 /* obsolete */
 
#define SONYPI_EVENT_CAPTURE_PARTIALPRESSED   9
 
#define SONYPI_EVENT_CAPTURE_PARTIALRELEASED   10
 
#define SONYPI_EVENT_FNKEY_ESC   11
 
#define SONYPI_EVENT_FNKEY_F1   12
 
#define SONYPI_EVENT_FNKEY_F2   13
 
#define SONYPI_EVENT_FNKEY_F3   14
 
#define SONYPI_EVENT_FNKEY_F4   15
 
#define SONYPI_EVENT_FNKEY_F5   16
 
#define SONYPI_EVENT_FNKEY_F6   17
 
#define SONYPI_EVENT_FNKEY_F7   18
 
#define SONYPI_EVENT_FNKEY_F8   19
 
#define SONYPI_EVENT_FNKEY_F9   20
 
#define SONYPI_EVENT_FNKEY_F10   21
 
#define SONYPI_EVENT_FNKEY_F11   22
 
#define SONYPI_EVENT_FNKEY_F12   23
 
#define SONYPI_EVENT_FNKEY_1   24
 
#define SONYPI_EVENT_FNKEY_2   25
 
#define SONYPI_EVENT_FNKEY_D   26
 
#define SONYPI_EVENT_FNKEY_E   27
 
#define SONYPI_EVENT_FNKEY_F   28
 
#define SONYPI_EVENT_FNKEY_S   29
 
#define SONYPI_EVENT_FNKEY_B   30
 
#define SONYPI_EVENT_BLUETOOTH_PRESSED   31
 
#define SONYPI_EVENT_PKEY_P1   32
 
#define SONYPI_EVENT_PKEY_P2   33
 
#define SONYPI_EVENT_PKEY_P3   34
 
#define SONYPI_EVENT_BACK_PRESSED   35
 
#define SONYPI_EVENT_LID_CLOSED   36
 
#define SONYPI_EVENT_LID_OPENED   37
 
#define SONYPI_EVENT_BLUETOOTH_ON   38
 
#define SONYPI_EVENT_BLUETOOTH_OFF   39
 
#define SONYPI_EVENT_HELP_PRESSED   40
 
#define SONYPI_EVENT_FNKEY_ONLY   41
 
#define SONYPI_EVENT_JOGDIAL_FAST_DOWN   42
 
#define SONYPI_EVENT_JOGDIAL_FAST_UP   43
 
#define SONYPI_EVENT_JOGDIAL_FAST_DOWN_PRESSED   44
 
#define SONYPI_EVENT_JOGDIAL_FAST_UP_PRESSED   45
 
#define SONYPI_EVENT_JOGDIAL_VFAST_DOWN   46
 
#define SONYPI_EVENT_JOGDIAL_VFAST_UP   47
 
#define SONYPI_EVENT_JOGDIAL_VFAST_DOWN_PRESSED   48
 
#define SONYPI_EVENT_JOGDIAL_VFAST_UP_PRESSED   49
 
#define SONYPI_EVENT_ZOOM_PRESSED   50
 
#define SONYPI_EVENT_THUMBPHRASE_PRESSED   51
 
#define SONYPI_EVENT_MEYE_FACE   52
 
#define SONYPI_EVENT_MEYE_OPPOSITE   53
 
#define SONYPI_EVENT_MEMORYSTICK_INSERT   54
 
#define SONYPI_EVENT_MEMORYSTICK_EJECT   55
 
#define SONYPI_EVENT_ANYBUTTON_RELEASED   56
 
#define SONYPI_EVENT_BATTERY_INSERT   57
 
#define SONYPI_EVENT_BATTERY_REMOVE   58
 
#define SONYPI_EVENT_FNKEY_RELEASED   59
 
#define SONYPI_EVENT_WIRELESS_ON   60
 
#define SONYPI_EVENT_WIRELESS_OFF   61
 
#define SONYPI_EVENT_ZOOM_IN_PRESSED   62
 
#define SONYPI_EVENT_ZOOM_OUT_PRESSED   63
 
#define SONYPI_EVENT_CD_EJECT_PRESSED   64
 
#define SONYPI_EVENT_MODEKEY_PRESSED   65
 
#define SONYPI_EVENT_PKEY_P4   66
 
#define SONYPI_EVENT_PKEY_P5   67
 
#define SONYPI_EVENT_SETTINGKEY_PRESSED   68
 
#define SONYPI_EVENT_VOLUME_INC_PRESSED   69
 
#define SONYPI_EVENT_VOLUME_DEC_PRESSED   70
 
#define SONYPI_EVENT_BRIGHTNESS_PRESSED   71
 
#define SONYPI_EVENT_MEDIA_PRESSED   72
 
#define SONYPI_EVENT_VENDOR_PRESSED   73
 
#define SONYPI_IOCGBRT   _IOR('v', 0, __u8)
 
#define SONYPI_IOCSBRT   _IOW('v', 0, __u8)
 
#define SONYPI_IOCGBAT1CAP   _IOR('v', 2, __u16)
 
#define SONYPI_IOCGBAT1REM   _IOR('v', 3, __u16)
 
#define SONYPI_IOCGBAT2CAP   _IOR('v', 4, __u16)
 
#define SONYPI_IOCGBAT2REM   _IOR('v', 5, __u16)
 
#define SONYPI_BFLAGS_B1   0x01
 
#define SONYPI_BFLAGS_B2   0x02
 
#define SONYPI_BFLAGS_AC   0x04
 
#define SONYPI_IOCGBATFLAGS   _IOR('v', 7, __u8)
 
#define SONYPI_IOCGBLUE   _IOR('v', 8, __u8)
 
#define SONYPI_IOCSBLUE   _IOW('v', 9, __u8)
 
#define SONYPI_IOCGFAN   _IOR('v', 10, __u8)
 
#define SONYPI_IOCSFAN   _IOW('v', 11, __u8)
 
#define SONYPI_IOCGTEMP   _IOR('v', 12, __u8)
 

Macro Definition Documentation

#define SONYPI_BFLAGS_AC   0x04

Definition at line 131 of file sonypi.h.

#define SONYPI_BFLAGS_B1   0x01

Definition at line 129 of file sonypi.h.

#define SONYPI_BFLAGS_B2   0x02

Definition at line 130 of file sonypi.h.

#define SONYPI_EVENT_ANYBUTTON_RELEASED   56

Definition at line 99 of file sonypi.h.

#define SONYPI_EVENT_BACK_PRESSED   35

Definition at line 78 of file sonypi.h.

#define SONYPI_EVENT_BATTERY_INSERT   57

Definition at line 100 of file sonypi.h.

#define SONYPI_EVENT_BATTERY_REMOVE   58

Definition at line 101 of file sonypi.h.

#define SONYPI_EVENT_BLUETOOTH_OFF   39

Definition at line 82 of file sonypi.h.

#define SONYPI_EVENT_BLUETOOTH_ON   38

Definition at line 81 of file sonypi.h.

#define SONYPI_EVENT_BLUETOOTH_PRESSED   31

Definition at line 74 of file sonypi.h.

#define SONYPI_EVENT_BRIGHTNESS_PRESSED   71

Definition at line 114 of file sonypi.h.

#define SONYPI_EVENT_CAPTURE_PARTIALPRESSED   9

Definition at line 52 of file sonypi.h.

#define SONYPI_EVENT_CAPTURE_PARTIALRELEASED   10

Definition at line 53 of file sonypi.h.

#define SONYPI_EVENT_CAPTURE_PRESSED   7

Definition at line 50 of file sonypi.h.

#define SONYPI_EVENT_CAPTURE_RELEASED   8 /* obsolete */

Definition at line 51 of file sonypi.h.

#define SONYPI_EVENT_CD_EJECT_PRESSED   64

Definition at line 107 of file sonypi.h.

#define SONYPI_EVENT_FNKEY_1   24

Definition at line 67 of file sonypi.h.

#define SONYPI_EVENT_FNKEY_2   25

Definition at line 68 of file sonypi.h.

#define SONYPI_EVENT_FNKEY_B   30

Definition at line 73 of file sonypi.h.

#define SONYPI_EVENT_FNKEY_D   26

Definition at line 69 of file sonypi.h.

#define SONYPI_EVENT_FNKEY_E   27

Definition at line 70 of file sonypi.h.

#define SONYPI_EVENT_FNKEY_ESC   11

Definition at line 54 of file sonypi.h.

#define SONYPI_EVENT_FNKEY_F   28

Definition at line 71 of file sonypi.h.

#define SONYPI_EVENT_FNKEY_F1   12

Definition at line 55 of file sonypi.h.

#define SONYPI_EVENT_FNKEY_F10   21

Definition at line 64 of file sonypi.h.

#define SONYPI_EVENT_FNKEY_F11   22

Definition at line 65 of file sonypi.h.

#define SONYPI_EVENT_FNKEY_F12   23

Definition at line 66 of file sonypi.h.

#define SONYPI_EVENT_FNKEY_F2   13

Definition at line 56 of file sonypi.h.

#define SONYPI_EVENT_FNKEY_F3   14

Definition at line 57 of file sonypi.h.

#define SONYPI_EVENT_FNKEY_F4   15

Definition at line 58 of file sonypi.h.

#define SONYPI_EVENT_FNKEY_F5   16

Definition at line 59 of file sonypi.h.

#define SONYPI_EVENT_FNKEY_F6   17

Definition at line 60 of file sonypi.h.

#define SONYPI_EVENT_FNKEY_F7   18

Definition at line 61 of file sonypi.h.

#define SONYPI_EVENT_FNKEY_F8   19

Definition at line 62 of file sonypi.h.

#define SONYPI_EVENT_FNKEY_F9   20

Definition at line 63 of file sonypi.h.

#define SONYPI_EVENT_FNKEY_ONLY   41

Definition at line 84 of file sonypi.h.

#define SONYPI_EVENT_FNKEY_RELEASED   59

Definition at line 102 of file sonypi.h.

#define SONYPI_EVENT_FNKEY_S   29

Definition at line 72 of file sonypi.h.

#define SONYPI_EVENT_HELP_PRESSED   40

Definition at line 83 of file sonypi.h.

#define SONYPI_EVENT_IGNORE   0

Definition at line 43 of file sonypi.h.

#define SONYPI_EVENT_JOGDIAL_DOWN   1

Definition at line 44 of file sonypi.h.

#define SONYPI_EVENT_JOGDIAL_DOWN_PRESSED   3

Definition at line 46 of file sonypi.h.

#define SONYPI_EVENT_JOGDIAL_FAST_DOWN   42

Definition at line 85 of file sonypi.h.

#define SONYPI_EVENT_JOGDIAL_FAST_DOWN_PRESSED   44

Definition at line 87 of file sonypi.h.

#define SONYPI_EVENT_JOGDIAL_FAST_UP   43

Definition at line 86 of file sonypi.h.

#define SONYPI_EVENT_JOGDIAL_FAST_UP_PRESSED   45

Definition at line 88 of file sonypi.h.

#define SONYPI_EVENT_JOGDIAL_PRESSED   5

Definition at line 48 of file sonypi.h.

#define SONYPI_EVENT_JOGDIAL_RELEASED   6 /* obsolete */

Definition at line 49 of file sonypi.h.

#define SONYPI_EVENT_JOGDIAL_UP   2

Definition at line 45 of file sonypi.h.

#define SONYPI_EVENT_JOGDIAL_UP_PRESSED   4

Definition at line 47 of file sonypi.h.

#define SONYPI_EVENT_JOGDIAL_VFAST_DOWN   46

Definition at line 89 of file sonypi.h.

#define SONYPI_EVENT_JOGDIAL_VFAST_DOWN_PRESSED   48

Definition at line 91 of file sonypi.h.

#define SONYPI_EVENT_JOGDIAL_VFAST_UP   47

Definition at line 90 of file sonypi.h.

#define SONYPI_EVENT_JOGDIAL_VFAST_UP_PRESSED   49

Definition at line 92 of file sonypi.h.

#define SONYPI_EVENT_LID_CLOSED   36

Definition at line 79 of file sonypi.h.

#define SONYPI_EVENT_LID_OPENED   37

Definition at line 80 of file sonypi.h.

#define SONYPI_EVENT_MEDIA_PRESSED   72

Definition at line 115 of file sonypi.h.

#define SONYPI_EVENT_MEMORYSTICK_EJECT   55

Definition at line 98 of file sonypi.h.

#define SONYPI_EVENT_MEMORYSTICK_INSERT   54

Definition at line 97 of file sonypi.h.

#define SONYPI_EVENT_MEYE_FACE   52

Definition at line 95 of file sonypi.h.

#define SONYPI_EVENT_MEYE_OPPOSITE   53

Definition at line 96 of file sonypi.h.

#define SONYPI_EVENT_MODEKEY_PRESSED   65

Definition at line 108 of file sonypi.h.

#define SONYPI_EVENT_PKEY_P1   32

Definition at line 75 of file sonypi.h.

#define SONYPI_EVENT_PKEY_P2   33

Definition at line 76 of file sonypi.h.

#define SONYPI_EVENT_PKEY_P3   34

Definition at line 77 of file sonypi.h.

#define SONYPI_EVENT_PKEY_P4   66

Definition at line 109 of file sonypi.h.

#define SONYPI_EVENT_PKEY_P5   67

Definition at line 110 of file sonypi.h.

#define SONYPI_EVENT_SETTINGKEY_PRESSED   68

Definition at line 111 of file sonypi.h.

#define SONYPI_EVENT_THUMBPHRASE_PRESSED   51

Definition at line 94 of file sonypi.h.

#define SONYPI_EVENT_VENDOR_PRESSED   73

Definition at line 116 of file sonypi.h.

#define SONYPI_EVENT_VOLUME_DEC_PRESSED   70

Definition at line 113 of file sonypi.h.

#define SONYPI_EVENT_VOLUME_INC_PRESSED   69

Definition at line 112 of file sonypi.h.

#define SONYPI_EVENT_WIRELESS_OFF   61

Definition at line 104 of file sonypi.h.

#define SONYPI_EVENT_WIRELESS_ON   60

Definition at line 103 of file sonypi.h.

#define SONYPI_EVENT_ZOOM_IN_PRESSED   62

Definition at line 105 of file sonypi.h.

#define SONYPI_EVENT_ZOOM_OUT_PRESSED   63

Definition at line 106 of file sonypi.h.

#define SONYPI_EVENT_ZOOM_PRESSED   50

Definition at line 93 of file sonypi.h.

#define SONYPI_IOCGBAT1CAP   _IOR('v', 2, __u16)

Definition at line 123 of file sonypi.h.

#define SONYPI_IOCGBAT1REM   _IOR('v', 3, __u16)

Definition at line 124 of file sonypi.h.

#define SONYPI_IOCGBAT2CAP   _IOR('v', 4, __u16)

Definition at line 125 of file sonypi.h.

#define SONYPI_IOCGBAT2REM   _IOR('v', 5, __u16)

Definition at line 126 of file sonypi.h.

#define SONYPI_IOCGBATFLAGS   _IOR('v', 7, __u8)

Definition at line 132 of file sonypi.h.

#define SONYPI_IOCGBLUE   _IOR('v', 8, __u8)

Definition at line 135 of file sonypi.h.

#define SONYPI_IOCGBRT   _IOR('v', 0, __u8)

Definition at line 119 of file sonypi.h.

#define SONYPI_IOCGFAN   _IOR('v', 10, __u8)

Definition at line 139 of file sonypi.h.

#define SONYPI_IOCGTEMP   _IOR('v', 12, __u8)

Definition at line 143 of file sonypi.h.

#define SONYPI_IOCSBLUE   _IOW('v', 9, __u8)

Definition at line 136 of file sonypi.h.

#define SONYPI_IOCSBRT   _IOW('v', 0, __u8)

Definition at line 120 of file sonypi.h.

#define SONYPI_IOCSFAN   _IOW('v', 11, __u8)

Definition at line 140 of file sonypi.h.