summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends/cxd2880/cxd2880_common.h
diff options
context:
space:
mode:
authorYasunari Takiguchi <Yasunari.Takiguchi@sony.com>2018-01-18 03:47:38 -0500
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2018-03-07 04:39:42 -0500
commit1a3ef038d09e66489f95c5cd67d815670f9cabdc (patch)
tree0320aecdfc7940e248fbfb0d2ce0380794db5a15 /drivers/media/dvb-frontends/cxd2880/cxd2880_common.h
parentbd24fcddf6b822a6646b00cfc76a21f3f7bbc7e7 (diff)
downloadlinux-1a3ef038d09e66489f95c5cd67d815670f9cabdc.tar.bz2
media: cxd2880: Add common files for the driver
These are common files for the driver for the Sony CXD2880 DVB-T2/T tuner + demodulator. These contains helper functions for the driver. Signed-off-by: Yasunari Takiguchi <Yasunari.Takiguchi@sony.com> Signed-off-by: Masayuki Yamamoto <Masayuki.Yamamoto@sony.com> Signed-off-by: Hideki Nozawa <Hideki.Nozawa@sony.com> Signed-off-by: Kota Yonezawa <Kota.Yonezawa@sony.com> Signed-off-by: Toshihiko Matsumoto <Toshihiko.Matsumoto@sony.com> Signed-off-by: Satoshi Watanabe <Satoshi.C.Watanabe@sony.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/dvb-frontends/cxd2880/cxd2880_common.h')
-rw-r--r--drivers/media/dvb-frontends/cxd2880/cxd2880_common.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/drivers/media/dvb-frontends/cxd2880/cxd2880_common.h b/drivers/media/dvb-frontends/cxd2880/cxd2880_common.h
new file mode 100644
index 000000000000..b05bce71ab35
--- /dev/null
+++ b/drivers/media/dvb-frontends/cxd2880/cxd2880_common.h
@@ -0,0 +1,19 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
+ * cxd2880_common.h
+ * Sony CXD2880 DVB-T2/T tuner + demodulator driver common definitions
+ *
+ * Copyright (C) 2016, 2017, 2018 Sony Semiconductor Solutions Corporation
+ */
+
+#ifndef CXD2880_COMMON_H
+#define CXD2880_COMMON_H
+
+#include <linux/types.h>
+#include <linux/errno.h>
+#include <linux/delay.h>
+#include <linux/string.h>
+
+int cxd2880_convert2s_complement(u32 value, u32 bitlen);
+
+#endif