Home
last modified time | relevance | path

Searched refs:allocXfer (Results 1 – 5 of 5) sorted by relevance

/device/google/contexthub/firmware/os/drivers/ams_tmd2772/
Dams_tmd2772.c232 static struct I2cTransfer *allocXfer(uint8_t state) in allocXfer() function
252 struct I2cTransfer *xfer = allocXfer(state); in writeRegister()
309 xfer = allocXfer(state); in setMode()
493 nextXfer = allocXfer(SENSOR_STATE_CALIBRATE_POLLING_STATUS); in handle_calibration_event()
503 nextXfer = allocXfer(SENSOR_STATE_CALIBRATE_AWAITING_SAMPLE); in handle_calibration_event()
557 nextXfer = allocXfer(SENSOR_STATE_INIT); in handle_i2c_event()
574 nextXfer = allocXfer(SENSOR_STATE_IDLE); in handle_i2c_event()
713 xfer = allocXfer(SENSOR_STATE_VERIFY_ID); in handle_event()
728 xfer = allocXfer(SENSOR_STATE_SAMPLING); in handle_event()
/device/google/contexthub/firmware/os/drivers/rohm_rpr0521/
Drohm_rpr0521.c311 static struct I2cTransfer *allocXfer(uint8_t state) in allocXfer() function
331 struct I2cTransfer *xfer = allocXfer(state); in writeRegister()
484 xfer = allocXfer(SENSOR_STATE_IDLE); in sensorCfgDataProx()
574 newXfer = allocXfer(SENSOR_STATE_VERIFY_ID); in handle_i2c_event()
590 newXfer = allocXfer(SENSOR_STATE_INIT_GAINS); in handle_i2c_event()
601 newXfer = allocXfer(SENSOR_STATE_INIT_OFFSETS); in handle_i2c_event()
612 newXfer = allocXfer(SENSOR_STATE_INIT_THRESHOLDS); in handle_i2c_event()
767 xfer = allocXfer(SENSOR_STATE_ALS_SAMPLING); in handle_event()
776 xfer = allocXfer(SENSOR_STATE_PROX_SAMPLING); in handle_event()
/device/google/contexthub/firmware/os/drivers/bosch_bmp280/
Dbosch_bmp280.c175 static struct I2cTransfer *allocXfer(uint8_t state) in allocXfer() function
195 struct I2cTransfer *xfer = allocXfer(state); in writeRegister()
480 newXfer = allocXfer(STATE_VERIFY_ID); in handleI2cEvent()
496 newXfer = allocXfer(STATE_AWAITING_COMP_PARAMS); in handleI2cEvent()
608 newXfer = allocXfer(STATE_SAMPLING); in handleEvent()
623 newXfer = allocXfer(STATE_SAMPLING); in handleEvent()
/device/google/contexthub/firmware/os/drivers/synaptics_s3708/
Dsynaptics_s3708.c211 static struct I2cTransfer *allocXfer(uint8_t state) in allocXfer() function
256 struct I2cTransfer *xfer = allocXfer(state); in writeRegister()
276 xfer = allocXfer(state); in setReportingMode()
469 nextXfer = allocXfer(STATE_INT_HANDLE_1); in processI2cResponse()
532 xfer = allocXfer(STATE_INT_HANDLE_0); in handleEvent()
/device/google/contexthub/firmware/os/drivers/ams_tmd4903/
Dams_tmd4903.c285 static struct AlsProxTransfer *allocXfer(uint8_t state) in allocXfer() function
305 struct AlsProxTransfer *xfer = allocXfer(state); in writeRegister()
638 xfer = allocXfer(SENSOR_STATE_IDLE); in sensorCfgDataProx()
719 nextXfer = allocXfer(SENSOR_STATE_INIT_0); in verifySensorId()
853 nextXfer = allocXfer(SENSOR_STATE_INIT_2); in handle_i2c_event()
1021 xfer = allocXfer(SENSOR_STATE_VERIFY_ID); in handle_event()
1039 xfer = allocXfer(SENSOR_STATE_ALS_SAMPLING); in handle_event()
1047 xfer = allocXfer(SENSOR_STATE_PROX_SAMPLING); in handle_event()