samsung-time.h 594 B

1234567891011121314151617181920212223242526
  1. /* SPDX-License-Identifier: GPL-2.0 */
  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. #ifndef __ASM_PLAT_SAMSUNG_TIME_H
  9. #define __ASM_PLAT_SAMSUNG_TIME_H __FILE__
  10. /* SAMSUNG HR-Timer Clock mode */
  11. enum samsung_timer_mode {
  12. SAMSUNG_PWM0,
  13. SAMSUNG_PWM1,
  14. SAMSUNG_PWM2,
  15. SAMSUNG_PWM3,
  16. SAMSUNG_PWM4,
  17. };
  18. extern void __init samsung_set_timer_source(enum samsung_timer_mode event,
  19. enum samsung_timer_mode source);
  20. extern void __init samsung_timer_init(void);
  21. #endif /* __ASM_PLAT_SAMSUNG_TIME_H */