smu.h 580 B

12345678910111213141516171819202122
  1. /*
  2. * Definitions for talking to the SMU chip in newer G5 PowerMacs
  3. */
  4. #include <linux/config.h>
  5. /*
  6. * Basic routines for use by architecture. To be extended as
  7. * we understand more of the chip
  8. */
  9. extern int smu_init(void);
  10. extern int smu_present(void);
  11. extern void smu_shutdown(void);
  12. extern void smu_restart(void);
  13. extern int smu_get_rtc_time(struct rtc_time *time);
  14. extern int smu_set_rtc_time(struct rtc_time *time);
  15. /*
  16. * SMU command buffer absolute address, exported by pmac_setup,
  17. * this is allocated very early during boot.
  18. */
  19. extern unsigned long smu_cmdbuf_abs;