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_dec_ctx; 13 struct mtk_vcodec_enc_ctx; 14 15 /* timeout is ms */ 16 int mtk_vcodec_wait_for_done_ctx(void *priv, int command, unsigned int timeout_ms, 17 unsigned int hw_id); 18 19 #endif /* _MTK_VCODEC_INTR_H_ */ 20