linux/drivers/media/platform/mtk-vcodec/mtk_vcodec_intr.h
<<
>>
Prefs
   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
  12struct mtk_vcodec_ctx;
  13
  14/* timeout is ms */
  15int mtk_vcodec_wait_for_done_ctx(struct mtk_vcodec_ctx *data, int command,
  16                                unsigned int timeout_ms);
  17
  18#endif /* _MTK_VCODEC_INTR_H_ */
  19