summaryrefslogtreecommitdiffhomepage
path: root/ebpf/include/linux/max2175.h
diff options
context:
space:
mode:
authorDavid Anderson <danderson@tailscale.com>2021-11-10 12:15:03 -0800
committerDavid Anderson <danderson@tailscale.com>2021-11-10 12:15:03 -0800
commit41710e1b810aa25c14ceb657a40b9ba616615435 (patch)
tree4953322c9930fde10dae9ff057de28827e87fb52 /ebpf/include/linux/max2175.h
parent4a51050c498da33eaecb520b78aeb5f445a442f1 (diff)
downloadtailscale-danderson/ebpf.tar.xz
tailscale-danderson/ebpf.zip
ebpf: experiments.danderson/ebpf
Diffstat (limited to 'ebpf/include/linux/max2175.h')
-rw-r--r--ebpf/include/linux/max2175.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/ebpf/include/linux/max2175.h b/ebpf/include/linux/max2175.h
new file mode 100644
index 000000000..daedc4eb9
--- /dev/null
+++ b/ebpf/include/linux/max2175.h
@@ -0,0 +1,29 @@
+/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
+/*
+ * max2175.h
+ *
+ * Maxim Integrated MAX2175 RF to Bits tuner driver - user space header file.
+ *
+ * Copyright (C) 2016 Maxim Integrated Products
+ * Copyright (C) 2017 Renesas Electronics Corporation
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2
+ * as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ */
+
+#ifndef __UAPI_MAX2175_H_
+#define __UAPI_MAX2175_H_
+
+#include <linux/v4l2-controls.h>
+
+#define V4L2_CID_MAX2175_I2S_ENABLE (V4L2_CID_USER_MAX217X_BASE + 0x01)
+#define V4L2_CID_MAX2175_HSLS (V4L2_CID_USER_MAX217X_BASE + 0x02)
+#define V4L2_CID_MAX2175_RX_MODE (V4L2_CID_USER_MAX217X_BASE + 0x03)
+
+#endif /* __UAPI_MAX2175_H_ */