/device/google/contexthub/firmware/os/drivers/synaptics_s3708/ |
D | synaptics_s3708.c | 116 struct I2cTransfer struct 148 struct I2cTransfer transfers[MAX_PENDING_I2C_REQUESTS]; 189 struct I2cTransfer *xfer = cookie; in i2cCallback() 212 static struct I2cTransfer *allocXfer(uint8_t state) in allocXfer() 231 static bool performXfer(struct I2cTransfer *xfer, size_t txBytes, size_t rxBytes) in performXfer() 257 struct I2cTransfer *xfer = allocXfer(state); in writeRegister() 275 struct I2cTransfer *xfer; in setReportingMode() 429 static void processI2cResponse(struct I2cTransfer *xfer) in processI2cResponse() 431 struct I2cTransfer *nextXfer; in processI2cResponse() 492 static void handleI2cEvent(struct I2cTransfer *xfer) in handleI2cEvent() [all …]
|
/device/google/contexthub/firmware/os/drivers/intersil_isl29034/ |
D | isl29034.c | 123 struct I2cTransfer struct 142 struct I2cTransfer transfers[ISL29034_MAX_PENDING_I2C_REQUESTS]; argument 171 struct I2cTransfer *xfer = cookie; in i2cCallback() 184 static struct I2cTransfer *allocXfer(uint8_t state) in allocXfer() 204 struct I2cTransfer *xfer = allocXfer(state); in writeRegister() 313 static void handle_i2c_event(struct I2cTransfer *xfer) in handle_i2c_event() 316 struct I2cTransfer *nextXfer; in handle_i2c_event() 414 struct I2cTransfer *xfer; in handle_event() 428 handle_i2c_event((struct I2cTransfer *)evtData); in handle_event()
|
/device/google/contexthub/firmware/os/drivers/leds/ |
D | leds_lp3943.c | 88 struct I2cTransfer struct 108 struct I2cTransfer transfers[LP3943_MAX_PENDING_I2C_REQUESTS]; argument 114 struct I2cTransfer *xfer = cookie; in i2cCallback() 149 static struct I2cTransfer *allocXfer(uint8_t state) in allocXfer() 166 static inline void releaseXfer(struct I2cTransfer *xfer) in releaseXfer() 175 struct I2cTransfer *xfer = allocXfer(state); in writeRegister() 269 static void handleI2cEvent(struct I2cTransfer *xfer) in handleI2cEvent() 320 handleI2cEvent((struct I2cTransfer *)evtData); in handleEvent()
|
/device/google/contexthub/firmware/os/drivers/rohm_rpr0521/ |
D | rohm_rpr0521.c | 213 struct I2cTransfer struct 236 struct I2cTransfer transfers[ROHM_RPR0521_MAX_PENDING_I2C_REQUESTS]; argument 301 struct I2cTransfer *xfer = cookie; in i2cCallback() 319 static struct I2cTransfer *allocXfer(uint8_t state) in allocXfer() 335 static inline void releaseXfer(struct I2cTransfer *xfer) in releaseXfer() 340 static bool i2cWrite(struct I2cTransfer *xfer, size_t txSize) in i2cWrite() 355 struct I2cTransfer *xfer = allocXfer(state); in writeRegister() 368 struct I2cTransfer *xfer = allocXfer(state); in readRegister() 517 struct I2cTransfer *xfer; in sensorCfgDataProx() 601 static void handle_i2c_event(struct I2cTransfer *xfer) in handle_i2c_event() [all …]
|
/device/google/contexthub/firmware/os/drivers/ams_tmd2772/ |
D | ams_tmd2772.c | 146 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/st_hts221/ |
D | hts221.c | 136 struct I2cTransfer struct 164 struct I2cTransfer transfers[HTS221_MAX_PENDING_I2C_REQUESTS]; argument 189 static struct I2cTransfer *allocXfer(uint8_t state) in allocXfer() 205 static inline void releaseXfer(struct I2cTransfer *xfer) in releaseXfer() 213 struct I2cTransfer *xfer = cookie; in i2cCallback() 226 struct I2cTransfer *xfer = allocXfer(state); in i2c_read() 250 struct I2cTransfer *xfer = allocXfer(state); in i2c_write() 394 struct I2cTransfer *xfer = (struct I2cTransfer *)evtData; in handleCommDoneEvt()
|
/device/google/contexthub/firmware/os/drivers/si_si7034/ |
D | si7034a10.c | 109 struct I2cTransfer struct 133 struct I2cTransfer transfers[SI7034_MAX_PENDING_I2C_REQUESTS]; argument 143 static struct I2cTransfer *allocXfer(uint8_t state) in allocXfer() 159 static inline void releaseXfer(struct I2cTransfer *xfer) in releaseXfer() 166 struct I2cTransfer *xfer = cookie; in i2cCallback() 179 struct I2cTransfer *xfer = allocXfer(state); in si7034_i2c_read() 198 struct I2cTransfer *xfer = allocXfer(state); in si7034_i2c_write() 360 struct I2cTransfer *xfer = (struct I2cTransfer *)evtData; in handleI2cEvent()
|
/device/google/contexthub/firmware/os/drivers/bosch_bmp280/ |
D | bosch_bmp280.c | 104 struct I2cTransfer struct 129 struct I2cTransfer transfers[BOSCH_BMP280_MAX_PENDING_I2C_REQUESTS]; argument 186 static struct I2cTransfer *allocXfer(uint8_t state) in allocXfer() 203 static inline void releaseXfer(struct I2cTransfer *xfer) in releaseXfer() 212 struct I2cTransfer *xfer = allocXfer(state); in writeRegister() 255 struct I2cTransfer *xfer = cookie; in i2cCallback() 551 static void handleI2cEvent(struct I2cTransfer *xfer) in handleI2cEvent() 555 struct I2cTransfer *newXfer; in handleI2cEvent() 702 struct I2cTransfer *newXfer; in handleEvent() 718 handleI2cEvent((struct I2cTransfer *)evtData); in handleEvent()
|
/device/google/contexthub/firmware/os/drivers/st_acc44/ |
D | st_acc44.c | 218 struct I2cTransfer struct 253 struct I2cTransfer transfers[ST_ACC44_MAX_PENDING_I2C_REQUESTS]; 555 static struct I2cTransfer *allocXfer(void) in allocXfer() 570 static inline void releaseXfer(struct I2cTransfer *xfer) in releaseXfer() 577 struct I2cTransfer *xfer = cookie; in st_acc44_i2cCallback() 596 struct I2cTransfer *xfer = allocXfer(); in st_acc44_i2c_read() 615 struct I2cTransfer *xfer = allocXfer(); in st_acc44_i2c_write() 688 struct I2cTransfer *xfer = (struct I2cTransfer *)evtData; in st_acc44_handleCommDoneEvt()
|
/device/google/contexthub/firmware/os/drivers/st_lps22hb/ |
D | lps22hb.c | 144 struct I2cTransfer struct 177 struct I2cTransfer transfers[LPS22HB_MAX_PENDING_I2C_REQUESTS]; 214 static struct I2cTransfer *allocXfer(uint8_t state) in allocXfer() 230 static inline void releaseXfer(struct I2cTransfer *xfer) in releaseXfer() 237 struct I2cTransfer *xfer = cookie; in i2cCallback() 250 struct I2cTransfer *xfer = allocXfer(state); in i2c_read() 267 struct I2cTransfer *xfer = allocXfer(state); in i2c_write() 526 struct I2cTransfer *xfer = (struct I2cTransfer *)evtData; in handleCommDoneEvt()
|
/device/google/contexthub/firmware/os/drivers/st_mag40/ |
D | st_mag40.c | 196 struct I2cTransfer struct 234 struct I2cTransfer transfers[ST_MAG40_MAX_PENDING_I2C_REQUESTS]; 306 static struct I2cTransfer *allocXfer(void) in allocXfer() 321 static inline void releaseXfer(struct I2cTransfer *xfer) in releaseXfer() 331 struct I2cTransfer *xfer = data; in i2cDelayCallback() 338 struct I2cTransfer *xfer = cookie; in i2cCallback() 373 struct I2cTransfer *xfer = allocXfer(); in i2c_read() 385 struct I2cTransfer *xfer = allocXfer(); in i2c_write() 560 static void magTestHandling(struct I2cTransfer *xfer) in magTestHandling() 888 struct I2cTransfer *xfer = (struct I2cTransfer *)evtData; in handleCommDoneEvt()
|