generic.h (2a125dd56b3a853701063fe8a678ad7603e385fd) | generic.h (a4553358d94b4a1f3e6f24aacfd076022ac14855) |
---|---|
1/* 2 * linux/arch/arm/mach-pxa/generic.h 3 * 4 * Author: Nicolas Pitre 5 * Copyright: MontaVista Software Inc. 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 --- 6 unchanged lines hidden (view full) --- 15extern void __init pxa_init_irq(int irq_nr, 16 int (*set_wake)(unsigned int, unsigned int)); 17extern void __init pxa25x_init_irq(void); 18#ifdef CONFIG_CPU_PXA26x 19extern void __init pxa26x_init_irq(void); 20#endif 21extern void __init pxa27x_init_irq(void); 22extern void __init pxa3xx_init_irq(void); | 1/* 2 * linux/arch/arm/mach-pxa/generic.h 3 * 4 * Author: Nicolas Pitre 5 * Copyright: MontaVista Software Inc. 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 --- 6 unchanged lines hidden (view full) --- 15extern void __init pxa_init_irq(int irq_nr, 16 int (*set_wake)(unsigned int, unsigned int)); 17extern void __init pxa25x_init_irq(void); 18#ifdef CONFIG_CPU_PXA26x 19extern void __init pxa26x_init_irq(void); 20#endif 21extern void __init pxa27x_init_irq(void); 22extern void __init pxa3xx_init_irq(void); |
23extern void __init pxa95x_init_irq(void); |
|
23 24extern void __init pxa_map_io(void); 25extern void __init pxa25x_map_io(void); 26extern void __init pxa27x_map_io(void); 27extern void __init pxa3xx_map_io(void); 28 29extern unsigned int get_clk_frequency_khz(int info); 30 --- 18 unchanged lines hidden (view full) --- 49#if defined(CONFIG_PXA25x) || defined(CONFIG_PXA27x) 50extern void pxa2xx_clear_reset_status(unsigned int); 51#else 52static inline void pxa2xx_clear_reset_status(unsigned int mask) {} 53#endif 54 55#ifdef CONFIG_PXA3xx 56extern unsigned pxa3xx_get_clk_frequency_khz(int); | 24 25extern void __init pxa_map_io(void); 26extern void __init pxa25x_map_io(void); 27extern void __init pxa27x_map_io(void); 28extern void __init pxa3xx_map_io(void); 29 30extern unsigned int get_clk_frequency_khz(int info); 31 --- 18 unchanged lines hidden (view full) --- 50#if defined(CONFIG_PXA25x) || defined(CONFIG_PXA27x) 51extern void pxa2xx_clear_reset_status(unsigned int); 52#else 53static inline void pxa2xx_clear_reset_status(unsigned int mask) {} 54#endif 55 56#ifdef CONFIG_PXA3xx 57extern unsigned pxa3xx_get_clk_frequency_khz(int); |
57extern void pxa3xx_clear_reset_status(unsigned int); | |
58#else 59#define pxa3xx_get_clk_frequency_khz(x) (0) | 58#else 59#define pxa3xx_get_clk_frequency_khz(x) (0) |
60static inline void pxa3xx_clear_reset_status(unsigned int mask) {} | |
61#endif 62 63extern struct sysdev_class pxa_irq_sysclass; 64extern struct sysdev_class pxa_gpio_sysclass; 65extern struct sysdev_class pxa2xx_mfp_sysclass; 66extern struct sysdev_class pxa3xx_mfp_sysclass; 67 68void __init pxa_set_ffuart_info(void *info); 69void __init pxa_set_btuart_info(void *info); 70void __init pxa_set_stuart_info(void *info); 71void __init pxa_set_hwuart_info(void *info); | 60#endif 61 62extern struct sysdev_class pxa_irq_sysclass; 63extern struct sysdev_class pxa_gpio_sysclass; 64extern struct sysdev_class pxa2xx_mfp_sysclass; 65extern struct sysdev_class pxa3xx_mfp_sysclass; 66 67void __init pxa_set_ffuart_info(void *info); 68void __init pxa_set_btuart_info(void *info); 69void __init pxa_set_stuart_info(void *info); 70void __init pxa_set_hwuart_info(void *info); |