wsp.h 778 B

12345678910111213141516171819202122232425262728293031
  1. #ifndef __WSP_H
  2. #define __WSP_H
  3. #include <asm/wsp.h>
  4. /* Devtree compatible strings for major devices */
  5. #define PCIE_COMPATIBLE "ibm,wsp-pciex"
  6. extern void wsp_setup_arch(void);
  7. extern void wsp_setup_irq(void);
  8. extern int wsp_probe_devices(void);
  9. extern void wsp_halt(void);
  10. extern void wsp_setup_pci(void);
  11. extern void scom_init_wsp(void);
  12. extern void a2_setup_smp(void);
  13. extern int a2_scom_startup_cpu(unsigned int lcpu, int thr_idx,
  14. struct device_node *np);
  15. extern int smp_a2_cpu_bootable(unsigned int nr);
  16. extern int __devinit smp_a2_kick_cpu(int nr);
  17. extern void opb_pic_init(void);
  18. /* chroma specific managment */
  19. extern void wsp_h8_restart(char *cmd);
  20. extern void wsp_h8_power_off(void);
  21. extern void __init wsp_setup_h8(void);
  22. #endif /* __WSP_H */