Lines Matching refs:u16BKOffset
405 MS_U16 u16BKOffset = 0x00; in MHal_HDCP_HDCP14TxGetM0() local
412 u16RegVal = MHalHdcpRegRead(DEF_HDCP14_TX_REG_BANK + u16BKOffset, 0x0C + u8DataCnt); in MHal_HDCP_HDCP14TxGetM0()
423 MS_U16 u16BKOffset = 0x00; in MHal_HDCP_HDCP14GetM0() local
426 u16BKOffset = u8PortIdx * 0x300; in MHal_HDCP_HDCP14GetM0()
432 u16tmpData = MHalHdcpRegRead(DEF_HDCP14_RX_REG_BANK + u16BKOffset, 0x0E + cnt); in MHal_HDCP_HDCP14GetM0()
467 MS_U16 u16BKOffset = 0x00; in MHal_HDCP_HDCP2TxInit() local
469 …MHalHdcpRegMaskWrite(DEF_HDCP22_TX_REG_BANK + u16BKOffset, 0x0000, 0x11, bEnable ? 0x11 : 0x00); /… in MHal_HDCP_HDCP2TxInit()
472 … MHalHdcpRegMaskWrite(DEF_HDCP22_TX_REG_BANK + u16BKOffset, 0x0000, 0x02, 0x02); //reset hdcp22 FSM in MHal_HDCP_HDCP2TxInit()
473 MHalHdcpRegMaskWrite(DEF_HDCP22_TX_REG_BANK + u16BKOffset, 0x0000, 0x02, 0x00); in MHal_HDCP_HDCP2TxInit()
479 MS_U16 u16BKOffset = 0x00; in MHal_HDCP_HDCP2TxEnableEncrypt() local
481 …MHalHdcpRegMaskWrite(DEF_HDCP22_TX_REG_BANK + u16BKOffset, 0x0000, 0x04, bEnable ? 0x04 : 0x00); /… in MHal_HDCP_HDCP2TxEnableEncrypt()
482 …MHalHdcpRegMaskWrite(DEF_HDCP22_TX_REG_BANK + u16BKOffset, 0x0000, 0x08, bEnable ? 0x08 : 0x00); /… in MHal_HDCP_HDCP2TxEnableEncrypt()
488 MS_U16 u16BKOffset = 0x00; in MHal_HDCP_HDCP2TxFillCipherKey() local
494 …MHalHdcpRegWrite(DEF_HDCP22_TX_KEY_REG_BANK + u16BKOffset, 0x60 + (DEF_SIZE_OF_KSXORLC128 >> 1) - … in MHal_HDCP_HDCP2TxFillCipherKey()
498 …MHalHdcpRegWrite(DEF_HDCP22_TX_KEY_REG_BANK + u16BKOffset, 0x68 + (DEF_SIZE_OF_RIV >> 1) - 1 - cnt… in MHal_HDCP_HDCP2TxFillCipherKey()
504 MS_U16 u16BKOffset = 0x00; in MHal_HDCP_HDCP2TxGetCipherState() local
507 *pu8State = MHalHdcpRegRead(DEF_HDCP22_TX_REG_BANK + u16BKOffset, 0x00) & 0x0C; in MHal_HDCP_HDCP2TxGetCipherState()
512 MS_U16 u16BKOffset = 0x00; in MHal_HDCP_HDCP2TxSetAuthPass() local
514 …MHalHdcpRegMaskWrite(DEF_HDCP22_TX_REG_BANK + u16BKOffset, 0x0000, 0x04, bEnable ? 0x04 : 0x00); /… in MHal_HDCP_HDCP2TxSetAuthPass()
519 MS_U16 u16BKOffset = 0x00; in MHal_HDCP_HDCP2RxInit() local
521 u16BKOffset = u8PortIdx * 0x300; in MHal_HDCP_HDCP2RxInit()
523 MHalHdcpRegMaskWrite(DEF_HDCP22_RX_REG_BANK + u16BKOffset, 0x4E, 0x0006, 0x0006); in MHal_HDCP_HDCP2RxInit()
529 MS_U16 u16BKOffset = 0x00; in MHal_HDCP_HDCP2RxProcessCipher() local
532 u16BKOffset = u8PortIdx * 0x300; in MHal_HDCP_HDCP2RxProcessCipher()
535 …KOffset : RegOffset = 0x%X : 0x%X : 0x%X\r\n", __FUNCTION__, u8PortIdx, u16BKOffset, u16RegOffset); in MHal_HDCP_HDCP2RxProcessCipher()
546 MHalHdcpRegMaskWrite(DEF_HDCP22_RX_REG_BANK + u16BKOffset, 0x4E, 0x0001, 0x0001); in MHal_HDCP_HDCP2RxProcessCipher()
551 MS_U16 u16BKOffset = 0x00; in MHal_HDCP_HDCP2RxSetSKEPass() local
553 u16BKOffset = u8PortIdx * 0x300; in MHal_HDCP_HDCP2RxSetSKEPass()
555 …MHalHdcpRegMaskWrite(DEF_HDCP22_RX_REG_BANK + u16BKOffset, 0x4E, 0x0001, bEnable ? 0x0001 : 0x0000… in MHal_HDCP_HDCP2RxSetSKEPass()
561 MS_U16 u16BKOffset = 0x00; in MHal_HDCP_HDCP2RxFillCipherKey() local
566 …MHalHdcpRegWrite(DEF_HDCP22_RX_KEY_REG_BANK + u16BKOffset, u16RegOffset + 0x30 + (DEF_SIZE_OF_KSXO… in MHal_HDCP_HDCP2RxFillCipherKey()
570 …MHalHdcpRegWrite(DEF_HDCP22_RX_KEY_REG_BANK + u16BKOffset, u16RegOffset + 0x38 + (DEF_SIZE_OF_RIV … in MHal_HDCP_HDCP2RxFillCipherKey()
575 MS_U16 u16BKOffset = 0x00; in MHal_HDCP_HDCP2RxGetCipherState() local
578 u16BKOffset = u8PortIdx * 0x300; in MHal_HDCP_HDCP2RxGetCipherState()
580 *pu8State = MHalHdcpRegRead(DEF_HDCP22_RX_REG_BANK + u16BKOffset, 0x4E) & 0x01; in MHal_HDCP_HDCP2RxGetCipherState()