MOXA linux-2.6.x / linux-2.6.9-uc0 from sdlinux-moxaart.tgz
[linux-2.6.9-moxart.git] / arch / arm / mach-sa1100 / generic.h
blob04bcfeb3b8a12066f605916940dc5aff3e846776
1 /*
2 * linux/arch/arm/mach-sa1100/generic.h
4 * Author: Nicolas Pitre
5 */
7 extern void __init sa1100_map_io(void);
8 extern void __init sa1100_init_irq(void);
9 extern void __init sa1100_init_time(void);
11 #define SET_BANK(__nr,__start,__size) \
12 mi->bank[__nr].start = (__start), \
13 mi->bank[__nr].size = (__size), \
14 mi->bank[__nr].node = (((unsigned)(__start) - PHYS_OFFSET) >> 27)
16 extern void (*sa1100fb_backlight_power)(int on);
17 extern void (*sa1100fb_lcd_power)(int on);
19 extern void sa1110_mb_enable(void);
20 extern void sa1110_mb_disable(void);
22 struct cpufreq_policy;
24 extern unsigned int sa11x0_freq_to_ppcr(unsigned int khz);
25 extern int sa11x0_verify_speed(struct cpufreq_policy *policy);
26 extern unsigned int sa11x0_getspeed(unsigned int cpu);
27 extern unsigned int sa11x0_ppcr_to_freq(unsigned int idx);