Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/drivers/invensense_icm40600/
Dinvensense_icm40600.c626 uint8_t txrxBuffer[SPI_BUF_SIZE]; member
835 T(packets[T(mRegCnt)]).txBuf = &T(txrxBuffer[T(mWbufCnt)]);
836 T(packets[T(mRegCnt)]).rxBuf = &T(txrxBuffer[T(mWbufCnt)]);
838 T(txrxBuffer[T(mWbufCnt++)]) = ICM40600_SPI_WRITE | addr;
839 T(txrxBuffer[T(mWbufCnt++)]) = data;
855 *buf = &T(txrxBuffer[T(mWbufCnt)]);
857 T(packets[T(mRegCnt)]).txBuf = &T(txrxBuffer[T(mWbufCnt)]);
860 T(txrxBuffer[T(mWbufCnt)++]) = ICM40600_SPI_READ | addr;
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/
Dbosch_bmi160.c551 uint8_t txrxBuffer[SPI_BUF_SIZE]; member
836 T(packets[T(mRegCnt)]).txBuf = &T(txrxBuffer[T(mWbufCnt)]);
837 T(packets[T(mRegCnt)]).rxBuf = &T(txrxBuffer[T(mWbufCnt)]);
839 T(txrxBuffer[T(mWbufCnt++)]) = BMI160_SPI_WRITE | addr;
840 T(txrxBuffer[T(mWbufCnt++)]) = data;
855 *buf = &T(txrxBuffer[T(mWbufCnt)]);
857 T(packets[T(mRegCnt)]).txBuf = &T(txrxBuffer[T(mWbufCnt)]);
860 T(txrxBuffer[T(mWbufCnt)++]) = BMI160_SPI_READ | addr;
4164 T(dataBuffer) = T(txrxBuffer);
4169 chunkedReadInit(end - T(txrxBuffer), CHUNKED_READ_SIZE);
/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/
Dst_lsm6dsm.c619 uint8_t txrxBuffer[SPI_BUF_SIZE]; member
1259 *buf = &T_SLAVE_INTERFACE(txrxBuffer[T_SLAVE_INTERFACE(mWbufCnt)]); in lsm6dsm_spiQueueRead()
1262 …T_SLAVE_INTERFACE(packets[T_SLAVE_INTERFACE(mRegCnt)]).txBuf = &T_SLAVE_INTERFACE(txrxBuffer[T_SLA… in lsm6dsm_spiQueueRead()
1266 T_SLAVE_INTERFACE(txrxBuffer[T_SLAVE_INTERFACE(mWbufCnt)++]) = addr | 0x80; in lsm6dsm_spiQueueRead()
1287 …T_SLAVE_INTERFACE(packets[T_SLAVE_INTERFACE(mRegCnt)]).txBuf = &T_SLAVE_INTERFACE(txrxBuffer[T_SLA… in lsm6dsm_spiQueueWrite()
1288 …T_SLAVE_INTERFACE(packets[T_SLAVE_INTERFACE(mRegCnt)]).rxBuf = &T_SLAVE_INTERFACE(txrxBuffer[T_SLA… in lsm6dsm_spiQueueWrite()
1291 T_SLAVE_INTERFACE(txrxBuffer[T_SLAVE_INTERFACE(mWbufCnt)++]) = addr; in lsm6dsm_spiQueueWrite()
1292 T_SLAVE_INTERFACE(txrxBuffer[T_SLAVE_INTERFACE(mWbufCnt)++]) = data; in lsm6dsm_spiQueueWrite()
1314 …T_SLAVE_INTERFACE(packets[T_SLAVE_INTERFACE(mRegCnt)]).txBuf = &T_SLAVE_INTERFACE(txrxBuffer[T_SLA… in lsm6dsm_spiQueueMultiwrite()
1315 …T_SLAVE_INTERFACE(packets[T_SLAVE_INTERFACE(mRegCnt)]).rxBuf = &T_SLAVE_INTERFACE(txrxBuffer[T_SLA… in lsm6dsm_spiQueueMultiwrite()
[all …]