xref: /linux/drivers/net/ethernet/huawei/hinic3/hinic3_mbox.h (revision ab93e0dd72c37d378dd936f031ffb83ff2bd87ce)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright (c) Huawei Technologies Co., Ltd. 2025. All rights reserved. */
3 
4 #ifndef _HINIC3_MBOX_H_
5 #define _HINIC3_MBOX_H_
6 
7 #include <linux/bitfield.h>
8 #include <linux/mutex.h>
9 
10 struct hinic3_hwdev;
11 
12 int hinic3_send_mbox_to_mgmt(struct hinic3_hwdev *hwdev, u8 mod, u16 cmd,
13 			     const struct mgmt_msg_params *msg_params);
14 
15 #endif
16