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 95 /////////////////////////////////////////////////////////////////////////////////////////////////// 96 /// 97 /// file drvTSP.h 98 /// @brief Legacy Transport Stream Processer (TSP) Driver Interface 99 /// @author MStar Semiconductor,Inc. 100 /// @attention 101 /// All TSP DDI are not allowed to use in any interrupt context other than TSP ISR and Callback 102 /////////////////////////////////////////////////////////////////////////////////////////////////// 103 104 #ifndef __DRV_TSP_LEGACY_H__ 105 #define __DRV_TSP_LEGACY_H__ 106 107 108 #include "drvTSP2.h" 109 110 111 #ifdef __cplusplus 112 extern "C" 113 { 114 #endif 115 116 //------------------------------------------------------------------------------------------------- 117 // Driver Capability 118 //------------------------------------------------------------------------------------------------- 119 //------------------------------------------------------------------------------------------------- 120 // Macro and Define 121 //------------------------------------------------------------------------------------------------- 122 123 124 #define DRVTSP_PID_NULL TSP_PID_NULL 125 126 #define DRVTSP_FILTER_DEPTH TSP_FILTER_DEPTH // TSP_FILTER_DEPTH 127 128 #define DRVTSP_ALIGN_UNIT TSP_ALIGN_UNIT 129 130 #define DRVTSP_ALIGN(_x) TSP_ALIGN(_x) 131 132 //------------------------------------------------------------------------------------------------- 133 // Type and Structure 134 //------------------------------------------------------------------------------------------------- 135 136 #define DRVTSP_FAIL E_TSP_FAIL 137 #define DRVTSP_OK E_TSP_OK 138 #define DRVTSP_INVALID_PARAM E_TSP_FAIL_PARAMETER 139 #define DRVTSP_FUNC_ERROR E_TSP_FAIL_FUNCTION 140 #define DRVTSP_NOT_SUPPORTED E_TSP_FAIL_NOT_SUPPORTED 141 #define DRVTSP_INVALID_SECFLT E_TSP_FAIL_INVALID 142 143 144 #define E_DRVTSP_TSIF_EN E_TSP_TSIF_EN 145 #define E_DRVTSP_TSIF_DIS E_TSP_TSIF_DIS 146 #define E_DRVTSP_TSIF_SERL E_TSP_TSIF_SERL 147 #define E_DRVTSP_TSIF_PARL E_TSP_TSIF_PARL 148 #define E_DRVTSP_TSIF_EXTSYNC E_TSP_TSIF_EXTSYNC 149 #define E_DRVTSP_TSIF_BITSWAP E_TSP_TSIF_BITSWAP 150 151 152 153 #define DrvTSP_FltType TSP_FltType 154 // get TS from Live stream 155 #define E_DRVTSP_FLT_TYPE_AUDIO E_TSP_FLT_FIFO_AUDIO 156 #define E_DRVTSP_FLT_TYPE_AUDIO2 E_TSP_FLT_FIFO_AUDIO2 157 #define E_DRVTSP_FLT_TYPE_AUDIO3 E_TSP_FLT_FIFO_AUDIO3 158 #define E_DRVTSP_FLT_TYPE_AUDIO4 E_TSP_FLT_FIFO_AUDIO4 159 #define E_DRVTSP_FLT_TYPE_AUDIO5 E_TSP_FLT_FIFO_AUDIO5 160 #define E_DRVTSP_FLT_TYPE_AUDIO6 E_TSP_FLT_FIFO_AUDIO6 161 #define E_DRVTSP_FLT_TYPE_VIDEO E_TSP_FLT_FIFO_VIDEO 162 #define E_DRVTSP_FLT_TYPE_VIDEO3D E_TSP_FLT_FIFO_VIDEO3D 163 #define E_DRVTSP_FLT_TYPE_VIDEO3 E_TSP_FLT_FIFO_VIDEO3 164 #define E_DRVTSP_FLT_TYPE_VIDEO4 E_TSP_FLT_FIFO_VIDEO4 165 #define E_DRVTSP_FLT_TYPE_VIDEO5 E_TSP_FLT_FIFO_VIDEO5 166 #define E_DRVTSP_FLT_TYPE_VIDEO6 E_TSP_FLT_FIFO_VIDEO6 167 #define E_DRVTSP_FLT_TYPE_VIDEO7 E_TSP_FLT_FIFO_VIDEO7 168 #define E_DRVTSP_FLT_TYPE_VIDEO8 E_TSP_FLT_FIFO_VIDEO8 169 #define E_DRVTSP_FLT_TYPE_REC E_TSP_FLT_FIFO_REC 170 #define E_DRVTSP_FLT_TYPE_PVR E_TSP_FLT_FIFO_PVR 171 #define E_DRVTSP_FLT_TYPE_PVR0 E_TSP_FLT_FIFO_PVR 172 #define E_DRVTSP_FLT_TYPE_PVR1 E_TSP_FLT_FIFO_PVR1 173 #define E_DRVTSP_FLT_TYPE_PVR2 E_TSP_FLT_FIFO_PVR2 174 #define E_DRVTSP_FLT_TYPE_PVR3 E_TSP_FLT_FIFO_PVR3 175 #define E_DRVTSP_FLT_TYPE_PVR4 E_TSP_FLT_FIFO_PVR4 176 #define E_DRVTSP_FLT_TYPE_PVR5 E_TSP_FLT_FIFO_PVR5 177 #define E_DRVTSP_FLT_TYPE_PVR6 E_TSP_FLT_FIFO_PVR6 178 #define E_DRVTSP_FLT_TYPE_PVR7 E_TSP_FLT_FIFO_PVR7 179 #define E_DRVTSP_FLT_TYPE_PVR8 E_TSP_FLT_FIFO_PVR8 180 #define E_DRVTSP_FLT_TYPE_PVR9 E_TSP_FLT_FIFO_PVR9 181 182 183 // Section Filter Group on Filter Group 184 #define E_DRVTSP_FLT_TYPE_SECTION_MASK E_TSP_FLT_USER_MASK 185 #define E_DRVTSP_FLT_TYPE_SECTION E_TSP_FLT_USER_SEC 186 #define E_DRVTSP_FLT_TYPE_PCR E_TSP_FLT_USER_PCR 187 #define E_DRVTSP_FLT_TYPE_PES E_TSP_FLT_USER_PES 188 #define E_DRVTSP_FLT_TYPE_PACKET E_TSP_FLT_USER_PKT 189 #define E_DRVTSP_FLT_TYPE_TELETEXT E_TSP_FLT_USER_TTX 190 #define E_DRVTSP_FLT_TYPE_EMM E_TSP_FLT_USER_EMM 191 #define E_DRVTSP_FLT_TYPE_ECM E_TSP_FLT_USER_ECM 192 193 #define E_DRVTSP_FLT_TYPE_LAST_ENUM E_TSP_FLT_USER_NULL 194 195 #define E_DRVTSP_FLT_MASK E_TSP_FLT_SRC_MASK 196 #define E_DRVTSP_FLT_SOURCE_TYPE_LIVE E_TSP_FLT_SRC_LIVE0 197 #define E_DRVTSP_FLT_SOURCE_TYPE_FILE E_TSP_FLT_SRC_TSIF01_FILE 198 199 #define E_DRVTSP_FLT_SCMB_MASK E_TSP_FLT_FLAG_MASK 200 #define E_DRVTSP_FLT_TYPE_SCMB E_TSP_FLT_FLAG_CA 201 202 203 #define DrvTSP_FltMode TSP_FltMode 204 #define E_DRVTSP_FLT_MODE_CONTI E_TSP_FLT_MODE_CONTI 205 #define E_DRVTSP_FLT_MODE_ONESHOT E_TSP_FLT_MODE_ONESHOT 206 207 // optional 208 #define E_DRVTSP_FLT_MODE_CRCCHK E_TSP_FLT_MODE_CRCCHK 209 210 #define DrvTSP_FltState TSP_FltState 211 #define E_DRVTSP_FLT_STATE_FREE E_TSP_FLT_STATE_FREE 212 #define E_DRVTSP_FLT_STATE_ALLOC E_TSP_FLT_STATE_ALLOC 213 #define E_DRVTSP_FLT_STATE_ENABLE E_TSP_FLT_STATE_ENABLE 214 #define E_DRVTSP_FLT_STATE_SCRAMBLED E_TSP_FLT_STATE_SCRAMBLED 215 #define E_DRVTSP_FLT_STATE_STREAM_AVAIL E_TSP_FLT_STATE_STREAM_AVAIL 216 #define E_DRVTSP_FLT_STATE_SCRAMBLED_ORG E_TSP_FLT_STATE_SCRAMBLED_ORG 217 #define E_DRVTSP_FLT_STATE_OVERFLOW E_TSP_FLT_STATE_OVERFLOW 218 #define E_DRVTSP_FLT_STATE_NA E_TSP_FLT_STATE_NA 219 220 221 typedef enum //_DrvTSP_RecMode 222 { 223 //[TODO] rename REC_MODE to PVR_MODE 224 225 E_DRVTSP_REC_MODE_ENG0_FLTTYPE = E_TSP_REC_MODE_ENG0_FLTTYPE, 226 E_DRVTSP_REC_MODE_ENG1_FLTTYPE = E_TSP_REC_MODE_ENG1_FLTTYPE, 227 E_DRVTSP_REC_MODE_ENG0_BYPASS = E_TSP_REC_MODE_ENG0_BYPASS, 228 E_DRVTSP_REC_MODE_ENG1_BYPASS = E_TSP_REC_MODE_ENG1_BYPASS, 229 230 } DrvTSP_RecMode; 231 232 233 typedef enum //_DrvTSP_CtrlMode 234 { 235 E_DRVTSP_CTRL_MODE_TS0 = E_TSP_CTRL_MODE_TS0, 236 E_DRVTSP_CTRL_MODE_TS1 = E_TSP_CTRL_MODE_TS1, 237 E_DRVTSP_CTRL_MODE_MEM = E_TSP_CTRL_MODE_MEM, 238 } DrvTSP_CtrlMode; 239 240 241 typedef enum // @FIXME merge this enum with drvtsp2.h-> TSP_TSPad 242 { 243 E_DRVTSP_PAD_DEMOD = 0x0, 244 E_DRVTSP_PAD_EXT_INPUT0 = 0x1, 245 E_DRVTSP_PAD_EXT_INPUT1 = 0x2, 246 E_DRVTSP_PAD_EXT_INPUT2 = 0x4, 247 } DrvTSP_PadIn; 248 249 typedef struct 250 { 251 DrvTSP_PadIn ePad; 252 MS_BOOL bClkInv; 253 MS_BOOL bExtSync; 254 MS_BOOL bParallel; 255 } DrvTSP_If_Set; 256 257 typedef enum 258 { 259 E_DRVTSP_FILEIN_MODE_ENG0_TS = E_TSP_FILE_2_TSP, 260 E_DRVTSP_FILEIN_MODE_ENG0_APES = E_TSP_FILE_2_AUDIO, 261 E_DRVTSP_FILEIN_MODE_ENG0_A2PES = E_TSP_FILE_2_AUDIO2, 262 E_DRVTSP_FILEIN_MODE_ENG0_A3PES = E_TSP_FILE_2_AUDIO3, 263 E_DRVTSP_FILEIN_MODE_ENG0_A4PES = E_TSP_FILE_2_AUDIO4, 264 E_DRVTSP_FILEIN_MODE_ENG0_A5PES = E_TSP_FILE_2_AUDIO5, 265 E_DRVTSP_FILEIN_MODE_ENG0_A6PES = E_TSP_FILE_2_AUDIO6, 266 E_DRVTSP_FILEIN_MODE_ENG0_VPES = E_TSP_FILE_2_VIDEO, 267 E_DRVTSP_FILEIN_MODE_ENG0_V3DPES = E_TSP_FILE_2_VIDEO3D, 268 E_DRVTSP_FILEIN_MODE_ENG0_V3PES = E_TSP_FILE_2_VIDEO3, 269 E_DRVTSP_FILEIN_MODE_ENG0_V4PES = E_TSP_FILE_2_VIDEO4, 270 E_DRVTSP_FILEIN_MODE_ENG0_V5PES = E_TSP_FILE_2_VIDEO5, 271 E_DRVTSP_FILEIN_MODE_ENG0_V6PES = E_TSP_FILE_2_VIDEO6, 272 E_DRVTSP_FILEIN_MODE_ENG0_V7PES = E_TSP_FILE_2_VIDEO7, 273 E_DRVTSP_FILEIN_MODE_ENG0_V8PES = E_TSP_FILE_2_VIDEO8 274 } DrvTSP_FileinMode; 275 276 277 #define E_DRVTSP_FILEIN_STATE_IDLE E_TSP_FILE_STATE_IDLE 278 #define E_DRVTSP_FILEIN_STATE_BUSY E_TSP_FILE_STATE_BUSY 279 #define E_DRVTSP_FILEIN_STATE_PAUSE E_TSP_FILE_STATE_PAUSE 280 281 typedef TSP_FileState DrvTSP_FileinState; 282 283 #define DrvTSP_Event TSP_Event 284 #define E_DRVTSP_EVENT_DATA_INIT E_TSP_EVENT_DATA_IDLE 285 #define E_DRVTSP_EVENT_DATA_READY E_TSP_EVENT_DATA_READY 286 #define E_DRVTSP_EVENT_SEC_CRCERROR E_TSP_EVENT_SEC_CRCERROR 287 #define E_DRVTSP_EVENT_BUF_OVERFLOW E_TSP_EVENT_BUF_OVERFLOW 288 #define E_DRVTSP_EVENT_PVRBUF_FULL E_TSP_EVENT_PVRBUF_FULL 289 #define E_DRVTSP_EVENT_PVRBUF_OVERFLOW E_TSP_EVENT_PVRBUF_OVERFLOW 290 291 #define E_DRVTSP_EVENT_CB_MASK E_TSP_EVENT_CB_MASK 292 #define E_DRVTSP_EVENT_CB_POLL E_TSP_EVENT_CB_POLL 293 #define E_DRVTSP_EVENT_CB_SELF E_TSP_EVENT_CB_AUTO 294 295 #define E_DRVTSP_PKTMODE_188 E_TSP_PKTMODE_188 296 #define E_DRVTSP_PKTMODE_192 E_TSP_PKTMODE_192 297 #define E_DRVTSP_PKTMODE_204 E_TSP_PKTMODE_204 298 #define E_DRVTSP_PKTMODE_130 E_TSP_PKTMODE_130 299 #define E_DRVTSP_PKTMODE_134 E_TSP_PKTMODE_134 300 301 typedef TSP_PktMode DrvTSP_PacketMode; 302 303 typedef TSP_EventMsg DrvTSP_Msg; 304 /// @name TSP_EventMsg 305 /// Macro definitions for manipulating TSP_EventMsg 306 /// @{ 307 #define MSG_FLTINFO_SEC_ID_MASK TSP_MSG_FLTID_MASK 308 #define MSG_FLTINFO_SEC_ID_SHFT TSP_MSG_FLTID_SHFT 309 #define MSG_FLTINFO_ENG_ID_MASK TSP_MSG_ENGID_MASK 310 #define MSG_FLTINFO_ENG_ID_SHFT TSP_MSG_ENGID_SHFT 311 #define MSG_PVRBUF_ID_MASK TSP_MSG_PVRID_MASK 312 #define MSG_PVRBUF_ID_SHFT TSP_MSG_PVRID_SHFT 313 #define MSG_PVRBUF_ID_NULL TSP_MSG_PVRID_NULL 314 /// @} 315 316 317 typedef enum //_DrvTSP_DbgLevel 318 { 319 E_DRVTSP_DBG_Release = E_TSP_DBG_ERROR, 320 E_DRVTSP_DBG_L1 = E_TSP_DBG_FAIL, 321 E_DRVTSP_DBG_L2 = E_TSP_DBG_TRACK, 322 323 } DrvTSP_DbgLevel; 324 325 #define E_DRVTSP_CAP_FILTER_NUM E_TSP_CAP_RECFLT_IDX 326 327 typedef enum 328 { 329 E_DRVTSP_HW_STATUS = E_TSP_HW_STATUS, 330 E_DRVTSP_HW_INIT = E_TSP_HW_INIT, 331 E_DRVTSP_HW_ALIVE = E_TSP_HW_ALIVE, 332 E_DRVTSP_HW_DEALIVE = E_TSP_HW_DEALIVE, 333 } DrvTSP_HW_Status; 334 335 typedef enum 336 { 337 E_DRVTSP_SW_INIT = E_TSP_SW_INIT, 338 E_DRVTSP_SW_INIT_FAIL = E_TSP_SW_INIT_FAIL, 339 E_DRVTSP_SW_SUSPEND = E_TSP_SW_SUSPEND, 340 E_DRVTSP_SW_RESUME = E_TSP_SW_RESUME, 341 E_DRVTSP_SW_POWEROFF = E_TSP_SW_POWEROFF, 342 E_DRVTSP_SW_CLOSE = E_TSP_SW_CLOSE, 343 E_DRVTSP_SW_EXIT = E_TSP_SW_EXIT, 344 } DrvTSP_SW_Status; 345 346 typedef P_TSP_Callback P_DrvTSP_EvtCallback; 347 348 // TSP event define 349 #define TSP_TASK_EVENT_SECTION_SELF TSP_EVENT_SECTION 350 #define TSP_TASK_EVENT_FLT_FREE TSP_EVENT_FREEFLT 351 352 //------------------------------------------------------------------------------------------------- 353 // Function Prototype 354 //------------------------------------------------------------------------------------------------- 355 extern TSP_Result MDRV_TSP_FAIL_NOT_SUPPORTED(void); 356 357 #define MDrv_TSP_PidFlt_Alloc MDrv_TSP_FLT_Alloc 358 #define MDrv_TSP_PidFlt_Alloc_Ex MDrv_TSP_FLT_Alloc_Ex 359 #define MDrv_TSP_PidFlt_Free(e, p...) MDrv_TSP_FLT_Free(p) 360 #define MDrv_TSP_PidFlt_SetPid(e, p...) MDrv_TSP_FLT_SetPID(p) 361 #define MDrv_TSP_PidFlt_GetPid(e, p...) MDrv_TSP_FLT_GetPID(p) 362 #define MDrv_TSP_PidFlt_SelSecFlt(e, p...) MDrv_TSP_FLT_SelSEC(p) 363 #define MDrv_TSP_PidFlt_Enable(e, p...) MDrv_TSP_FLT_Enable(p) 364 #define MDrv_TSP_PidFlt_GetState(e, p...) MDrv_TSP_FLT_GetState(p) 365 #define MDrv_TSP_PidFlt_ChangeSource(e, p...) MDrv_TSP_FLT_ChangeSource(p) 366 #define MDrv_TSP_PidFlt_SetFltRushPass(e, p...) MDrv_TSP_FLT_SetFltRushPass(p) 367 #define MDrv_TSP_PidFlt_GetScmbSts(p...) MDrv_TSP_Flt_GetScmbSts(p) 368 369 370 #define MDrv_TSP_SecFlt_SetMode(e, p...) MDrv_TSP_FLT_SetMode(p) 371 #define MDrv_TSP_SecFlt_SetPattern(e, p...) MDrv_TSP_FLT_SetMatch(p) 372 #define MDrv_TSP_SecFlt_Notify(e, p...) MDrv_TSP_FLT_SetCallback(p) 373 #define MDrv_TSP_SecFlt_GetState(e, p...) MDrv_TSP_FLT_GetState(p) 374 375 #define MDrv_TSP_SecFlt_Alloc MDrv_TSP_SEC_Alloc 376 #define MDrv_TSP_SecFlt_Free(e, p...) MDrv_TSP_SEC_Free(p) 377 #define MDrv_TSP_SecFlt_SetBuffer(e, p...) MDrv_TSP_SEC_SetBuffer(p) 378 #define MDrv_TSP_SecFlt_GetBufStart(e, p...) MDrv_TSP_SEC_GetStart(p) 379 #define MDrv_TSP_SecFlt_GetBufSize(e, p...) MDrv_TSP_SEC_GetSize(p) 380 #define MDrv_TSP_SecFlt_GetReadAddr(e, p...) MDrv_TSP_SEC_GetRead(p) 381 #define MDrv_TSP_SecFlt_GetWriteAddr(e, p...) MDrv_TSP_SEC_GetWrite(p) 382 #define MDrv_TSP_SecFlt_ResetBuffer(e, p...) MDrv_TSP_SEC_Reset(p) 383 #define MDrv_TSP_SecFlt_Update(e, p...) MDrv_TSP_SEC_Update(p) 384 385 #define MDrv_TSP_SecFlt_SetReadAddr(e, p...) MDrv_TSP_SEC_SetRead(p) 386 387 #define MDrv_TSP_File_SetAddr MDrv_TSP_FILE_CmdAddr 388 #define MDrv_TSP_File_SetSize MDrv_TSP_FILE_CmdSize 389 #define MDrv_TSP_File_Start(p1...) MDrv_TSP_FILE_CmdStart((TSP_FileMode)p1) 390 #define MDrv_TSP_File_Pause MDrv_TSP_FILE_Pause 391 #define MDrv_TSP_File_Resume MDrv_TSP_FILE_Resume 392 #define MDrv_TSP_File_Stop MDrv_TSP_FILE_Stop 393 #define MDrv_TSP_File_GetState MDrv_TSP_FILE_GetState 394 #define MDrv_TSP_File_SetRate MDrv_TSP_FILE_SetRate 395 #define MDrv_TSP_File_SetPacketMode MDrv_TSP_FILE_SetPktMode 396 #define MDrv_TSP_File_PS_Path_Enable(p1...) MDrv_TSP_FILE_PS_Path_Enable((TSP_FileMode)p1) 397 #define MDrv_TSP_AVFifo_BlockEnable MDrv_TSP_FIFO_BlockEnable 398 399 #define MDrv_TSP_File_Eng_SetAddr MDrv_TSP_FILE_Eng_CmdAddr 400 #define MDrv_TSP_File_Eng_SetSize MDrv_TSP_FILE_Eng_CmdSize 401 #define MDrv_TSP_File_Eng_Start(p1, p2...) MDrv_TSP_FILE_Eng_CmdStart(p1, (TSP_FileMode)p2) 402 #define MDrv_TSP_SetSTC MDrv_TSP_SetSTC64 //@F_TODO not decided the name yet why cmdstc? 403 #define MDrv_TSP_GetSTC MDrv_TSP_GetSTC64 //@F_TODO not decided the name yet why cmdstc? 404 #define MDrv_TSP_File_Eng_Pause MDrv_TSP_FILE_Eng_Pause 405 #define MDrv_TSP_File_Eng_Resume MDrv_TSP_FILE_Eng_Resume 406 #define MDrv_TSP_File_Eng_Stop MDrv_TSP_FILE_Eng_Stop 407 #define MDrv_TSP_File_Eng_GetState MDrv_TSP_FILE_Eng_GetState 408 #define MDrv_TSP_File_Eng_SetRate MDrv_TSP_FILE_Eng_SetRate 409 #define MDrv_TSP_File_Eng_SetPacketMode MDrv_TSP_FILE_Eng_SetPktMode 410 #define MDrv_TSP_File_Eng_PS_Path_Enable(p1...) MDrv_TSP_FILE_Eng_PS_Path_Enable((TSP_FileMode)p1) 411 #define MDrv_TSP_File_Eng_CMDQ_GetSlot MDrv_TSP_FILE_Eng_GetCmdSlot 412 #define MDrv_TSP_File_Eng_CMDQ_Reset MDrv_TSP_FILE_Eng_Reset 413 414 #define MDrv_TSP_AVFifo_Reset MDrv_TSP_FIFO_Reset 415 #define MDrv_TSP_AVFifo_Status MDrv_TSP_FIFO_GetStatus 416 #define MDrv_TSP_AVFifo_Overflow_Status MDrv_TSP_FIFO_Overflow_Status 417 #define MDrv_TSP_AVFifo_SourceSelect MDrv_TSP_FIFO_SourceSelect 418 419 #define MDrv_TSP_File_CMDQ_GetSlot MDrv_TSP_FILE_GetCmdSlot 420 #define MDrv_TSP_File_CMDQ_Reset MDrv_TSP_FILE_Reset 421 422 #define MDrv_TSP_FLT_ChkOwner(p...) MDRV_TSP_FAIL_NOT_SUPPORTED() 423 #define MDrv_TSP_BurstLen MDrv_TSP_SECFLT_BurstLen 424 #define MDrv_TSP_IsAccess(p...) MDRV_TSP_FAIL_NOT_SUPPORTED() 425 #define MDrv_TSP_UnlockAccess(p...) MDRV_TSP_FAIL_NOT_SUPPORTED() 426 #define MDrv_TSP_TTX_SecFlt_GetWriteAddr(p...) MDRV_TSP_FAIL_NOT_SUPPORTED() 427 #define MDrv_TSP_TTX_SecFlt_GetWriteAddr(p...) MDRV_TSP_FAIL_NOT_SUPPORTED() 428 #define MDRV_TSP_Proc_Pvr(p...) MDRV_TSP_FAIL_NOT_SUPPORTED() 429 430 #define MDrv_TSP_GetCap MDrv_TSP_GetCaps 431 #define MDrv_TSP_GetDbgPortInfo MDrv_TSP_DBG_GetDBGStatus 432 433 #define MDrv_TSP_Get_FW_VER MDrv_TSP_GetFWVER 434 435 #define MDrv_TSP_PVR_Start(p1, p2...) MDrv_TSP_PVR_Start((TSP_RecMode)p1, p2) 436 437 #define MDrv_TSP_Parl_BitOrderSwap(e, p...) MDrv_TSP_PARL_BitOrderSwap(p) 438 439 #ifdef __cplusplus 440 } // closing brace for extern "C" 441 #endif 442 443 444 #endif // __DRV_TSP_LEGACY_H__ 445