/device/google/contexthub/firmware/os/drivers/st_mag40/ |
D | st_mag40.c | 182 #define ERROR_PRINT(fmt, ...) \ macro 291 ERROR_PRINT("Failed to allocate mag event memory"); in magAllocateEvt() 317 ERROR_PRINT("Ran out of i2c buffers!"); in allocXfer() 353 ERROR_PRINT("Cannot do delayed i2cCallback\n"); in i2cCallback() 368 ERROR_PRINT("i2c error (tx: %d, rx: %d, err: %d)\n", tx, rx, err); in i2cCallback() 441 ERROR_PRINT("ODR not valid! Choosed smallest ODR available\n"); in st_mag40_computeOdr() 535 ERROR_PRINT("magCfgData: unknown type 0x%04x, size %d", p->type, p->size); in magCfgData() 546 ERROR_PRINT("Couldn't alloc test result packet"); in sendTestResult() 557 ERROR_PRINT("Couldn't send test result packet"); in sendTestResult() 660 ERROR_PRINT("cannot test mag because sensor is busy\n"); in magSelfTest() [all …]
|
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/ |
D | bosch_bmi160.c | 83 #define ERROR_PRINT(fmt, ...) do { \ macro 832 ERROR_PRINT("SPI in use, cannot queue write\n"); 851 ERROR_PRINT("SPI in use, cannot queue read %d %d\n", (int)addr, (int)size); 874 ERROR_PRINT("NO enough SPI buffer space, dropping transaction.\n"); 878 ERROR_PRINT("spiBatchTxRx too many packets!\n"); 896 ERROR_PRINT("spiMasterRxTx failed!\n"); 925 ERROR_PRINT("bmi160Isr2: osEnqueuePrivateEvt() failed\n"); 935 ERROR_PRINT("sensorSpiCallback: osEnqueuePrivateEvt() failed\n"); 941 ERROR_PRINT("sensorTimerCallback: osEnqueuePrivateEvt() failed\n") 947 ERROR_PRINT("timeSyncCallback: osEnqueuePrivateEvt() failed\n"); [all …]
|
/device/google/contexthub/firmware/os/drivers/synaptics_s3708/ |
D | synaptics_s3708.c | 81 #define ERROR_PRINT(fmt, ...) osLog(LOG_ERROR, "[DoubleTouch] " fmt, ##__VA_ARGS__) macro 201 ERROR_PRINT("i2c error (tx: %d, rx: %d, err: %d)\n", tx, rx, err); in i2cCallback() 225 ERROR_PRINT("Ran out of I2C buffers!"); in allocXfer() 236 ERROR_PRINT("txBytes and rxBytes must be less than %d", MAX_I2C_TRANSFER_SIZE); in performXfer() 247 ERROR_PRINT("I2C transfer was not successful (error %d)!", ret); in performXfer() 295 ERROR_PRINT("failed to allocate timer"); in setRetryTimer() 298 ERROR_PRINT("could not communicate with touch controller"); in setRetryTimer() 518 ERROR_PRINT("i2cMasterRequest() failed!"); in handleEvent()
|
/device/google/contexthub/firmware/os/drivers/invensense_icm40600/ |
D | invensense_icm40600.c | 54 #define ERROR_PRINT(fmt, ...) do { \ macro 831 ERROR_PRINT("SPI in use, cannot queue write\n"); 851 ERROR_PRINT("SPI in use, cannot queue read %d %d\n", (int)addr, (int)size); 876 ERROR_PRINT("NO enough SPI buffer space, dropping transaction.\n"); 880 ERROR_PRINT("spiBatchTxRx too many packets!\n"); 893 ERROR_PRINT("spiMasterRxTx failed!\n"); 920 ERROR_PRINT("sensorSpiCallback: osEnqueuePrivateEvt() failed\n"); 1078 ERROR_PRINT("Unknown gyro config data type 0x%04x, size %d\n", p->type, p->size); 1183 ERROR_PRINT("Couldn't alloc cal result pkt"); 1198 ERROR_PRINT("Couldn't send cal result evt"); [all …]
|
/device/google/contexthub/firmware/os/drivers/st_lps22hb/ |
D | lps22hb.c | 77 #define ERROR_PRINT(fmt, ...) \ macro 195 ERROR_PRINT("Failed to allocate baro evt memory"); in baroAllocateEvt() 226 ERROR_PRINT("Ran out of i2c buffers!"); in allocXfer() 245 ERROR_PRINT("i2c error (tx: %d, rx: %d, err: %d)\n", tx, rx, err); in i2cCallback() 287 ERROR_PRINT("Couldn't alloc cal result pkt\n"); in sendCalibrationResult() 300 ERROR_PRINT("Couldn't send cal result evt\n"); in sendCalibrationResult() 413 ERROR_PRINT("cannot calibrate while baro is active\n"); in baroCalibrate() 715 ERROR_PRINT("Failed to allocate baroSlab memory\n"); in startTask()
|
/device/google/contexthub/firmware/os/drivers/st_acc44/ |
D | st_acc44.c | 161 #define ERROR_PRINT(fmt, ...) \ macro 350 ERROR_PRINT("ODR not valid! Choosed smallest ODR available\n"); in st_acc44_computeOdr() 499 ERROR_PRINT("st_acc44_int1_isr: osEnqueuePrivateEvt() failed\n"); in st_acc44_int1_isr() 540 ERROR_PRINT("Failed to allocate acc event memory"); in accAllocateEvt() 566 ERROR_PRINT("Ran out of i2c buffers!"); in allocXfer() 591 ERROR_PRINT("i2c error (tx: %d, rx: %d, err: %d)\n", tx, rx, err); in st_acc44_i2cCallback() 812 ERROR_PRINT("Failed to allocate accDataSlab memory\n"); in st_acc44_startTask()
|
/device/google/contexthub/firmware/os/drivers/vsync/ |
D | vsync.c | 60 #define ERROR_PRINT(fmt, ...) INFO_PRINT("%s" fmt, "ERROR: ", ##__VA_ARGS__); \ macro 91 ERROR_PRINT("slabAllocatorAlloc() failed\n"); in vsyncAllocateEvt() 120 ERROR_PRINT("osEnqueueEvtOrFree() failed\n"); in vsyncIsr() 210 ERROR_PRINT("slabAllocatorNew() failed\n"); in startTask()
|
/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/ |
D | st_lsm6dsm.c | 586 #define ERROR_PRINT(fmt, ...) \ macro 1255 … ERROR_PRINT("spiQueueRead: SPI in use, cannot queue read (addr=%x len=%d)\n", addr, (int)size); in lsm6dsm_spiQueueRead() 1282 …ERROR_PRINT("spiQueueWrite: SPI in use, cannot queue 1-byte write (addr=%x data=%x)\n", addr, data… in lsm6dsm_spiQueueWrite() 1309 …ERROR_PRINT("spiQueueMultiwrite: SPI in use, cannot queue multiwrite (addr=%x size=%d)\n", addr, (… in lsm6dsm_spiQueueMultiwrite() 1339 … ERROR_PRINT("spiBatchTxRx: not enough SPI buffer space, dropping transaction. Ref. %s\n", src); in lsm6dsm_spiBatchTxRx() 1344 ERROR_PRINT("spiBatchTxRx: too many packets! Ref. %s\n", src); in lsm6dsm_spiBatchTxRx() 1356 ERROR_PRINT("spiBatchTxRx: transaction failed!\n"); in lsm6dsm_spiBatchTxRx() 1522 ERROR_PRINT("sendSelfTestResult: cannot allocate self-test result packet\n"); in lsm6dsm_sendSelfTestResult() 1534 ERROR_PRINT("sendSelfTestResult: failed to enqueue self-test result packet\n"); in lsm6dsm_sendSelfTestResult() 1552 ERROR_PRINT("sendCalibrationResult: cannot allocate calibration result packet\n"); in lsm6dsm_sendCalibrationResult() [all …]
|
/device/google/contexthub/firmware/os/core/ |
D | timer.c | 40 #define ERROR_PRINT(fmt, ...) INFO_PRINT("%s" fmt, "ERROR: ", ##__VA_ARGS__) macro 103 ERROR_PRINT("Could not enqueue private timer event\n"); in timCallFunc() 107 ERROR_PRINT("Could not allocate an internal event\n"); in timCallFunc() 181 ERROR_PRINT("no free timers\n"); in timTimerSetEx()
|
D | spi.c | 30 #define ERROR_PRINT(fmt, ...) do { \ macro 123 ERROR_PRINT("Cannot do delayed spi, timer depleted\n"); in spiMasterRxTxDone()
|
/device/google/contexthub/firmware/os/drivers/rohm_rpr0521/ |
D | rohm_rpr0521.c | 150 #define ERROR_PRINT(fmt, ...) do { \ macro 309 ERROR_PRINT("i2c error (tx: %d, rx: %d, err: %d)\n", tx, rx, err); in i2cCallback() 331 ERROR_PRINT("Ran out of i2c buffers!\n"); in allocXfer() 344 ERROR_PRINT("%s: i2cMasterTx failed (%d)\n", __func__, ret); in i2cWrite() 376 ERROR_PRINT("%s: i2cMasterTxRx failed (%d)\n", __func__, ret); in readRegister()
|
/device/google/contexthub/firmware/os/drivers/st_hts221/ |
D | hts221.c | 86 #define ERROR_PRINT(fmt, ...) \ macro 201 ERROR_PRINT("Ran out of i2c buffers!"); in allocXfer() 221 ERROR_PRINT("i2c error (tx: %d, rx: %d, err: %d)\n", tx, rx, err); in i2cCallback()
|
/device/google/contexthub/firmware/os/drivers/si_si7034/ |
D | si7034a10.c | 60 #define ERROR_PRINT(fmt, ...) \ macro 155 ERROR_PRINT("Ran out of i2c buffers!"); in allocXfer() 174 ERROR_PRINT("i2c error (tx: %d, rx: %d, err: %d)\n", tx, rx, err); in i2cCallback()
|
/device/google/contexthub/firmware/os/drivers/intersil_isl29034/ |
D | isl29034.c | 97 #define ERROR_PRINT(fmt, ...) \ macro 196 ERROR_PRINT("Ran out of i2c buffers!"); in allocXfer()
|