Lines Matching refs:uctemp

1776     MS_U8 uctemp = MHL_CBUS_SELECT_MASK;  in mhal_mhl_GetCbusSelect()  local
1781 uctemp = MHL_CBUS_SELECT_PORTA; in mhal_mhl_GetCbusSelect()
1785 uctemp = MHL_CBUS_SELECT_PORTB; in mhal_mhl_GetCbusSelect()
1789 uctemp = MHL_CBUS_SELECT_PORTC; in mhal_mhl_GetCbusSelect()
1797 return uctemp; in mhal_mhl_GetCbusSelect()
1894 MS_U8 uctemp = 0; in mhal_mhl_CheckEfuseControlFlag() local
1898 for(uctemp = 0; uctemp < MHL_CBUS_SELECT_MASK; uctemp++) in mhal_mhl_CheckEfuseControlFlag()
1900 mhal_mhl_CbusIsolate(uctemp, TRUE); in mhal_mhl_CheckEfuseControlFlag()
2609 MS_U8 uctemp = 0; in mhal_mhl_LoadDeviceCapability() local
2616 for(uctemp = 0; uctemp <8; uctemp++) in mhal_mhl_LoadDeviceCapability()
2618 if(uctemp == 2) in mhal_mhl_LoadDeviceCapability()
2623 …W2BYTE(REG_MHL_CBUS_01 +(uctemp *2), (devcap[(uctemp *2) +1 -ucIndex] <<8) | devcap[uctemp *2 -ucI… in mhal_mhl_LoadDeviceCapability()
2631 for(uctemp = 0; uctemp <2; uctemp++) in mhal_mhl_LoadDeviceCapability()
2633 …W2BYTE(REG_MHL_CBUS_19 +(uctemp *2), (devcap[(uctemp *2) +17] <<8) | devcap[(uctemp *2) +16]); // … in mhal_mhl_LoadDeviceCapability()
2652 MS_U16 uctemp = 0; in mhal_mhl_initial() local
2655 for(uctemp = 0; uctemp <(sizeof(tMHL_INITIAL_TABLE) /sizeof(msLoadTbl_S)); uctemp++) in mhal_mhl_initial()
2657 …W2BYTEMSK(tMHL_INITIAL_TABLE[uctemp].addr, tMHL_INITIAL_TABLE[uctemp].databuf, tMHL_INITIAL_TABLE[ in mhal_mhl_initial()
2680 for(uctemp = 0; uctemp < MHL_CBUS_SELECT_MASK; uctemp++) in mhal_mhl_initial()
2682 _mhal_mhl_RtermHWControl(uctemp, FALSE); in mhal_mhl_initial()
3129 MS_U8 uctemp = 0; in mhal_mhl_CBusWrite() local
3136 for(uctemp = 0; uctemp < pdatabuf->lens; uctemp++) in mhal_mhl_CBusWrite()
3138 W2BYTE(REG_MHL_CBUS_26 +uctemp *2, pdatabuf->databuf[uctemp]); in mhal_mhl_CBusWrite()
3147 for(uctemp = 0; uctemp < pdatabuf->lens; uctemp++) in mhal_mhl_CBusWrite()
3149 if((pdatabuf->databuf[uctemp]) &BIT(8)) in mhal_mhl_CBusWrite()
3151 … MHAL_MHL_MSG_DEBUG(" MHL send MSG command = %x\r\n", (pdatabuf->databuf[uctemp] &BMASK(7:0))); in mhal_mhl_CBusWrite()
3155 … MHAL_MHL_MSG_DEBUG(" MHL send MSG data = %x\r\n", (pdatabuf->databuf[uctemp] &BMASK(7:0))); in mhal_mhl_CBusWrite()
3204 MS_U8 uctemp = 0; in mhal_mhl_CbusIntCB() local
3221 for(uctemp = 0; uctemp <=(MHL_CBUS_DATA_SIZE +1); uctemp++) // offset+16bytes+EOF in mhal_mhl_CbusIntCB()
3223 reg_val = R2BYTE(REG_MHL_CBUS_3D +(uctemp *2)); in mhal_mhl_CbusIntCB()
3227 rcdata[uctemp] = reg_val & 0x00FF; in mhal_mhl_CbusIntCB()
3229 if(((uctemp <= 2) ||(uctemp == (MHL_CBUS_DATA_SIZE +1))) && !(*bIsCmdInData)) in mhal_mhl_CbusIntCB()
3236 *rclen = uctemp; in mhal_mhl_CbusIntCB()
3242 if(uctemp >(MHL_CBUS_DATA_SIZE +1)) in mhal_mhl_CbusIntCB()
3551 MS_U8 uctemp = 0; in mhal_mhl_LoadPowerOnTbl() local
3553 for(uctemp = 0; uctemp <(sizeof(tMHL_POWER_ON_TABLE) /sizeof(msLoadTbl_S)); uctemp++) in mhal_mhl_LoadPowerOnTbl()
3555 …W2BYTEMSK(tMHL_POWER_ON_TABLE[uctemp].addr, tMHL_POWER_ON_TABLE[uctemp].databuf, tMHL_POWER_ON_TAB… in mhal_mhl_LoadPowerOnTbl()
3558 for(uctemp = 0; uctemp < MHL_CBUS_SELECT_MASK; uctemp++) in mhal_mhl_LoadPowerOnTbl()
3560 _mhal_mhl_RxRtermControl(uctemp, RX_HDMI_RTERM); in mhal_mhl_LoadPowerOnTbl()
3566 MS_U8 uctemp = 0; in mhal_mhl_LoadPowerStandbyTbl() local
3570 for(uctemp = 0; uctemp <(sizeof(tMHL_POWER_SAVING_TABLE) /sizeof(msLoadTbl_S)); uctemp++) in mhal_mhl_LoadPowerStandbyTbl()
3572 …W2BYTEMSK(tMHL_POWER_SAVING_TABLE[uctemp].addr, tMHL_POWER_SAVING_TABLE[uctemp].databuf, tMHL_POWE… in mhal_mhl_LoadPowerStandbyTbl()
3575 for(uctemp = 0; uctemp < MHL_CBUS_SELECT_MASK; uctemp++) in mhal_mhl_LoadPowerStandbyTbl()
3577 _mhal_mhl_RxRtermControl(uctemp, RX_RTERM_OFF); in mhal_mhl_LoadPowerStandbyTbl()
3578 mhal_mhl_VbusCharge(uctemp, VBUS_SW_CHARGE); in mhal_mhl_LoadPowerStandbyTbl()
3584 MS_U8 uctemp = 0; in mhal_mhl_LoadPowerDownTbl() local
3588 for(uctemp = 0; uctemp <(sizeof(tMHL_POWER_DOWN_TABLE) /sizeof(msLoadTbl_S)); uctemp++) in mhal_mhl_LoadPowerDownTbl()
3590 …W2BYTEMSK(tMHL_POWER_DOWN_TABLE[uctemp].addr, tMHL_POWER_DOWN_TABLE[uctemp].databuf, tMHL_POWER_DO… in mhal_mhl_LoadPowerDownTbl()
3593 for(uctemp = 0; uctemp < MHL_CBUS_SELECT_MASK; uctemp++) in mhal_mhl_LoadPowerDownTbl()
3595 _mhal_mhl_RxRtermControl(uctemp, RX_RTERM_OFF); in mhal_mhl_LoadPowerDownTbl()
3964 MS_U8 uctemp = 0; in mhal_mhl_GetEMSCReceiveData() local
3975 for(uctemp = 0; uctemp < usEMSCFreeBuffer; uctemp++) in mhal_mhl_GetEMSCReceiveData()
3977 bReveiceEMSC[uctemp +1] = _mhal_mhl_GetSRAMReceiveEMSCData(); in mhal_mhl_GetEMSCReceiveData()
3979 if(uctemp == 1) // Check length remaining in mhal_mhl_GetEMSCReceiveData()
3981 usEMSCFreeBuffer = bReveiceEMSC[uctemp +1] +2; in mhal_mhl_GetEMSCReceiveData()
3984 MHAL_MHL_MSG_INFO("** MHL eMSC data %x\r\n", bReveiceEMSC[uctemp +1]); in mhal_mhl_GetEMSCReceiveData()
4003 MS_U8 uctemp = 0; in mhal_mhl_InsertEMSCSendData() local
4014 for(uctemp = 0; uctemp < ucLength; uctemp++) in mhal_mhl_InsertEMSCSendData()
4016 _mhal_mhl_InsertSRAMSendEMSCData(bSendEMSC[uctemp]); in mhal_mhl_InsertEMSCSendData()
4018 MHAL_MHL_MSG_INFO("** MHL payload value %x\r\n", bSendEMSC[uctemp]); in mhal_mhl_InsertEMSCSendData()
4020 usPayloadCRC = _mhal_mhl_GetEMSCPayloadCRC(bSendEMSC[uctemp], usPayloadCRC); in mhal_mhl_InsertEMSCSendData()