Searched refs:allocXfer (Results 1 – 5 of 5) sorted by relevance
232 static struct I2cTransfer *allocXfer(uint8_t state) in allocXfer() function252 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()
311 static struct I2cTransfer *allocXfer(uint8_t state) in allocXfer() function331 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()
175 static struct I2cTransfer *allocXfer(uint8_t state) in allocXfer() function195 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()
211 static struct I2cTransfer *allocXfer(uint8_t state) in allocXfer() function256 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()
285 static struct AlsProxTransfer *allocXfer(uint8_t state) in allocXfer() function305 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()