Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../usr/include/linux
File: adb.h
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
[0] Fix | Delete
/*
[1] Fix | Delete
* Definitions for ADB (Apple Desktop Bus) support.
[2] Fix | Delete
*/
[3] Fix | Delete
#ifndef __ADB_H
[4] Fix | Delete
#define __ADB_H
[5] Fix | Delete
[6] Fix | Delete
/* ADB commands */
[7] Fix | Delete
#define ADB_BUSRESET 0
[8] Fix | Delete
#define ADB_FLUSH(id) (0x01 | ((id) << 4))
[9] Fix | Delete
#define ADB_WRITEREG(id, reg) (0x08 | (reg) | ((id) << 4))
[10] Fix | Delete
#define ADB_READREG(id, reg) (0x0C | (reg) | ((id) << 4))
[11] Fix | Delete
[12] Fix | Delete
/* ADB default device IDs (upper 4 bits of ADB command byte) */
[13] Fix | Delete
#define ADB_DONGLE 1 /* "software execution control" devices */
[14] Fix | Delete
#define ADB_KEYBOARD 2
[15] Fix | Delete
#define ADB_MOUSE 3
[16] Fix | Delete
#define ADB_TABLET 4
[17] Fix | Delete
#define ADB_MODEM 5
[18] Fix | Delete
#define ADB_MISC 7 /* maybe a monitor */
[19] Fix | Delete
[20] Fix | Delete
#define ADB_RET_OK 0
[21] Fix | Delete
#define ADB_RET_TIMEOUT 3
[22] Fix | Delete
[23] Fix | Delete
/* The kind of ADB request. The controller may emulate some
[24] Fix | Delete
or all of those CUDA/PMU packet kinds */
[25] Fix | Delete
#define ADB_PACKET 0
[26] Fix | Delete
#define CUDA_PACKET 1
[27] Fix | Delete
#define ERROR_PACKET 2
[28] Fix | Delete
#define TIMER_PACKET 3
[29] Fix | Delete
#define POWER_PACKET 4
[30] Fix | Delete
#define MACIIC_PACKET 5
[31] Fix | Delete
#define PMU_PACKET 6
[32] Fix | Delete
#define ADB_QUERY 7
[33] Fix | Delete
[34] Fix | Delete
/* ADB queries */
[35] Fix | Delete
[36] Fix | Delete
/* ADB_QUERY_GETDEVINFO
[37] Fix | Delete
* Query ADB slot for device presence
[38] Fix | Delete
* data[2] = id, rep[0] = orig addr, rep[1] = handler_id
[39] Fix | Delete
*/
[40] Fix | Delete
#define ADB_QUERY_GETDEVINFO 1
[41] Fix | Delete
[42] Fix | Delete
[43] Fix | Delete
#endif /* __ADB_H */
[44] Fix | Delete
[45] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function