Lines Matching refs:index
738 int32_t index = HWREG_READ_LRF(LRFDPBE_BASE + LRFDPBE_O_RXFRP) + offset; in LRF_peekRxFifo() local
740 if (index >= fifosz) in LRF_peekRxFifo()
742 index -= fifosz; in LRF_peekRxFifo()
745 …n HWREG_READ_LRF(LRFD_BUFRAM_BASE + (HWREG_READ_LRF(LRFDPBE_BASE + LRFDPBE_O_FCFG3) << 2) + index); in LRF_peekRxFifo()
750 int32_t index = HWREG_READ_LRF(LRFDPBE_BASE + LRFDPBE_O_TXFRP) + offset; in LRF_peekTxFifo() local
752 if (index >= fifosz) in LRF_peekTxFifo()
754 index -= fifosz; in LRF_peekTxFifo()
756 …n HWREG_READ_LRF(LRFD_BUFRAM_BASE + (HWREG_READ_LRF(LRFDPBE_BASE + LRFDPBE_O_FCFG1) << 2) + index); in LRF_peekTxFifo()
761 int32_t index = HWREG_READ_LRF(LRFDPBE_BASE + LRFDPBE_O_TXFWP) + offset; in LRF_getTxFifoWrAddr() local
762 …nt8_t *) (TXF_UNWRAPPED_BASE_ADDR + (HWREG_READ_LRF(LRFDPBE_BASE + LRFDPBE_O_FCFG1) << 2) + index); in LRF_getTxFifoWrAddr()
811 int32_t index = HWREG_READ_LRF(LRFDPBE_BASE + LRFDPBE_O_TXFRP) + (wordLength * 4); in LRF_skipTxFifoWords() local
813 if (index >= fifosz) in LRF_skipTxFifoWords()
815 index -= fifosz; in LRF_skipTxFifoWords()
817 LRF_writeFifoPtr(index, (LRFDPBE_BASE + LRFDPBE_O_TXFRP)); in LRF_skipTxFifoWords()
822 int32_t index = HWREG_READ_LRF(LRFDPBE_BASE + LRFDPBE_O_RXFRP) + (wordLength * 4); in LRF_discardRxFifoWords() local
824 if (index >= fifosz) in LRF_discardRxFifoWords()
826 index -= fifosz; in LRF_discardRxFifoWords()
829 LRF_writeFifoPtrs(index, (LRFDPBE_BASE + LRFDPBE_O_RXFRP), (LRFDPBE_BASE + LRFDPBE_O_RXFSRP)); in LRF_discardRxFifoWords()
850 int32_t index = readPointer + (wordLength * 4); in LRF_readRxFifoWords() local
852 if (index >= fifosz) in LRF_readRxFifoWords()
854 index -= fifosz; in LRF_readRxFifoWords()
856 LRF_writeFifoPtr(index, (LRFDPBE_BASE + LRFDPBE_O_RXFRP)); in LRF_readRxFifoWords()
877 int32_t index = writePointer + (wordLength * 4); in LRF_writeTxFifoWords() local
879 if (index >= fifosz) in LRF_writeTxFifoWords()
881 index -= fifosz; in LRF_writeTxFifoWords()
883 LRF_writeFifoPtr(index, (LRFDPBE_BASE + LRFDPBE_O_TXFWP)); in LRF_writeTxFifoWords()