s5p_mfc_ctrl.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. /*
  2. * linux/drivers/media/platform/s5p-mfc/s5p_mfc_ctrl.h
  3. *
  4. * Copyright (c) 2010 Samsung Electronics Co., Ltd.
  5. * http://www.samsung.com/
  6. *
  7. * This program is free software; you can redistribute it and/or modify
  8. * it under the terms of the GNU General Public License as published by
  9. * the Free Software Foundation; either version 2 of the License, or
  10. * (at your option) any later version.
  11. */
  12. #ifndef S5P_MFC_CTRL_H
  13. #define S5P_MFC_CTRL_H
  14. #include "s5p_mfc_common.h"
  15. int s5p_mfc_release_firmware(struct s5p_mfc_dev *dev);
  16. int s5p_mfc_alloc_firmware(struct s5p_mfc_dev *dev);
  17. int s5p_mfc_load_firmware(struct s5p_mfc_dev *dev);
  18. int s5p_mfc_reload_firmware(struct s5p_mfc_dev *dev);
  19. int s5p_mfc_init_hw(struct s5p_mfc_dev *dev);
  20. void s5p_mfc_deinit_hw(struct s5p_mfc_dev *dev);
  21. int s5p_mfc_sleep(struct s5p_mfc_dev *dev);
  22. int s5p_mfc_wakeup(struct s5p_mfc_dev *dev);
  23. int s5p_mfc_reset(struct s5p_mfc_dev *dev);
  24. int s5p_mfc_open_mfc_inst(struct s5p_mfc_dev *dev, struct s5p_mfc_ctx *ctx);
  25. void s5p_mfc_close_mfc_inst(struct s5p_mfc_dev *dev, struct s5p_mfc_ctx *ctx);
  26. #endif /* S5P_MFC_CTRL_H */