44 lines · c
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 0x1e14 15/* PXP-Opcode for Invalidate Stream Key */16#define PXP42_CMDID_INVALIDATE_STREAM_KEY 0x0000000717 18/* PXP-Input-Packet: Init Session (Arb-Session) */19struct pxp42_create_arb_in {20 struct pxp_cmd_header header;21 u32 protection_mode;22#define PXP42_ARB_SESSION_MODE_HEAVY 0x223 u32 session_id;24} __packed;25 26/* PXP-Output-Packet: Init Session */27struct pxp42_create_arb_out {28 struct pxp_cmd_header header;29} __packed;30 31/* PXP-Input-Packet: Invalidate Stream Key */32struct 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 */38struct 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