s5p_mfc_intr.h 844 B

1234567891011121314151617181920212223242526
  1. /*
  2. * drivers/media/platform/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. #ifndef S5P_MFC_INTR_H_
  15. #define S5P_MFC_INTR_H_
  16. #include "s5p_mfc_common.h"
  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. #endif /* S5P_MFC_INTR_H_ */