1 /* SPDX-License-Identifier: MIT */
2 /*
3  * Copyright(c) 2020, Intel Corporation. All rights reserved.
4  */
5 
6 #ifndef __INTEL_PXP_FW_INTERFACE_42_H__
7 #define __INTEL_PXP_FW_INTERFACE_42_H__
8 
9 #include <linux/types.h>
10 #include "intel_pxp_cmd_interface_cmn.h"
11 
12 /* PXP-Opcode for Init Session */
13 #define PXP42_CMDID_INIT_SESSION 0x1e
14 
15 /* PXP-Input-Packet: Init Session (Arb-Session) */
16 struct pxp42_create_arb_in {
17 	struct pxp_cmd_header header;
18 	u32 protection_mode;
19 #define PXP42_ARB_SESSION_MODE_HEAVY 0x2
20 	u32 session_id;
21 } __packed;
22 
23 /* PXP-Output-Packet: Init Session */
24 struct pxp42_create_arb_out {
25 	struct pxp_cmd_header header;
26 } __packed;
27 
28 #endif /* __INTEL_PXP_FW_INTERFACE_42_H__ */
29