Home
last modified time | relevance | path

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

/hardware/st/nfc/1.0/hal/
Dhalcore.c535 int nextCmdIndex; in HalDequeueThreadMessage() local
541 nextCmdIndex = inst->ringReadPos + 1; in HalDequeueThreadMessage()
543 if (nextCmdIndex == HAL_QUEUE_MAX) { in HalDequeueThreadMessage()
544 nextCmdIndex = 0; in HalDequeueThreadMessage()
555 memcpy(msg, &(inst->ring[nextCmdIndex]), sizeof(ThreadMesssage)); in HalDequeueThreadMessage()
556 inst->ringReadPos = nextCmdIndex; in HalDequeueThreadMessage()
/hardware/st/nfc/st21nfc/hal/
Dhalcore.cc532 int nextCmdIndex; in HalDequeueThreadMessage() local
538 nextCmdIndex = inst->ringReadPos + 1; in HalDequeueThreadMessage()
540 if (nextCmdIndex == HAL_QUEUE_MAX) { in HalDequeueThreadMessage()
541 nextCmdIndex = 0; in HalDequeueThreadMessage()
551 memcpy(msg, &(inst->ring[nextCmdIndex]), sizeof(ThreadMesssage)); in HalDequeueThreadMessage()
552 inst->ringReadPos = nextCmdIndex; in HalDequeueThreadMessage()