/device/google/contexthub/firmware/os/drivers/intersil_isl29034/ |
D | isl29034.c | 85 #define INFO_PRINT(fmt, ...) \ macro 179 INFO_PRINT("i2c error (tx: %d, rx: %d, err: %d)\n", tx, rx, err); in i2cCallback() 231 INFO_PRINT("sensorPowerAls: %d\n", on); in sensorPowerAls() 260 INFO_PRINT("sensorRateAls: %ld/%lld\n", rate, latency); in sensorRateAls() 323 INFO_PRINT("not detected\n"); in handle_i2c_event() 327 INFO_PRINT("detected\n") in handle_i2c_event() 330 INFO_PRINT("Brownout Condition\n"); in handle_i2c_event() 385 INFO_PRINT("started\n"); in init_app() 405 INFO_PRINT("ended\n"); in end_app()
|
/device/google/contexthub/firmware/os/drivers/st_lps22hb/ |
D | lps22hb.c | 65 #define INFO_PRINT(fmt, ...) \ macro 358 INFO_PRINT("baroPower %s\n", on ? "enable" : "disable"); in baroPower() 391 INFO_PRINT("baroSetRate %lu Hz - %llu ns\n", rate, latency); in baroSetRate() 410 INFO_PRINT("baroCalibrate\n"); in baroCalibrate() 436 INFO_PRINT("baroCfgData %ld\n", offset); in baroCfgData() 455 INFO_PRINT("tempPower %s\n", on ? "enable" : "disable"); in tempPower() 491 INFO_PRINT("tempSetRate %lu Hz - %llu ns\n", rate, latency); in tempSetRate() 545 INFO_PRINT("Device ID is correct! (%02x)\n", xfer->txrxBuf[0]); in handleCommDoneEvt() 641 INFO_PRINT("EVT_APP_START\n"); in handleEvent() 682 INFO_PRINT("EVT_TEST\n"); in handleEvent() [all …]
|
/device/google/contexthub/firmware/os/drivers/st_acc44/ |
D | st_acc44.c | 149 #define INFO_PRINT(fmt, ...) \ macro 380 INFO_PRINT("Power %s\n", on ? "on" : "off"); in st_acc44_Power() 404 INFO_PRINT("FwUpload\n"); in st_acc44_FwUpload() 412 INFO_PRINT("SetRate %lu Hz - %llu ns\n", rate, latency); in st_acc44_SetRate() 440 INFO_PRINT("Flush\n"); in st_acc44_Flush() 446 INFO_PRINT("SelfTest\n"); in st_acc44_SelfTest() 706 INFO_PRINT("Device ID is correct! (%02x)\n", xfer->txrxBuf[0]); in st_acc44_handleCommDoneEvt() 772 INFO_PRINT("EVT_APP_START\n"); in st_acc44_handleEvent() 799 INFO_PRINT("start driver\n"); in st_acc44_startTask() 838 INFO_PRINT("ended\n"); in st_acc44_endTask()
|
/device/google/contexthub/firmware/os/drivers/st_mag40/ |
D | st_mag40.c | 170 #define INFO_PRINT(fmt, ...) \ macro 463 INFO_PRINT("magPower %s\n", on ? "on" : "off"); in magPower() 483 INFO_PRINT("magSetRate %lu Hz - %llu ns\n", rate, latency); in magSetRate() 503 INFO_PRINT("magFlush\n"); in magFlush() 514 INFO_PRINT("magCfgData: calibration %ldnT, %ldnT, %ldnT\n", in magCfgData() 524 INFO_PRINT("magCfgData: local field strength %dnT, dec %ddeg, inc %ddeg\n", in magCfgData() 653 INFO_PRINT("magSelfTest\n"); in magSelfTest() 909 INFO_PRINT( "Device ID is correct! (%02x)\n", *wai); in handleCommDoneEvt() 918 INFO_PRINT( "Initialization completed\n"); in handleCommDoneEvt() 969 INFO_PRINT("EVT_APP_START\n"); in handleEvent() [all …]
|
/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/ |
D | st_lsm6dsm.c | 574 #define INFO_PRINT(fmt, ...) \ macro 1812 … INFO_PRINT("runGapSelfTestProgram: completed. Test result: %s\n", testPassed ? "pass" : "fail"); in lsm6dsm_runGapSelfTestProgram() 1945 …INFO_PRINT("runCalibrationProgram: completed. offset [LSB]: %ld %ld %ld\n", T(dataCalibration[0]),… in lsm6dsm_runCalibrationProgram() 2025 …INFO_PRINT("runAbsoluteSelfTestProgram: completed. Test result: %s\n", testPassed ? "pass" : "fail… in lsm6dsm_runAbsoluteSelfTestProgram() 2557 INFO_PRINT("setAccelPower: %s\n", on ? "enable" : "disable"); in lsm6dsm_setAccelPower() 2590 INFO_PRINT("setGyroPower: %s\n", on ? "enable" : "disable"); in lsm6dsm_setGyroPower() 2627 INFO_PRINT("setMagnPower: %s\n", on ? "enable" : "disable"); in lsm6dsm_setMagnPower() 2686 INFO_PRINT("setPressPower: %s\n", on ? "enable" : "disable"); in lsm6dsm_setPressPower() 2763 INFO_PRINT("setTempPower: %s\n", on ? "enable" : "disable"); in lsm6dsm_setTempPower() 2841 INFO_PRINT("setStepDetectorPower: %s\n", on ? "enable" : "disable"); in lsm6dsm_setStepDetectorPower() [all …]
|
/device/google/contexthub/firmware/os/drivers/st_hts221/ |
D | hts221.c | 74 #define INFO_PRINT(fmt, ...) \ macro 310 INFO_PRINT("humidityPower %s\n", on ? "enable" : "disable"); in humidityPower() 344 INFO_PRINT("humiditySetRate %lu Hz - %llu ns\n", rate, latency); in humiditySetRate() 412 INFO_PRINT( "Device ID is correct! (%02x)\n", xfer->txrxBuf[0]); in handleCommDoneEvt() 460 INFO_PRINT( "EVT_APP_START\n"); in handleEvent() 493 INFO_PRINT( "started\n"); in startTask() 516 INFO_PRINT( "ended\n"); in endTask()
|
/device/google/contexthub/firmware/os/drivers/ams_tmd4903/ |
D | ams_tmd4903.c | 143 #define INFO_PRINT(fmt, ...) do { \ macro 149 INFO_PRINT(fmt, ##__VA_ARGS__); \ 297 INFO_PRINT("Ran out of i2c buffers!"); in allocXfer() 379 INFO_PRINT("i2c error (tx: %d, rx: %d, err: %d)\n", tx, rx, err); in i2cCallback() 525 INFO_PRINT("cannot calibrate while als or prox are active\n"); in sensorCalibrateAls() 551 INFO_PRINT("Received als cfg data: %d\n", (int)mTask.alsOffset); in sensorCfgDataAls() 613 INFO_PRINT("cannot calibrate while als or prox are active\n"); in sensorCalibrateProx() 635 INFO_PRINT("Received cfg data: {%d, %d, %d, %d}\n", in sensorCfgDataProx() 713 INFO_PRINT("not detected\n"); in verifySensorId() 890 INFO_PRINT("Calibration offsets = {%d, %d, %d, %d}\n", *((int16_t*)&xfer->txrxBuf[0]), in handle_i2c_event()
|
/device/google/contexthub/firmware/os/drivers/invensense_icm40600/ |
D | invensense_icm40600.c | 50 #define INFO_PRINT(fmt, ...) do { \ macro 60 INFO_PRINT(fmt, ##__VA_ARGS__); \ 66 INFO_PRINT(fmt, ##__VA_ARGS__); \ 1041 INFO_PRINT("accCfgData hw bias: data=%d, %d, %d\n", 1073 INFO_PRINT("gyrCfgData hw bias: data=%d, %d, %d\n", 1382 INFO_PRINT("reported: %ld, %ld, %ld\n", 1398 INFO_PRINT("Accel Calibration\n"); 1415 INFO_PRINT("Gyro Calibration\n"); 1578 INFO_PRINT("error accel[%d] : st_res = %ld, st_otp = %ld\n", i, st_res, st_otp[i]); 1587 …INFO_PRINT("error accel[%d] : st_res = %ld, min = %d, max = %d\n", i, st_res, SELF_TEST_MIN_ACC, S… [all …]
|
/device/google/contexthub/firmware/os/drivers/vsync/ |
D | vsync.c | 56 #define INFO_PRINT(fmt, ...) do { \ macro 60 #define ERROR_PRINT(fmt, ...) INFO_PRINT("%s" fmt, "ERROR: ", ##__VA_ARGS__); \ 64 INFO_PRINT(fmt, ##__VA_ARGS__); \
|
/device/google/contexthub/firmware/os/drivers/si_si7034/ |
D | si7034a10.c | 48 #define INFO_PRINT(fmt, ...) \ macro 377 INFO_PRINT("Device ID = (%02x)\n", xfer->txrxBuf[0]); in handleI2cEvent() 381 INFO_PRINT("detected\n"); in handleI2cEvent()
|
/device/google/contexthub/firmware/os/core/ |
D | timer.c | 36 #define INFO_PRINT(fmt, ...) do { \ macro 40 #define ERROR_PRINT(fmt, ...) INFO_PRINT("%s" fmt, "ERROR: ", ##__VA_ARGS__)
|
D | spi.c | 26 #define INFO_PRINT(fmt, ...) do { \ macro
|
/device/google/contexthub/firmware/os/drivers/rohm_rpr0521/ |
D | rohm_rpr0521.c | 146 #define INFO_PRINT(fmt, ...) do { \ macro 521 INFO_PRINT("Received cfg data: %d\n", (int)offset); in sensorCfgDataProx() 617 INFO_PRINT("not detected\n"); in handle_i2c_event()
|
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/ |
D | bosch_bmi160.c | 79 #define INFO_PRINT(fmt, ...) do { \ macro 2011 INFO_PRINT("Future ts %s: rtc_time = %llu, cur_time = %llu", 2869 INFO_PRINT("accCfgData: data=%02lx, %02lx, %02lx\n", 2996 INFO_PRINT("accSelfTest\n"); 3129 INFO_PRINT("gyrCfgData hw bias: data=%02lx, %02lx, %02lx\n", 3203 INFO_PRINT("gyrSelfTest\n"); 3222 INFO_PRINT("magCfgData: calibration %ldnT, %ldnT, %ldnT\n", 3233 INFO_PRINT("magCfgData: local field strength %dnT, dec %ddeg, inc %ddeg\n", 3502 INFO_PRINT("Invalid init_state.\n"); 3537 INFO_PRINT("detected\n"); [all …]
|
/device/google/contexthub/firmware/os/drivers/synaptics_s3708/ |
D | synaptics_s3708.c | 80 #define INFO_PRINT(fmt, ...) osLog(LOG_INFO, "[DoubleTouch] " fmt, ##__VA_ARGS__) macro
|