Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../usr/include/linux
File: sonypi.h
/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
[0] Fix | Delete
/*
[1] Fix | Delete
* Sony Programmable I/O Control Device driver for VAIO
[2] Fix | Delete
*
[3] Fix | Delete
* Copyright (C) 2001-2005 Stelian Pop <stelian@popies.net>
[4] Fix | Delete
*
[5] Fix | Delete
* Copyright (C) 2005 Narayanan R S <nars@kadamba.org>
[6] Fix | Delete
[7] Fix | Delete
* Copyright (C) 2001-2002 AlcĂ´ve <www.alcove.com>
[8] Fix | Delete
*
[9] Fix | Delete
* Copyright (C) 2001 Michael Ashley <m.ashley@unsw.edu.au>
[10] Fix | Delete
*
[11] Fix | Delete
* Copyright (C) 2001 Junichi Morita <jun1m@mars.dti.ne.jp>
[12] Fix | Delete
*
[13] Fix | Delete
* Copyright (C) 2000 Takaya Kinjo <t-kinjo@tc4.so-net.ne.jp>
[14] Fix | Delete
*
[15] Fix | Delete
* Copyright (C) 2000 Andrew Tridgell <tridge@valinux.com>
[16] Fix | Delete
*
[17] Fix | Delete
* Earlier work by Werner Almesberger, Paul `Rusty' Russell and Paul Mackerras.
[18] Fix | Delete
*
[19] Fix | Delete
* This program is free software; you can redistribute it and/or modify
[20] Fix | Delete
* it under the terms of the GNU General Public License as published by
[21] Fix | Delete
* the Free Software Foundation; either version 2 of the License, or
[22] Fix | Delete
* (at your option) any later version.
[23] Fix | Delete
*
[24] Fix | Delete
* This program is distributed in the hope that it will be useful,
[25] Fix | Delete
* but WITHOUT ANY WARRANTY; without even the implied warranty of
[26] Fix | Delete
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
[27] Fix | Delete
* GNU General Public License for more details.
[28] Fix | Delete
*
[29] Fix | Delete
* You should have received a copy of the GNU General Public License
[30] Fix | Delete
* along with this program; if not, write to the Free Software
[31] Fix | Delete
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
[32] Fix | Delete
*
[33] Fix | Delete
*/
[34] Fix | Delete
[35] Fix | Delete
#ifndef _SONYPI_H_
[36] Fix | Delete
#define _SONYPI_H_
[37] Fix | Delete
[38] Fix | Delete
#include <linux/types.h>
[39] Fix | Delete
[40] Fix | Delete
/* events the user application reading /dev/sonypi can use */
[41] Fix | Delete
[42] Fix | Delete
#define SONYPI_EVENT_IGNORE 0
[43] Fix | Delete
#define SONYPI_EVENT_JOGDIAL_DOWN 1
[44] Fix | Delete
#define SONYPI_EVENT_JOGDIAL_UP 2
[45] Fix | Delete
#define SONYPI_EVENT_JOGDIAL_DOWN_PRESSED 3
[46] Fix | Delete
#define SONYPI_EVENT_JOGDIAL_UP_PRESSED 4
[47] Fix | Delete
#define SONYPI_EVENT_JOGDIAL_PRESSED 5
[48] Fix | Delete
#define SONYPI_EVENT_JOGDIAL_RELEASED 6 /* obsolete */
[49] Fix | Delete
#define SONYPI_EVENT_CAPTURE_PRESSED 7
[50] Fix | Delete
#define SONYPI_EVENT_CAPTURE_RELEASED 8 /* obsolete */
[51] Fix | Delete
#define SONYPI_EVENT_CAPTURE_PARTIALPRESSED 9
[52] Fix | Delete
#define SONYPI_EVENT_CAPTURE_PARTIALRELEASED 10
[53] Fix | Delete
#define SONYPI_EVENT_FNKEY_ESC 11
[54] Fix | Delete
#define SONYPI_EVENT_FNKEY_F1 12
[55] Fix | Delete
#define SONYPI_EVENT_FNKEY_F2 13
[56] Fix | Delete
#define SONYPI_EVENT_FNKEY_F3 14
[57] Fix | Delete
#define SONYPI_EVENT_FNKEY_F4 15
[58] Fix | Delete
#define SONYPI_EVENT_FNKEY_F5 16
[59] Fix | Delete
#define SONYPI_EVENT_FNKEY_F6 17
[60] Fix | Delete
#define SONYPI_EVENT_FNKEY_F7 18
[61] Fix | Delete
#define SONYPI_EVENT_FNKEY_F8 19
[62] Fix | Delete
#define SONYPI_EVENT_FNKEY_F9 20
[63] Fix | Delete
#define SONYPI_EVENT_FNKEY_F10 21
[64] Fix | Delete
#define SONYPI_EVENT_FNKEY_F11 22
[65] Fix | Delete
#define SONYPI_EVENT_FNKEY_F12 23
[66] Fix | Delete
#define SONYPI_EVENT_FNKEY_1 24
[67] Fix | Delete
#define SONYPI_EVENT_FNKEY_2 25
[68] Fix | Delete
#define SONYPI_EVENT_FNKEY_D 26
[69] Fix | Delete
#define SONYPI_EVENT_FNKEY_E 27
[70] Fix | Delete
#define SONYPI_EVENT_FNKEY_F 28
[71] Fix | Delete
#define SONYPI_EVENT_FNKEY_S 29
[72] Fix | Delete
#define SONYPI_EVENT_FNKEY_B 30
[73] Fix | Delete
#define SONYPI_EVENT_BLUETOOTH_PRESSED 31
[74] Fix | Delete
#define SONYPI_EVENT_PKEY_P1 32
[75] Fix | Delete
#define SONYPI_EVENT_PKEY_P2 33
[76] Fix | Delete
#define SONYPI_EVENT_PKEY_P3 34
[77] Fix | Delete
#define SONYPI_EVENT_BACK_PRESSED 35
[78] Fix | Delete
#define SONYPI_EVENT_LID_CLOSED 36
[79] Fix | Delete
#define SONYPI_EVENT_LID_OPENED 37
[80] Fix | Delete
#define SONYPI_EVENT_BLUETOOTH_ON 38
[81] Fix | Delete
#define SONYPI_EVENT_BLUETOOTH_OFF 39
[82] Fix | Delete
#define SONYPI_EVENT_HELP_PRESSED 40
[83] Fix | Delete
#define SONYPI_EVENT_FNKEY_ONLY 41
[84] Fix | Delete
#define SONYPI_EVENT_JOGDIAL_FAST_DOWN 42
[85] Fix | Delete
#define SONYPI_EVENT_JOGDIAL_FAST_UP 43
[86] Fix | Delete
#define SONYPI_EVENT_JOGDIAL_FAST_DOWN_PRESSED 44
[87] Fix | Delete
#define SONYPI_EVENT_JOGDIAL_FAST_UP_PRESSED 45
[88] Fix | Delete
#define SONYPI_EVENT_JOGDIAL_VFAST_DOWN 46
[89] Fix | Delete
#define SONYPI_EVENT_JOGDIAL_VFAST_UP 47
[90] Fix | Delete
#define SONYPI_EVENT_JOGDIAL_VFAST_DOWN_PRESSED 48
[91] Fix | Delete
#define SONYPI_EVENT_JOGDIAL_VFAST_UP_PRESSED 49
[92] Fix | Delete
#define SONYPI_EVENT_ZOOM_PRESSED 50
[93] Fix | Delete
#define SONYPI_EVENT_THUMBPHRASE_PRESSED 51
[94] Fix | Delete
#define SONYPI_EVENT_MEYE_FACE 52
[95] Fix | Delete
#define SONYPI_EVENT_MEYE_OPPOSITE 53
[96] Fix | Delete
#define SONYPI_EVENT_MEMORYSTICK_INSERT 54
[97] Fix | Delete
#define SONYPI_EVENT_MEMORYSTICK_EJECT 55
[98] Fix | Delete
#define SONYPI_EVENT_ANYBUTTON_RELEASED 56
[99] Fix | Delete
#define SONYPI_EVENT_BATTERY_INSERT 57
[100] Fix | Delete
#define SONYPI_EVENT_BATTERY_REMOVE 58
[101] Fix | Delete
#define SONYPI_EVENT_FNKEY_RELEASED 59
[102] Fix | Delete
#define SONYPI_EVENT_WIRELESS_ON 60
[103] Fix | Delete
#define SONYPI_EVENT_WIRELESS_OFF 61
[104] Fix | Delete
#define SONYPI_EVENT_ZOOM_IN_PRESSED 62
[105] Fix | Delete
#define SONYPI_EVENT_ZOOM_OUT_PRESSED 63
[106] Fix | Delete
#define SONYPI_EVENT_CD_EJECT_PRESSED 64
[107] Fix | Delete
#define SONYPI_EVENT_MODEKEY_PRESSED 65
[108] Fix | Delete
#define SONYPI_EVENT_PKEY_P4 66
[109] Fix | Delete
#define SONYPI_EVENT_PKEY_P5 67
[110] Fix | Delete
#define SONYPI_EVENT_SETTINGKEY_PRESSED 68
[111] Fix | Delete
#define SONYPI_EVENT_VOLUME_INC_PRESSED 69
[112] Fix | Delete
#define SONYPI_EVENT_VOLUME_DEC_PRESSED 70
[113] Fix | Delete
#define SONYPI_EVENT_BRIGHTNESS_PRESSED 71
[114] Fix | Delete
#define SONYPI_EVENT_MEDIA_PRESSED 72
[115] Fix | Delete
#define SONYPI_EVENT_VENDOR_PRESSED 73
[116] Fix | Delete
[117] Fix | Delete
/* get/set brightness */
[118] Fix | Delete
#define SONYPI_IOCGBRT _IOR('v', 0, __u8)
[119] Fix | Delete
#define SONYPI_IOCSBRT _IOW('v', 0, __u8)
[120] Fix | Delete
[121] Fix | Delete
/* get battery full capacity/remaining capacity */
[122] Fix | Delete
#define SONYPI_IOCGBAT1CAP _IOR('v', 2, __u16)
[123] Fix | Delete
#define SONYPI_IOCGBAT1REM _IOR('v', 3, __u16)
[124] Fix | Delete
#define SONYPI_IOCGBAT2CAP _IOR('v', 4, __u16)
[125] Fix | Delete
#define SONYPI_IOCGBAT2REM _IOR('v', 5, __u16)
[126] Fix | Delete
[127] Fix | Delete
/* get battery flags: battery1/battery2/ac adapter present */
[128] Fix | Delete
#define SONYPI_BFLAGS_B1 0x01
[129] Fix | Delete
#define SONYPI_BFLAGS_B2 0x02
[130] Fix | Delete
#define SONYPI_BFLAGS_AC 0x04
[131] Fix | Delete
#define SONYPI_IOCGBATFLAGS _IOR('v', 7, __u8)
[132] Fix | Delete
[133] Fix | Delete
/* get/set bluetooth subsystem state on/off */
[134] Fix | Delete
#define SONYPI_IOCGBLUE _IOR('v', 8, __u8)
[135] Fix | Delete
#define SONYPI_IOCSBLUE _IOW('v', 9, __u8)
[136] Fix | Delete
[137] Fix | Delete
/* get/set fan state on/off */
[138] Fix | Delete
#define SONYPI_IOCGFAN _IOR('v', 10, __u8)
[139] Fix | Delete
#define SONYPI_IOCSFAN _IOW('v', 11, __u8)
[140] Fix | Delete
[141] Fix | Delete
/* get temperature (C) */
[142] Fix | Delete
#define SONYPI_IOCGTEMP _IOR('v', 12, __u8)
[143] Fix | Delete
[144] Fix | Delete
[145] Fix | Delete
#endif /* _SONYPI_H_ */
[146] Fix | Delete
[147] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function