1 //<MStar Software> 2 //****************************************************************************** 3 // MStar Software 4 // Copyright (c) 2010 - 2012 MStar Semiconductor, Inc. All rights reserved. 5 // All software, firmware and related documentation herein ("MStar Software") are 6 // intellectual property of MStar Semiconductor, Inc. ("MStar") and protected by 7 // law, including, but not limited to, copyright law and international treaties. 8 // Any use, modification, reproduction, retransmission, or republication of all 9 // or part of MStar Software is expressly prohibited, unless prior written 10 // permission has been granted by MStar. 11 // 12 // By accessing, browsing and/or using MStar Software, you acknowledge that you 13 // have read, understood, and agree, to be bound by below terms ("Terms") and to 14 // comply with all applicable laws and regulations: 15 // 16 // 1. MStar shall retain any and all right, ownership and interest to MStar 17 // Software and any modification/derivatives thereof. 18 // No right, ownership, or interest to MStar Software and any 19 // modification/derivatives thereof is transferred to you under Terms. 20 // 21 // 2. You understand that MStar Software might include, incorporate or be 22 // supplied together with third party`s software and the use of MStar 23 // Software may require additional licenses from third parties. 24 // Therefore, you hereby agree it is your sole responsibility to separately 25 // obtain any and all third party right and license necessary for your use of 26 // such third party`s software. 27 // 28 // 3. MStar Software and any modification/derivatives thereof shall be deemed as 29 // MStar`s confidential information and you agree to keep MStar`s 30 // confidential information in strictest confidence and not disclose to any 31 // third party. 32 // 33 // 4. MStar Software is provided on an "AS IS" basis without warranties of any 34 // kind. Any warranties are hereby expressly disclaimed by MStar, including 35 // without limitation, any warranties of merchantability, non-infringement of 36 // intellectual property rights, fitness for a particular purpose, error free 37 // and in conformity with any international standard. You agree to waive any 38 // claim against MStar for any loss, damage, cost or expense that you may 39 // incur related to your use of MStar Software. 40 // In no event shall MStar be liable for any direct, indirect, incidental or 41 // consequential damages, including without limitation, lost of profit or 42 // revenues, lost or damage of data, and unauthorized system use. 43 // You agree that this Section 4 shall still apply without being affected 44 // even if MStar Software has been modified by MStar in accordance with your 45 // request or instruction for your use, except otherwise agreed by both 46 // parties in writing. 47 // 48 // 5. If requested, MStar may from time to time provide technical supports or 49 // services in relation with MStar Software to you for your use of 50 // MStar Software in conjunction with your or your customer`s product 51 // ("Services"). 52 // You understand and agree that, except otherwise agreed by both parties in 53 // writing, Services are provided on an "AS IS" basis and the warranty 54 // disclaimer set forth in Section 4 above shall apply. 55 // 56 // 6. Nothing contained herein shall be construed as by implication, estoppels 57 // or otherwise: 58 // (a) conferring any license or right to use MStar name, trademark, service 59 // mark, symbol or any other identification; 60 // (b) obligating MStar or any of its affiliates to furnish any person, 61 // including without limitation, you and your customers, any assistance 62 // of any kind whatsoever, or any information; or 63 // (c) conferring any license or right under any intellectual property right. 64 // 65 // 7. These terms shall be governed by and construed in accordance with the laws 66 // of Taiwan, R.O.C., excluding its conflict of law rules. 67 // Any and all dispute arising out hereof or related hereto shall be finally 68 // settled by arbitration referred to the Chinese Arbitration Association, 69 // Taipei in accordance with the ROC Arbitration Law and the Arbitration 70 // Rules of the Association by three (3) arbitrators appointed in accordance 71 // with the said Rules. 72 // The place of arbitration shall be in Taipei, Taiwan and the language shall 73 // be English. 74 // The arbitration award shall be final and binding to both parties. 75 // 76 //****************************************************************************** 77 //<MStar Software> 78 //////////////////////////////////////////////////////////////////////////////// 79 // 80 // Copyright (c) 2006-2007 MStar Semiconductor, Inc. 81 // All rights reserved. 82 // 83 // Unless otherwise stipulated in writing, any and all information contained 84 // herein regardless in any format shall remain the sole proprietary of 85 // MStar Semiconductor Inc. and be kept in strict confidence 86 // (��MStar Confidential Information��) by the recipient. 87 // Any unauthorized act including without limitation unauthorized disclosure, 88 // copying, use, reproduction, sale, distribution, modification, disassembling, 89 // reverse engineering and compiling of the contents of MStar Confidential 90 // Information is unlawful and strictly prohibited. MStar hereby reserves the 91 // rights to any and all damages, losses, costs and expenses resulting therefrom. 92 // 93 //////////////////////////////////////////////////////////////////////////////// 94 95 ////////////////////////////////////////////////////////////////////////////////////////////////// 96 /// 97 /// @file drvSEAL.h 98 /// @brief SEAL Driver Interface 99 /// @author MStar Semiconductor Inc. 100 /////////////////////////////////////////////////////////////////////////////////////////////////// 101 102 /*! \defgroup G_SEAL SEAL interface 103 \ingroup G_PERIPHERAL 104 105 \brief 106 107 This drvSEAL.h provided function to protect security range, to prevent anyone 108 who want to access this range. 109 110 <b>Features</b> 111 - SEAL initialize 112 - SEAL secure range set 113 - SEAL secure Master set 114 - SEAL secure Slave set 115 116 <b> Operation Code Flow: </b> \n 117 -# SEAL initialize 118 -# Set secure range 119 -# set secure master 120 -# set secure slave 121 -# set Buffer lock 122 123 \defgroup G_SEAL_INIT Initialization Task relative 124 \ingroup G_SEAL 125 \defgroup G_SEAL_COMMON Common Task relative 126 \ingroup G_SEAL 127 \defgroup G_SEAL_CONTROL Control relative 128 \ingroup G_SEAL 129 \defgroup G_SEAL_INT Interrupt relative 130 \ingroup G_SEAL 131 \defgroup G_SEAL_ToBeModified GPIO api to be modified 132 \ingroup G_SEAL 133 \defgroup G_SEAL_ToBeRemove GPIO api to be removed 134 \ingroup G_SEAL 135 */ 136 137 #ifndef _DRV_SEAL_H_ 138 #define _DRV_SEAL_H_ 139 140 #ifdef __cplusplus 141 extern "C" 142 { 143 #endif 144 145 #include "MsCommon.h" 146 #include "utopia.h" 147 148 //------------------------------------------------------------------------------------------------- 149 // Defines 150 //------------------------------------------------------------------------------------------------- 151 #define BIT0 0x0001UL 152 #define BIT1 0x0002UL 153 #define BIT2 0x0004UL 154 #define BIT3 0x0008UL 155 #define BIT4 0x0010UL 156 #define BIT5 0x0020UL 157 #define BIT6 0x0040UL 158 #define BIT7 0x0080UL 159 #define BIT8 0x0100UL 160 #define BIT9 0x0200UL 161 #define BIT10 0x0400UL 162 #define BIT11 0x0800UL 163 #define BIT12 0x1000UL 164 #define BIT13 0x2000UL 165 #define BIT14 0x4000UL 166 #define BIT15 0x8000UL 167 168 //------------------------------------------------------------------------------------------------- 169 // Macros 170 //------------------------------------------------------------------------------------------------- 171 #define SEAL_DRV_VERSION /* Character String for DRV/API version */ \ 172 MSIF_TAG, /* 'MSIF' */ \ 173 MSIF_CLASS, /* '00' */ \ 174 MSIF_CUS, /* 0x0000 */ \ 175 MSIF_MOD, /* 0x0000 */ \ 176 MSIF_CHIP, \ 177 MSIF_CPU, \ 178 {'S','E','A','L'}, /* IP__ */ \ 179 {'0','0'}, /* 0.0 ~ Z.Z */ \ 180 {'0','0'}, /* 00 ~ 99 */ \ 181 {'0','0','2','6','4','8','8','5'}, /* CL# */ \ 182 MSIF_OS 183 184 185 //------------------------------------------------------------------------------------------------- 186 // Type and Structure Declaration 187 //------------------------------------------------------------------------------------------------- 188 typedef enum 189 { 190 E_SEAL_MIU_DEV0, 191 E_SEAL_MIU_DEV1, 192 E_SEAL_MIU_DEV2, 193 E_SEAL_MIU_DEV3, 194 E_SEAL_MIU_NUM, 195 }eSeal_MiuDev; 196 197 typedef enum 198 { 199 E_SEAL_SECURE_WRITE = BIT0, 200 E_SEAL_SECURE_READ = BIT1, 201 E_SEAL_NONSECURE_WRITE = BIT2, 202 E_SEAL_NONSECURE_READ = BIT3, 203 }eSeal_SecureAttribute; 204 205 typedef enum 206 { 207 E_SEAL_SECURE_RANGE_ID0, 208 E_SEAL_SECURE_RANGE_ID1, 209 E_SEAL_SECURE_RANGE_ID2, 210 E_SEAL_SECURE_RANGE_ID3, 211 E_SEAL_SECURE_RANGE_ID4, 212 E_SEAL_SECURE_RANGE_ID5, 213 E_SEAL_SECURE_RANGE_ID6, 214 E_SEAL_SECURE_RANGE_ID7, 215 E_SEAL_SECURE_RANGE_NUM, 216 }eSeal_SecureRangeId; 217 218 typedef enum 219 { 220 E_SEAL_DBBUS, 221 E_SEAL_MCU51, 222 E_SEAL_CPU2, 223 E_SEAL_VD_R2, 224 E_SEAL_SECURE_R2, 225 E_SEAL_SC, 226 E_SEAL_CMDQ, 227 E_SEAL_HEMCU, 228 E_SEAL_PROCESSOR_NUM, 229 }eSeal_ProcessorId ; 230 231 typedef enum 232 { 233 E_SEAL_NONE =0, 234 E_SEAL_DUMMY =1, 235 E_SEAL_RIU_DBG_PROT_NONPM =2, 236 E_SEAL_MSPI0_PROT_NONPM =3, 237 E_SEAL_MSPI1_PROT_NONPM =4, 238 E_SEAL_VD_MHEG5_PROT_NONPM =5, 239 E_SEAL_MAU1_PROT_NONPM =6, 240 E_SEAL_HIREG_PROT_NONPM =7, 241 E_SEAL_POR_STATUS_PROT_NONPM =8, 242 E_SEAL_INTR_CPUINT_PROT_NONPM =9, 243 E_SEAL_MIU2_PROT_NONPM =10, 244 E_SEAL_USB0_PROT_NONPM =11, 245 E_SEAL_USB1_PROT_NONPM =12, 246 E_SEAL_BDMA_CH0_PROT_NONPM =13, 247 E_SEAL_BDMA_CH1_PROT_NONPM =14, 248 E_SEAL_UART0_PROT_NONPM =15, 249 E_SEAL_CLKGEN0_PROT_NONPM =16, 250 E_SEAL_DSCRMB_PROT_NONPM =17, 251 E_SEAL_UHC1_PROT_NONPM =18, 252 E_SEAL_MHEG5_PROT_NONPM =19, 253 E_SEAL_MVD_PROT_NONPM =20, 254 E_SEAL_MIU_PROT_NONPM =21, 255 E_SEAL_MVOPSUB_PROT_NONPM =22, 256 E_SEAL_MVOP_PROT_NONPM =23, 257 E_SEAL_TSP0_PROT_NONPM =24, 258 E_SEAL_TSP1_PROT_NONPM =25, 259 E_SEAL_JPD_PROT_NONPM =26, 260 E_SEAL_SEMAPH_PROT_NONPM =27, 261 E_SEAL_MAU0_PROT_NONPM =28, 262 E_SEAL_ECBRIDGE_PROT_NONPM =29, 263 E_SEAL_INTR_CTRL_PROT_NONPM =30, 264 E_SEAL_HDMI2_PROT_NONPM =31, 265 E_SEAL_HVD_PROT_NONPM =32, 266 E_SEAL_TSP2_PROT_NONPM =33, 267 E_SEAL_MIPS_PROT_NONPM =34, 268 E_SEAL_CHIP_PROT_NONPM =35, 269 E_SEAL_GOP_PROT_NONPM =36, 270 E_SEAL_EMAC0_PROT_NONPM =37, 271 E_SEAL_EMAC1_PROT_NONPM =38, 272 E_SEAL_EMAC2_PROT_NONPM =39, 273 E_SEAL_EMAC3_PROT_NONPM =40, 274 E_SEAL_UHC0_PROT_NONPM =41, 275 E_SEAL_ADC_ATOP_PROT_NONPM =42, 276 E_SEAL_ADC_DTOP_PROT_NONPM =43, 277 E_SEAL_HDMI_PROT_NONPM =44, 278 E_SEAL_GE0_PROT_NONPM =45, 279 E_SEAL_SMART_PROT_NONPM =46, 280 E_SEAL_CI_PROT_NONPM =47, 281 E_SEAL_CHIPGPIO_PROT_NONPM =48, 282 E_SEAL_VP6_PROT_NONPM =49, 283 E_SEAL_LDM_DMA0_PROT_NONPM =50, 284 E_SEAL_LDM_DMA1_PROT_NONPM =51, 285 E_SEAL_SC0_PROT_NONPM =52, 286 E_SEAL_SC1_PROT_NONPM =53, 287 E_SEAL_SC2_PROT_NONPM =54, 288 E_SEAL_SC3_PROT_NONPM =55, 289 E_SEAL_SC4_PROT_NONPM =56, 290 E_SEAL_CLKGEN1_PROT_NONPM =57, 291 E_SEAL_MAILBOX_PROT_NONPM =58, 292 E_SEAL_MIIC_PROT_NONPM =59, 293 E_SEAL_PCM_PROT_NONPM =60, 294 E_SEAL_VDMCU51_IF_PROT_NONPM =61, 295 E_SEAL_DMDMCU51_IF_PROT_NONPM =62, 296 E_SEAL_URDMA_PROT_NONPM =63, 297 E_SEAL_AFEC_PROT_NONPM =64, 298 E_SEAL_COMB_PROT_NONPM =65, 299 E_SEAL_VBI_PROT_NONPM =66, 300 E_SEAL_SCM_PROT_NONPM =67, 301 E_SEAL_UTMI2_PROT_NONPM =68, 302 E_SEAL_PATGEN_PROT_NONPM =69, 303 E_SEAL_UTMI1_PROT_NONPM =70, 304 E_SEAL_UTMI_PROT_NONPM =71, 305 E_SEAL_VE_0_PROT_NONPM =72, 306 E_SEAL_REG_PIU_NONPM_PROT_NONPM =73, 307 E_SEAL_VE_1_PROT_NONPM =74, 308 E_SEAL_VE_2_PROT_NONPM =75, 309 E_SEAL_MPIF_PROT_NONPM =76, 310 E_SEAL_GPD_PROT_NONPM =77, 311 E_SEAL_UART1_PROT_NONPM =78, 312 E_SEAL_UART2_PROT_NONPM =79, 313 E_SEAL_FUART_PROT_NONPM =80, 314 E_SEAL_GE1_PROT_NONPM =81, 315 E_SEAL_G3D_PROT_NONPM =82, 316 E_SEAL_DVI_ATOP_PROT_NONPM =83, 317 E_SEAL_DVI_DTOP_PROT_NONPM =84, 318 E_SEAL_DVIEQ_PROT_NONPM =85, 319 E_SEAL_HDCP_PROT_NONPM =86, 320 E_SEAL_NR_HSD_PROT_NONPM =87, 321 E_SEAL_ANA_MISC_PROT_NONPM =88, 322 E_SEAL_MIU_ATOP_PROT_NONPM =89, 323 E_SEAL_NR_PROT_NONPM =90, 324 E_SEAL_DI_PROT_NONPM =91, 325 E_SEAL_MFE0_PROT_NONPM =92, 326 E_SEAL_MFE1_PROT_NONPM =93, 327 E_SEAL_ADC_DTOPB_PROT_NONPM =94, 328 E_SEAL_NFIE0_PROT_NONPM =95, 329 E_SEAL_NFIE1_PROT_NONPM =96, 330 E_SEAL_NFIE2_PROT_NONPM =97, 331 E_SEAL_ON0_PROT_NONPM =98, 332 E_SEAL_ON1_PROT_NONPM =99, 333 E_SEAL_MIIC0_PROT_NONPM =100, 334 E_SEAL_MIIC1_PROT_NONPM =101, 335 E_SEAL_MIIC2_PROT_NONPM =102, 336 E_SEAL_MIIC3_PROT_NONPM =103, 337 E_SEAL_CLKGEN_DMD_PROT_NONPM =104, 338 E_SEAL_DEMOD_0_PROT_NONPM =105, 339 E_SEAL_DEMOD_1_PROT_NONPM =106, 340 E_SEAL_DEMOD_2_PROT_NONPM =107, 341 E_SEAL_DEMOD_3_PROT_NONPM =108, 342 E_SEAL_DEMOD_4_PROT_NONPM =109, 343 E_SEAL_DEMOD_5_PROT_NONPM =110, 344 E_SEAL_DEMOD_6_PROT_NONPM =111, 345 E_SEAL_DEMOD_7_PROT_NONPM =112, 346 E_SEAL_DMD_ANA_MISC_PROT_NONPM =113, 347 E_SEAL_AUR20_PROT_NONPM =114, 348 E_SEAL_VIVALDI0_PROT_NONPM =115, 349 E_SEAL_VIVALDI1_PROT_NONPM =116, 350 E_SEAL_VIVALDI2_PROT_NONPM =117, 351 E_SEAL_VIVALDI3_PROT_NONPM =118, 352 E_SEAL_VIVALDI4_PROT_NONPM =119, 353 E_SEAL_VIVALDI5_PROT_NONPM =120, 354 E_SEAL_AUR21_PROT_NONPM =121, 355 E_SEAL_AUR22_PROT_NONPM =122, 356 E_SEAL_DVI_ATOP_1_PROT_NONPM =123, 357 E_SEAL_DVI_DTOP_1_PROT_NONPM =124, 358 E_SEAL_DVIEQ_1_PROT_NONPM =125, 359 E_SEAL_HDCP_1_PROT_NONPM =126, 360 E_SEAL_DVI_ATOP_2_PROT_NONPM =127, 361 E_SEAL_DVI_DTOP_2_PROT_NONPM =128, 362 E_SEAL_DVIEQ_2_PROT_NONPM =129, 363 E_SEAL_HDCP_2_PROT_NONPM =130, 364 E_SEAL_DVI_PS_PROT_NONPM =131, 365 E_SEAL_DVI_DTOP_3_PROT_NONPM =132, 366 E_SEAL_DVIEQ_3_PROT_NONPM =133, 367 E_SEAL_HDCP_3_PROT_NONPM =134, 368 E_SEAL_USB2_PROT_NONPM =135, 369 E_SEAL_UHC2_PROT_NONPM =136, 370 E_SEAL_DRM_SECURE_PROT_NONPM =137, 371 E_SEAL_DSCRMB2_PROT_NONPM =138, 372 E_SEAL_DSCRMB3_PROT_NONPM =139, 373 E_SEAL_GPD0_PROT_NONPM =140, 374 E_SEAL_GPD1_PROT_NONPM =141, 375 E_SEAL_GOP4G_0_PROT_NONPM =142, 376 E_SEAL_GOP4G_1_PROT_NONPM =143, 377 E_SEAL_GOP4G_ST_PROT_NONPM =144, 378 E_SEAL_GOP2G_0_PROT_NONPM =145, 379 E_SEAL_GOP2G_1_PROT_NONPM =146, 380 E_SEAL_GOP2G_ST_PROT_NONPM =147, 381 E_SEAL_GOP1G_0_PROT_NONPM =148, 382 E_SEAL_GOP1G_1_PROT_NONPM =149, 383 E_SEAL_GOP1G_ST_PROT_NONPM =150, 384 E_SEAL_GOP1GX_0_PROT_NONPM =151, 385 E_SEAL_GOP1GX_1_PROT_NONPM =152, 386 E_SEAL_GOP1GX_ST_PROT_NONPM =153, 387 E_SEAL_GOPD_PROT_NONPM =154, 388 E_SEAL_SPARE0_PROT_NONPM =155, 389 E_SEAL_SPARE1_PROT_NONPM =156, 390 E_SEAL_CA9PAT_PROT_NONPM =157, 391 E_SEAL_USB30PHY_DTOP_PROT_NONPM =158, 392 E_SEAL_USB30PHY_ATOP_PROT_NONPM =159, 393 E_SEAL_UTMI3_PROT_NONPM =160, 394 E_SEAL_USB3INDCTL_PROT_NONPM =161, 395 E_SEAL_USB3TOP_PROT_NONPM =162, 396 E_SEAL_ALBANY0_PROT_NONPM =163, 397 E_SEAL_ALBANY1_PROT_NONPM =164, 398 E_SEAL_SEC_R2_PROT_NONPM =165, 399 E_SEAL_SEC_MAU0_PROT_NONPM =166, 400 E_SEAL_MOBF_PROT_NONPM =167, 401 E_SEAL_DC_SCL_PROT_NONPM =168, 402 E_SEAL_JPD1_PROT_NONPM =169, 403 E_SEAL_JPD2_PROT_NONPM =170, 404 E_SEAL_JPD3_PROT_NONPM =171, 405 E_SEAL_CMDQ_PROT_NONPM =172, 406 E_SEAL_MSC_PROT_NONPM =173, 407 E_SEAL_GPUAPB_PROT_NONPM =174, 408 E_SEAL_X32_USB3XHCI_PROT_NONPM =175, 409 E_SEAL_USBBC0_PROT_NONPM =176, 410 E_SEAL_USBBC1_PROT_NONPM =177, 411 E_SEAL_USBBC2_PROT_NONPM =178, 412 E_SEAL_USB3_BC0_PROT_NONPM =179, 413 E_SEAL_MHL_TMDS_PROT_NONPM =180, 414 E_SEAL_HDCPKEY_PROT_NONPM =181, 415 E_SEAL_ACP_PROT_NONPM =182, 416 E_SEAL_SPARE2_PROT_NONPM =183, 417 E_SEAL_SPARE3_PROT_NONPM =184, 418 E_SEAL_TSP_DUMMY_PROT_NONPM =185, 419 E_SEAL_CODEC_DUMMY_PROT_NONPM =186, 420 E_SEAL_MHEG5_DUMMY_PROT_NONPM =187, 421 E_SEAL_DSCRMB4_PROT_NONPM =188, 422 E_SEAL_MENULOAD_PROT_PM =189, 423 E_SEAL_GDMA_PROT_PM =190, 424 E_SEAL_DDC_PROT_PM =191, 425 E_SEAL_ISP_PROT_PM =192, 426 E_SEAL_FSP_PROT_PM =193, 427 E_SEAL_QSPI_PROT_PM =194, 428 E_SEAL_PM_SLEEP_PROT_PM =195, 429 E_SEAL_PM_GPIO_PROT_PM =196, 430 E_SEAL_MCU_PROT_PM =197, 431 E_SEAL_PM_CEC_PROT_PM =198, 432 E_SEAL_PM_RTC_PROT_PM =199, 433 E_SEAL_PM_RTC2_PROT_PM =200, 434 E_SEAL_PM_SAR_PROT_PM =201, 435 E_SEAL_PM_AV_LINK_PROT_PM =202, 436 E_SEAL_PM_TOP_PROT_PM =203, 437 E_SEAL_MHL_CBUS_PROT_PM =204, 438 E_SEAL_EFUSE_PROT_PM =205, 439 E_SEAL_IRQ_PROT_PM =206, 440 E_SEAL_CACHE_PROT_PM =207, 441 E_SEAL_XDMIU_PROT_PM =208, 442 E_SEAL_PM_MISC_PROT_PM =209, 443 E_SEAL_PM_MHL_CBUS_PROT_PM =210, 444 E_SEAL_WDT_PROT_PM =211, 445 E_SEAL_TIMER0_PROT_PM =212, 446 E_SEAL_TIMER1_PROT_PM =213, 447 E_SEAL_SEC_KEY_PROT_PM =214, 448 E_SEAL_DID_KEY_PROT_PM =215, 449 E_SEAL_REG_PIU_MISC_0_PROT_PM =216, 450 E_SEAL_IR_PROT_PM =217, 451 E_SEAL_PM_SPARE0_PROT_PM =218, 452 E_SEAL_PM_SPARE1_PROT_PM =219, 453 E_SEAL_FUART1_PROT_NONPM =220, 454 E_SEAL_URDMA1_PROT_NONPM =221, 455 E_SEAL_UPLL0_PROT_NONPM =222, 456 E_SEAL_UPLL1_PROT_NONPM =223, 457 E_SEAL_UART3_PROT_NONPM =224, 458 E_SEAL_CLKGEN2_PROT_NONPM =225, 459 E_SEAL_VDMCU51_1_IF_PROT_NONPM =226, 460 E_SEAL_ADC_ATOPB_PROT_NONPM =227, 461 E_SEAL_UART4_PROT_NONPM =228, 462 E_SEAL_ANA_MISC_GMAC_PROT_NONPM =229, 463 E_SEAL_USB30PHY_DTOP_M_0_PROT_NONPM =230, 464 E_SEAL_USB30PHY_DTOP_M_1_PROT_NONPM =231, 465 E_SEAL_USB3_PROT_NONPM =232, 466 E_SEAL_TSO_PROT_NONPM =233, 467 E_SEAL_SDIO0_PROT_NONPM =234, 468 E_SEAL_MIU_ARB256_PROT_NONPM =235, 469 E_SEAL_HDMITX_MISC_PROT_NONPM =236, 470 E_SEAL_MIIC4_PROT_NONPM =237, 471 E_SEAL_MIIC5_PROT_NONPM =238, 472 E_SEAL_HDMITX_VIDEO_PROT_NONPM =239, 473 E_SEAL_HDMITX_AUDIO_PROT_NONPM =240, 474 E_SEAL_USB30PHY_ATOP_M_0_PROT_NONPM =241, 475 E_SEAL_USB30PHY_ATOP_M_1_PROT_NONPM =242, 476 E_SEAL_UTMISS0_PROT_NONPM =243, 477 E_SEAL_UTMISS1_PROT_NONPM =244, 478 E_SEAL_UHC3_PROT_NONPM =245, 479 E_SEAL_SDIO1_PROT_NONPM =246, 480 E_SEAL_SDIO2_PROT_NONPM =247, 481 E_SEAL_USBBC3_PROT_NONPM =248, 482 E_SEAL_USB3_BC1_PROT_NONPM =249, 483 E_SEAL_SECURERANGE0_PROT_NONPM =250, 484 E_SEAL_SECURERANGE1_PROT_NONPM =251, 485 E_SEAL_TZPC_NONPM_PROT_NONPM =252, 486 E_SEAL_NFIE3_PROT_NONPM =253, 487 E_SEAL_DSCRMB5_PROT_NONPM =254, 488 E_SEAL_EMMC_PLL_PROT_NONPM =255, 489 E_SEAL_VIVALDI6_PROT_NONPM =256, 490 E_SEAL_VIVALDI7_PROT_NONPM =257, 491 E_SEAL_GMAC0_PROT_NONPM =258, 492 E_SEAL_GMAC1_PROT_NONPM =259, 493 E_SEAL_GMAC2_PROT_NONPM =260, 494 E_SEAL_GMAC3_PROT_NONPM =261, 495 E_SEAL_GMAC4_PROT_NONPM =262, 496 E_SEAL_PCM2_PROT_NONPM =263, 497 E_SEAL_TSP3_PROT_NONPM =264, 498 E_SEAL_HEVC0_PROT_NONPM =265, 499 E_SEAL_HEVC1_PROT_NONPM =266, 500 E_SEAL_DYN_SCL_PROT_NONPM =267, 501 E_SEAL_X32_MVD1_PROT_NONPM =268, 502 E_SEAL_X32_MVD2_PROT_NONPM =269, 503 E_SEAL_X32_MVD3_PROT_NONPM =270, 504 E_SEAL_X32_MVD4_PROT_NONPM =271, 505 E_SEAL_CODEC_MRQ_PROT_NONPM =272, 506 E_SEAL_MIU3_PROT_NONPM =273, 507 E_SEAL_MIU_ATOP2_PROT_NONPM =274, 508 E_SEAL_X32_HVD0_PROT_NONPM =275, 509 E_SEAL_X32_HVD1_PROT_NONPM =276, 510 E_SEAL_X32_HVD2_PROT_NONPM =277, 511 E_SEAL_X32_HVD3_PROT_NONPM =278, 512 E_SEAL_X32_HVD4_PROT_NONPM =279, 513 E_SEAL_X32_HVD5_PROT_NONPM =280, 514 E_SEAL_X32_HVD6_PROT_NONPM =281, 515 E_SEAL_X32_HVD7_PROT_NONPM =282, 516 E_SEAL_X32_EVD0_PROT_NONPM =283, 517 E_SEAL_X32_EVD1_PROT_NONPM =284, 518 E_SEAL_X32_EVD2_PROT_NONPM =285, 519 E_SEAL_X32_EVD3_PROT_NONPM =286, 520 E_SEAL_X32_EVD4_PROT_NONPM =287, 521 E_SEAL_X32_EVD5_PROT_NONPM =288, 522 E_SEAL_X32_EVD6_PROT_NONPM =289, 523 E_SEAL_X32_EVD7_PROT_NONPM =290, 524 E_SEAL_X32_EVD8_PROT_NONPM =291, 525 E_SEAL_X32_GPUAPB0_PROT_NONPM =292, 526 E_SEAL_X32_GPUAPB1_PROT_NONPM =293, 527 E_SEAL_X32_GPUAPB2_PROT_NONPM =294, 528 E_SEAL_TIMER2_PROT_PM =295, 529 E_SEAL_ALBANY0_PROT_PM =296, 530 E_SEAL_ALBANY1_PROT_PM =297, 531 E_SEAL_ALBANY2_PROT_PM =298, 532 E_SEAL_NORPF_PROT_NONPM =299, 533 E_SEAL_PM_PROT_NONPM =300, 534 E_SEAL_ON_PROT_NONPM =301, 535 E_SEAL_SWCD_PROT_NONPM =302, 536 E_SEAL_ALBANY2_PROT_NONPM =303, 537 E_SEAL_TZPC_PROT_PM =304, 538 E_SEAL_SPARE4_PROT_NONPM =305, 539 E_SEAL_SPARE5_PROT_NONPM =306, 540 E_SEAL_JPD4_PROT_NONPM =307, 541 E_SEAL_RIU_DBG_PROT_PM =308, 542 E_SEAL_UHC4_PROT_NONPM =309, 543 E_SEAL_USB4_PROT_NONPM =310, 544 E_SEAL_UTMI4_PROT_NONPM =311, 545 E_SEAL_USBBC4_PROT_NONPM =312, 546 E_SEAL_UTMISS_PROT_NONPM =313, 547 E_SEAL_VDR2_PROT_NONPM =314, 548 E_SEAL_INTR_CTRL1_PROT_NONPM =315, 549 E_SEAL_L3_AXI_PROT_NONPM =316, 550 E_SEAL_MCU_ARM_PROT_NONPM =317, 551 E_SEAL_VDMCU51_1_IF_NONPM =318, 552 E_SEAL_SC_GP1_NONPM =319, 553 E_SEAL_CHIPGPIO1_NONPM =320, 554 E_SEAL_GPU_NONPM =321, 555 E_SEAL_ANA_MISC2_NONPM =322, 556 E_SEAL_AU_MAU_NONPM =323, 557 E_SEAL_AU_GDMA_NONPM =324, 558 E_SEAL_USB3_NONPM =325, 559 E_SEAL_OTG0_NONPM =326, 560 E_SEAL_OTG1_NONPM =327, 561 E_SEAL_OTG2_NONPM =328, 562 E_SEAL_OTG3_NONPM =329, 563 E_SEAL_SECURERANGE2_NONPM =330, 564 E_SEAL_TZPC_NONPM2_NONPM =331, 565 E_SEAL_TSO1_NONPM =332, 566 E_SEAL_MSC1_NONPM =333, 567 E_SEAL_EVD_NONPM =334, 568 E_SEAL_MIU_ARB_NONPM =335, 569 E_SEAL_TSP4_NONPM =336, 570 E_SEAL_DVI_ATOP3_NONPM =337, 571 E_SEAL_HDMI_P4_NONPM =338, 572 E_SEAL_HDMI2_P4_NONPM =339, 573 E_SEAL_DVI_ATOP_P4_NONPM =340, 574 E_SEAL_DVI_DTOP_P4_NONPM =341, 575 E_SEAL_DVI_EQ_P4_NONPM =342, 576 E_SEAL_HDCP_P4_NONPM =343, 577 E_SEAL_DVI_POWERSAVE_P4_NONPM =344, 578 E_SEAL_MIU3_NONPM =345, 579 E_SEAL_MIU_ATOP3_NONPM =346, 580 E_SEAL_MIU_ARB2_NONPM =347, 581 E_SEAL_MIU_ARB3_NONPM =348, 582 E_SEAL_MIU4_NONPM =349, 583 E_SEAL_MIU_ATOP4_NONPM =350, 584 E_SEAL_MIU_ARB4_NONPM =351, 585 E_SEAL_GE2_NONPM =352, 586 E_SEAL_GE3_NONPM =353, 587 E_SEAL_HDCP22_P0_NONPM =354, 588 E_SEAL_HDCP22_P1_NONPM =355, 589 E_SEAL_HDCP22_P2_NONPM =356, 590 E_SEAL_HDCP22_P3_NONPM =357, 591 E_SEAL_HDCP22_P4_NONPM =358, 592 E_SEAL_AU_R2_1_NONPM =359, 593 E_SEAL_AU_MAU_1_NONPM =360, 594 E_SEAL_AU_GDMA_1_NONPM =361, 595 E_SEAL_VD_EVD_R2_NONPM =362, 596 E_SEAL_MAU_EVD_NONPM =363, 597 E_SEAL_MAU1_LV2_0_NONPM =364, 598 E_SEAL_MAU1_LV2_1_NONPM =365, 599 E_SEAL_MAU_EVD_LV2_0_NONPM =366, 600 E_SEAL_MAU_EVD_LV2_1_NONPM =367, 601 E_SEAL_SEC_MAU_LV2_0_NONPM =368, 602 E_SEAL_SEC_MAU_LV2_1_NONPM =369, 603 E_SEAL_TSP5_NONPM =370, 604 E_SEAL_X32_USB3XHCI_NONPM =371, 605 E_SEAL_X32_GPUAPB0_NONPM =372, 606 E_SEAL_X32_GPUAPB1_NONPM =373, 607 E_SEAL_X32_GPUAPB2_NONPM =374, 608 E_SEAL_SECURERANGE3_PROT_NONPM =375, 609 E_SEAL_HIREG_EVD_PROT_NONPM =376, 610 E_SEAL_PM_RTC0_PROT_PM =377, 611 E_SEAL_PM_RTC1_PROT_PM =378, 612 E_SEAL_PM_CEC1_PROT_PM =379, 613 E_SEAL_PM_CEC2_PROT_PM =380, 614 E_SEAL_PM_CEC3_PROT_PM =381, 615 E_SEAL_MOD2_PROT_NONPM =382, 616 E_SEAL_GOPG4_0_PROT_NONPM =383, 617 E_SEAL_GOPG4_1_PROT_NONPM =384, 618 E_SEAL_GOPG4_ST_PROT_NONPM =385, 619 E_SEAL_USB30_MIU_ARB_PROT_NONPM =386, 620 E_SEAL_ZDEC_PROT_NONPM =387, 621 E_SEAL_PATGEN_CODEC_PROT_NONPM =388, 622 E_SEAL_PATGEN_VIV_PROT_NONPM =389, 623 E_SEAL_PATGEN_CPU_PROT_NONPM =390, 624 E_SEAL_PATGEN_GPU_PROT_NONPM =391, 625 E_SEAL_PATGEN_DEMOD_PROT_NONPM =392, 626 E_SEAL_PATGEN_TSP_PROT_NONPM =393, 627 E_SEAL_PATGEN_DVI_PROT_NONPM =394, 628 E_SEAL_PATGEN_EVD_PROT_NONPM =395, 629 E_SEAL_PATGEN_SC0_PROT_NONPM =396, 630 E_SEAL_PATGEN_SC1_PROT_NONPM =397, 631 E_SEAL_PATGEN_SC2_PROT_NONPM =398, 632 E_SEAL_COMBO_PHY0_P0_PROT_NONPM =399, 633 E_SEAL_COMBO_PHY1_P0_PROT_NONPM =400, 634 E_SEAL_COMBO_PHY0_P1_PROT_NONPM =401, 635 E_SEAL_COMBO_PHY1_P1_PROT_NONPM =402, 636 E_SEAL_COMBO_PHY0_P2_PROT_NONPM =403, 637 E_SEAL_COMBO_PHY1_P2_PROT_NONPM =404, 638 E_SEAL_COMBO_PHY0_P3_PROT_NONPM =405, 639 E_SEAL_COMBO_PHY1_P3_PROT_NONPM =406, 640 E_SEAL_DVI_DTOP_DUAL_P0_PROT_NONPM =407, 641 E_SEAL_DVI_RSV_DUAL_P0_PROT_NONPM =408, 642 E_SEAL_HDCP_DUAL_P0_PROT_NONPM =409, 643 E_SEAL_DVI_DTOP_DUAL_P1_PROT_NONPM =410, 644 E_SEAL_DVI_RSV_DUAL_P1_PROT_NONPM =411, 645 E_SEAL_HDCP_DUAL_P1_PROT_NONPM =412, 646 E_SEAL_DVI_DTOP_DUAL_P2_PROT_NONPM =413, 647 E_SEAL_DVI_RSV_DUAL_P2_PROT_NONPM =414, 648 E_SEAL_HDCP_DUAL_P2_PROT_NONPM =415, 649 E_SEAL_DVI_DTOP_DUAL_P3_PROT_NONPM =416, 650 E_SEAL_DVI_RSV_DUAL_P3_PROT_NONPM =417, 651 E_SEAL_HDCP_DUAL_P3_PROT_NONPM =418, 652 E_SEAL_HDMI_DUAL_0_PROT_NONPM =419, 653 E_SEAL_HDMI2_DUAL_0_PROT_NONPM =420, 654 E_SEAL_HDMI_DUAL_1_PROT_NONPM =421, 655 E_SEAL_HDMI2_DUAL_1_PROT_NONPM =422, 656 E_SEAL_COMBO_GP_TOP_PROT_NONPM =423, 657 E_SEAL_USB30HS_UHC_PROT_NONPM =424, 658 E_SEAL_USB30HS1_UHC_PROT_NONPM =425, 659 E_SEAL_USB30HS_USBC_PROT_NONPM =426, 660 E_SEAL_USB30HS1_USBC_PROT_NONPM =427, 661 E_SEAL_USB30PHY1_DTOP_M_0_PROT_NONPM =428, 662 E_SEAL_USB30PHY1_ATOP_M_0_NONPM =429, 663 E_SEAL_MSPI_MCARD_PROT_NONPM =430, 664 E_SEAL_VP9_TOP_PROT_NONPM =431, 665 E_SEAL_GPU_PLL_PROT_NONPM =432, 666 E_SEAL_VIVALDI8_PROT_NONPM =433, 667 E_SEAL_VIVALDI9_PROT_NONPM =434, 668 E_SEAL_VIVALDIa_PROT_NONPM =435, 669 E_SEAL_VIVALDIb_PROT_NONPM =436, 670 E_SEAL_PM_PATGEN_PROT_PM =437, 671 E_SEAL_SCDC_0_PROT_PM =438, 672 E_SEAL_SCDC_1_PROT_PM =439, 673 E_SEAL_SCDC_2_PROT_PM =440, 674 E_SEAL_SCDC_3_PROT_PM =441, 675 E_SEAL_SECURE_TZPC_PROT_NONPM =442, 676 E_SEAL_UP110_PORT_NONPM =443, 677 E_SEAL_UP111_PORT_NONPM =444, 678 E_SEAL_IDAC_NONPM =445, 679 E_SEAL_DIPW_NONPM =446, 680 E_SEAL_VE_DISC_NONPM =447, 681 E_SEAL_VE_GAMA_NONPM =448, 682 E_SEAL_GOP0G_0_PROT_NONPM =449, 683 E_SEAL_GOP0G_1_PROT_NONPM =450, 684 E_SEAL_GOP0G_ST_PROT_NONPM =451, 685 E_SEAL_GOP3G_0_PROT_NONPM =452, 686 E_SEAL_GOP3G_1_PROT_NONPM =453, 687 E_SEAL_GOP3G_ST_PROT_NONPM =454, 688 E_SEAL_PM_SPARE2_PROT_PM =455, 689 E_SEAL_PM_SPARE3_PROT_PM =456, 690 E_SEAL_HDMITX_PROT_NONPM =457, 691 E_SEAL_HDCPTX_PROT_NONPM =458, 692 E_SEAL_SDIO_PLL_PROT_NONPM =459, 693 E_SEAL_TSP4_PROT_NONPM =460, 694 E_SEAL_TSP5_PROT_NONPM =461, 695 E_SEAL_MIIC_PM0_PROT_PM =462, 696 E_SEAL_TZPC_PM_PROT_PM =463, 697 E_SEAL_TS_SAMPLE_NONPM =464, 698 E_SEAL_CLKGEN_SC_FE =465, 699 E_SEAL_CLKGEN_SC_BE =466, 700 E_SEAL_CLKGEN_SC_GP2 =467, 701 E_SEAL_SC_GPLUS =468, 702 E_SEAL_SRAM_LDO =469, 703 E_SEAL_VIVALDIa_0_PROT_NONPM =470, 704 E_SEAL_VIVALDIa_1_PROT_NONPM =471, 705 E_SEAL_VIVALDIa_2_PROT_NONPM =472, 706 E_SEAL_VIVALDIa_3_PROT_NONPM =473, 707 E_SEAL_MHL_ECBUS_PROT_NONPM =474, 708 E_SEAL_CBUS_AUDIO_PROT_NONPM =475, 709 E_SEAL_MHL_ECBUS_PHY_PROT_NONPM =476, 710 E_SEAL_L2_CACHE_PROT_NONPM =477, 711 E_SEAL_PADTOP0_PROT_NONPM =478, 712 E_SEAL_PADTOP1_PROT_NONPM =479, 713 E_SEAL_MIPS_PATGEN_PROT_NONPM =480, 714 E_SEAL_ANA_MISC_MIPSPLL_PROT_NONPM =481, 715 E_SEAL_ANA_MISC_HDMI_PROT_NONPM =482, 716 E_SEAL_ANA_MISC_DSP_PROT_NONPM =483, 717 E_SEAL_RASP0_PROT_NONPM =484, 718 E_SEAL_RASP1_PROT_NONPM =485, 719 E_SEAL_RASP2_PROT_NONPM =486, 720 E_SEAL_RASP3_PROT_NONPM =487, 721 E_SEAL_HDNITX_MISC_PROT_NONPM =488, 722 E_SEAL_GOPMIX_PROT_NONPM =489, 723 E_SEAL_DAC_PLL_PROT_NONPM =490, 724 E_SEAL_SECEMAC0_PROT_NONPM =491, 725 E_SEAL_SECEMAC1_PROT_NONPM =492, 726 E_SEAL_SECEMAC2_PROT_NONPM =493, 727 E_SEAL_SECEMAC3_PROT_NONPM =494, 728 E_SEAL_SECEMAC4_PROT_NONPM =495, 729 E_SEAL_VE_VTRACK_NONPM =496, 730 E_SEAL_VE_P2I_NONPM =497, 731 E_SEAL_RASP0_FILE_PROT_NONPM =498, 732 E_SEAL_RASP1_FILE_PROT_NONPM =499, 733 E_SEAL_MIU_KEY_PROT_NONPM =500, 734 E_SEAL_PCM1_PROT_NONPM =501, 735 E_SEAL_FI_QUEUE_PROT_NONPM =502, 736 E_SEAL_CH34_MOD_PROT_NONPM =503, 737 E_SEAL_BYTE_WR_PROT_NONPM =504, 738 E_SEAL_ONEWAY_PROT_NONPM =505, 739 E_SEAL_TSP6_PROT_NONPM =506, 740 E_SEAL_TSP7_PROT_NONPM =507, 741 E_SEAL_CA_MIUCROSSBAR_PROT_NONPM =508, 742 E_SEAL_EMM_FLT1_PROT_NONPM =509, 743 E_SEAL_CA_PWD_PROT_NONPM =510, 744 E_SEAL_EMM_FLT0_PROT_NONPM =511, 745 E_SEAL_TSO0_PROT_NONPM =512, 746 E_SEAL_KC_DESC_PROT_NONPM =513, 747 E_SEAL_SEC_R2_CPU_PROT_NONPM =514, 748 E_SEAL_X32_NSK_NONPM =515, 749 E_SEAL_X32_BRIDGE_NONPM =516, 750 E_SEAL_X32_CIPHERCH0_NONPM =517, 751 E_SEAL_X32_CIPHERCH1_NONPM =518, 752 E_SEAL_X32_TSCEBANK0_NONPM =519, 753 E_SEAL_X32_TSCEBANK1_NONPM =520, 754 E_SEAL_X32_CRYPTODMA0_NONPM =521, 755 E_SEAL_X32_CRYPTODMA1_NONPM =522, 756 E_SEAL_X32_KEYTABLE_NONPM =523, 757 E_SEAL_X32_KEYLADDER0_NONPM =524, 758 E_SEAL_X32_KEYLADDER1_NONPM =525, 759 E_SEAL_X32_KEYLADDER2_NONPM =526, 760 E_SEAL_X32_PROGPVR0_NONPM =527, 761 E_SEAL_X32_PROGPVR1_NONPM =528, 762 E_SEAL_X32_PROGPVR2_NONPM =529, 763 E_SEAL_X32_PROGPVR3_NONPM =530, 764 E_SEAL_X32_RSA_NONPM =531, 765 E_SEAL_X32_MAILBOX_NONPM =532, 766 E_SEAL_X32_OTP_CTRL_NONPM =533, 767 E_SEAL_X32_OTP_PUB0_NONPM =534, 768 E_SEAL_X32_OTP_PUB1_NONPM =535, 769 E_SEAL_X32_OTP_PUB2_NONPM =536, 770 E_SEAL_X32_OTP_PUB3_NONPM =537, 771 E_SEAL_X32_NI_NONPM =538, 772 E_SEAL_X32_AKL0_NONPM =539, 773 E_SEAL_X32_AKL1_NONPM =540, 774 E_SEAL_X32_XIUGEN_NONPM =541, 775 E_SEAL_ONEWAY_PROT_PM =542, 776 E_SEAL_SEC_PROT_PM =543, 777 E_SEAL_UART5_PROT_NONPM =544, 778 E_SEAL_SPARE6_PROT_NONPM =545, 779 E_SEAL_SPARE7_PROT_NONPM =546, 780 E_SEAL_USBC0_PROT_NONPM =547, 781 E_SEAL_USBC1_PROT_NONPM =548, 782 E_SEAL_USBC2_PROT_NONPM =549, 783 E_SEAL_USBC3_PROT_NONPM =550, 784 E_SEAL_SPI2FCIE_PROT_NONPM =551, 785 E_SEAL_GPU_PLL_PROT_NONPN =552, 786 E_SEAL_VIVALDIc_PROT_NONPM =553, 787 E_SEAL_VIVALDId_PROT_NONPM =554, 788 E_SEAL_DMD_MCU2_PROT_NONPM =555, 789 E_SEAL_MIU_ARB_SC_NONPM =556, 790 E_SEAL_MIU_ARB2_SC_NONPM =557, 791 E_SEAL_VIVALDIb_0_PROT_NONPM =558, 792 E_SEAL_VIVALDIb_1_PROT_NONPM =559, 793 E_SEAL_VIVALDIb_2_PROT_NONPM =560, 794 E_SEAL_VIVALDIb_3_PROT_NONPM =561, 795 E_SEAL_PM_POR_PROT_PM =562, 796 E_SEAL_TSP8_PROT_NONPM =563, 797 E_SEAL_MCM_DIG_PROT_NONPM =564, 798 E_SEAL_MCM_CODEC_PROT_NONPM =565, 799 E_SEAL_MCM_TSP_PROT_NONPM =566, 800 E_SEAL_MCM_VIVALdi9_PROT_NONPM =567, 801 E_SEAL_MCM_SC_PROT_NONPM =568, 802 E_SEAL_MCM_DMD_PROT_NONPM =569, 803 E_SEAL_OTV23_PROT_NONPM =570, 804 E_SEAL_OTV01_PROT_NONPM =571, 805 E_SEAL_EVD_1_PROT_NONPM =572, 806 E_SEAL_SMART2_PROT_NONPM =573, 807 E_SEAL_SECMCU51_PROT_NONPM =574, 808 E_SEAL_ANA_MISC_EVDPLL_MIUPLL_PROT_NONPM =575, 809 E_SEAL_ANA_MISC_MPLLTOP_PROT_NONPM =576, 810 E_SEAL_HI_VDR2_PROT_NONPM =577, 811 E_SEAL_HI_VDR2_HIREG_PROT_NONPM =578, 812 E_SEAL_AU_R2_PROT_NONPM =579, 813 E_SEAL_GOP_AFBC_PROT_NONPM =580, 814 E_SEAL_MCU_ARM_PMU0_PROT_NONPM =581, 815 E_SEAL_GOPMIX_SD_PROT_NONPM =582, 816 E_SEAL_SPI_PRE_ARB_PROT_NONPM =583, 817 E_SEAL_SECGMAC0_PROT_NONPM =584, 818 E_SEAL_SECGMAC1_PROT_NONPM =585, 819 E_SEAL_SECGMAC2_PROT_NONPM =586, 820 E_SEAL_SECGMAC3_PROT_NONPM =587, 821 E_SEAL_SECGMAC4_PROT_NONPM =588, 822 E_SEAL_PCIE_MAC_PROT_NONPM =589, 823 E_SEAL_PCIE_AXI2MI_BRI_PROT_NONPM =590, 824 E_SEAL_USB30_SS_MIUPROT0_PROT_NONPM =591, 825 E_SEAL_USB30_HS0_MIUPROT1_PROT_NONPM =592, 826 E_SEAL_USB30_HS1_MIUPROT2_PROT_NONPM =593, 827 E_SEAL_CLKDET_PROT_NONPM =594, 828 E_SEAL_EMACMIUPROT_PROT_NONPM =595, 829 E_SEAL_CALB_PROT_NONPM =596, 830 E_SEAL_VIVALDIa_4_PROT_NONPM =597, 831 E_SEAL_VIVALDIa_5_PROT_NONPM =598, 832 E_SEAL_TSP9_PROT_NONPM =599, 833 E_SEAL_TSP10_PROT_NONPM =600, 834 E_SEAL_USBMIUPROT0_PROT_NONPM =601, 835 E_SEAL_USBMIUPROT1_PROT_NONPM =602, 836 E_SEAL_USBMIUPROT2_PROT_NONPM =603, 837 E_SEAL_DIG_TOP_PROT_NONPM =604, 838 E_SEAL_PATGEN_ROOT_PROT_NONPM =605, 839 E_SEAL_CODEC_BLOCK_PROT_NONPM =606, 840 E_SEAL_HI_CODEC_BLOCK_PROT_NONPM =607, 841 E_SEAL_PATGEN_HI_CODEC_BLOCK_PROT_NONPM =608, 842 E_SEAL_SC_BLOCK_PROT_NONPM =609, 843 E_SEAL_PATGEN_SC_PROT_NONPM =610, 844 E_SEAL_TSP_BLOCK_PROT_NONPM =611, 845 E_SEAL_VIVALDI9_BLOCK_PROT_NONPM =612, 846 E_SEAL_PATGEN_VIVALDI9_PROT_NONPM =613, 847 E_SEAL_GPU_BLOCK_PROT_NONPM =614, 848 E_SEAL_HI_CODEC_LITE_BLOCK_PROT_NONPM =615, 849 E_SEAL_PATGEN_HI_CODEC_BLOCK_LITE_NONPM =616, 850 E_SEAL_PATGEN_GPU_DIE_PROT_NONPM =617, 851 E_SEAL_HDCP22TX_PROT_NONPM =618, 852 E_SEAL_HDMITX_PHY_PROT_NONPM =619, 853 E_SEAL_VMX_VMARK_SC0_PROT_NONPM =620, 854 E_SEAL_VMX_VMARK_SC1_PROT_NONPM =621, 855 E_SEAL_HDMI3_DUAL_0_PROT_NONPM =622, 856 E_SEAL_HDMITX2_PROT_NONPM =623, 857 E_SEAL_X32_RNG_PROT_NONPM =624, 858 E_SEAL_X32_GPUAPB_PROT_NONPM =625, 859 E_SEAL_X32_PCIE_MAC_PROT_NONPM =626, 860 E_SEAL_CRYPTODMA_GEN_SECURE_PROT_NONPM =627, 861 E_SEAL_CRYPTODMA_GEN_NON_SEcure_PROT_NONPM =628, 862 E_SEAL_CRYPTODMA_SEC_R2_PROT_NONPM =629, 863 E_SEAL_CRYPTODMA_SEC_51_PROT_NONPM =630, 864 E_SEAL_PM51_TO_MIU_PROT_NONPM =631, 865 E_SEAL_ARM2MIU_NON_SECURE_PROT_NONPM =632, 866 E_SEAL_ARM2MIU_SECURE_PROT_NONPM =633, 867 E_SEAL_DEMOD_DMDMCU51_MIU_PROT_NONPM =634, 868 E_SEAL_ANA_MISC_MPOP_PROT_NONPM =635, 869 E_SEAL_CRYPTODMA_SEC_R2_PROT_NONPN =636, 870 E_SEAL_MSPI0_PROT_PM =637, 871 E_SEAL_BYTE2WORD_PROT_PM =638, 872 E_SEAL_FSC1_PROT_PM =639, 873 E_SEAL_OTP_LDO_PROT_PM =640, 874 E_SEAL_MFSC_PROT_NONPM =641, 875 E_SEAL_PATGEN_FSC_PROT_NONPM =642, 876 E_SEAL_USB0_MIUPROT_PROT_NONPM =643, 877 E_SEAL_USB1_MIUPROT_PROT_NONPM =644, 878 E_SEAL_USB2_MIUPROT_PROT_NONPM =645, 879 E_SEAL_USB3_MIUPROT_PROT_NONPM =646, 880 E_SEAL_VIVALDIe_PROT_NONPM =647, 881 E_SEAL_VIVALDIf_PROT_NONPM =648, 882 E_SEAL_MIU_ARB3_SC_NONPM =649, 883 E_SEAL_MIU_ARB_FRC_NONPM =650, 884 E_SEAL_MIU_ARB2_FRC_NONPM =651, 885 E_SEAL_DSCRMB6_PROT_NONPM =652, 886 E_SEAL_DSCRMB7_PROT_NONPM =653, 887 E_SEAL_CRI_KL_PROT_NONPM =654, 888 E_SEAL_CERT_KL_PROT_NONPM =655, 889 E_SEAL_X32_CRI_APB_PROT_NONPM =656, 890 E_SEAL_X32_CERT_PROT_NONPM =657, 891 E_SEAL_COMB1_PROT_NONPM =658, 892 E_SEAL_COMB2_PROT_NONPM =659, 893 E_SEAL_COMB3_PROT_NONPM =660, 894 E_SEAL_COMB4_PROT_NONPM =661, 895 E_SEAL_COMB5_PROT_NONPM =662, 896 E_SEAL_PDW0_PROT_NONPM =663, 897 E_SEAL_PDW1_PROT_NONPM =664, 898 E_SEAL_DIP_PROT_NONPM =665, 899 E_SEAL_IP_NUM =666 900 }eSeal_IP; 901 902 typedef enum 903 { 904 E_SEAL_LOCK_NONE =0, 905 E_SEAL_LOCK_DUMMY =1, 906 E_SEAL_VD_R2_INST_BUF =2, 907 E_SEAL_HK_R2_INST_BUF =3, 908 E_SEAL_AUDIO_DEC_R2_INST_BUF =4, 909 E_SEAL_AUDIO_DEC_ES_BUF =5, 910 E_SEAL_AUDIO_ENC_R2_INST_BUF =6, 911 E_SEAL_AUDIO_ENC_ES_BUF =7, 912 E_SEAL_HVD_ES0_BUF =8, 913 E_SEAL_HVD_ES1_BUF =9, 914 E_SEAL_HVD_ES2_BUF =10, 915 E_SEAL_MFE0_ES_BUF =11, 916 E_SEAL_MFE1_ES_BUF =12, 917 E_SEAL_TSP_AEON_INS_BUF =13, 918 E_SEAL_PVR_BUF =14, 919 E_SEAL_SECURE_RANGE =15, 920 E_SEAL_SC_BUF =16, 921 E_SEAL_GE_BUF =17, 922 E_SEAL_SC_WP_DIPW =18, 923 E_SEAL_SC_RP_DIPW =19, 924 E_SEAL_SC_WP_DIPR =20, 925 E_SEAL_SC_RP_DIPR =21, 926 E_SEAL_CIPHERENG_WP_SYSKEY =22, 927 E_SEAL_CIPHERENG_RP_SYSKEY =23, 928 E_SEAL_DSCRMB_WP_RIV0 =24, 929 E_SEAL_DSCRMB_RP_RIV0 =25, 930 E_SEAL_DSCRMB_WP_RIV1 =26, 931 E_SEAL_DSCRMB_RP_RIV1 =27, 932 E_SEAL_DSCRMB_WP_WDATA =28, 933 E_SEAL_DSCRMB_RP_WDATA =29, 934 E_SEAL_DSCRMB_RP_RDATA =30, 935 E_SEAL_RNG_PROTECT =31, 936 E_SEAL_RSA_PROTECT =32, 937 E_SEAL_SHA_PROTECT =33, 938 E_SEAL_MVD_WR_PROTN_0 =34, 939 E_SEAL_MVD_WR_PROTN_1 =35, 940 E_SEAL_MVD_WR_PROTN_2 =36, 941 E_SEAL_EVD_0_WR_PROTN_0 =37, 942 E_SEAL_EVD_1_WR_PROTN_0 =38, 943 E_SEAL_MHEG5_WR_PROTN_0 =39, 944 E_SEAL_TSO_WP_TSOFI =40, 945 E_SEAL_TSO_RP_TSOFI =41, 946 E_SEAL_MMFI_WP_MMFI0 =42, 947 E_SEAL_MMFI_RP_MMFI0 =43, 948 E_SEAL_MMFI_WP_MMFI1 =44, 949 E_SEAL_MMFI_RP_MMFI1 =45, 950 E_SEAL_TSP0_WP_PVR =46, 951 E_SEAL_TSP0_RP_PVR =47, 952 E_SEAL_TSP0_WP_PVR1 =48, 953 E_SEAL_TSP0_RP_PVR1 =49, 954 E_SEAL_TSP0_WP_FILEIN =50, 955 E_SEAL_TSP0_RP_FILEIN =51, 956 E_SEAL_TSP0_WP_QMEM =52, 957 E_SEAL_TSP0_RP_QMEM =53, 958 E_SEAL_TSP0_WP_FW =54, 959 E_SEAL_TSP0_RP_FW =55, 960 E_SEAL_VE_WP =56, 961 E_SEAL_VE_RP =57, 962 E_SEAL_SC_WP_OD =58, 963 E_SEAL_SC_RP_OD =59, 964 E_SEAL_SC_WP_SCM_M =60, 965 E_SEAL_SC_RP_SCM_M =61, 966 E_SEAL_SC_WP_SCM_S =62, 967 E_SEAL_SC_RP_SCM_S =63, 968 E_SEAL_SC_WP_PDW0 =64, 969 E_SEAL_SC_RP_PDW0 =65, 970 E_SEAL_SC_WP_PDW1 =66, 971 E_SEAL_SC_RP_PDW1 =67, 972 E_SEAL_SC_WP_OPW =68, 973 E_SEAL_SC_RP_OPW =69, 974 E_SEAL_GOPD_PROTN =70, 975 E_SEAL_GE0_SB_PROTN =71, 976 E_SEAL_GE0_DB_PROTN =72, 977 E_SEAL_GE1_SB_PROTN =73, 978 E_SEAL_GE1_DB_PROTN =74, 979 E_SEAL_AUDIO_LCL_R2_WR_PROTN_0 =75, 980 E_SEAL_AUDIO_LCL_R2_WR_PROTN_1 =76, 981 E_SEAL_AUDIO_LCL_R2_WR_PROTN_2 =77, 982 E_SEAL_AUDIO_LCL_R2_WR_PROTN_3 =78, 983 E_SEAL_AUDIO_SCL_R2_WR_PROTN_0 =79, 984 E_SEAL_AUDIO_SCL_R2_WR_PROTN_1 =80, 985 E_SEAL_AUDIO_SCL_R2_WR_PROTN_2 =81, 986 E_SEAL_AUDIO_SCL_R2_WR_PROTN_3 =82, 987 E_SEAL_SECURE_R2_WR_PROTN_0 =83, 988 E_SEAL_SECURE_R2_WR_PROTN_1 =84, 989 E_SEAL_SECURE_R2_WR_PROTN_2 =85, 990 E_SEAL_SECURE_R2_WR_PROTN_3 =86, 991 E_SEAL_EVD_R2_WR_PROTN_0 =87, 992 E_SEAL_EVD_R2_WR_PROTN_1 =88, 993 E_SEAL_EVD_R2_WR_PROTN_2 =89, 994 E_SEAL_EVD_R2_WR_PROTN_3 =90, 995 E_SEAL_HVD_R2_WR_PROTN_0 =91, 996 E_SEAL_HVD_R2_WR_PROTN_1 =92, 997 E_SEAL_HVD_R2_WR_PROTN_2 =93, 998 E_SEAL_HVD_R2_WR_PROTN_3 =94, 999 E_SEAL_AUDIO_DSP_ES_PROTN =95, 1000 E_SEAL_AUDIO_DSP_CACHE_PROTN =96, 1001 E_SEAL_EVD_0_WR_PROTN_1 =97, 1002 E_SEAL_EVD_1_WR_PROTN_1 =98, 1003 E_SEAL_DSCRMB_WP_RIV2 =99, 1004 E_SEAL_DSCRMB_RP_RIV2 =100, 1005 E_SEAL_DSCRMB_WP_RIV3 =101, 1006 E_SEAL_DSCRMB_RP_RIV3 =102, 1007 E_SEAL_SC2_WP_SCM_M =103, 1008 E_SEAL_SC2_RP_SCM_M =104, 1009 E_SEAL_VP9_TOP =105, 1010 E_SEAL_TSP0_WP_FILEIN1 =106, 1011 E_SEAL_TSP0_RP_FILEIN1 =107, 1012 E_SEAL_TSP0_WP_PVR2 =108, 1013 E_SEAL_TSP0_RP_PVR2 =109, 1014 E_SEAL_TSP0_WP_FIQ =110, 1015 E_SEAL_TSP0_RP_FIQ =111, 1016 E_SEAL_MVOP_WP_TLB =112, 1017 E_SEAL_AUDIO_PAS_PROTN =113, 1018 E_SEAL_AUDIO_AL_PROTN =114, 1019 E_SEAL_TSP_WP_PVR3 =115, 1020 E_SEAL_TSP_RP_PVR3 =116, 1021 E_SEAL_TSP_WP_FILEIN2 =117, 1022 E_SEAL_TSP_RP_FILEIN2 =118, 1023 E_SEAL_TSP_WP_FILEIN3 =119, 1024 E_SEAL_TSP_RP_FILEIN3 =120, 1025 E_SEAL_TSP_WP_FILEIN4 =121, 1026 E_SEAL_TSP_RP_FILEIN4 =122, 1027 E_SEAL_TSP_WP_FILEIN5 =123, 1028 E_SEAL_TSP_RP_FILEIN5 =124, 1029 E_SEAL_CRI_KL_WP_N =125, 1030 E_SEAL_PCIERC_IBWP_PROTN =126, 1031 E_SEAL_PCIERC_OBWP_PROTN =127, 1032 E_SEAL_TSP_WP_FILEIN1 =128, 1033 E_SEAL_TSP_RP_FILEIN1 =129, 1034 E_SEAL_TSP_WP_FIQ0 =130, 1035 E_SEAL_TSP_RP_FIQ0 =131, 1036 E_SEAL_TSP_WP_PVR4 =132, 1037 E_SEAL_TSP_RP_PVR4 =133, 1038 E_SEAL_TSP_WP_FIQ1 =134, 1039 E_SEAL_TSP_RP_FIQ1 =135, 1040 E_SEAL_TSP_WP_ORZ =136, 1041 E_SEAL_TSP_RP_ORZ =137, 1042 E_SEAL_USB_MIUPROT_WP_N =138, 1043 E_SEAL_EMAC_MIUPROT_WP_N =139, 1044 E_SEAL_PCIE_MIUPROT_WP_N =140, 1045 E_SEAL_AU_HDMI_DMA_WP_N =141, 1046 E_SEAL_TSP_WP_VQ =142, 1047 E_SEAL_TSP_RP_VQ =143, 1048 E_SEAL_TSP_WP_SEC =144, 1049 E_SEAL_TSP_RP_SEC =145, 1050 E_SEAL_TSP_WP_FIQ2 =146, 1051 E_SEAL_TSP_RP_FIQ2 =147, 1052 E_SEAL_TSP_WP_FIQ3 =148, 1053 E_SEAL_TSP_RP_FIQ3 =149, 1054 E_SEAL_EVD_LITE_0_WR_PROTN_0 =150, 1055 E_SEAL_EVD_LITE_1_WR_PROTN_1 =151, 1056 E_SEAL_LOCK_NUM =152 1057 }eSeal_Lock; 1058 1059 typedef struct 1060 { 1061 MS_BOOL bIsHit; 1062 MS_U8 u8MiuDev; 1063 MS_U8 u8SecureRangeId; 1064 MS_U8 u8ClientId; 1065 MS_BOOL bIsSecure; 1066 MS_BOOL bIsWrite; 1067 MS_U64 u64HitAddr; 1068 }Seal_PortectInfo; 1069 1070 typedef struct 1071 { 1072 MS_U8 u8MiuDev; 1073 MS_U8 u8SecureRangeId; 1074 MS_U64 u64StartAddr; 1075 MS_U64 u64EndAddr; 1076 MS_U32 u32Attribute; 1077 }Seal_SecureRangeInfo; 1078 1079 typedef void (*SEAL_CB_FUNC)(InterruptNum eIntNum); 1080 //------------------------------------------------------------------------------------------------- 1081 // Extern Global Variabls 1082 //------------------------------------------------------------------------------------------------- 1083 1084 //------------------------------------------------------------------------------------------------- 1085 // Extern Functions 1086 //------------------------------------------------------------------------------------------------- 1087 //------------------------------------------------------------------------------------------------- 1088 /// Set IR enable function. 1089 /// @ingroup G_SEAL_INIT 1090 /// @param bEnable \b IN: TRUE: enable IR, FALSE: disable IR 1091 /// @return E_IR_OK: Success 1092 /// @return E_IR_FAIL or other values: Failure 1093 //------------------------------------------------------------------------------------------------- 1094 MS_BOOL MDrv_SEAL_Init(void); 1095 //------------------------------------------------------------------------------------------------- 1096 /// Set IR enable function. 1097 /// @ingroup G_SEAL_CONTROL 1098 /// @param bEnable \b IN: TRUE: enable IR, FALSE: disable IR 1099 /// @return E_IR_OK: Success 1100 /// @return E_IR_FAIL or other values: Failure 1101 //------------------------------------------------------------------------------------------------- 1102 MS_BOOL MDrv_Seal_SecureRangeSet(MS_U8 u8SecureRangeId ,MS_U64 u64StartAddr, MS_U64 u64EndAddr, MS_U32 u32Attribute); 1103 //------------------------------------------------------------------------------------------------- 1104 /// Set IR enable function. 1105 /// @ingroup G_SEAL_CONTROL 1106 /// @param bEnable \b IN: TRUE: enable IR, FALSE: disable IR 1107 /// @return E_IR_OK: Success 1108 /// @return E_IR_FAIL or other values: Failure 1109 //------------------------------------------------------------------------------------------------- 1110 MS_BOOL MDrv_Seal_SecureRangeQuery(MS_U8 u8MiuDev, MS_U8 u8SecureRangeId, Seal_SecureRangeInfo *pSecureRangeInfo); 1111 //------------------------------------------------------------------------------------------------- 1112 /// Set IR enable function. 1113 /// @ingroup G_SEAL_CONTROL 1114 /// @param bEnable \b IN: TRUE: enable IR, FALSE: disable IR 1115 /// @return E_IR_OK: Success 1116 /// @return E_IR_FAIL or other values: Failure 1117 //------------------------------------------------------------------------------------------------- 1118 // MS_BOOL MDrv_Seal_IMI_RangeSet(MS_U32 u32StartAddr, MS_U32 u32EndAddr, MS_BOOL bEnable); 1119 //------------------------------------------------------------------------------------------------- 1120 /// Set IR enable function. 1121 /// @ingroup G_SEAL_CONTROL 1122 /// @param bEnable \b IN: TRUE: enable IR, FALSE: disable IR 1123 /// @return E_IR_OK: Success 1124 /// @return E_IR_FAIL or other values: Failure 1125 //------------------------------------------------------------------------------------------------- 1126 MS_BOOL MDrv_Seal_GetHittedInfo(MS_U8 u8MiuDev, Seal_PortectInfo *pInfo); 1127 //------------------------------------------------------------------------------------------------- 1128 /// Set IR enable function. 1129 /// @ingroup G_SEAL_CONTROL 1130 /// @param bEnable \b IN: TRUE: enable IR, FALSE: disable IR 1131 /// @return E_IR_OK: Success 1132 /// @return E_IR_FAIL or other values: Failure 1133 //------------------------------------------------------------------------------------------------- 1134 // MS_BOOL MDrv_Seal_SecureRangeLock(MS_U8 u8MiuDev, MS_U8 u8SecureRangeId); 1135 //------------------------------------------------------------------------------------------------- 1136 /// Set IR enable function. 1137 /// @ingroup G_SEAL_CONTROL 1138 /// @param bEnable \b IN: TRUE: enable IR, FALSE: disable IR 1139 /// @return E_IR_OK: Success 1140 /// @return E_IR_FAIL or other values: Failure 1141 //------------------------------------------------------------------------------------------------- 1142 MS_BOOL MDrv_Seal_NonSecureProcessorSet(MS_U8 u8ProcessorId, MS_BOOL bNonEnable); 1143 //------------------------------------------------------------------------------------------------- 1144 /// Set IR enable function. 1145 /// @ingroup G_SEAL_CONTROL 1146 /// @param bEnable \b IN: TRUE: enable IR, FALSE: disable IR 1147 /// @return E_IR_OK: Success 1148 /// @return E_IR_FAIL or other values: Failure 1149 //------------------------------------------------------------------------------------------------- 1150 MS_BOOL MDrv_Seal_NonSecureProcessorQuery(MS_U8 u8ProcessorId, MS_BOOL *bNonSecure); 1151 //------------------------------------------------------------------------------------------------- 1152 /// Set IR enable function. 1153 /// @ingroup G_SEAL_CONTROL 1154 /// @param bEnable \b IN: TRUE: enable IR, FALSE: disable IR 1155 /// @return E_IR_OK: Success 1156 /// @return E_IR_FAIL or other values: Failure 1157 //------------------------------------------------------------------------------------------------- 1158 MS_BOOL MDrv_Seal_SecureSlaveSet(MS_U32 u32SlaveId, MS_BOOL bSecure); 1159 //------------------------------------------------------------------------------------------------- 1160 /// Set IR enable function. 1161 /// @ingroup G_SEAL_CONTROL 1162 /// @param bEnable \b IN: TRUE: enable IR, FALSE: disable IR 1163 /// @return E_IR_OK: Success 1164 /// @return E_IR_FAIL or other values: Failure 1165 //------------------------------------------------------------------------------------------------- 1166 MS_BOOL MDrv_Seal_SecureSlaveQuery(MS_U32 u32SlaveId, MS_BOOL *pSecure); 1167 //------------------------------------------------------------------------------------------------- 1168 /// Set IR enable function. 1169 /// @ingroup G_SEAL_CONTROL 1170 /// @param bEnable \b IN: TRUE: enable IR, FALSE: disable IR 1171 /// @return E_IR_OK: Success 1172 /// @return E_IR_FAIL or other values: Failure 1173 //------------------------------------------------------------------------------------------------- 1174 MS_BOOL MDrv_Seal_SecureMasterSet(MS_U32 u32MasterId, MS_BOOL bSecure); 1175 //------------------------------------------------------------------------------------------------- 1176 /// Set IR enable function. 1177 /// @ingroup G_SEAL_CONTROL 1178 /// @param bEnable \b IN: TRUE: enable IR, FALSE: disable IR 1179 /// @return E_IR_OK: Success 1180 /// @return E_IR_FAIL or other values: Failure 1181 //------------------------------------------------------------------------------------------------- 1182 MS_BOOL MDrv_Seal_SecureMasterQuery(MS_U32 u32MasterId, MS_BOOL *pSecure); 1183 //------------------------------------------------------------------------------------------------- 1184 /// Set IR enable function. 1185 /// @ingroup G_SEAL_CONTROL 1186 /// @param bEnable \b IN: TRUE: enable IR, FALSE: disable IR 1187 /// @return E_IR_OK: Success 1188 /// @return E_IR_FAIL or other values: Failure 1189 //------------------------------------------------------------------------------------------------- 1190 // MS_U32 MDrv_Seal_SetPowerState(EN_POWER_MODE u16PowerState); 1191 //------------------------------------------------------------------------------------------------- 1192 /// Set IR enable function. 1193 /// @ingroup G_SEAL_CONTROL 1194 /// @param bEnable \b IN: TRUE: enable IR, FALSE: disable IR 1195 /// @return E_IR_OK: Success 1196 /// @return E_IR_FAIL or other values: Failure 1197 //------------------------------------------------------------------------------------------------- 1198 MS_BOOL MDrv_Seal_BufferLock(MS_U8 u8BufferLockId, MS_BOOL bLock); 1199 //------------------------------------------------------------------------------------------------- 1200 /// Set IR enable function. 1201 /// @ingroup G_SEAL_INT 1202 /// @param bEnable \b IN: TRUE: enable IR, FALSE: disable IR 1203 /// @return E_IR_OK: Success 1204 /// @return E_IR_FAIL or other values: Failure 1205 //------------------------------------------------------------------------------------------------- 1206 MS_BOOL MDrv_Seal_ENInterrupt(MS_BOOL bEnable); 1207 //------------------------------------------------------------------------------------------------- 1208 /// Set IR enable function. 1209 /// @ingroup G_SEAL_INT 1210 /// @param bEnable \b IN: TRUE: enable IR, FALSE: disable IR 1211 /// @return E_IR_OK: Success 1212 /// @return E_IR_FAIL or other values: Failure 1213 //------------------------------------------------------------------------------------------------- 1214 MS_BOOL MDrv_Seal_AttachCallbackFunc(SEAL_CB_FUNC pSEALCBFunc); 1215 //------------------------------------------------------------------------------------------------- 1216 /// Set IR enable function. 1217 /// @ingroup G_SEAL_INT 1218 /// @param bEnable \b IN: TRUE: enable IR, FALSE: disable IR 1219 /// @return E_IR_OK: Success 1220 /// @return E_IR_FAIL or other values: Failure 1221 //------------------------------------------------------------------------------------------------- 1222 MS_BOOL MDrv_Seal_DispatchCallbackFunc(void); 1223 #ifdef __cplusplus 1224 } 1225 #endif 1226 1227 #endif // _DRV_SEAL_H_ 1228