Searched refs:allocXfer (Results 1 – 12 of 12) 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()
184 static struct I2cTransfer *allocXfer(uint8_t state) in allocXfer() function204 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()
319 static struct I2cTransfer *allocXfer(uint8_t state) in allocXfer() function355 struct I2cTransfer *xfer = allocXfer(state); in writeRegister()368 struct I2cTransfer *xfer = allocXfer(state); in readRegister()523 xfer = allocXfer(SENSOR_STATE_IDLE); in sensorCfgDataProx()623 newXfer = allocXfer(SENSOR_STATE_INIT_GAINS); in handle_i2c_event()634 newXfer = allocXfer(SENSOR_STATE_INIT_OFFSETS); in handle_i2c_event()645 newXfer = allocXfer(SENSOR_STATE_INIT_THRESHOLDS); in handle_i2c_event()
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()
186 static struct I2cTransfer *allocXfer(uint8_t state) in allocXfer() function212 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()
212 static struct I2cTransfer *allocXfer(uint8_t state) in allocXfer() function257 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()
189 static struct I2cTransfer *allocXfer(uint8_t state) in allocXfer() function226 struct I2cTransfer *xfer = allocXfer(state); in i2c_read()250 struct I2cTransfer *xfer = allocXfer(state); in i2c_write()
143 static struct I2cTransfer *allocXfer(uint8_t state) in allocXfer() function179 struct I2cTransfer *xfer = allocXfer(state); in si7034_i2c_read()198 struct I2cTransfer *xfer = allocXfer(state); in si7034_i2c_write()
555 static struct I2cTransfer *allocXfer(void) in allocXfer() function596 struct I2cTransfer *xfer = allocXfer(); in st_acc44_i2c_read()615 struct I2cTransfer *xfer = allocXfer(); in st_acc44_i2c_write()
214 static struct I2cTransfer *allocXfer(uint8_t state) in allocXfer() function250 struct I2cTransfer *xfer = allocXfer(state); in i2c_read()267 struct I2cTransfer *xfer = allocXfer(state); in i2c_write()
149 static struct I2cTransfer *allocXfer(uint8_t state) in allocXfer() function175 struct I2cTransfer *xfer = allocXfer(state); in writeRegister()
306 static struct I2cTransfer *allocXfer(void) in allocXfer() function373 struct I2cTransfer *xfer = allocXfer(); in i2c_read()385 struct I2cTransfer *xfer = allocXfer(); in i2c_write()