Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/src/drivers/bosch_bmi160/
Dbosch_bmi160.c401 uint8_t txrxBuffer[SPI_BUF_SIZE]; member
647 T(packets[T(mRegCnt)]).txBuf = &T(txrxBuffer[T(mWbufCnt)]); in spiQueueWrite()
648 T(packets[T(mRegCnt)]).rxBuf = &T(txrxBuffer[T(mWbufCnt)]); in spiQueueWrite()
650 T(txrxBuffer[T(mWbufCnt++)]) = BMI160_SPI_WRITE | addr; in spiQueueWrite()
651 T(txrxBuffer[T(mWbufCnt++)]) = data; in spiQueueWrite()
666 *buf = &T(txrxBuffer[T(mWbufCnt)]); in spiQueueRead()
668 T(packets[T(mRegCnt)]).txBuf = &T(txrxBuffer[T(mWbufCnt)]); in spiQueueRead()
671 T(txrxBuffer[T(mWbufCnt)++]) = BMI160_SPI_READ | addr; in spiQueueRead()
3262 T(dataBuffer) = T(txrxBuffer); in chunkedReadSpiCallback()
3267 chunkedReadInit(end - T(txrxBuffer), CHUNKED_READ_SIZE); in chunkedReadSpiCallback()