Merge tag 'block-5.11-2021-01-10' of git://git.kernel.dk/linux-block
[linux/fpc-iii.git] / drivers / media / platform / mtk-vcodec / mtk_vcodec_intr.h
blob638cd1f3526af6b5754e82759375dfc486b94584
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * Copyright (c) 2016 MediaTek Inc.
4 * Author: Tiffany Lin <tiffany.lin@mediatek.com>
5 */
7 #ifndef _MTK_VCODEC_INTR_H_
8 #define _MTK_VCODEC_INTR_H_
10 #define MTK_INST_IRQ_RECEIVED 0x1
12 struct mtk_vcodec_ctx;
14 /* timeout is ms */
15 int mtk_vcodec_wait_for_done_ctx(struct mtk_vcodec_ctx *data, int command,
16 unsigned int timeout_ms);
18 #endif /* _MTK_VCODEC_INTR_H_ */