Home
last modified time | relevance | path

Searched refs:ucQueueIndex (Results 1 – 1 of 1) sorted by relevance

/utopia/UTPA2-700.0.x/modules/hdmi/drv/mhl/
H A DdrvMHL.c537 MS_U8 ucQueueIndex = 0; in _mdrv_mhl_GetFreeQueueIndex() local
541ucQueueIndex = (pMHLResourcePrivate->ucCurrentQueueIndex +uctemp +1) %(MHL_CBUS_TOTAL_QUEUE_NUM -1… in _mdrv_mhl_GetFreeQueueIndex()
543 if(pMHLResourcePrivate->stCbusQueueInfo[ucQueueIndex].ucQueueState == MHL_QUEUE_STATE_IDLE) in _mdrv_mhl_GetFreeQueueIndex()
549 ucQueueIndex = MHL_CBUS_TOTAL_QUEUE_NUM; in _mdrv_mhl_GetFreeQueueIndex()
553 if(ucQueueIndex < MHL_CBUS_TOTAL_QUEUE_NUM) // Have free queue in _mdrv_mhl_GetFreeQueueIndex()
555 uctemp = (ucQueueIndex +MHL_CBUS_TOTAL_QUEUE_NUM -2) %(MHL_CBUS_TOTAL_QUEUE_NUM -1); in _mdrv_mhl_GetFreeQueueIndex()
559 ucQueueIndex = uctemp; in _mdrv_mhl_GetFreeQueueIndex()
563 return ucQueueIndex; in _mdrv_mhl_GetFreeQueueIndex()
579 MS_U8 ucQueueIndex = 0; in _mdrv_mhl_GetCbusQueueIndex() local
584 ucQueueIndex = MHL_CBUS_RX_QUEUE_INDEX; in _mdrv_mhl_GetCbusQueueIndex()
[all …]