Lines Matching refs:pDrm
107 void drmRead_CrcInit(HANDLE_DRM pDrm) /*!< pointer to drm crc info stucture */ in drmRead_CrcInit() argument
109 FDK_ASSERT(pDrm != NULL); in drmRead_CrcInit()
111 FDKcrcInit(&pDrm->crcInfo, 0x001d, 0xFFFF, 8); in drmRead_CrcInit()
115 HANDLE_DRM pDrm, /*!< pointer to drm stucture */ in drmRead_CrcStartReg() argument
119 FDK_ASSERT(pDrm != NULL); in drmRead_CrcStartReg()
121 FDKcrcReset(&pDrm->crcInfo); in drmRead_CrcStartReg()
123 pDrm->crcReadValue = FDKreadBits(hBs, 8); in drmRead_CrcStartReg()
125 return (FDKcrcStartReg(&pDrm->crcInfo, hBs, mBits)); in drmRead_CrcStartReg()
129 HANDLE_DRM pDrm, /*!< pointer to drm crc info stucture */ in drmRead_CrcEndReg() argument
133 FDK_ASSERT(pDrm != NULL); in drmRead_CrcEndReg()
135 FDKcrcEndReg(&pDrm->crcInfo, hBs, reg); in drmRead_CrcEndReg()
138 TRANSPORTDEC_ERROR drmRead_CrcCheck(HANDLE_DRM pDrm) { in drmRead_CrcCheck() argument
142 crc = FDKcrcGetCRC(&pDrm->crcInfo) ^ 0xFF; in drmRead_CrcCheck()
143 if (crc != pDrm->crcReadValue) { in drmRead_CrcCheck()