Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/drivers/ams_tmd2772/
Dams_tmd2772.c35 #define I2C_BUS_ID 0 macro
258 ret = i2cMasterTx(I2C_BUS_ID, I2C_ADDR, xfer->txrxBuf.bytes, 2, i2cCallback, xfer); in writeRegister()
317 i2cMasterTx(I2C_BUS_ID, I2C_ADDR, xfer->txrxBuf.bytes, 5, i2cCallback, xfer); in setMode()
496 …i2cMasterTxRx(I2C_BUS_ID, I2C_ADDR, nextXfer->txrxBuf.bytes, 1, nextXfer->txrxBuf.bytes, 1, i2cCal… in handle_calibration_event()
506 …i2cMasterTxRx(I2C_BUS_ID, I2C_ADDR, nextXfer->txrxBuf.bytes, 1, nextXfer->txrxBuf.bytes, 2, i2cCal… in handle_calibration_event()
569 i2cMasterTx(I2C_BUS_ID, I2C_ADDR, nextXfer->txrxBuf.bytes, 5, i2cCallback, nextXfer); in handle_i2c_event()
586 i2cMasterTx(I2C_BUS_ID, I2C_ADDR, nextXfer->txrxBuf.bytes, 5, i2cCallback, nextXfer); in handle_i2c_event()
700 i2cMasterRelease(I2C_BUS_ID); in end_app()
710 i2cMasterRequest(I2C_BUS_ID, I2C_SPEED); in handle_event()
716 …i2cMasterTxRx(I2C_BUS_ID, I2C_ADDR, xfer->txrxBuf.bytes, 1, xfer->txrxBuf.bytes, 1, i2cCallback, x… in handle_event()
[all …]
/device/google/contexthub/firmware/os/drivers/leds/
Dleds_lp3943.c36 #define I2C_BUS_ID LP3943_I2C_BUS_ID macro
38 #define I2C_BUS_ID 0 macro
181 ret = i2cMasterTx(I2C_BUS_ID, I2C_ADDR, xfer->txrxBuf, 2, i2cCallback, xfer); in writeRegister()
313 i2cMasterRequest(I2C_BUS_ID, I2C_SPEED); in handleEvent()
/device/google/contexthub/firmware/os/drivers/ams_tmd4903/
Dams_tmd4903.c49 #define I2C_BUS_ID 0 macro
311 ret = i2cMasterTx(I2C_BUS_ID, I2C_ADDR, xfer->txrxBuf, 2, i2cCallback, xfer); in writeRegister()
645 i2cMasterTx(I2C_BUS_ID, I2C_ADDR, xfer->txrxBuf, 9, i2cCallback, xfer); in sensorCfgDataProx()
744 i2cMasterTx(I2C_BUS_ID, I2C_ADDR, nextXfer->txrxBuf, 18, i2cCallback, nextXfer); in verifySensorId()
858 i2cMasterTx(I2C_BUS_ID, I2C_ADDR, nextXfer->txrxBuf, 9, i2cCallback, nextXfer); in handle_i2c_event()
1009 i2cMasterRelease(I2C_BUS_ID); in end_app()
1018 i2cMasterRequest(I2C_BUS_ID, I2C_SPEED); in handle_event()
1024 … i2cMasterTxRx(I2C_BUS_ID, I2C_ADDR, xfer->txrxBuf, 1, xfer->txrxBuf, 2, i2cCallback, xfer); in handle_event()
1042 … i2cMasterTxRx(I2C_BUS_ID, I2C_ADDR, xfer->txrxBuf, 1, xfer->txrxBuf, 8, i2cCallback, xfer); in handle_event()
1052 … i2cMasterTxRx(I2C_BUS_ID, I2C_ADDR, xfer->txrxBuf, 1, xfer->txrxBuf, 8, i2cCallback, xfer); in handle_event()
[all …]
/device/google/contexthub/firmware/os/drivers/bosch_bmp280/
Dbosch_bmp280.c41 #define I2C_BUS_ID BMP280_I2C_BUS_ID macro
218 ret = i2cMasterTx(I2C_BUS_ID, I2C_ADDR, xfer->txrxBuf, 2, i2cCallback, xfer); in writeRegister()
563 …ret = i2cMasterTxRx(I2C_BUS_ID, I2C_ADDR, newXfer->txrxBuf, 1, newXfer->txrxBuf, 1, i2cCallback, n… in handleI2cEvent()
606 …ret = i2cMasterTxRx(I2C_BUS_ID, I2C_ADDR, newXfer->txrxBuf, 1, (uint8_t*)&mTask.comp, 24, i2cCallb… in handleI2cEvent()
709 i2cMasterRequest(I2C_BUS_ID, I2C_SPEED); in handleEvent()
729 …ret = i2cMasterTxRx(I2C_BUS_ID, I2C_ADDR, newXfer->txrxBuf, 1, newXfer->txrxBuf, 6, i2cCallback, n… in handleEvent()
746 …ret = i2cMasterTxRx(I2C_BUS_ID, I2C_ADDR, newXfer->txrxBuf, 1, newXfer->txrxBuf, 6, i2cCallback, n… in handleEvent()
/device/google/contexthub/firmware/os/drivers/synaptics_s3708/
Dsynaptics_s3708.c43 #define I2C_BUS_ID 0 macro
241 …ret = i2cMasterTxRx(I2C_BUS_ID, I2C_ADDR, xfer->txrxBuf, txBytes, xfer->txrxBuf, rxBytes, i2cCallb… in performXfer()
243 ret = i2cMasterTx(I2C_BUS_ID, I2C_ADDR, xfer->txrxBuf, txBytes, i2cCallback, xfer); in performXfer()
513 ret = i2cMasterRequest(I2C_BUS_ID, I2C_SPEED); in handleEvent()
595 i2cMasterRelease(I2C_BUS_ID); in endTask()
/device/google/contexthub/firmware/os/drivers/rohm_rpr0521/
Drohm_rpr0521.c52 #define I2C_BUS_ID PROX_I2C_BUS_ID macro
342 int ret = i2cMasterTx(I2C_BUS_ID, I2C_ADDR, xfer->txrxBuf, txSize, i2cCallback, xfer); in i2cWrite()
373 ret = i2cMasterTxRx(I2C_BUS_ID, I2C_ADDR, in readRegister()
780 i2cMasterRelease(I2C_BUS_ID); in end_app()
787 i2cMasterRequest(I2C_BUS_ID, I2C_SPEED); in handle_event()