tuxedo_io: Convert ioctl spaces to tabs for consistency

This commit is contained in:
Christoffer Sandberg 2020-12-08 15:54:51 +01:00
parent 2c32684ee8
commit 4bbc290a8d
No known key found for this signature in database
GPG key ID: BF563F71B6C7A96D

View file

@ -21,48 +21,48 @@
#define IOCTL_MAGIC 0xEC #define IOCTL_MAGIC 0xEC
#define MAGIC_READ_CL IOCTL_MAGIC + 1 #define MAGIC_READ_CL IOCTL_MAGIC + 1
#define MAGIC_WRITE_CL IOCTL_MAGIC + 2 #define MAGIC_WRITE_CL IOCTL_MAGIC + 2
#define MAGIC_READ_UW IOCTL_MAGIC + 3 #define MAGIC_READ_UW IOCTL_MAGIC + 3
#define MAGIC_WRITE_UW IOCTL_MAGIC + 4 #define MAGIC_WRITE_UW IOCTL_MAGIC + 4
// General // General
#define R_MOD_VERSION _IOR(IOCTL_MAGIC, 0x00, char*) #define R_MOD_VERSION _IOR(IOCTL_MAGIC, 0x00, char*)
#define R_HWCHECK_CL _IOR(IOCTL_MAGIC, 0x05, int32_t*) #define R_HWCHECK_CL _IOR(IOCTL_MAGIC, 0x05, int32_t*)
#define R_HWCHECK_UW _IOR(IOCTL_MAGIC, 0x06, int32_t*) #define R_HWCHECK_UW _IOR(IOCTL_MAGIC, 0x06, int32_t*)
/** /**
* Clevo interface * Clevo interface
*/ */
// Read // Read
#define R_CL_HW_IF_STR _IOR(MAGIC_READ_CL, 0x00, char*) #define R_CL_HW_IF_STR _IOR(MAGIC_READ_CL, 0x00, char*)
#define R_CL_FANINFO1 _IOR(MAGIC_READ_CL, 0x10, int32_t*) #define R_CL_FANINFO1 _IOR(MAGIC_READ_CL, 0x10, int32_t*)
#define R_CL_FANINFO2 _IOR(MAGIC_READ_CL, 0x11, int32_t*) #define R_CL_FANINFO2 _IOR(MAGIC_READ_CL, 0x11, int32_t*)
#define R_CL_FANINFO3 _IOR(MAGIC_READ_CL, 0x12, int32_t*) #define R_CL_FANINFO3 _IOR(MAGIC_READ_CL, 0x12, int32_t*)
// #define R_FANINFO4 _IOR(MAGIC_READ_CL, 0x04, int32_t*) // #define R_FANINFO4 _IOR(MAGIC_READ_CL, 0x04, int32_t*)
#define R_CL_WEBCAM_SW _IOR(MAGIC_READ_CL, 0x13, int32_t*) #define R_CL_WEBCAM_SW _IOR(MAGIC_READ_CL, 0x13, int32_t*)
#define R_CL_FLIGHTMODE_SW _IOR(MAGIC_READ_CL, 0x14, int32_t*) #define R_CL_FLIGHTMODE_SW _IOR(MAGIC_READ_CL, 0x14, int32_t*)
#define R_CL_TOUCHPAD_SW _IOR(MAGIC_READ_CL, 0x15, int32_t*) #define R_CL_TOUCHPAD_SW _IOR(MAGIC_READ_CL, 0x15, int32_t*)
#ifdef DEBUG #ifdef DEBUG
#define R_TF_BC _IOW(MAGIC_READ_CL, 0x91, uint32_t*) #define R_TF_BC _IOW(MAGIC_READ_CL, 0x91, uint32_t*)
#endif #endif
// Write // Write
#define W_CL_FANSPEED _IOW(MAGIC_WRITE_CL, 0x10, int32_t*) #define W_CL_FANSPEED _IOW(MAGIC_WRITE_CL, 0x10, int32_t*)
#define W_CL_FANAUTO _IOW(MAGIC_WRITE_CL, 0x11, int32_t*) #define W_CL_FANAUTO _IOW(MAGIC_WRITE_CL, 0x11, int32_t*)
#define W_CL_WEBCAM_SW _IOW(MAGIC_WRITE_CL, 0x12, int32_t*) #define W_CL_WEBCAM_SW _IOW(MAGIC_WRITE_CL, 0x12, int32_t*)
#define W_CL_FLIGHTMODE_SW _IOW(MAGIC_WRITE_CL, 0x13, int32_t*) #define W_CL_FLIGHTMODE_SW _IOW(MAGIC_WRITE_CL, 0x13, int32_t*)
#define W_CL_TOUCHPAD_SW _IOW(MAGIC_WRITE_CL, 0x14, int32_t*) #define W_CL_TOUCHPAD_SW _IOW(MAGIC_WRITE_CL, 0x14, int32_t*)
#ifdef DEBUG #ifdef DEBUG
#define W_TF_BC _IOW(MAGIC_WRITE_CL, 0x91, uint32_t*) #define W_TF_BC _IOW(MAGIC_WRITE_CL, 0x91, uint32_t*)
#endif #endif
/** /**
@ -70,18 +70,18 @@
*/ */
// Read // Read
#define R_UW_FANSPEED _IOR(MAGIC_READ_UW, 0x10, int32_t*) #define R_UW_FANSPEED _IOR(MAGIC_READ_UW, 0x10, int32_t*)
#define R_UW_FANSPEED2 _IOR(MAGIC_READ_UW, 0x11, int32_t*) #define R_UW_FANSPEED2 _IOR(MAGIC_READ_UW, 0x11, int32_t*)
#define R_UW_FAN_TEMP _IOR(MAGIC_READ_UW, 0x12, int32_t*) #define R_UW_FAN_TEMP _IOR(MAGIC_READ_UW, 0x12, int32_t*)
#define R_UW_FAN_TEMP2 _IOR(MAGIC_READ_UW, 0x13, int32_t*) #define R_UW_FAN_TEMP2 _IOR(MAGIC_READ_UW, 0x13, int32_t*)
#define R_UW_MODE _IOR(MAGIC_READ_UW, 0x14, int32_t*) #define R_UW_MODE _IOR(MAGIC_READ_UW, 0x14, int32_t*)
#define R_UW_MODE_ENABLE _IOR(MAGIC_READ_UW, 0x15, int32_t*) #define R_UW_MODE_ENABLE _IOR(MAGIC_READ_UW, 0x15, int32_t*)
// Write // Write
#define W_UW_FANSPEED _IOW(MAGIC_WRITE_UW, 0x10, int32_t*) #define W_UW_FANSPEED _IOW(MAGIC_WRITE_UW, 0x10, int32_t*)
#define W_UW_FANSPEED2 _IOW(MAGIC_WRITE_UW, 0x11, int32_t*) #define W_UW_FANSPEED2 _IOW(MAGIC_WRITE_UW, 0x11, int32_t*)
#define W_UW_MODE _IOW(MAGIC_WRITE_UW, 0x12, int32_t*) #define W_UW_MODE _IOW(MAGIC_WRITE_UW, 0x12, int32_t*)
#define W_UW_MODE_ENABLE _IOW(MAGIC_WRITE_UW, 0x13, int32_t*) #define W_UW_MODE_ENABLE _IOW(MAGIC_WRITE_UW, 0x13, int32_t*)
#endif #endif