Lines Matching refs:uctemp

2104     MS_U8 uctemp = MHL_CBUS_SELECT_MASK;  in mhal_mhl_GetCbusSelect()  local
2109 uctemp = MHL_CBUS_SELECT_PORTA; in mhal_mhl_GetCbusSelect()
2113 uctemp = MHL_CBUS_SELECT_PORTB; in mhal_mhl_GetCbusSelect()
2117 uctemp = MHL_CBUS_SELECT_PORTC; in mhal_mhl_GetCbusSelect()
2121 uctemp = MHL_CBUS_SELECT_PORTD; in mhal_mhl_GetCbusSelect()
2129 return uctemp; in mhal_mhl_GetCbusSelect()
2225 MS_U8 uctemp = 0; in mhal_mhl_CheckEfuseControlFlag() local
2229 for(uctemp = 0; uctemp < MHL_CBUS_SELECT_MASK; uctemp++) in mhal_mhl_CheckEfuseControlFlag()
2231 mhal_mhl_CbusIsolate(uctemp, TRUE); in mhal_mhl_CheckEfuseControlFlag()
3063 MS_U8 uctemp = 0; in mhal_mhl_LoadDeviceCapability() local
3070 for(uctemp = 0; uctemp <8; uctemp++) in mhal_mhl_LoadDeviceCapability()
3072 if(uctemp == 2) in mhal_mhl_LoadDeviceCapability()
3077 …W2BYTE(REG_MHL_CBUS_01 +(uctemp *2), (devcap[(uctemp *2) +1 -ucIndex] <<8) | devcap[uctemp *2 -ucI… in mhal_mhl_LoadDeviceCapability()
3085 for(uctemp = 0; uctemp <2; uctemp++) in mhal_mhl_LoadDeviceCapability()
3087 …W2BYTE(REG_MHL_CBUS_19 +(uctemp *2), (devcap[(uctemp *2) +17] <<8) | devcap[(uctemp *2) +16]); // … in mhal_mhl_LoadDeviceCapability()
3105 MS_U16 uctemp = 0; in mhal_mhl_initial() local
3108 for(uctemp = 0; uctemp <(sizeof(tMHL_INITIAL_TABLE) /sizeof(msLoadTbl_S)); uctemp++) in mhal_mhl_initial()
3110 …W2BYTEMSK(tMHL_INITIAL_TABLE[uctemp].addr, tMHL_INITIAL_TABLE[uctemp].databuf, tMHL_INITIAL_TABLE[ in mhal_mhl_initial()
3142 for(uctemp = 0; uctemp < MHL_CBUS_SELECT_MASK; uctemp++) in mhal_mhl_initial()
3144 _mhal_mhl_RtermHWControl(uctemp, FALSE); in mhal_mhl_initial()
3610 MS_U8 uctemp = 0; in mhal_mhl_CBusWrite() local
3617 for(uctemp = 0; uctemp < pdatabuf->lens; uctemp++) in mhal_mhl_CBusWrite()
3619 W2BYTE(REG_MHL_CBUS_26 +uctemp *2, pdatabuf->databuf[uctemp]); in mhal_mhl_CBusWrite()
3628 for(uctemp = 0; uctemp < pdatabuf->lens; uctemp++) in mhal_mhl_CBusWrite()
3630 if((pdatabuf->databuf[uctemp]) &BIT(8)) in mhal_mhl_CBusWrite()
3632 … msg_mhl(printf(" MHL send MSG command = %x\r\n", (pdatabuf->databuf[uctemp] &BMASK(7:0)))); in mhal_mhl_CBusWrite()
3636 msg_mhl(printf(" MHL send MSG data = %x\r\n", (pdatabuf->databuf[uctemp] &BMASK(7:0)))); in mhal_mhl_CBusWrite()
3685 MS_U8 uctemp = 0; in mhal_mhl_CbusIntCB() local
3702 for(uctemp = 0; uctemp <=(MHL_CBUS_DATA_SIZE +1); uctemp++) // offset+16bytes+EOF in mhal_mhl_CbusIntCB()
3704 reg_val = R2BYTE(REG_MHL_CBUS_3D +(uctemp *2)); in mhal_mhl_CbusIntCB()
3708 rcdata[uctemp] = reg_val & 0x00FF; in mhal_mhl_CbusIntCB()
3710 if(((uctemp <= 2) ||(uctemp == (MHL_CBUS_DATA_SIZE +1))) && !(*bIsCmdInData)) in mhal_mhl_CbusIntCB()
3717 *rclen = uctemp; in mhal_mhl_CbusIntCB()
3723 if(uctemp >(MHL_CBUS_DATA_SIZE +1)) in mhal_mhl_CbusIntCB()
4020 MS_U8 uctemp = 0; in mhal_mhl_LoadPowerOnTbl() local
4022 for(uctemp = 0; uctemp <(sizeof(tMHL_POWER_ON_TABLE) /sizeof(msLoadTbl_S)); uctemp++) in mhal_mhl_LoadPowerOnTbl()
4024 …W2BYTEMSK(tMHL_POWER_ON_TABLE[uctemp].addr, tMHL_POWER_ON_TABLE[uctemp].databuf, tMHL_POWER_ON_TAB… in mhal_mhl_LoadPowerOnTbl()
4027 for(uctemp = 0; uctemp < MHL_CBUS_SELECT_MASK; uctemp++) in mhal_mhl_LoadPowerOnTbl()
4029 _mhal_mhl_RxRtermControl(uctemp, RX_HDMI_RTERM); in mhal_mhl_LoadPowerOnTbl()
4035 MS_U8 uctemp = 0; in mhal_mhl_LoadPowerStandbyTbl() local
4039 for(uctemp = 0; uctemp <(sizeof(tMHL_POWER_SAVING_TABLE) /sizeof(msLoadTbl_S)); uctemp++) in mhal_mhl_LoadPowerStandbyTbl()
4041 …W2BYTEMSK(tMHL_POWER_SAVING_TABLE[uctemp].addr, tMHL_POWER_SAVING_TABLE[uctemp].databuf, tMHL_POWE… in mhal_mhl_LoadPowerStandbyTbl()
4044 for(uctemp = 0; uctemp < MHL_CBUS_SELECT_MASK; uctemp++) in mhal_mhl_LoadPowerStandbyTbl()
4046 _mhal_mhl_RxRtermControl(uctemp, RX_RTERM_OFF); in mhal_mhl_LoadPowerStandbyTbl()
4047 mhal_mhl_VbusCharge(uctemp, VBUS_SW_CHARGE); in mhal_mhl_LoadPowerStandbyTbl()
4053 MS_U8 uctemp = 0; in mhal_mhl_LoadPowerDownTbl() local
4057 for(uctemp = 0; uctemp <(sizeof(tMHL_POWER_DOWN_TABLE) /sizeof(msLoadTbl_S)); uctemp++) in mhal_mhl_LoadPowerDownTbl()
4059 …W2BYTEMSK(tMHL_POWER_DOWN_TABLE[uctemp].addr, tMHL_POWER_DOWN_TABLE[uctemp].databuf, tMHL_POWER_DO… in mhal_mhl_LoadPowerDownTbl()
4062 for(uctemp = 0; uctemp < MHL_CBUS_SELECT_MASK; uctemp++) in mhal_mhl_LoadPowerDownTbl()
4064 _mhal_mhl_RxRtermControl(uctemp, RX_RTERM_OFF); in mhal_mhl_LoadPowerDownTbl()
4430 MS_U8 uctemp = 0; in mhal_mhl_GetEMSCReceiveData() local
4441 for(uctemp = 0; uctemp < usEMSCFreeBuffer; uctemp++) in mhal_mhl_GetEMSCReceiveData()
4443 bReveiceEMSC[uctemp +1] = _mhal_mhl_GetSRAMReceiveEMSCData(); in mhal_mhl_GetEMSCReceiveData()
4445 if(uctemp == 1) // Check length remaining in mhal_mhl_GetEMSCReceiveData()
4447 usEMSCFreeBuffer = bReveiceEMSC[uctemp +1] +2; in mhal_mhl_GetEMSCReceiveData()
4450 msg_mhl(printf("** MHL eMSC data %x\r\n", bReveiceEMSC[uctemp +1])); in mhal_mhl_GetEMSCReceiveData()
4469 MS_U8 uctemp = 0; in mhal_mhl_InsertEMSCSendData() local
4480 for(uctemp = 0; uctemp < ucLength; uctemp++) in mhal_mhl_InsertEMSCSendData()
4482 _mhal_mhl_InsertSRAMSendEMSCData(bSendEMSC[uctemp]); in mhal_mhl_InsertEMSCSendData()
4484 msg_mhl(printf("** MHL payload value %x\r\n", bSendEMSC[uctemp])); in mhal_mhl_InsertEMSCSendData()
4486 usPayloadCRC = _mhal_mhl_GetEMSCPayloadCRC(bSendEMSC[uctemp], usPayloadCRC); in mhal_mhl_InsertEMSCSendData()