Lines Matching refs:uctemp

2650     MS_U8 uctemp = MHL_CBUS_SELECT_MASK;  in mhal_mhl_GetCbusSelect()  local
2655 uctemp = MHL_CBUS_SELECT_PORTA; in mhal_mhl_GetCbusSelect()
2659 uctemp = MHL_CBUS_SELECT_PORTB; in mhal_mhl_GetCbusSelect()
2663 uctemp = MHL_CBUS_SELECT_PORTC; in mhal_mhl_GetCbusSelect()
2667 uctemp = MHL_CBUS_SELECT_PORTD; in mhal_mhl_GetCbusSelect()
2675 return uctemp; in mhal_mhl_GetCbusSelect()
2774 MS_U8 uctemp = 0; in mhal_mhl_CheckEfuseControlFlag() local
2778 for(uctemp = 0; uctemp < MHL_CBUS_SELECT_MASK; uctemp++) in mhal_mhl_CheckEfuseControlFlag()
2780 mhal_mhl_CbusIsolate(uctemp, TRUE); in mhal_mhl_CheckEfuseControlFlag()
3587 MS_U8 uctemp = 0; in mhal_mhl_LoadDeviceCapability() local
3594 for(uctemp = 0; uctemp <8; uctemp++) in mhal_mhl_LoadDeviceCapability()
3596 if(uctemp == 2) in mhal_mhl_LoadDeviceCapability()
3601 …W2BYTE(REG_MHL_CBUS_01 +(uctemp *2), (devcap[(uctemp *2) +1 -ucIndex] <<8) | devcap[uctemp *2 -ucI… in mhal_mhl_LoadDeviceCapability()
3609 for(uctemp = 0; uctemp <2; uctemp++) in mhal_mhl_LoadDeviceCapability()
3611 …W2BYTE(REG_MHL_CBUS_19 +(uctemp *2), (devcap[(uctemp *2) +17] <<8) | devcap[(uctemp *2) +16]); // … in mhal_mhl_LoadDeviceCapability()
3629 MS_U16 uctemp = 0; in mhal_mhl_initial() local
3632 for(uctemp = 0; uctemp <(sizeof(tMHL_INITIAL_TABLE) /sizeof(msLoadTbl_S)); uctemp++) in mhal_mhl_initial()
3634 …W2BYTEMSK(tMHL_INITIAL_TABLE[uctemp].addr, tMHL_INITIAL_TABLE[uctemp].databuf, tMHL_INITIAL_TABLE[ in mhal_mhl_initial()
3664 for(uctemp = 0; uctemp < MHL_CBUS_SELECT_MASK; uctemp++) in mhal_mhl_initial()
3666 _mhal_mhl_RtermHWControl(uctemp, FALSE); in mhal_mhl_initial()
4125 MS_U8 uctemp = 0; in mhal_mhl_CBusWrite() local
4129 for(uctemp = 0; uctemp < pdatabuf->lens; uctemp++) in mhal_mhl_CBusWrite()
4131 W2BYTE(REG_MHL_CBUS_26 +uctemp *2, pdatabuf->databuf[uctemp]); in mhal_mhl_CBusWrite()
4142 for(uctemp = 0; uctemp < pdatabuf->lens; uctemp++) in mhal_mhl_CBusWrite()
4144 if((pdatabuf->databuf[uctemp]) &BIT(8)) in mhal_mhl_CBusWrite()
4146 … MHAL_MHL_MSG_DEBUG(" MHL send MSG command = %x\r\n", (pdatabuf->databuf[uctemp] &BMASK(7:0))); in mhal_mhl_CBusWrite()
4150 … MHAL_MHL_MSG_DEBUG(" MHL send MSG data = %x\r\n", (pdatabuf->databuf[uctemp] &BMASK(7:0))); in mhal_mhl_CBusWrite()
4200 MS_U8 uctemp = 0; in mhal_mhl_CbusIntCB() local
4217 for(uctemp = 0; uctemp <=(MHL_CBUS_DATA_SIZE +1); uctemp++) // offset+16bytes+EOF in mhal_mhl_CbusIntCB()
4219 reg_val = R2BYTE(REG_MHL_CBUS_3D +(uctemp *2)); in mhal_mhl_CbusIntCB()
4223 rcdata[uctemp] = reg_val & 0x00FF; in mhal_mhl_CbusIntCB()
4225 if(((uctemp <= 2) ||(uctemp == (MHL_CBUS_DATA_SIZE +1))) && !(*bIsCmdInData)) in mhal_mhl_CbusIntCB()
4232 *rclen = uctemp; in mhal_mhl_CbusIntCB()
4238 if(uctemp >(MHL_CBUS_DATA_SIZE +1)) in mhal_mhl_CbusIntCB()
4482 MS_U8 uctemp = 0; in mhal_mhl_LoadPowerOnTbl() local
4484 for(uctemp = 0; uctemp <(sizeof(tMHL_POWER_ON_TABLE) /sizeof(msLoadTbl_S)); uctemp++) in mhal_mhl_LoadPowerOnTbl()
4486 …W2BYTEMSK(tMHL_POWER_ON_TABLE[uctemp].addr, tMHL_POWER_ON_TABLE[uctemp].databuf, tMHL_POWER_ON_TAB… in mhal_mhl_LoadPowerOnTbl()
4489 for(uctemp = 0; uctemp < MHL_CBUS_SELECT_MASK; uctemp++) in mhal_mhl_LoadPowerOnTbl()
4491 _mhal_mhl_RxRtermControl(uctemp, RX_HDMI_RTERM); in mhal_mhl_LoadPowerOnTbl()
4497 MS_U8 uctemp = 0; in mhal_mhl_LoadPowerStandbyTbl() local
4501 for(uctemp = 0; uctemp <(sizeof(tMHL_POWER_SAVING_TABLE) /sizeof(msLoadTbl_S)); uctemp++) in mhal_mhl_LoadPowerStandbyTbl()
4503 …W2BYTEMSK(tMHL_POWER_SAVING_TABLE[uctemp].addr, tMHL_POWER_SAVING_TABLE[uctemp].databuf, tMHL_POWE… in mhal_mhl_LoadPowerStandbyTbl()
4506 for(uctemp = 0; uctemp < MHL_CBUS_SELECT_MASK; uctemp++) in mhal_mhl_LoadPowerStandbyTbl()
4508 _mhal_mhl_RxRtermControl(uctemp, RX_RTERM_OFF); in mhal_mhl_LoadPowerStandbyTbl()
4509 mhal_mhl_VbusCharge(uctemp, VBUS_SW_CHARGE); in mhal_mhl_LoadPowerStandbyTbl()
4515 MS_U8 uctemp = 0; in mhal_mhl_LoadPowerDownTbl() local
4519 for(uctemp = 0; uctemp <(sizeof(tMHL_POWER_DOWN_TABLE) /sizeof(msLoadTbl_S)); uctemp++) in mhal_mhl_LoadPowerDownTbl()
4521 …W2BYTEMSK(tMHL_POWER_DOWN_TABLE[uctemp].addr, tMHL_POWER_DOWN_TABLE[uctemp].databuf, tMHL_POWER_DO… in mhal_mhl_LoadPowerDownTbl()
4524 for(uctemp = 0; uctemp < MHL_CBUS_SELECT_MASK; uctemp++) in mhal_mhl_LoadPowerDownTbl()
4526 _mhal_mhl_RxRtermControl(uctemp, RX_RTERM_OFF); in mhal_mhl_LoadPowerDownTbl()
5014 MS_U8 uctemp = 0; in mhal_mhl_GetEMSCReceiveData() local
5027 for(uctemp = 0; uctemp < usEMSCFreeBuffer; uctemp++) in mhal_mhl_GetEMSCReceiveData()
5029 bReveiceEMSC[uctemp +1] = _mhal_mhl_GetSRAMReceiveEMSCData(); in mhal_mhl_GetEMSCReceiveData()
5031 if(uctemp == 1) // Check length remaining in mhal_mhl_GetEMSCReceiveData()
5033 usEMSCFreeBuffer = bReveiceEMSC[uctemp +1] +2; in mhal_mhl_GetEMSCReceiveData()
5037 MHAL_MHL_MSG_INFO("** MHL eMSC data %x\r\n", bReveiceEMSC[uctemp +1]); in mhal_mhl_GetEMSCReceiveData()
5057 MS_U8 uctemp = 0; in mhal_mhl_InsertEMSCSendData() local
5068 for(uctemp = 0; uctemp < ucLength; uctemp++) in mhal_mhl_InsertEMSCSendData()
5070 _mhal_mhl_InsertSRAMSendEMSCData(bSendEMSC[uctemp]); in mhal_mhl_InsertEMSCSendData()
5072 MHAL_MHL_MSG_INFO("** MHL payload value %x\r\n", bSendEMSC[uctemp]); in mhal_mhl_InsertEMSCSendData()
5074 usPayloadCRC = _mhal_mhl_GetEMSCPayloadCRC(bSendEMSC[uctemp], usPayloadCRC); in mhal_mhl_InsertEMSCSendData()