mfc.h 1019 B

12345678910111213141516171819202122232425262728
  1. /*
  2. * Copyright (C) 2011 Samsung Electronics Co.Ltd
  3. *
  4. * This program is free software; you can redistribute it and/or modify it
  5. * under the terms of the GNU General Public License as published by the
  6. * Free Software Foundation; either version 2 of the License, or (at your
  7. * option) any later version.
  8. */
  9. #ifndef __PLAT_SAMSUNG_MFC_H
  10. #define __PLAT_SAMSUNG_MFC_H __FILE__
  11. /**
  12. * s5p_mfc_reserve_mem - function to early reserve memory for MFC driver
  13. * @rbase: base address for MFC 'right' memory interface
  14. * @rsize: size of the memory reserved for MFC 'right' interface
  15. * @lbase: base address for MFC 'left' memory interface
  16. * @lsize: size of the memory reserved for MFC 'left' interface
  17. *
  18. * This function reserves system memory for both MFC device memory
  19. * interfaces and registers it to respective struct device entries as
  20. * coherent memory.
  21. */
  22. void __init s5p_mfc_reserve_mem(phys_addr_t rbase, unsigned int rsize,
  23. phys_addr_t lbase, unsigned int lsize);
  24. #endif /* __PLAT_SAMSUNG_MFC_H */