sysmmu.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. /* linux/arch/arm/mach-exynos4/include/mach/sysmmu.h
  2. *
  3. * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd.
  4. * http://www.samsung.com
  5. *
  6. * Samsung sysmmu driver for EXYNOS4
  7. *
  8. * This program is free software; you can redistribute it and/or modify
  9. * it under the terms of the GNU General Public License version 2 as
  10. * published by the Free Software Foundation.
  11. */
  12. #ifndef __ASM_ARM_ARCH_SYSMMU_H
  13. #define __ASM_ARM_ARCH_SYSMMU_H __FILE__
  14. enum exynos4_sysmmu_ips {
  15. SYSMMU_MDMA,
  16. SYSMMU_SSS,
  17. SYSMMU_FIMC0,
  18. SYSMMU_FIMC1,
  19. SYSMMU_FIMC2,
  20. SYSMMU_FIMC3,
  21. SYSMMU_JPEG,
  22. SYSMMU_FIMD0,
  23. SYSMMU_FIMD1,
  24. SYSMMU_PCIe,
  25. SYSMMU_G2D,
  26. SYSMMU_ROTATOR,
  27. SYSMMU_MDMA2,
  28. SYSMMU_TV,
  29. SYSMMU_MFC_L,
  30. SYSMMU_MFC_R,
  31. EXYNOS4_SYSMMU_TOTAL_IPNUM,
  32. };
  33. #define S5P_SYSMMU_TOTAL_IPNUM EXYNOS4_SYSMMU_TOTAL_IPNUM
  34. extern const char *sysmmu_ips_name[EXYNOS4_SYSMMU_TOTAL_IPNUM];
  35. typedef enum exynos4_sysmmu_ips sysmmu_ips;
  36. void sysmmu_clk_init(struct device *dev, sysmmu_ips ips);
  37. void sysmmu_clk_enable(sysmmu_ips ips);
  38. void sysmmu_clk_disable(sysmmu_ips ips);
  39. #endif /* __ASM_ARM_ARCH_SYSMMU_H */