clk.h 475 B

12345678910111213141516171819
  1. /*
  2. * This program is free software; you can redistribute it and/or modify it
  3. * under the terms of the GNU General Public License version 2 as published
  4. * by the Free Software Foundation.
  5. *
  6. * Copyright (C) 2010 John Crispin <blogic@openwrt.org>
  7. */
  8. #ifndef _LTQ_CLK_H__
  9. #define _LTQ_CLK_H__
  10. extern void clk_init(void);
  11. extern unsigned long ltq_get_cpu_hz(void);
  12. extern unsigned long ltq_get_fpi_hz(void);
  13. extern unsigned long ltq_get_io_region_clock(void);
  14. #endif