Lines Matching refs:queueDriver

1035 …*count = (handle->transferSize[handle->queueDriver] - handle->esaiQueue[handle->queueDriver].dataS…  in ESAI_TransferGetSendCount()
1062 …*count = (handle->transferSize[handle->queueDriver] - handle->esaiQueue[handle->queueDriver].dataS… in ESAI_TransferGetReceiveCount()
1091 handle->queueDriver = 0; in ESAI_TransferAbortSend()
1118 handle->queueDriver = 0; in ESAI_TransferAbortReceive()
1132 uint8_t *buffer = handle->esaiQueue[handle->queueDriver].data; in ESAI_TransferTxHandleIRQ()
1139 size_t size = MIN((handle->esaiQueue[handle->queueDriver].dataSize), in ESAI_TransferTxHandleIRQ()
1146 handle->esaiQueue[handle->queueDriver].dataSize -= size; in ESAI_TransferTxHandleIRQ()
1147 handle->esaiQueue[handle->queueDriver].data = in ESAI_TransferTxHandleIRQ()
1148 (uint8_t *)((uint32_t)handle->esaiQueue[handle->queueDriver].data + size); in ESAI_TransferTxHandleIRQ()
1152 if (handle->esaiQueue[handle->queueDriver].dataSize == 0U) in ESAI_TransferTxHandleIRQ()
1154 (void)memset(&handle->esaiQueue[handle->queueDriver], 0, sizeof(esai_transfer_t)); in ESAI_TransferTxHandleIRQ()
1155 handle->queueDriver = (handle->queueDriver + 1U) % ESAI_XFER_QUEUE_SIZE; in ESAI_TransferTxHandleIRQ()
1163 if (handle->esaiQueue[handle->queueDriver].data == NULL) in ESAI_TransferTxHandleIRQ()
1183 uint8_t *buffer = handle->esaiQueue[handle->queueDriver].data; in ESAI_TransferRxHandleIRQ()
1190 …size_t size = MIN((handle->esaiQueue[handle->queueDriver].dataSize), (handle->watermark * (uint32_… in ESAI_TransferRxHandleIRQ()
1196 handle->esaiQueue[handle->queueDriver].dataSize -= size; in ESAI_TransferRxHandleIRQ()
1197 handle->esaiQueue[handle->queueDriver].data = in ESAI_TransferRxHandleIRQ()
1198 (uint8_t *)((uint32_t)handle->esaiQueue[handle->queueDriver].data + size); in ESAI_TransferRxHandleIRQ()
1202 if (handle->esaiQueue[handle->queueDriver].dataSize == 0U) in ESAI_TransferRxHandleIRQ()
1204 (void)memset(&handle->esaiQueue[handle->queueDriver], 0, sizeof(esai_transfer_t)); in ESAI_TransferRxHandleIRQ()
1205 handle->queueDriver = (handle->queueDriver + 1U) % ESAI_XFER_QUEUE_SIZE; in ESAI_TransferRxHandleIRQ()
1213 if (handle->esaiQueue[handle->queueDriver].data == NULL) in ESAI_TransferRxHandleIRQ()