generic.h (96916090f488986a4ebb8e9ffa6a3b50881d5ccd) generic.h (04fef228fb00dd79475a2313f4ba73b4fbfe2faa)
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

--- 33 unchanged lines hidden (view full) ---

42#ifdef CONFIG_PXA27x
43extern unsigned pxa27x_get_clk_frequency_khz(int);
44extern unsigned pxa27x_get_memclk_frequency_10khz(void);
45#else
46#define pxa27x_get_clk_frequency_khz(x) (0)
47#define pxa27x_get_memclk_frequency_10khz() (0)
48#endif
49
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

--- 33 unchanged lines hidden (view full) ---

42#ifdef CONFIG_PXA27x
43extern unsigned pxa27x_get_clk_frequency_khz(int);
44extern unsigned pxa27x_get_memclk_frequency_10khz(void);
45#else
46#define pxa27x_get_clk_frequency_khz(x) (0)
47#define pxa27x_get_memclk_frequency_10khz() (0)
48#endif
49
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
50#ifdef CONFIG_PXA3xx
51extern unsigned pxa3xx_get_clk_frequency_khz(int);
52extern unsigned pxa3xx_get_memclk_frequency_10khz(void);
56#ifdef CONFIG_PXA3xx
57extern unsigned pxa3xx_get_clk_frequency_khz(int);
58extern unsigned pxa3xx_get_memclk_frequency_10khz(void);
59extern void pxa3xx_clear_reset_status(unsigned int);
53#else
54#define pxa3xx_get_clk_frequency_khz(x) (0)
55#define pxa3xx_get_memclk_frequency_10khz() (0)
60#else
61#define pxa3xx_get_clk_frequency_khz(x) (0)
62#define pxa3xx_get_memclk_frequency_10khz() (0)
63static inline void pxa3xx_clear_reset_status(unsigned int mask) {}
56#endif
57
58extern struct sysdev_class pxa_irq_sysclass;
59extern struct sysdev_class pxa_gpio_sysclass;
60extern struct sysdev_class pxa3xx_mfp_sysclass;
64#endif
65
66extern struct sysdev_class pxa_irq_sysclass;
67extern struct sysdev_class pxa_gpio_sysclass;
68extern struct sysdev_class pxa3xx_mfp_sysclass;