xref: /linux/drivers/media/platform/amphion/vpu_mbox.h (revision 4f2c0a4acffbec01079c28f839422e64ddeff004)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Copyright 2020-2021 NXP
4  */
5 
6 #ifndef _AMPHION_VPU_MBOX_H
7 #define _AMPHION_VPU_MBOX_H
8 
9 int vpu_mbox_init(struct vpu_core *core);
10 int vpu_mbox_request(struct vpu_core *core);
11 void vpu_mbox_free(struct vpu_core *core);
12 void vpu_mbox_send_msg(struct vpu_core *core, u32 type, u32 data);
13 void vpu_mbox_send_type(struct vpu_core *core, u32 type);
14 void vpu_mbox_enable_rx(struct vpu_dev *dev);
15 
16 #endif
17