diff options
Diffstat (limited to 'wctdm.h')
-rwxr-xr-x | wctdm.h | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -28,24 +28,24 @@ #define NUM_REGS 109 #define NUM_INDIRECT_REGS 105 -struct wcfxs_stats { +struct wctdm_stats { int tipvolt; /* TIP voltage (mV) */ int ringvolt; /* RING voltage (mV) */ int batvolt; /* VBAT voltage (mV) */ }; -struct wcfxs_regs { +struct wctdm_regs { unsigned char direct[NUM_REGS]; unsigned short indirect[NUM_INDIRECT_REGS]; }; -struct wcfxs_regop { +struct wctdm_regop { int indirect; unsigned char reg; unsigned short val; }; -#define WCFXS_GET_STATS _IOR (ZT_CODE, 60, struct wcfxs_stats) -#define WCFXS_GET_REGS _IOR (ZT_CODE, 61, struct wcfxs_regs) -#define WCFXS_SET_REG _IOW (ZT_CODE, 62, struct wcfxs_regop) +#define WCTDM_GET_STATS _IOR (ZT_CODE, 60, struct wctdm_stats) +#define WCTDM_GET_REGS _IOR (ZT_CODE, 61, struct wctdm_regs) +#define WCTDM_SET_REG _IOW (ZT_CODE, 62, struct wctdm_regop) |