1 //////////////////////////////////////////////////////////////////////////////// 2 // 3 // Copyright (c) 2006-2007 MStar Semiconductor, Inc. 4 // All rights reserved. 5 // 6 // Unless otherwise stipulated in writing, any and all information contained 7 // herein regardless in any format shall remain the sole proprietary of 8 // MStar Semiconductor Inc. and be kept in strict confidence 9 // ("MStar Confidential Information") by the recipient. 10 // Any unauthorized act including without limitation unauthorized disclosure, 11 // copying, use, reproduction, sale, distribution, modification, disassembling, 12 // reverse engineering and compiling of the contents of MStar Confidential 13 // Information is unlawful and strictly prohibited. MStar hereby reserves the 14 // rights to any and all damages, losses, costs and expenses resulting therefrom. 15 // 16 //////////////////////////////////////////////////////////////////////////////// 17 18 //////////////////////////////////////////////////////////////////////////////////////////////////// 19 // file halMultiPVR.h 20 // @brief Multi-PVR HAL 21 // @author MStar Semiconductor,Inc. 22 //////////////////////////////////////////////////////////////////////////////////////////////////// 23 #ifndef _HAL_MULTI_PVR_H_ 24 #define _HAL_MULTI_PVR_H_ 25 26 void HAL_MultiPVR_SetBank(MS_VIRT u32BankAddr); 27 void HAL_MultiPVR_Init(MS_U32 u32PVREng, MS_U32 pktDmxId); 28 void HAL_MultiPVR_Exit(MS_U32 u32PVREng); 29 void HAL_MultiPVR_FlushData(MS_U32 u32PVREng); 30 void HAL_MultiPVR_Skip_Scrmb(MS_U32 u32PVREng, MS_BOOL bSkip); 31 void HAL_MultiPVR_Block_Dis(MS_U32 u32PVREng, MS_BOOL bDisable); 32 void HAL_MultiPVR_BurstLen(MS_U32 u32PVREng, MS_U16 u16BurstMode); 33 void HAL_MultiPVR_Start(MS_U32 u32PVREng, MS_U32 u32ChId); 34 void HAL_MultiPVR_Stop(MS_U32 u32PVREng, MS_U32 u32ChId); 35 void HAL_MultiPVR_Pause(MS_U32 u32PVREng , MS_BOOL bPause); 36 void HAL_MultiPVR_RecPid(MS_U32 u32PVREng, MS_BOOL bSet); 37 void HAL_MultiPVR_RecNull(MS_U32 u32PVREng, MS_BOOL bSet); 38 void HAL_MultiPVR_SetStr2Miu_StartAddr(MS_U32 u32PVREng, MS_U32 u32ChId, MS_U32 u32StartAddr0, MS_U32 u32StartAddr1); 39 void HAL_MultiPVR_SetStr2Miu_EndAddr(MS_U32 u32PVREng, MS_U32 u32ChId, MS_U32 u32EndAddr0, MS_U32 u32EndAddr1); 40 MS_U32 HAL_MultiPVR_GetWritePtr(MS_U32 u32PVREng, MS_U32 u32ChId); 41 void HAL_MultiPVR_SetStrPacketMode(MS_U32 u32PVREng, MS_U32 u32ChId, MS_BOOL bSet); 42 void HAL_MultiPVR_SetPVRTimeStamp(MS_U32 u32PVREng, MS_U32 u32ChId, MS_U32 u32Stamp); 43 MS_U32 HAL_MultiPVR_GetPVRTimeStamp(MS_U32 u32PVREng, MS_U32 u32ChId); 44 45 #endif // #ifndef _HAL_MULTI_PVR_H_