diff options
Diffstat (limited to 'libc/kernel/common/linux/akm8976.h')
| -rw-r--r-- | libc/kernel/common/linux/akm8976.h | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/libc/kernel/common/linux/akm8976.h b/libc/kernel/common/linux/akm8976.h index 84ac803..e19179e 100644 --- a/libc/kernel/common/linux/akm8976.h +++ b/libc/kernel/common/linux/akm8976.h @@ -19,26 +19,26 @@ #ifndef AKM8976_H #define AKM8976_H #include <linux/ioctl.h> -#define AKECS_MODE_MEASURE 0x00 +#define AKECS_MODE_MEASURE 0x00 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define AKECS_MODE_PFFD 0x01 -#define AKECS_MODE_E2P_READ 0x02 -#define AKECS_MODE_POWERDOWN 0x03 -#define AKECS_MODE_MEASURE_SNG 0x10 +#define AKECS_MODE_PFFD 0x01 +#define AKECS_MODE_E2P_READ 0x02 +#define AKECS_MODE_POWERDOWN 0x03 +#define AKECS_MODE_MEASURE_SNG 0x10 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define AKECS_MODE_MEASURE_SEQ 0x11 -#define CSPEC_AINT 0x01 -#define CSPEC_SNG_NUM 0x01 -#define CSPEC_SEQ_NUM 0x02 +#define AKECS_MODE_MEASURE_SEQ 0x11 +#define CSPEC_AINT 0x01 +#define CSPEC_SNG_NUM 0x01 +#define CSPEC_SEQ_NUM 0x02 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define CSPEC_SFRQ_32 0x00 -#define CSPEC_SFRQ_64 0x01 -#define CSPEC_MCS 0x07 -#define CSPEC_MKS 0x01 +#define CSPEC_SFRQ_32 0x00 +#define CSPEC_SFRQ_64 0x01 +#define CSPEC_MCS 0x07 +#define CSPEC_MKS 0x01 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define CSPEC_INTEN 0x01 -#define RBUFF_SIZE 31 -#define MAX_CALI_SIZE 0x1000U +#define CSPEC_INTEN 0x01 +#define RBUFF_SIZE 31 +#define MAX_CALI_SIZE 0x1000U #define AKECS_REG_ST 0xC0 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define AKECS_REG_TMPS 0xC1 @@ -79,14 +79,14 @@ #define ECS_IOCTL_APP_RESET_PEDOMETER _IO(AKMIO, 0x17) #define ECS_IOCTL_APP_SET_DELAY _IOW(AKMIO, 0x18, short) #define ECS_IOCTL_APP_GET_DELAY ECS_IOCTL_GET_DELAY -#define ECS_IOCTL_APP_SET_MVFLAG _IOW(AKMIO, 0x19, short) +#define ECS_IOCTL_APP_SET_MVFLAG _IOW(AKMIO, 0x19, short) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define ECS_IOCTL_APP_GET_MVFLAG _IOR(AKMIO, 0x1A, short) +#define ECS_IOCTL_APP_GET_MVFLAG _IOR(AKMIO, 0x1A, short) #define ECS_IOCTL_SET_STEP_CNT _IOW(AKMIO, 0x20, short) -#define ECS_RST 146 -#define ECS_CLK_ON 155 +#define ECS_RST 146 +#define ECS_CLK_ON 155 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define ECS_INTR 161 +#define ECS_INTR 161 struct akm8976_platform_data { int reset; int clk_on; |
