1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * drivers/media/platform/samsung/mfc5/s5p_mfc_intr.h
4  *
5  * Header file for Samsung MFC (Multi Function Codec - FIMV) driver
6  * It contains waiting functions declarations.
7  *
8  * Kamil Debski, Copyright (C) 2011 Samsung Electronics
9  * http://www.samsung.com/
10  */
11 
12 #ifndef S5P_MFC_INTR_H_
13 #define S5P_MFC_INTR_H_
14 
15 #include "s5p_mfc_common.h"
16 
17 int s5p_mfc_wait_for_done_ctx(struct s5p_mfc_ctx *ctx,
18 			      int command, int interrupt);
19 int s5p_mfc_wait_for_done_dev(struct s5p_mfc_dev *dev, int command);
20 void s5p_mfc_clean_ctx_int_flags(struct s5p_mfc_ctx *ctx);
21 void s5p_mfc_clean_dev_int_flags(struct s5p_mfc_dev *dev);
22 
23 #endif /* S5P_MFC_INTR_H_ */
24