summaryrefslogtreecommitdiff
path: root/drivers/media/platform/amphion/vpu_mbox.h
blob: 8b7aea4f606cedc35473247634acbd95456cda71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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