samsung-time.h 803 B

123456789101112131415161718192021222324252627282930
  1. /* linux/arch/arm/plat-samsung/include/plat/samsung-time.h
  2. *
  3. * Copyright 2011 Samsung Electronics Co., Ltd.
  4. * http://www.samsung.com/
  5. *
  6. * Header file for samsung s3c and s5p time support
  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_PLAT_SAMSUNG_TIME_H
  13. #define __ASM_PLAT_SAMSUNG_TIME_H __FILE__
  14. /* SAMSUNG HR-Timer Clock mode */
  15. enum samsung_timer_mode {
  16. SAMSUNG_PWM0,
  17. SAMSUNG_PWM1,
  18. SAMSUNG_PWM2,
  19. SAMSUNG_PWM3,
  20. SAMSUNG_PWM4,
  21. };
  22. extern void __init samsung_set_timer_source(enum samsung_timer_mode event,
  23. enum samsung_timer_mode source);
  24. extern void __init samsung_timer_init(void);
  25. #endif /* __ASM_PLAT_SAMSUNG_TIME_H */