Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/inc/
Di2c.h32 int i2cMasterTxRx(uint32_t busId, uint32_t addr, const void *txBuf, size_t txSize,
37 return i2cMasterTxRx(busId, addr, txBuf, txSize, NULL, 0, callback, cookie);} in i2cMasterTx()
41 return i2cMasterTxRx(busId, addr, NULL, 0, rxBuf, rxSize, callback, cookie); in i2cMasterRx()
/device/google/contexthub/firmware/os/platform/native/
Di2c.c39 int i2cMasterTxRx(I2cBus busId, I2cAddr addr, in i2cMasterTxRx() function
/device/google/contexthub/firmware/os/drivers/ams_tmd2772/
Dams_tmd2772.c496i2cMasterTxRx(I2C_BUS_ID, I2C_ADDR, nextXfer->txrxBuf.bytes, 1, nextXfer->txrxBuf.bytes, 1, i2cCal… in handle_calibration_event()
506i2cMasterTxRx(I2C_BUS_ID, I2C_ADDR, nextXfer->txrxBuf.bytes, 1, nextXfer->txrxBuf.bytes, 2, i2cCal… in handle_calibration_event()
716i2cMasterTxRx(I2C_BUS_ID, I2C_ADDR, xfer->txrxBuf.bytes, 1, xfer->txrxBuf.bytes, 1, i2cCallback, x… in handle_event()
731i2cMasterTxRx(I2C_BUS_ID, I2C_ADDR, xfer->txrxBuf.bytes, 1, xfer->txrxBuf.bytes, 7, i2cCallback, x… in handle_event()
/device/google/contexthub/firmware/os/drivers/bosch_bmp280/
Dbosch_bmp280.c563 …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()
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/intersil_isl29034/
Disl29034.c423i2cMasterTxRx(ISL29034_I2C_BUS_ID, ISL29034_I2C_ADDR, xfer->txrxBuf, 1, xfer->txrxBuf, 1, i2cCallb… in handle_event()
437i2cMasterTxRx(ISL29034_I2C_BUS_ID, ISL29034_I2C_ADDR, xfer->txrxBuf, 1, xfer->txrxBuf, 2, i2cCallb… in handle_event()
/device/google/contexthub/firmware/os/drivers/rohm_rpr0521/
Drohm_rpr0521.c583i2cMasterTxRx(I2C_BUS_ID, I2C_ADDR, newXfer->txrxBuf, 1, newXfer->txrxBuf, 1, i2cCallback, newXfer… in handle_i2c_event()
776i2cMasterTxRx(I2C_BUS_ID, I2C_ADDR, xfer->txrxBuf, 1, xfer->txrxBuf, 4, i2cCallback, xfer); in handle_event()
785i2cMasterTxRx(I2C_BUS_ID, I2C_ADDR, xfer->txrxBuf, 1, xfer->txrxBuf, 7, i2cCallback, xfer); in handle_event()
/device/google/contexthub/firmware/os/drivers/ams_tmd4903/
Dams_tmd4903.c1024i2cMasterTxRx(I2C_BUS_ID, I2C_ADDR, xfer->txrxBuf, 1, xfer->txrxBuf, 2, i2cCallback, xfer); in handle_event()
1042i2cMasterTxRx(I2C_BUS_ID, I2C_ADDR, xfer->txrxBuf, 1, xfer->txrxBuf, 8, i2cCallback, xfer); in handle_event()
1052i2cMasterTxRx(I2C_BUS_ID, I2C_ADDR, xfer->txrxBuf, 1, xfer->txrxBuf, 8, i2cCallback, xfer); in handle_event()
1055i2cMasterTxRx(I2C_BUS_ID, I2C_ADDR, xfer->txrxBuf, 1, xfer->txrxBuf, 2, i2cCallback, xfer); in handle_event()
/device/google/contexthub/firmware/os/drivers/st_hts221/
Dhts221.c237 if ((ret = i2cMasterTxRx(HTS221_I2C_BUS_ID, HTS221_I2C_ADDR, in i2c_read()
/device/google/contexthub/firmware/os/drivers/si_si7034/
Dsi7034a10.c185 ret = i2cMasterTxRx(SI7034A10_I2C_BUS_ID, SI7034A10_I2C_ADDR, in si7034_i2c_read()
/device/google/contexthub/firmware/os/drivers/synaptics_s3708/
Dsynaptics_s3708.c241 …ret = i2cMasterTxRx(I2C_BUS_ID, I2C_ADDR, xfer->txrxBuf, txBytes, xfer->txrxBuf, rxBytes, i2cCallb… in performXfer()
/device/google/contexthub/firmware/os/drivers/st_lps22hb/
Dlps22hb.c255 …if ((ret = i2cMasterTxRx(LPS22HB_I2C_BUS_ID, LPS22HB_I2C_ADDR, xfer->txrxBuf, 1, xfer->txrxBuf, le… in i2c_read()
/device/google/contexthub/firmware/os/drivers/st_acc44/
Dst_acc44.c603 …if ((ret = i2cMasterTxRx(ST_ACC44_I2C_BUS_ID, ST_ACC44_I2C_ADDR, xfer->txrxBuf, 1, xfer->txrxBuf, … in st_acc44_i2c_read()
/device/google/contexthub/firmware/os/core/
DosApi.c414 …*retValP = i2cMasterTxRx(busId, addr, txBuf, txSize, rxBuf, rxSize, osExpApiI2cInternalCbk, cbkInf… in osExpApiI2cMstTxRx()
/device/google/contexthub/firmware/os/drivers/st_mag40/
Dst_mag40.c379i2cMasterTxRx(ST_MAG40_I2C_BUS_ID, ST_MAG40_I2C_ADDR, xfer->txrxBuf, 1, xfer->txrxBuf, len, i2cCal… in i2c_read()
/device/google/contexthub/firmware/os/platform/stm32/
Di2c.c901 int i2cMasterTxRx(uint32_t busId, uint32_t addr, in i2cMasterTxRx() function
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/
Dbosch_bmi160.c3717 …err = i2cMasterTxRx(BMI160_I2C_BUS_ID, BMI160_I2C_ADDR, txBuf, 1, rxBuf, size, i2cCallback, evtDat…