Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ShExBy/shex_roo.../usr/include/linux
File: i8k.h
/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
[0] Fix | Delete
/*
[1] Fix | Delete
* i8k.h -- Linux driver for accessing the SMM BIOS on Dell laptops
[2] Fix | Delete
*
[3] Fix | Delete
* Copyright (C) 2001 Massimo Dal Zotto <dz@debian.org>
[4] Fix | Delete
*
[5] Fix | Delete
* This program is free software; you can redistribute it and/or modify it
[6] Fix | Delete
* under the terms of the GNU General Public License as published by the
[7] Fix | Delete
* Free Software Foundation; either version 2, or (at your option) any
[8] Fix | Delete
* later version.
[9] Fix | Delete
*
[10] Fix | Delete
* This program is distributed in the hope that it will be useful, but
[11] Fix | Delete
* WITHOUT ANY WARRANTY; without even the implied warranty of
[12] Fix | Delete
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
[13] Fix | Delete
* General Public License for more details.
[14] Fix | Delete
*/
[15] Fix | Delete
[16] Fix | Delete
#ifndef _LINUX_I8K_H
[17] Fix | Delete
#define _LINUX_I8K_H
[18] Fix | Delete
[19] Fix | Delete
#define I8K_PROC "/proc/i8k"
[20] Fix | Delete
#define I8K_PROC_FMT "1.0"
[21] Fix | Delete
[22] Fix | Delete
#define I8K_BIOS_VERSION _IOR ('i', 0x80, int) /* broken: meant 4 bytes */
[23] Fix | Delete
#define I8K_MACHINE_ID _IOR ('i', 0x81, int) /* broken: meant 16 bytes */
[24] Fix | Delete
#define I8K_POWER_STATUS _IOR ('i', 0x82, size_t)
[25] Fix | Delete
#define I8K_FN_STATUS _IOR ('i', 0x83, size_t)
[26] Fix | Delete
#define I8K_GET_TEMP _IOR ('i', 0x84, size_t)
[27] Fix | Delete
#define I8K_GET_SPEED _IOWR('i', 0x85, size_t)
[28] Fix | Delete
#define I8K_GET_FAN _IOWR('i', 0x86, size_t)
[29] Fix | Delete
#define I8K_SET_FAN _IOWR('i', 0x87, size_t)
[30] Fix | Delete
[31] Fix | Delete
#define I8K_FAN_LEFT 1
[32] Fix | Delete
#define I8K_FAN_RIGHT 0
[33] Fix | Delete
#define I8K_FAN_OFF 0
[34] Fix | Delete
#define I8K_FAN_LOW 1
[35] Fix | Delete
#define I8K_FAN_HIGH 2
[36] Fix | Delete
#define I8K_FAN_TURBO 3
[37] Fix | Delete
#define I8K_FAN_MAX I8K_FAN_TURBO
[38] Fix | Delete
[39] Fix | Delete
#define I8K_VOL_UP 1
[40] Fix | Delete
#define I8K_VOL_DOWN 2
[41] Fix | Delete
#define I8K_VOL_MUTE 4
[42] Fix | Delete
[43] Fix | Delete
#define I8K_AC 1
[44] Fix | Delete
#define I8K_BATTERY 0
[45] Fix | Delete
[46] Fix | Delete
#endif
[47] Fix | Delete
[48] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function