clock.h 650 B

12345678910111213141516171819202122232425
  1. /*
  2. * linux/arch/arm/mach-realview/clock.h
  3. *
  4. * Copyright (C) 2004 ARM Limited.
  5. * Written by Deep Blue Solutions Limited.
  6. *
  7. * This program is free software; you can redistribute it and/or modify
  8. * it under the terms of the GNU General Public License version 2 as
  9. * published by the Free Software Foundation.
  10. */
  11. struct module;
  12. struct icst307_params;
  13. struct clk {
  14. struct list_head node;
  15. unsigned long rate;
  16. struct module *owner;
  17. const char *name;
  18. const struct icst307_params *params;
  19. void *data;
  20. void (*setvco)(struct clk *, struct icst307_vco vco);
  21. };
  22. int clk_register(struct clk *clk);
  23. void clk_unregister(struct clk *clk);