summaryrefslogtreecommitdiffstats
path: root/libc/kernel/uapi/linux/hdlcdrv.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/kernel/uapi/linux/hdlcdrv.h')
-rw-r--r--libc/kernel/uapi/linux/hdlcdrv.h80
1 files changed, 40 insertions, 40 deletions
diff --git a/libc/kernel/uapi/linux/hdlcdrv.h b/libc/kernel/uapi/linux/hdlcdrv.h
index a37201d..dadc433 100644
--- a/libc/kernel/uapi/linux/hdlcdrv.h
+++ b/libc/kernel/uapi/linux/hdlcdrv.h
@@ -19,57 +19,57 @@
#ifndef _UAPI_HDLCDRV_H
#define _UAPI_HDLCDRV_H
struct hdlcdrv_params {
- int iobase;
+ int iobase;
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
- int irq;
- int dma;
- int dma2;
- int seriobase;
+ int irq;
+ int dma;
+ int dma2;
+ int seriobase;
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
- int pariobase;
- int midiiobase;
+ int pariobase;
+ int midiiobase;
};
struct hdlcdrv_channel_params {
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
- int tx_delay;
- int tx_tail;
- int slottime;
- int ppersist;
+ int tx_delay;
+ int tx_tail;
+ int slottime;
+ int ppersist;
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
- int fulldup;
+ int fulldup;
};
struct hdlcdrv_old_channel_state {
- int ptt;
+ int ptt;
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
- int dcd;
- int ptt_keyed;
+ int dcd;
+ int ptt_keyed;
};
struct hdlcdrv_channel_state {
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
- int ptt;
- int dcd;
- int ptt_keyed;
- unsigned long tx_packets;
+ int ptt;
+ int dcd;
+ int ptt_keyed;
+ unsigned long tx_packets;
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
- unsigned long tx_errors;
- unsigned long rx_packets;
- unsigned long rx_errors;
+ unsigned long tx_errors;
+ unsigned long rx_packets;
+ unsigned long rx_errors;
};
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
struct hdlcdrv_ioctl {
- int cmd;
- union {
- struct hdlcdrv_params mp;
+ int cmd;
+ union {
+ struct hdlcdrv_params mp;
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
- struct hdlcdrv_channel_params cp;
- struct hdlcdrv_channel_state cs;
- struct hdlcdrv_old_channel_state ocs;
- unsigned int calibrate;
+ struct hdlcdrv_channel_params cp;
+ struct hdlcdrv_channel_state cs;
+ struct hdlcdrv_old_channel_state ocs;
+ unsigned int calibrate;
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
- unsigned char bits;
- char modename[128];
- char drivername[32];
- } data;
+ unsigned char bits;
+ char modename[128];
+ char drivername[32];
+ } data;
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
};
#define HDLCDRVCTL_GETMODEMPAR 0
@@ -89,13 +89,13 @@ struct hdlcdrv_ioctl {
#define HDLCDRVCTL_SETMODE 41
#define HDLCDRVCTL_MODELIST 42
#define HDLCDRVCTL_DRIVERNAME 43
-#define HDLCDRV_PARMASK_IOBASE (1<<0)
+#define HDLCDRV_PARMASK_IOBASE (1 << 0)
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
-#define HDLCDRV_PARMASK_IRQ (1<<1)
-#define HDLCDRV_PARMASK_DMA (1<<2)
-#define HDLCDRV_PARMASK_DMA2 (1<<3)
-#define HDLCDRV_PARMASK_SERIOBASE (1<<4)
+#define HDLCDRV_PARMASK_IRQ (1 << 1)
+#define HDLCDRV_PARMASK_DMA (1 << 2)
+#define HDLCDRV_PARMASK_DMA2 (1 << 3)
+#define HDLCDRV_PARMASK_SERIOBASE (1 << 4)
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
-#define HDLCDRV_PARMASK_PARIOBASE (1<<5)
-#define HDLCDRV_PARMASK_MIDIIOBASE (1<<6)
+#define HDLCDRV_PARMASK_PARIOBASE (1 << 5)
+#define HDLCDRV_PARMASK_MIDIIOBASE (1 << 6)
#endif