1 /* 2 * Copyright (C) 2021 HiSilicon (Shanghai) Technologies CO., LIMITED. 3 * 4 * This program is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU General Public License 6 * as published by the Free Software Foundation; either version 2 7 * of the License, or (at your option) any later version. 8 * 9 * This program is distributed in the hope that it will be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 * GNU General Public License for more details. 13 * 14 * You should have received a copy of the GNU General Public License 15 * along with this program; if not, write to the Free Software 16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 17 */ 18 19 20 #ifndef __MKP_IOCTL_H__ 21 #define __MKP_IOCTL_H__ 22 23 #define IOC_TYPE_VI 'I' 24 #define IOC_TYPE_VOU 'O' 25 26 #define IOC_TYPE_VENC 'E' 27 #define IOC_TYPE_VDEC 'D' 28 29 #define IOC_TYPE_AENC 'A' 30 #define IOC_TYPE_ADEC 'H' 31 32 #define IOC_TYPE_AI 'Z' 33 #define IOC_TYPE_AO 'X' 34 #define IOC_TYPE_AIO 'S' 35 36 #define IOC_TYPE_SYS 'Y' 37 #define IOC_TYPE_VB 'B' 38 #define IOC_TYPE_LOG 'L' 39 40 #define IOC_TYPE_VPSS 'P' 41 42 #define IOC_TYPE_RGN 'R' 43 44 #define IOC_TYPE_GRP 'G' 45 46 #define IOC_TYPE_PCIV 'C' 47 48 #define IOC_TYPE_IVE 'F' 49 50 #define IOC_TYPE_VGS 'J' 51 #define IOC_TYPE_GDC 'N' 52 53 #define IOC_TYPE_HDMI 'Q' 54 55 #define IOC_TYPE_FD 'K' 56 #define IOC_TYPE_SVP 'T' 57 #define IOC_TYPE_SVP_NNIE 'M' 58 #define IOC_TYPE_SVP_DSP 'W' 59 #define IOC_TYPE_DPU_RECT 'U' 60 #define IOC_TYPE_DPU_MATCH 'V' 61 62 #define IOC_TYPE_AVS 'P' 63 #define IOC_TYPE_VOU_DEV 'o' 64 65 #endif /* __MKP_IOCTL_H__ */ 66 67