summaryrefslogtreecommitdiffstats
path: root/drivers/staging/ti-st/fm.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/ti-st/fm.h')
-rw-r--r--drivers/staging/ti-st/fm.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/staging/ti-st/fm.h b/drivers/staging/ti-st/fm.h
new file mode 100644
index 000000000000..be41453649ed
--- /dev/null
+++ b/drivers/staging/ti-st/fm.h
@@ -0,0 +1,13 @@
+struct fm_event_hdr {
+ unsigned char plen;
+} __attribute__ ((packed));
+
+#define FM_MAX_FRAME_SIZE 0xFF /* TODO: */
+#define FM_EVENT_HDR_SIZE 1 /* size of fm_event_hdr */
+#define ST_FM_CH8_PKT 0x8
+
+/* gps stuff */
+struct gps_event_hdr {
+unsigned char opcode;
+unsigned short plen;
+} __attribute__ ((packed));