1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * Copyright (c) 2016 MediaTek Inc.
4 * Author: Tiffany Lin <tiffany.lin@mediatek.com>
5 */
6 
7 #ifndef _MTK_VCODEC_INTR_H_
8 #define _MTK_VCODEC_INTR_H_
9 
10 #define MTK_INST_IRQ_RECEIVED		0x1
11 
12 struct mtk_vcodec_ctx;
13 
14 /* timeout is ms */
15 int mtk_vcodec_wait_for_done_ctx(struct mtk_vcodec_ctx *ctx,
16 				 int command, unsigned int timeout_ms,
17 				 unsigned int hw_id);
18 
19 #endif /* _MTK_VCODEC_INTR_H_ */
20