Lines Matching refs:rpmsgTxqCtl
354 RPMSG_TXQ_CTRL_st *rpmsgTxqCtl; in HAL_RpmsgGetTxBuf() local
358 rpmsgTxqCtl = &imuHandle->rpmsgTxqCtl; in HAL_RpmsgGetTxBuf()
366 if (IS_RPMSG_TXBQ23_EMPTY(rpmsgTxqCtl)) in HAL_RpmsgGetTxBuf()
372 … rpmsgTxBuf = (uint8_t *)(rpmsgTxqCtl->txBufQue[rpmsgTxqCtl->readIndex & RPMSG_TXQ23_ENTRY_MASK]); in HAL_RpmsgGetTxBuf()
373 INCR_RPMSG_TXBQ23_RD_INDEX(rpmsgTxqCtl, 1U); in HAL_RpmsgGetTxBuf()
378 if (IS_RPMSG_TXBQ13_EMPTY(rpmsgTxqCtl)) in HAL_RpmsgGetTxBuf()
384 … rpmsgTxBuf = (uint8_t *)(rpmsgTxqCtl->txBufQue[rpmsgTxqCtl->readIndex & RPMSG_TXQ13_ENTRY_MASK]); in HAL_RpmsgGetTxBuf()
385 INCR_RPMSG_TXBQ13_RD_INDEX(rpmsgTxqCtl, 1U); in HAL_RpmsgGetTxBuf()
398 RPMSG_TXQ_CTRL_st *rpmsgTxqCtl; in HAL_RpmsgPutTxBuf() local
402 rpmsgTxqCtl = &imuHandle->rpmsgTxqCtl; in HAL_RpmsgPutTxBuf()
408 if (IS_RPMSG_TXBQ23_FULL(rpmsgTxqCtl)) in HAL_RpmsgPutTxBuf()
414 … rpmsgTxqCtl->txBufQue[rpmsgTxqCtl->writeIndex & RPMSG_TXQ23_ENTRY_MASK] = (uint32_t)txBuf; in HAL_RpmsgPutTxBuf()
415 INCR_RPMSG_TXBQ23_WR_INDEX(rpmsgTxqCtl, 1U); in HAL_RpmsgPutTxBuf()
420 if (IS_RPMSG_TXBQ13_FULL(rpmsgTxqCtl)) in HAL_RpmsgPutTxBuf()
426 … rpmsgTxqCtl->txBufQue[rpmsgTxqCtl->writeIndex & RPMSG_TXQ13_ENTRY_MASK] = (uint32_t)txBuf; in HAL_RpmsgPutTxBuf()
427 INCR_RPMSG_TXBQ13_WR_INDEX(rpmsgTxqCtl, 1U); in HAL_RpmsgPutTxBuf()
1610 imuHandle->rpmsgTxqCtl.writeIndex = 0; in HAL_ImuInit()
1611 imuHandle->rpmsgTxqCtl.readIndex = 0; in HAL_ImuInit()