Lines Matching refs:uctemp

2088     MS_U8 uctemp = MHL_CBUS_SELECT_MASK;  in mhal_mhl_GetCbusSelect()  local
2093 uctemp = MHL_CBUS_SELECT_PORTA; in mhal_mhl_GetCbusSelect()
2097 uctemp = MHL_CBUS_SELECT_PORTB; in mhal_mhl_GetCbusSelect()
2101 uctemp = MHL_CBUS_SELECT_PORTC; in mhal_mhl_GetCbusSelect()
2109 return uctemp; in mhal_mhl_GetCbusSelect()
2205 MS_U8 uctemp = 0; in mhal_mhl_CheckEfuseControlFlag() local
2209 for(uctemp = 0; uctemp < MHL_CBUS_SELECT_MASK; uctemp++) in mhal_mhl_CheckEfuseControlFlag()
2211 mhal_mhl_CbusIsolate(uctemp, TRUE); in mhal_mhl_CheckEfuseControlFlag()
3039 MS_U8 uctemp = 0; in mhal_mhl_LoadDeviceCapability() local
3046 for(uctemp = 0; uctemp <8; uctemp++) in mhal_mhl_LoadDeviceCapability()
3048 if(uctemp == 2) in mhal_mhl_LoadDeviceCapability()
3053 …W2BYTE(REG_MHL_CBUS_01 +(uctemp *2), (devcap[(uctemp *2) +1 -ucIndex] <<8) | devcap[uctemp *2 -ucI… in mhal_mhl_LoadDeviceCapability()
3061 for(uctemp = 0; uctemp <2; uctemp++) in mhal_mhl_LoadDeviceCapability()
3063 …W2BYTE(REG_MHL_CBUS_19 +(uctemp *2), (devcap[(uctemp *2) +17] <<8) | devcap[(uctemp *2) +16]); // … in mhal_mhl_LoadDeviceCapability()
3081 MS_U16 uctemp = 0; in mhal_mhl_initial() local
3084 for(uctemp = 0; uctemp <(sizeof(tMHL_INITIAL_TABLE) /sizeof(msLoadTbl_S)); uctemp++) in mhal_mhl_initial()
3086 …W2BYTEMSK(tMHL_INITIAL_TABLE[uctemp].addr, tMHL_INITIAL_TABLE[uctemp].databuf, tMHL_INITIAL_TABLE[ in mhal_mhl_initial()
3118 for(uctemp = 0; uctemp < MHL_CBUS_SELECT_MASK; uctemp++) in mhal_mhl_initial()
3120 _mhal_mhl_RtermHWControl(uctemp, FALSE); in mhal_mhl_initial()
3586 MS_U8 uctemp = 0; in mhal_mhl_CBusWrite() local
3593 for(uctemp = 0; uctemp < pdatabuf->lens; uctemp++) in mhal_mhl_CBusWrite()
3595 W2BYTE(REG_MHL_CBUS_26 +uctemp *2, pdatabuf->databuf[uctemp]); in mhal_mhl_CBusWrite()
3604 for(uctemp = 0; uctemp < pdatabuf->lens; uctemp++) in mhal_mhl_CBusWrite()
3606 if((pdatabuf->databuf[uctemp]) &BIT(8)) in mhal_mhl_CBusWrite()
3608 … msg_mhl(printf(" MHL send MSG command = %x\r\n", (pdatabuf->databuf[uctemp] &BMASK(7:0)))); in mhal_mhl_CBusWrite()
3612 msg_mhl(printf(" MHL send MSG data = %x\r\n", (pdatabuf->databuf[uctemp] &BMASK(7:0)))); in mhal_mhl_CBusWrite()
3661 MS_U8 uctemp = 0; in mhal_mhl_CbusIntCB() local
3678 for(uctemp = 0; uctemp <=(MHL_CBUS_DATA_SIZE +1); uctemp++) // offset+16bytes+EOF in mhal_mhl_CbusIntCB()
3680 reg_val = R2BYTE(REG_MHL_CBUS_3D +(uctemp *2)); in mhal_mhl_CbusIntCB()
3684 rcdata[uctemp] = reg_val & 0x00FF; in mhal_mhl_CbusIntCB()
3686 if(((uctemp <= 2) ||(uctemp == (MHL_CBUS_DATA_SIZE +1))) && !(*bIsCmdInData)) in mhal_mhl_CbusIntCB()
3693 *rclen = uctemp; in mhal_mhl_CbusIntCB()
3699 if(uctemp >(MHL_CBUS_DATA_SIZE +1)) in mhal_mhl_CbusIntCB()
3996 MS_U8 uctemp = 0; in mhal_mhl_LoadPowerOnTbl() local
3998 for(uctemp = 0; uctemp <(sizeof(tMHL_POWER_ON_TABLE) /sizeof(msLoadTbl_S)); uctemp++) in mhal_mhl_LoadPowerOnTbl()
4000 …W2BYTEMSK(tMHL_POWER_ON_TABLE[uctemp].addr, tMHL_POWER_ON_TABLE[uctemp].databuf, tMHL_POWER_ON_TAB… in mhal_mhl_LoadPowerOnTbl()
4003 for(uctemp = 0; uctemp < MHL_CBUS_SELECT_MASK; uctemp++) in mhal_mhl_LoadPowerOnTbl()
4005 _mhal_mhl_RxRtermControl(uctemp, RX_HDMI_RTERM); in mhal_mhl_LoadPowerOnTbl()
4011 MS_U8 uctemp = 0; in mhal_mhl_LoadPowerStandbyTbl() local
4015 for(uctemp = 0; uctemp <(sizeof(tMHL_POWER_SAVING_TABLE) /sizeof(msLoadTbl_S)); uctemp++) in mhal_mhl_LoadPowerStandbyTbl()
4017 …W2BYTEMSK(tMHL_POWER_SAVING_TABLE[uctemp].addr, tMHL_POWER_SAVING_TABLE[uctemp].databuf, tMHL_POWE… in mhal_mhl_LoadPowerStandbyTbl()
4020 for(uctemp = 0; uctemp < MHL_CBUS_SELECT_MASK; uctemp++) in mhal_mhl_LoadPowerStandbyTbl()
4022 _mhal_mhl_RxRtermControl(uctemp, RX_RTERM_OFF); in mhal_mhl_LoadPowerStandbyTbl()
4023 mhal_mhl_VbusCharge(uctemp, VBUS_SW_CHARGE); in mhal_mhl_LoadPowerStandbyTbl()
4029 MS_U8 uctemp = 0; in mhal_mhl_LoadPowerDownTbl() local
4033 for(uctemp = 0; uctemp <(sizeof(tMHL_POWER_DOWN_TABLE) /sizeof(msLoadTbl_S)); uctemp++) in mhal_mhl_LoadPowerDownTbl()
4035 …W2BYTEMSK(tMHL_POWER_DOWN_TABLE[uctemp].addr, tMHL_POWER_DOWN_TABLE[uctemp].databuf, tMHL_POWER_DO… in mhal_mhl_LoadPowerDownTbl()
4038 for(uctemp = 0; uctemp < MHL_CBUS_SELECT_MASK; uctemp++) in mhal_mhl_LoadPowerDownTbl()
4040 _mhal_mhl_RxRtermControl(uctemp, RX_RTERM_OFF); in mhal_mhl_LoadPowerDownTbl()
4406 MS_U8 uctemp = 0; in mhal_mhl_GetEMSCReceiveData() local
4417 for(uctemp = 0; uctemp < usEMSCFreeBuffer; uctemp++) in mhal_mhl_GetEMSCReceiveData()
4419 bReveiceEMSC[uctemp +1] = _mhal_mhl_GetSRAMReceiveEMSCData(); in mhal_mhl_GetEMSCReceiveData()
4421 if(uctemp == 1) // Check length remaining in mhal_mhl_GetEMSCReceiveData()
4423 usEMSCFreeBuffer = bReveiceEMSC[uctemp +1] +2; in mhal_mhl_GetEMSCReceiveData()
4426 msg_mhl(printf("** MHL eMSC data %x\r\n", bReveiceEMSC[uctemp +1])); in mhal_mhl_GetEMSCReceiveData()
4445 MS_U8 uctemp = 0; in mhal_mhl_InsertEMSCSendData() local
4456 for(uctemp = 0; uctemp < ucLength; uctemp++) in mhal_mhl_InsertEMSCSendData()
4458 _mhal_mhl_InsertSRAMSendEMSCData(bSendEMSC[uctemp]); in mhal_mhl_InsertEMSCSendData()
4460 msg_mhl(printf("** MHL payload value %x\r\n", bSendEMSC[uctemp])); in mhal_mhl_InsertEMSCSendData()
4462 usPayloadCRC = _mhal_mhl_GetEMSCPayloadCRC(bSendEMSC[uctemp], usPayloadCRC); in mhal_mhl_InsertEMSCSendData()