generic.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /*
  2. * linux/arch/arm/mach-sa1100/generic.h
  3. *
  4. * Author: Nicolas Pitre
  5. */
  6. struct sys_timer;
  7. extern struct sys_timer sa1100_timer;
  8. extern void __init sa1100_map_io(void);
  9. extern void __init sa1100_init_irq(void);
  10. extern void __init sa1100_init_gpio(void);
  11. #define SET_BANK(__nr,__start,__size) \
  12. mi->bank[__nr].start = (__start), \
  13. mi->bank[__nr].size = (__size)
  14. extern void (*sa1100fb_backlight_power)(int on);
  15. extern void (*sa1100fb_lcd_power)(int on);
  16. extern void sa1110_mb_enable(void);
  17. extern void sa1110_mb_disable(void);
  18. struct cpufreq_policy;
  19. extern unsigned int sa11x0_freq_to_ppcr(unsigned int khz);
  20. extern int sa11x0_verify_speed(struct cpufreq_policy *policy);
  21. extern unsigned int sa11x0_getspeed(unsigned int cpu);
  22. extern unsigned int sa11x0_ppcr_to_freq(unsigned int idx);
  23. struct flash_platform_data;
  24. struct resource;
  25. void sa11x0_register_mtd(struct flash_platform_data *flash,
  26. struct resource *res, int nr);
  27. struct irda_platform_data;
  28. void sa11x0_register_irda(struct irda_platform_data *irda);
  29. struct mcp_plat_data;
  30. void sa11x0_register_mcp(struct mcp_plat_data *data);