armada-37xx-rwtm-mailbox.h 432 B

1234567891011121314151617181920212223
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * rWTM BIU Mailbox driver for Armada 37xx
  4. *
  5. * Author: Marek Behun <marek.behun@nic.cz>
  6. */
  7. #ifndef _LINUX_ARMADA_37XX_RWTM_MAILBOX_H_
  8. #define _LINUX_ARMADA_37XX_RWTM_MAILBOX_H_
  9. #include <linux/types.h>
  10. struct armada_37xx_rwtm_tx_msg {
  11. u16 command;
  12. u32 args[16];
  13. };
  14. struct armada_37xx_rwtm_rx_msg {
  15. u32 retval;
  16. u32 status[16];
  17. };
  18. #endif /* _LINUX_ARMADA_37XX_RWTM_MAILBOX_H_ */