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) 2008-2009 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 #ifndef _DRV_PQ_BIN_H_ 95 #define _DRV_PQ_BIN_H_ 96 97 //#ifdef DRVPQ_BIN_C 98 //#define INTERFACE 99 //#else 100 //#define INTERFACE extern 101 //#endif 102 103 //------------------------------------------------------------------------------------------------- 104 // Macro and Define 105 //------------------------------------------------------------------------------------------------- 106 107 #define PQ_BIN_MAX_IP 256 108 #define PQ_BIN_MAX_PNL 30 109 110 #define PQ_BIN_IP_ALL 0xFFFF 111 #define PQ_BIN_IP_NULL 0xFFFF 112 #define PQ_BIN_IP_COMM 0xFFFE 113 #define PQ_BIN_ADDR_NULL 0xFFFFFFFF 114 115 #define PQ_BIN_BANK_SIZE 1 116 #define PQ_BIN_ADDR_SIZE 1 117 #define PQ_BIN_MASK_SIZE 1 118 119 #define PQ_BIN_HEADER_LEN 16 120 #define PQ_BIN_VERSION_LEN 16 121 #define PQ_BIN_DUMMY 8 122 123 #define PQ_TEXT_BIN_HEADER_LEN 16 124 #define PQ_TEXT_BIN_VERSION_LEN 16 125 #define PQ_TEXT_BIN_DUMMY 8 126 127 128 //Size of each table 129 #define PQ_BIN_GRULE_INFO_SIZE 14 130 #define PQ_BIN_GRULE_LEVEL_INFO_SIZE 6 131 #define PQ_BIN_XRULE_INFO_SIZE 12 132 #define PQ_BIN_SKIPRULE_INFO_SIZE 6 133 #define PQ_BIN_IP_COMM_INFO_SIZE 16 134 #define PQ_BIN_SOURCELUT_INFO_SIZE 8 135 136 137 // Item Offset of each table 138 // GRule 139 #define PQ_BIN_GRULE_HEADER_LEN (16) 140 #define PQ_BIN_GRULE_RULE_NUM_LEN (2) 141 #define PQ_BIN_GRULE_PANEL_NUM_LEN (2) 142 143 #define PQ_BIN_GRULE_IP_NUM_OFFSET (0) 144 #define PQ_BIN_GRULE_SOURCE_NUM_OFFSET (PQ_BIN_GRULE_IP_NUM_OFFSET+2) 145 #define PQ_BIN_GRULE_GROUP_NUM_OFFSET (PQ_BIN_GRULE_SOURCE_NUM_OFFSET+2) 146 #define PQ_BIN_GRULE_IPOFFSET_OFFSET (PQ_BIN_GRULE_GROUP_NUM_OFFSET+2) 147 #define PQ_BIN_GRULE_RULEOFFSET_OFFSET (PQ_BIN_GRULE_IPOFFSET_OFFSET+4) 148 149 #define PQ_BIN_GRULE_LEVEL_LVL_NUM_OFFSET (0) 150 #define PQ_BIN_GRULE_LEVEL_OFFSET_OFFSET (PQ_BIN_GRULE_LEVEL_LVL_NUM_OFFSET+2) 151 152 153 // XRule 154 #define PQ_BIN_XRULE_HEADER_LEN (16) 155 #define PQ_BIN_XRULE_RULE_NUM_LEN (2) 156 157 #define PQ_BIN_XRULE_IP_NUM_OFFSET (0) 158 #define PQ_BIN_XRULE_GROUP_NUM_OFFSET (PQ_BIN_XRULE_IP_NUM_OFFSET+2) 159 #define PQ_BIN_XRULE_IPOFFSET_OFFSET (PQ_BIN_XRULE_GROUP_NUM_OFFSET+2) 160 #define PQ_BIN_XRULE_GROUPOFFSET_OFFSET (PQ_BIN_XRULE_IPOFFSET_OFFSET+4) 161 162 163 // SkipRule 164 #define PQ_BIN_SKIPRULE_HEADER_LEN (16) 165 #define PQ_BIN_SKIPRULE_IP_NUM_OFFSET (0) 166 #define PQ_BIN_SKIPRULE_OFFSET_OFFSET (PQ_BIN_SKIPRULE_IP_NUM_OFFSET+2) 167 168 169 // IP & Common 170 #define PQ_BIN_IP_COMM_HEADER_LEN (16) 171 #define PQ_BIN_IP_COMM_IP_NUM_LEN (2) 172 #define PQ_BIN_IP_COMM_TABLE_TYPE_OFFSET (0) 173 #define PQ_BIN_IP_COMM_COMM_REG_NUM_OFFSET (PQ_BIN_IP_COMM_TABLE_TYPE_OFFSET+2) 174 #define PQ_BIN_IP_COMM_IP_REG_NUM_OFFSET (PQ_BIN_IP_COMM_COMM_REG_NUM_OFFSET+2) 175 #define PQ_BIN_IP_COMM_IP_GROUP_NUM_OFFSET (PQ_BIN_IP_COMM_IP_REG_NUM_OFFSET+2) 176 #define PQ_BIN_IP_COMM_COMMOFFSET_OFFSET (PQ_BIN_IP_COMM_IP_GROUP_NUM_OFFSET+2) 177 #define PQ_BIN_IP_COMM_IPOFFSET_OFFSET (PQ_BIN_IP_COMM_COMMOFFSET_OFFSET+4) 178 179 180 // SourceLUT 181 #define PQ_BIN_SOURCELUT_HEADER_LEN (16) 182 #define PQ_BIN_SOURCELUT_PANEL_NUM_LEN (2) 183 184 #define PQ_BIN_SOURCELUT_SOURCE_NUM_OFFSET (0) 185 #define PQ_BIN_SOURCELUT_IP_NUM_OFFSET (PQ_BIN_SOURCELUT_SOURCE_NUM_OFFSET+2) 186 #define PQ_BIN_SOURCELUT_OFFSET_OFFSET (PQ_BIN_SOURCELUT_IP_NUM_OFFSET+2) 187 188 189 190 #define PQ_BIN_IP_COMM_DATA_LEN 1 // 1 byte 191 192 193 // Text Bin 194 //Size of each table 195 #define PQ_TEXT_BIN_SRCTYPE_INFO_SIZE 6 196 #define PQ_TEXT_BIN_IPNAME_INFO_SIZE 6 197 #define PQ_TEXT_BIN_GROUPNAME_INFO_SIZE 6 198 199 // SrcType 200 #define PQ_TEXT_BIN_SRCTYPE_HEADER_LEN (16) 201 #define PQ_TEXT_BIN_SRCTYPE_SRCNUM_LEN (2) 202 #define PQ_TEXT_BIN_SRCTYPE_SRC_NUM_OFFSET (0) 203 #define PQ_TEXT_BIN_SRCTYPE_OFFSET_OFFSET (PQ_TEXT_BIN_SRCTYPE_SRC_NUM_OFFSET+2) 204 205 206 // IPName 207 #define PQ_TEXT_BIN_IPNAME_HEADER_LEN (16) 208 #define PQ_TEXT_BIN_IPNAME_IPNUM_LEN (2) 209 #define PQ_TEXT_BIN_IPNAME_IPNUM_OFFSET (0) 210 #define PQ_TEXT_BIN_IPNAME_OFFSET_OFFSET (PQ_TEXT_BIN_IPNAME_IPNUM_OFFSET+2) 211 212 // GroupName 213 #define PQ_TEXT_BIN_GROUPNAME_HEADER_LEN (16) 214 #define PQ_TEXT_BIN_GROUPNAME_IPNUM_LEN (2) 215 #define PQ_TEXT_BIN_GROUPNAME_IPGROUP_GROUPNUM_OFFSET (0) 216 #define PQ_TEXT_BIN_GROUPNAME_IPGROUP_OFFSET_OFFSET (PQ_TEXT_BIN_GROUPNAME_IPGROUP_GROUPNUM_OFFSET+2) 217 218 #define PQ_TEXT_BIN_GROUPNAME_GROUPOFFSET_LEN (4) 219 #define PQ_TEXT_BIN_GROUPNAME_GROUPLENGTH_LEN (2) 220 #define PQ_TEXT_BIN_GROUPNAME_GROUPOFFSET_OFFSET (0) 221 222 // PnlType 223 #define PQ_BIN_PNLTYPE_1920 (0) 224 #define PQ_BIN_PNLTYPE_1366 (1) 225 #define PQ_BIN_PNLTYPE_4K2K (2) 226 //------------------------------------------------------------------------------------------------- 227 // enum 228 //------------------------------------------------------------------------------------------------- 229 230 typedef enum 231 { 232 PQ_BIN_DISPLAY_ONE = 0, 233 PQ_BIN_DISPLAY_PIP, 234 PQ_BIN_DISPLAY_POP, 235 PQ_BIN_DISPLAY_NUM, 236 }PQ_BIN_DISPLAY_TYPE; 237 238 239 //------------------------------------------------------------------------------------------------- 240 // Type and Structure 241 //------------------------------------------------------------------------------------------------- 242 243 typedef struct 244 { 245 MS_U16 u16IPNum; 246 MS_U16 u16SourceNum; 247 MS_U16 u16GroupNum; 248 MS_U32 u32IPOffset; 249 MS_U32 u32RuleOffset; 250 }MS_PQBin_GRule_Info; 251 252 typedef struct 253 { 254 MS_U16 u16LvlNum; 255 MS_U32 u32Offset; 256 }MS_PQBin_GRule_Level_Info; 257 258 typedef struct 259 { 260 MS_U16 u16IPNum; 261 MS_U16 u16GroupNum; 262 MS_U32 u32IPOffset; 263 MS_U32 u32GroupOffset; 264 }MS_PQBin_XRule_Info; 265 266 267 typedef struct 268 { 269 MS_U16 u16IPNum; 270 MS_U32 u32Offset; 271 }MS_PQBin_SkipRule_Info; 272 273 274 typedef struct 275 { 276 MS_U16 u16SourceNum; 277 MS_U16 u16IPNum; 278 MS_U32 u32Offset; 279 }MS_PQBin_SourceLUT_Info; 280 281 282 typedef struct 283 { 284 MS_U16 u16TableType; 285 MS_U16 u16CommRegNum; 286 MS_U16 u16IPRegNum; 287 MS_U16 u16IPGroupNum; 288 MS_U32 u32CommOffset; 289 MS_U32 u32IPOffset; 290 }MS_PQBin_IP_Common_Info; 291 292 typedef struct 293 { 294 MS_U8 u8BinID; 295 MS_PHYADDR u32BinStartAddress; 296 char u8Header[PQ_BIN_HEADER_LEN]; 297 char u8Version[PQ_BIN_VERSION_LEN]; 298 MS_U32 u32StartOffset; 299 MS_U32 u32EndOffset; 300 MS_U8 u8Dummy[PQ_BIN_DUMMY]; 301 302 // GRule 303 char u8GRuleHader[PQ_BIN_HEADER_LEN]; 304 MS_U16 u16GRule_RuleNum; 305 MS_U16 u16GRule_PnlNum; 306 MS_U32 u32GRule_Offset; 307 MS_U32 u32GRule_Pitch; 308 MS_U32 u32GRule_Lvl_Offset; 309 MS_U32 u32GRule_Lvl_Pitch; 310 311 // XRule 312 char u8XRuleHader[PQ_BIN_HEADER_LEN]; 313 MS_U16 u16XRuleNum; 314 MS_U32 u32XRule_Offset; 315 MS_U32 u32XRUle_Pitch; 316 317 // SkipRule 318 char u8SkipRuleHader[PQ_BIN_HEADER_LEN]; 319 MS_U16 u16SkipRule_IPNum; 320 MS_U32 u32SkipRule_Offset; 321 322 // IP & Common 323 char u8IP_Comm_Header[PQ_BIN_HEADER_LEN]; 324 MS_U16 u16IP_Comm_Num; 325 MS_U32 u32IP_Comm_Offset; 326 MS_U32 u32IP_Comm_Pitch; 327 328 329 // SourceLUT 330 MS_U8 u8SourceLUT_Header[PQ_BIN_HEADER_LEN]; 331 MS_U16 u16SourceLUT_PnlNum; 332 MS_U32 u32SourceLUT_Offset; 333 MS_U32 u32SourceLUT_Pitch; 334 }MS_PQBin_Header_Info; 335 336 typedef struct 337 { 338 MS_U8 u8BinID; 339 MS_PHYADDR u32BinStartAddress; 340 char u8Header[PQ_TEXT_BIN_HEADER_LEN]; 341 char u8Version[PQ_TEXT_BIN_HEADER_LEN]; 342 MS_U32 u32StartOffset; 343 MS_U32 u32EndOffset; 344 MS_U8 u8Dummy[PQ_TEXT_BIN_HEADER_LEN]; 345 346 //SourceType 347 char u8SrcTypeHeader[PQ_TEXT_BIN_HEADER_LEN]; 348 MS_U16 u16SrcNum; 349 MS_U32 u32SrcType_Offset; 350 MS_U32 u32SrcType_Pitch; 351 352 //IPName 353 char u8IPNameHeader[PQ_TEXT_BIN_HEADER_LEN]; 354 MS_U16 u16IPNum; 355 MS_U32 u32IPName_Offset; 356 MS_U32 u32IPName_Pitch; 357 358 //GroupName 359 char u8GroupNameHeader[PQ_TEXT_BIN_HEADER_LEN]; 360 MS_U16 u16GroupIPNum; 361 MS_U32 u32IP_Group_Offset; 362 MS_U32 u32IP_Group_pitch; 363 }MS_PQTextBin_Header_Info; 364 365 typedef struct 366 { 367 MS_PHYADDR u32TabOffset; 368 MS_U16 u16RegNum; 369 MS_U16 u16TableType; 370 MS_U16 u16GroupNum; 371 MS_U16 u16GroupIdx; 372 }MS_PQBin_IP_Table_Info; 373 374 375 376 377 void MDrv_PQBin_Parsing(void *pInstance,MS_PQBin_Header_Info *pPQBinHeader); 378 void MDrv_PQBin_LoadCommTable(void *pInstance,MS_U16 u16PnlIdx, MS_PQBin_Header_Info *pPQBinHeader); 379 MS_U16 MDrv_PQBin_GetIPNum(void *pInstance,const MS_PQBin_Header_Info* const pPQBinHeader); 380 MS_U16 MDrv_PQBin_GetCurrentTableIndex(void *pInstance,MS_U16 u16PnlIdx, MS_U16 u16PQIPIdx); 381 MS_U16 MDrv_PQBin_GetTableNum(void *pInstance,MS_U16 u16PQIPIdx, const MS_PQBin_Header_Info* const pPQBinHeader); 382 void MDrv_PQBin_LoadTableData(void *pInstance,MS_U16 u16PnlIdx, MS_U16 u16TabIdx, MS_U16 u16PQIPIdx, MS_PQBin_Header_Info *pPQBinHeader, MS_U8 *pTable, MS_U16 u16TableSize); 383 void MDrv_PQBin_LoadTable(void *pInstance,MS_U16 u16PnlIdx, MS_U16 u16TabIdx, MS_U16 u16PQIPIdx, MS_PQBin_Header_Info *pPQBinHeader,PQ_WIN eWindow); 384 void MDrv_PQBin_CloneTable(void *pInstance,MS_U16 u16PnlIdx, MS_U16 u16TabIdx, MS_U16 u16PQMainIPIdx, MS_U16 u16PQSubIPIdx, MS_PQBin_Header_Info *pPQBinHeader); 385 void MDrv_PQBin_GetTable(void *pInstance,MS_U16 u16PnlIdx, MS_U16 u16TabIdx, MS_U16 u16PQIPIdx, MS_PQBin_IP_Table_Info *pTableInfo, const MS_PQBin_Header_Info* const pPQBinHeader); 386 void MDrv_PQBin_DumpTable(void *pInstance,MS_PQBin_IP_Table_Info* pTabInfo); 387 void MDrv_PQBin_DumpTable_Main2(void *pInstance,MS_PQBin_IP_Table_Info* pTabInfo); 388 MS_U16 MDrv_PQBin_GetTableIndex(void *pInstance,MS_U16 u16PQSrcType, MS_U16 u16PQIPIdx, MS_U16 u16PQPnlIdx, const MS_PQBin_Header_Info* const pPQBinHeader); 389 MS_U16 MDrv_PQBin_GetSkipRule(void *pInstance,MS_U16 u16PQIPIdx, const MS_PQBin_Header_Info* const pPQBinHeader); 390 void MDrv_PQBin_LoadTableBySrcType(void *pInstance,MS_U16 u16PQSrcType, MS_U16 u16PQIPIdx, MS_U16 u16PQPnlIdx, MS_PQBin_Header_Info *pPQBinHeader, PQ_WIN eWindow); 391 392 393 MS_U16 MDrv_PQBin_GetXRuleTableIndex(void *pInstance,MS_U16 u16XRuleType, MS_U16 u16XRuleIdx, MS_U16 u16XRuleIP, const MS_PQBin_Header_Info* const pPQBinHeader); 394 MS_U16 MDrv_PQBin_GetXRuleIPIndex(void *pInstance,MS_U16 u16XRuleType, MS_U16 u16XRuleIP, const MS_PQBin_Header_Info* const pPQBinHeader); 395 MS_U16 MDrv_PQBin_GetXRuleIPNum(void *pInstance,MS_U16 u16XRuleType, const MS_PQBin_Header_Info* const pPQBinHeader); 396 397 398 MS_U16 MDrv_PQBin_GetGRule_LevelIndex(void *pInstance,MS_U16 u16PnlIdx, MS_U16 u16GRuleType, MS_U16 u16GRuleLvlIndex, const MS_PQBin_Header_Info* const pPQBinHeader); 399 MS_U16 MDrv_PQBin_GetGRule_IPIndex(void *pInstance,MS_U16 u16GRuleType, MS_U16 u16GRuleIPIndex, const MS_PQBin_Header_Info* const pPQBinHeader); 400 MS_U16 MDrv_PQBin_GetGRule_TableIndex(void *pInstance,MS_U16 u16GRuleType, MS_U16 u16PQSrcType, MS_U16 u16PQ_NRIdx, MS_U16 u16GRuleIPIndex, const MS_PQBin_Header_Info* const pPQBinHeader); 401 MS_U16 MDrv_PQBin_GetGRule_GroupNum(void *pInstance,MS_U16 u16GRuleType, const MS_PQBin_Header_Info* const pPQBinHeader); 402 MS_U16 MDrv_PQBin_GetGRule_IPNum(void *pInstance,MS_U16 u16GRuleType, const MS_PQBin_Header_Info* const pPQBinHeader); 403 MS_U16 MDrv_PQBin_GetGRule_LvlNum(void *pInstance, MS_U16 u16PnlIdx, MS_U16 u16GRuleType, const MS_PQBin_Header_Info* const pPQBinHeader); 404 405 406 void MDrv_PQBin_SetDisplayType(void *pInstance,PQ_BIN_DISPLAY_TYPE enDisplayType); 407 PQ_BIN_DISPLAY_TYPE MDrv_PQBin_GetDisplayType(void *pInstance); 408 409 void MDrv_PQBin_SetPanelID(void *pInstance,MS_U8 u8PnlID); 410 MS_U8 MDrv_PQBin_GetPanelIdx(void *pInstance); 411 MS_U8 MDrv_PQBin_GetPanelIdx_UFSC(void *pInstance); 412 413 void MDrv_PQBin_Set_MLoadEn(void *pInstance,MS_BOOL bEn); 414 415 void MDrv_PQBin_CheckCommTable(void *pInstance,MS_U16 u16PnlIdx, MS_PQBin_Header_Info * pPQBinHeader); 416 void MDrv_PQBin_CheckTableBySrcType(void *pInstance,MS_U16 u16PQSrcType, MS_U16 u16PQIPIdx, MS_U16 u16PQPnlIdx, MS_PQBin_Header_Info * pPQBinHeader, PQ_WIN eWindow); 417 418 419 void MDrv_PQTextBin_Parsing(void *pInstance,MS_PQTextBin_Header_Info *pPQTextBinHeader); 420 MS_U32 MDrv_PQTextBin_GetSrcType(void *pInstance,MS_U16 u16SrcIdx, const MS_PQTextBin_Header_Info* const pPQTextBinHeader); 421 MS_U32 MDrv_PQTextBin_GetIPName(void *pInstance,MS_U16 u16PQIPIdx, const MS_PQTextBin_Header_Info* const pPQTextBinHeader); 422 MS_U32 MDrv_PQTextBin_GetTableName(void *pInstance,MS_U16 u16PQIPIdx, MS_U16 u16TabIdx, const MS_PQTextBin_Header_Info* const pPQTextBinHeader); 423 MS_BOOL MDrv_PQBin_Enable8LBMode(void *pInstance,MS_BOOL bEnable); 424 425 void MDrv_PQBin_DumpUFSCScalerRegTable(void *pInstance, const MS_PQBin_IP_Table_Info* const pTabInfo); 426 void MDrv_PQBin_DumpUFSCFilterTable(void *pInstance, MS_PQBin_IP_Table_Info *pTabInfo); 427 #endif 428