Home
last modified time | relevance | path

Searched refs:allocXfer (Results 1 – 12 of 12) 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.c319 static struct I2cTransfer *allocXfer(uint8_t state) in allocXfer() function
339 struct I2cTransfer *xfer = allocXfer(state); in writeRegister()
490 xfer = allocXfer(SENSOR_STATE_IDLE); in sensorCfgDataProx()
580 newXfer = allocXfer(SENSOR_STATE_VERIFY_ID); in handle_i2c_event()
596 newXfer = allocXfer(SENSOR_STATE_INIT_GAINS); in handle_i2c_event()
607 newXfer = allocXfer(SENSOR_STATE_INIT_OFFSETS); in handle_i2c_event()
618 newXfer = allocXfer(SENSOR_STATE_INIT_THRESHOLDS); in handle_i2c_event()
773 xfer = allocXfer(SENSOR_STATE_ALS_SAMPLING); in handle_event()
782 xfer = allocXfer(SENSOR_STATE_PROX_SAMPLING); in handle_event()
/device/google/contexthub/firmware/os/drivers/intersil_isl29034/
Disl29034.c184 static struct I2cTransfer *allocXfer(uint8_t state) in allocXfer() function
204 struct I2cTransfer *xfer = allocXfer(state); in writeRegister()
339 nextXfer = allocXfer(SENSOR_STATE_IDLE); in handle_i2c_event()
420 xfer = allocXfer(SENSOR_STATE_VERIFY_ID); in handle_event()
434 xfer = allocXfer(SENSOR_STATE_SAMPLING); in handle_event()
/device/google/contexthub/firmware/os/drivers/synaptics_s3708/
Dsynaptics_s3708.c212 static struct I2cTransfer *allocXfer(uint8_t state) in allocXfer() function
257 struct I2cTransfer *xfer = allocXfer(state); in writeRegister()
277 xfer = allocXfer(state); in setReportingMode()
470 nextXfer = allocXfer(STATE_INT_HANDLE_1); in processI2cResponse()
533 xfer = allocXfer(STATE_INT_HANDLE_0); in handleEvent()
/device/google/contexthub/firmware/os/drivers/bosch_bmp280/
Dbosch_bmp280.c186 static struct I2cTransfer *allocXfer(uint8_t state) in allocXfer() function
212 struct I2cTransfer *xfer = allocXfer(state); in writeRegister()
560 newXfer = allocXfer(STATE_VERIFY_ID); in handleI2cEvent()
603 newXfer = allocXfer(STATE_AWAITING_COMP_PARAMS); in handleI2cEvent()
726 newXfer = allocXfer(STATE_SAMPLING); in handleEvent()
743 newXfer = allocXfer(STATE_SAMPLING); 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()
/device/google/contexthub/firmware/os/drivers/st_hts221/
Dhts221.c189 static struct I2cTransfer *allocXfer(uint8_t state) in allocXfer() function
226 struct I2cTransfer *xfer = allocXfer(state); in i2c_read()
250 struct I2cTransfer *xfer = allocXfer(state); in i2c_write()
/device/google/contexthub/firmware/os/drivers/si_si7034/
Dsi7034a10.c143 static struct I2cTransfer *allocXfer(uint8_t state) in allocXfer() function
179 struct I2cTransfer *xfer = allocXfer(state); in si7034_i2c_read()
198 struct I2cTransfer *xfer = allocXfer(state); in si7034_i2c_write()
/device/google/contexthub/firmware/os/drivers/leds/
Dleds_lp3943.c149 static struct I2cTransfer *allocXfer(uint8_t state) in allocXfer() function
175 struct I2cTransfer *xfer = allocXfer(state); in writeRegister()
/device/google/contexthub/firmware/os/drivers/st_lps22hb/
Dlps22hb.c214 static struct I2cTransfer *allocXfer(uint8_t state) in allocXfer() function
250 struct I2cTransfer *xfer = allocXfer(state); in i2c_read()
267 struct I2cTransfer *xfer = allocXfer(state); in i2c_write()
/device/google/contexthub/firmware/os/drivers/st_acc44/
Dst_acc44.c555 static struct I2cTransfer *allocXfer(void) in allocXfer() function
596 struct I2cTransfer *xfer = allocXfer(); in st_acc44_i2c_read()
615 struct I2cTransfer *xfer = allocXfer(); in st_acc44_i2c_write()
/device/google/contexthub/firmware/os/drivers/st_mag40/
Dst_mag40.c306 static struct I2cTransfer *allocXfer(void) in allocXfer() function
373 struct I2cTransfer *xfer = allocXfer(); in i2c_read()
385 struct I2cTransfer *xfer = allocXfer(); in i2c_write()