powernv.h 620 B

12345678910111213141516171819202122232425262728293031
  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 u64 pnv_deepest_stop_state;
  18. extern void pnv_lpc_init(void);
  19. extern void opal_handle_events(uint64_t events);
  20. extern void opal_event_shutdown(void);
  21. bool cpu_core_split_required(void);
  22. #endif /* _POWERNV_H */