summaryrefslogtreecommitdiff
path: root/drivers/media/platform/amphion/vpu_mbox.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/platform/amphion/vpu_mbox.h')
-rw-r--r--drivers/media/platform/amphion/vpu_mbox.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/drivers/media/platform/amphion/vpu_mbox.h b/drivers/media/platform/amphion/vpu_mbox.h
new file mode 100644
index 000000000000..8b7aea4f606c
--- /dev/null
+++ b/drivers/media/platform/amphion/vpu_mbox.h
@@ -0,0 +1,15 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
+ * Copyright 2020-2021 NXP
+ */
+
+#ifndef _AMPHION_VPU_MBOX_H
+#define _AMPHION_VPU_MBOX_H
+
+int vpu_mbox_init(struct vpu_core *core);
+int vpu_mbox_request(struct vpu_core *core);
+void vpu_mbox_free(struct vpu_core *core);
+void vpu_mbox_send_msg(struct vpu_core *core, u32 type, u32 data);
+void vpu_mbox_send_type(struct vpu_core *core, u32 type);
+
+#endif