Lines Matching refs:first
572 TI_UINT32 first = pCmdQueue->head; in cmdQueue_Restart() local
597 pHead = &pCmdQueue->aCmdQueue[first]; in cmdQueue_Restart()
608 first++; in cmdQueue_Restart()
609 if (first == CMDQUEUE_QUEUE_DEPTH) in cmdQueue_Restart()
610 first = 0; in cmdQueue_Restart()
896 TI_UINT32 first = pCmdQueue->head; in cmdQueue_PrintQueue() local
902 pHead = &pCmdQueue->aCmdQueue[first]; in cmdQueue_PrintQueue()
909 first)); in cmdQueue_PrintQueue()
911 first++; in cmdQueue_PrintQueue()
912 if (first == CMDQUEUE_QUEUE_DEPTH) in cmdQueue_PrintQueue()
914 first = 0; in cmdQueue_PrintQueue()
937 TI_UINT32 first = pCmdQueue->head; in cmdQueue_PrintHistory() local
944 pHead = &pCmdQueue->aCmdQueue[first]; in cmdQueue_PrintHistory()
951 first)); in cmdQueue_PrintHistory()
953 if (first == 0) in cmdQueue_PrintHistory()
955 first = CMDQUEUE_QUEUE_DEPTH - 1; in cmdQueue_PrintHistory()
959 first--; in cmdQueue_PrintHistory()