aboutsummaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
Diffstat (limited to 'host')
-rw-r--r--host/apps/omap_debug/usrp_e.h9
-rw-r--r--host/lib/usrp/e100/include/linux/usrp_e.h9
2 files changed, 10 insertions, 8 deletions
diff --git a/host/apps/omap_debug/usrp_e.h b/host/apps/omap_debug/usrp_e.h
index d5669500b..2c4aa2ac1 100644
--- a/host/apps/omap_debug/usrp_e.h
+++ b/host/apps/omap_debug/usrp_e.h
@@ -39,10 +39,11 @@ struct usrp_e_ctl32 {
#define USRP_E_COMPAT_NUMBER 2
/* Flag defines */
-#define RB_USER (BIT(0))
-#define RB_KERNEL (BIT(1))
-#define RB_OVERRUN (BIT(2))
-#define RB_DMA_ACTIVE (BIT(3))
+#define RB_USER (1<<0)
+#define RB_KERNEL (1<<1)
+#define RB_OVERRUN (1<<2)
+#define RB_DMA_ACTIVE (1<<3)
+#define RB_USER_PROCESS (1<<4)
struct ring_buffer_info {
int flags;
diff --git a/host/lib/usrp/e100/include/linux/usrp_e.h b/host/lib/usrp/e100/include/linux/usrp_e.h
index d5669500b..2c4aa2ac1 100644
--- a/host/lib/usrp/e100/include/linux/usrp_e.h
+++ b/host/lib/usrp/e100/include/linux/usrp_e.h
@@ -39,10 +39,11 @@ struct usrp_e_ctl32 {
#define USRP_E_COMPAT_NUMBER 2
/* Flag defines */
-#define RB_USER (BIT(0))
-#define RB_KERNEL (BIT(1))
-#define RB_OVERRUN (BIT(2))
-#define RB_DMA_ACTIVE (BIT(3))
+#define RB_USER (1<<0)
+#define RB_KERNEL (1<<1)
+#define RB_OVERRUN (1<<2)
+#define RB_DMA_ACTIVE (1<<3)
+#define RB_USER_PROCESS (1<<4)
struct ring_buffer_info {
int flags;