Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/drivers/invensense_icm40600/
Dinvensense_icm40600.c669 uint16_t mWbufCnt; 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;
861 T(mWbufCnt) += size;
875 if (T(mWbufCnt) > SPI_BUF_SIZE) {
[all …]
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/
Dbosch_bmi160.c573 uint16_t mWbufCnt; member
829 T(packets[T(mRegCnt)]).txBuf = &T(txrxBuffer[T(mWbufCnt)]);
830 T(packets[T(mRegCnt)]).rxBuf = &T(txrxBuffer[T(mWbufCnt)]);
832 T(txrxBuffer[T(mWbufCnt++)]) = BMI160_SPI_WRITE | addr;
833 T(txrxBuffer[T(mWbufCnt++)]) = data;
848 *buf = &T(txrxBuffer[T(mWbufCnt)]);
850 T(packets[T(mRegCnt)]).txBuf = &T(txrxBuffer[T(mWbufCnt)]);
853 T(txrxBuffer[T(mWbufCnt)++]) = BMI160_SPI_READ | addr;
854 T(mWbufCnt) += size;
866 if (T(mWbufCnt) > SPI_BUF_SIZE) {
[all …]
/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/
Dst_lsm6dsm.c623 uint16_t mWbufCnt; member
1259 *buf = &T_SLAVE_INTERFACE(txrxBuffer[T_SLAVE_INTERFACE(mWbufCnt)]); in lsm6dsm_spiQueueRead()
1262 …s[T_SLAVE_INTERFACE(mRegCnt)]).txBuf = &T_SLAVE_INTERFACE(txrxBuffer[T_SLAVE_INTERFACE(mWbufCnt)]); in lsm6dsm_spiQueueRead()
1266 T_SLAVE_INTERFACE(txrxBuffer[T_SLAVE_INTERFACE(mWbufCnt)++]) = addr | 0x80; in lsm6dsm_spiQueueRead()
1267 T_SLAVE_INTERFACE(mWbufCnt) += size; in lsm6dsm_spiQueueRead()
1287 …s[T_SLAVE_INTERFACE(mRegCnt)]).txBuf = &T_SLAVE_INTERFACE(txrxBuffer[T_SLAVE_INTERFACE(mWbufCnt)]); in lsm6dsm_spiQueueWrite()
1288 …s[T_SLAVE_INTERFACE(mRegCnt)]).rxBuf = &T_SLAVE_INTERFACE(txrxBuffer[T_SLAVE_INTERFACE(mWbufCnt)]); 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 …s[T_SLAVE_INTERFACE(mRegCnt)]).txBuf = &T_SLAVE_INTERFACE(txrxBuffer[T_SLAVE_INTERFACE(mWbufCnt)]); in lsm6dsm_spiQueueMultiwrite()
[all …]