Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
[pandora-kernel.git] / drivers / media / video / s5p-mfc / s5p_mfc_intr.h
1 /*
2  * drivers/media/video/samsung/mfc5/s5p_mfc_intr.h
3  *
4  * Header file for Samsung MFC (Multi Function Codec - FIMV) driver
5  * It contains waiting functions declarations.
6  *
7  * Kamil Debski, Copyright (C) 2011 Samsung Electronics
8  * http://www.samsung.com/
9  *
10  * This program is free software; you can redistribute it and/or modify
11  * it under the terms of the GNU General Public License version 2 as
12  * published by the Free Software Foundation.
13  */
14
15 #ifndef S5P_MFC_INTR_H_
16 #define S5P_MFC_INTR_H_
17
18 #include "s5p_mfc_common.h"
19
20 int s5p_mfc_wait_for_done_ctx(struct s5p_mfc_ctx *ctx,
21                               int command, int interrupt);
22 int s5p_mfc_wait_for_done_dev(struct s5p_mfc_dev *dev, int command);
23 void s5p_mfc_clean_ctx_int_flags(struct s5p_mfc_ctx *ctx);
24 void s5p_mfc_clean_dev_int_flags(struct s5p_mfc_dev *dev);
25
26 #endif /* S5P_MFC_INTR_H_ */