• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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-Opcode for Invalidate Stream Key */
16 #define PXP42_CMDID_INVALIDATE_STREAM_KEY 0x00000007
17 
18 /* PXP-Input-Packet: Init Session (Arb-Session) */
19 struct pxp42_create_arb_in {
20 	struct pxp_cmd_header header;
21 	u32 protection_mode;
22 #define PXP42_ARB_SESSION_MODE_HEAVY 0x2
23 	u32 session_id;
24 } __packed;
25 
26 /* PXP-Output-Packet: Init Session */
27 struct pxp42_create_arb_out {
28 	struct pxp_cmd_header header;
29 } __packed;
30 
31 /* PXP-Input-Packet: Invalidate Stream Key */
32 struct pxp42_inv_stream_key_in {
33 	struct pxp_cmd_header header;
34 	u32 rsvd[3];
35 } __packed;
36 
37 /* PXP-Output-Packet: Invalidate Stream Key */
38 struct pxp42_inv_stream_key_out {
39 	struct pxp_cmd_header header;
40 	u32 rsvd;
41 } __packed;
42 
43 #endif /* __INTEL_PXP_FW_INTERFACE_42_H__ */
44