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.cc555 int nextCmdIndex; in HalDequeueThreadMessage() local
561 nextCmdIndex = inst->ringReadPos + 1; in HalDequeueThreadMessage()
563 if (nextCmdIndex == HAL_QUEUE_MAX) { in HalDequeueThreadMessage()
564 nextCmdIndex = 0; in HalDequeueThreadMessage()
574 memcpy(msg, &(inst->ring[nextCmdIndex]), sizeof(ThreadMesssage)); in HalDequeueThreadMessage()
575 inst->ringReadPos = nextCmdIndex; in HalDequeueThreadMessage()