Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/drivers/bosch_bmi160/
Dbosch_bmi160.c251 #define SPI_READ(...) GET_SPI_READ_MACRO(__VA_ARGS__, SPI_READ_1, SPI_READ_0)(__VA_ARGS__) macro
673 SPI_READ(BMI160_REG_DATA_0, size, &mTask.dataBuffer); \
1053 SPI_READ(BMI160_REG_DATA_1, 1, &mTask.dataBuffer);
1163 SPI_READ(BMI160_REG_STATUS, 1, &mTask.statusBuffer, 1000);
1266 SPI_READ(BMI160_REG_FIFO_DATA, mTask.xferCnt, &mTask.dataBuffer);
1902 SPI_READ(BMI160_REG_STEP_CNT_0, 2, &mTask.dataBuffer);
2667 SPI_READ(BMI160_REG_INT_STATUS_0, 4, &mTask.statusBuffer);
2711 SPI_READ(BMI160_REG_OFFSET_0, 7, &mTask.dataBuffer);
2768 SPI_READ(BMI160_REG_STATUS, 1, &mTask.statusBuffer, 50000);
2782 SPI_READ(BMI160_REG_OFFSET_0, 3, &mTask.dataBuffer);
[all …]
/device/google/contexthub/firmware/os/drivers/invensense_icm40600/
Dinvensense_icm40600.c410 #define SPI_READ(...) GET_SPI_READ_MACRO(__VA_ARGS__, SPI_READ_1, SPI_READ_0)(__VA_ARGS__) macro
1279 SPI_READ(REG_INT_STATUS, 1, &T(dataBuffer[0]));
1280 SPI_READ(REG_FIFO_BYTE_COUNT1, 2, &T(dataBuffer[1]));
1300 SPI_READ(REG_FIFO_DATA, fifo_count, &T(dataBuffer[0]));
1333 SPI_READ(REG_INT_STATUS, 1, &T(dataBuffer[0]));
1334 SPI_READ(REG_FIFO_BYTE_COUNT1, 2, &T(dataBuffer[1]));
1667 SPI_READ(REG_INT_STATUS, 1, &T(dataBuffer[0]));
1668 SPI_READ(REG_FIFO_BYTE_COUNT1, 2, &T(dataBuffer[1]));
1688 SPI_READ(REG_FIFO_DATA, fifo_count, &T(dataBuffer[0]));
1721 SPI_READ(REG_INT_STATUS, 1, &T(dataBuffer[0]));
[all …]
/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/
Dst_lsm6dsm.c562 #define SPI_READ(...) GET_SPI_READ_MACRO(__VA_ARGS__,… macro
1402SPI_READ(LSM6DSM_TIMESTAMP0_REG_ADDR, LSM6DSM_TIMESTAMP_SAMPLE_BYTE, &T_SLAVE_INTERFACE(timestampD… in lsm6dsm_baroTimerTask()
1403 SPI_READ(LSM6DSM_OUT_SENSORHUB1_ADDR + LSM6DSM_SENSOR_SLAVE_MAGN_OUTDATA_LEN, in lsm6dsm_baroTimerTask()
1435SPI_READ(LSM6DSM_TIMESTAMP0_REG_ADDR, LSM6DSM_TIMESTAMP_SAMPLE_BYTE, &T_SLAVE_INTERFACE(timestampD… in lsm6dsm_timeSyncTask()
1437SPI_READ(LSM6DSM_OUT_TEMP_L_ADDR, LSM6DSM_TEMP_SAMPLE_BYTE, &T_SLAVE_INTERFACE(tempDataBuffer)); in lsm6dsm_timeSyncTask()
1456 SPI_READ(LSM6DSM_FUNC_SRC_ADDR, 1, &T_SLAVE_INTERFACE(funcSrcBuffer)); in lsm6dsm_readStatusReg_()
1458 SPI_READ(LSM6DSM_FIFO_STATUS1_ADDR, 2, &T_SLAVE_INTERFACE(fifoStatusRegBuffer)); in lsm6dsm_readStatusReg_()
1653SPI_READ(LSM6DSM_OUTX_L_XL_ADDR, LSM6DSM_ONE_SAMPLE_BYTE, &T_SLAVE_INTERFACE(tmpDataBuffer), 10000… in lsm6dsm_runGapSelfTestProgram()
1656SPI_READ(LSM6DSM_OUTX_L_G_ADDR, LSM6DSM_ONE_SAMPLE_BYTE, &T_SLAVE_INTERFACE(tmpDataBuffer), 10000); in lsm6dsm_runGapSelfTestProgram()
1660SPI_READ(LSM6DSM_OUT_SENSORHUB1_ADDR, LSM6DSM_ONE_SAMPLE_BYTE, &T_SLAVE_INTERFACE(tmpDataBuffer), … in lsm6dsm_runGapSelfTestProgram()
[all …]