2006-09-06 23:42:08 +04:00
|
|
|
#ifndef _PASEMI_PASEMI_H
|
|
|
|
#define _PASEMI_PASEMI_H
|
|
|
|
|
|
|
|
extern unsigned long pas_get_boot_time(void);
|
|
|
|
extern void pas_pci_init(void);
|
2007-02-05 01:36:54 +03:00
|
|
|
extern void __devinit pas_pci_irq_fixup(struct pci_dev *dev);
|
2007-02-05 01:36:55 +03:00
|
|
|
extern void __devinit pas_pci_dma_dev_setup(struct pci_dev *dev);
|
|
|
|
|
2007-09-05 06:08:30 +04:00
|
|
|
extern void __iomem *pasemi_pci_getcfgaddr(struct pci_dev *dev, int offset);
|
|
|
|
|
2007-02-05 01:36:55 +03:00
|
|
|
extern void __init alloc_iobmap_l2(void);
|
2006-09-06 23:42:08 +04:00
|
|
|
|
2007-02-05 01:36:51 +03:00
|
|
|
/* Power savings modes, implemented in asm */
|
|
|
|
extern void idle_spin(void);
|
|
|
|
extern void idle_doze(void);
|
|
|
|
|
2007-04-27 09:46:01 +04:00
|
|
|
/* Restore astate to last set */
|
|
|
|
#ifdef CONFIG_PPC_PASEMI_CPUFREQ
|
|
|
|
extern void restore_astate(int cpu);
|
|
|
|
#else
|
|
|
|
static inline void restore_astate(int cpu)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
#endif
|
2007-02-05 01:36:51 +03:00
|
|
|
|
2007-02-05 01:36:55 +03:00
|
|
|
|
2006-09-06 23:42:08 +04:00
|
|
|
#endif /* _PASEMI_PASEMI_H */
|