Lines Matching refs:pDrm
98 void drmRead_CrcInit(HANDLE_DRM pDrm) /*!< pointer to drm crc info stucture */ in drmRead_CrcInit() argument
100 FDK_ASSERT(pDrm != NULL); in drmRead_CrcInit()
102 FDKcrcInit(&pDrm->crcInfo, 0x001d, 0xFFFF, 8); in drmRead_CrcInit()
106 HANDLE_DRM pDrm, /*!< pointer to drm stucture */ in drmRead_CrcStartReg() argument
111 FDK_ASSERT(pDrm != NULL); in drmRead_CrcStartReg()
113 FDKcrcReset(&pDrm->crcInfo); in drmRead_CrcStartReg()
115 pDrm->crcReadValue = FDKreadBits(hBs, 8); in drmRead_CrcStartReg()
117 return ( FDKcrcStartReg(&pDrm->crcInfo, hBs, mBits) ); in drmRead_CrcStartReg()
122 HANDLE_DRM pDrm, /*!< pointer to drm crc info stucture */ in drmRead_CrcEndReg() argument
127 FDK_ASSERT(pDrm != NULL); in drmRead_CrcEndReg()
129 FDKcrcEndReg(&pDrm->crcInfo, hBs, reg); in drmRead_CrcEndReg()
132 TRANSPORTDEC_ERROR drmRead_CrcCheck( HANDLE_DRM pDrm ) in drmRead_CrcCheck() argument
137 crc = FDKcrcGetCRC(&pDrm->crcInfo) ^ 0xFF; in drmRead_CrcCheck()
138 if (crc != pDrm->crcReadValue) in drmRead_CrcCheck()