![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ 0002 #ifndef _UAPI_HISI_QM_H 0003 #define _UAPI_HISI_QM_H 0004 0005 #include <linux/types.h> 0006 0007 /** 0008 * struct hisi_qp_ctx - User data for hisi qp. 0009 * @id: qp_index return to user space 0010 * @qc_type: Accelerator algorithm type 0011 */ 0012 struct hisi_qp_ctx { 0013 __u16 id; 0014 __u16 qc_type; 0015 }; 0016 0017 #define HISI_QM_API_VER_BASE "hisi_qm_v1" 0018 #define HISI_QM_API_VER2_BASE "hisi_qm_v2" 0019 #define HISI_QM_API_VER3_BASE "hisi_qm_v3" 0020 0021 /* UACCE_CMD_QM_SET_QP_CTX: Set qp algorithm type */ 0022 #define UACCE_CMD_QM_SET_QP_CTX _IOWR('H', 10, struct hisi_qp_ctx) 0023 0024 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |