Home
last modified time | relevance | path

Searched refs:I2cTransfer (Results 1 – 4 of 4) sorted by relevance

/device/google/contexthub/firmware/os/drivers/synaptics_s3708/
Dsynaptics_s3708.c115 struct I2cTransfer struct
147 struct I2cTransfer transfers[MAX_PENDING_I2C_REQUESTS];
188 struct I2cTransfer *xfer = cookie; in i2cCallback()
211 static struct I2cTransfer *allocXfer(uint8_t state) in allocXfer()
230 static bool performXfer(struct I2cTransfer *xfer, size_t txBytes, size_t rxBytes) in performXfer()
256 struct I2cTransfer *xfer = allocXfer(state); in writeRegister()
274 struct I2cTransfer *xfer; in setReportingMode()
428 static void processI2cResponse(struct I2cTransfer *xfer) in processI2cResponse()
430 struct I2cTransfer *nextXfer; in processI2cResponse()
491 static void handleI2cEvent(struct I2cTransfer *xfer) in handleI2cEvent()
[all …]
/device/google/contexthub/firmware/os/drivers/ams_tmd2772/
Dams_tmd2772.c146 struct I2cTransfer struct
179 struct I2cTransfer transfers[AMS_TMD2772_MAX_PENDING_I2C_REQUESTS]; argument
219 struct I2cTransfer *xfer = cookie; in i2cCallback()
232 static struct I2cTransfer *allocXfer(uint8_t state) in allocXfer()
252 struct I2cTransfer *xfer = allocXfer(state); in writeRegister()
307 struct I2cTransfer *xfer; in setMode()
479 static void handle_calibration_event(struct I2cTransfer *xfer) { in handle_calibration_event()
480 struct I2cTransfer *nextXfer; in handle_calibration_event()
541 static void handle_i2c_event(struct I2cTransfer *xfer) in handle_i2c_event()
545 struct I2cTransfer *nextXfer; in handle_i2c_event()
[all …]
/device/google/contexthub/firmware/os/drivers/bosch_bmp280/
Dbosch_bmp280.c96 struct I2cTransfer struct
120 struct I2cTransfer transfers[BOSCH_BMP280_MAX_PENDING_I2C_REQUESTS]; argument
175 static struct I2cTransfer *allocXfer(uint8_t state) in allocXfer()
195 struct I2cTransfer *xfer = allocXfer(state); in writeRegister()
236 struct I2cTransfer *xfer = cookie; in i2cCallback()
471 static void handleI2cEvent(struct I2cTransfer *xfer) in handleI2cEvent()
476 struct I2cTransfer *newXfer; in handleI2cEvent()
585 struct I2cTransfer *newXfer; in handleEvent()
600 handleI2cEvent((struct I2cTransfer *)evtData); in handleEvent()
/device/google/contexthub/firmware/os/drivers/rohm_rpr0521/
Drohm_rpr0521.c205 struct I2cTransfer struct
228 struct I2cTransfer transfers[ROHM_RPR0521_MAX_PENDING_I2C_REQUESTS]; argument
293 struct I2cTransfer *xfer = cookie; in i2cCallback()
311 static struct I2cTransfer *allocXfer(uint8_t state) in allocXfer()
331 struct I2cTransfer *xfer = allocXfer(state); in writeRegister()
476 struct I2cTransfer *xfer; in sensorCfgDataProx()
564 static void handle_i2c_event(struct I2cTransfer *xfer) in handle_i2c_event()
569 struct I2cTransfer *newXfer; in handle_i2c_event()
752 struct I2cTransfer *xfer; in handle_event()
763 handle_i2c_event((struct I2cTransfer*)evtData); in handle_event()