| * Copyright (C) 2016 Broadcom |
| * This program is free software; you can redistribute it and/or modify |
| * it under the terms of the GNU General Public License version 2 as |
| * published by the Free Software Foundation. |
| * Common header for Broadcom mailbox messages which is shared across |
| * Broadcom SoCs and Broadcom mailbox client drivers. |
| #ifndef _LINUX_BRCM_MESSAGE_H_ |
| #define _LINUX_BRCM_MESSAGE_H_ |
| #include <linux/scatterlist.h> |
| BRCM_MESSAGE_UNKNOWN = 0, |
| struct brcm_sba_command { |
| #define BRCM_SBA_CMD_TYPE_A BIT(0) |
| #define BRCM_SBA_CMD_TYPE_B BIT(1) |
| #define BRCM_SBA_CMD_TYPE_C BIT(2) |
| #define BRCM_SBA_CMD_HAS_RESP BIT(3) |
| #define BRCM_SBA_CMD_HAS_OUTPUT BIT(4) |
| enum brcm_message_type type; |
| struct brcm_sba_command *cmds; |
| #endif /* _LINUX_BRCM_MESSAGE_H_ */ |