msg.h 506 B

12345678910111213141516171819202122232425
  1. /*
  2. * (C) Copyright 2012,2015 Stephen Warren
  3. *
  4. * SPDX-License-Identifier: GPL-2.0+
  5. */
  6. #ifndef _BCM2835_MSG_H
  7. #define _BCM2835_MSG_H
  8. /**
  9. * bcm2835_power_on_module() - power on an SoC module
  10. *
  11. * @module: ID of module to power on (BCM2835_MBOX_POWER_DEVID_...)
  12. * @return 0 if OK, -EIO on error
  13. */
  14. int bcm2835_power_on_module(u32 module);
  15. /**
  16. * bcm2835_get_mmc_clock() - get the frequency of the MMC clock
  17. *
  18. * @return clock frequency, or -ve on error
  19. */
  20. int bcm2835_get_mmc_clock(void);
  21. #endif