1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright (c) 2015-2018, Intel Corporation.
9 #include <linux/list.h>
11 #define KCS_BMC_EVENT_TYPE_OBE BIT(0)
12 #define KCS_BMC_EVENT_TYPE_IBF BIT(1)
14 #define KCS_BMC_STR_OBF BIT(0)
15 #define KCS_BMC_STR_IBF BIT(1)
16 #define KCS_BMC_STR_CMD_DAT BIT(3)
18 /* IPMI 2.0 - 9.5, KCS Interface Registers
19 * @idr: Input Data Register
20 * @odr: Output Data Register
21 * @str: Status Register
29 struct kcs_bmc_device_ops
;
30 struct kcs_bmc_client
;
32 struct kcs_bmc_device
{
33 struct list_head entry
;
38 struct kcs_ioreg ioreg
;
40 const struct kcs_bmc_device_ops
*ops
;
43 struct kcs_bmc_client
*client
;
46 #endif /* __KCS_BMC_H__ */