powernv.h 585 B

1234567891011121314151617181920212223242526272829
  1. #ifndef _POWERNV_H
  2. #define _POWERNV_H
  3. #ifdef CONFIG_SMP
  4. extern void pnv_smp_init(void);
  5. #else
  6. static inline void pnv_smp_init(void) { }
  7. #endif
  8. struct pci_dev;
  9. #ifdef CONFIG_PCI
  10. extern void pnv_pci_init(void);
  11. extern void pnv_pci_shutdown(void);
  12. #else
  13. static inline void pnv_pci_init(void) { }
  14. static inline void pnv_pci_shutdown(void) { }
  15. #endif
  16. extern u32 pnv_get_supported_cpuidle_states(void);
  17. extern void pnv_lpc_init(void);
  18. extern void opal_handle_events(uint64_t events);
  19. extern void opal_event_shutdown(void);
  20. bool cpu_core_split_required(void);
  21. #endif /* _POWERNV_H */