generic.h 901 B

12345678910111213141516171819202122232425262728293031
  1. /*
  2. * linux/arch/arm/mach-at91rm9200/generic.h
  3. *
  4. * Copyright (C) 2005 David Brownell
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License version 2 as
  8. * published by the Free Software Foundation.
  9. */
  10. /* Interrupts */
  11. extern void __init at91rm9200_init_irq(unsigned int priority[]);
  12. extern void __init at91_aic_init(unsigned int priority[]);
  13. extern void __init at91_gpio_irq_setup(unsigned banks);
  14. /* Timer */
  15. struct sys_timer;
  16. extern struct sys_timer at91rm9200_timer;
  17. /* Memory Map */
  18. extern void __init at91rm9200_map_io(void);
  19. /* Clocks */
  20. extern int __init at91_clock_init(unsigned long main_clock);
  21. struct device;
  22. extern void __init at91_clock_associate(const char *id, struct device *dev, const char *func);
  23. /* Power Management */
  24. extern void at91_irq_suspend(void);
  25. extern void at91_irq_resume(void);