Home
last modified time | relevance | path

Searched refs:osLog (Results 1 – 25 of 36) sorted by relevance

12

/device/google/contexthub/firmware/os/cpu/cortexm4/
Dcpu.c125 osLog(LOG_ERROR, " R%02lu = 0x%08lX R%02lu = 0x%08lX\n", in cpuDbxDump()
130 osLog(LOG_ERROR, " xPSR = 0x%08lX HFSR = 0x%08lX\n", sr, hfsr); in cpuDbxDump()
131 osLog(LOG_ERROR, " CFSR = 0x%08lX BITS = 0x%08lX\n", cfsr, dbx->bits); in cpuDbxDump()
139osLog(LOG_ERROR, " TID = 0x%04" PRIX16 " TRIG = 0x%04" PRIX16 " [%s]\n\n", tid_trig.tid, tid_tr… in cpuDbxDump()
157 osLog(level, "Reboot reason: 0x%08" PRIX32 "%s\n", reason, reasonDesc); in cpuInitLate()
161 osLog(LOG_INFO, "Dropbox not empty. Contents:\n"); in cpuInitLate()
250 osLog(LOG_WARN, "Unknown SVC 0x%02lX called at 0x%08lX\n", svcNo, (unsigned long)svcPC); in syscallHandler()
252osLog(LOG_WARN, "Unknown syscall 0x%08lX called at 0x%08lX\n", (unsigned long)syscallNr, (unsigned… in syscallHandler()
293 osLog(LOG_ERROR, "*HARD FAULT*\n"); in logHardFault()
DappSupport.c162 osLog(LOG_ERROR, "Relocs are invalid in this app. Aborting app load\n"); in cpuAppLoad()
205osLog(LOG_INFO, "App ID %016" PRIX64 "; TID=%04" PRIX32 " terminated\n", app->hdr.appId, osGetCurr… in cpuAppEnd()
/device/google/contexthub/firmware/os/core/
DappSec.c120 osLog(LOG_INFO, "%s: oldState=%" PRIu8 in appSecSetCurState()
253 osLog(LOG_INFO, "%s: signed size=%" PRIu32 "\n", in appSecProcessIncomingHdr()
269 osLog(LOG_INFO, "%s: encrypted data size=%" PRIu32 in appSecProcessIncomingHdr()
277 osLog(LOG_ERROR, "%s: Secret key not found\n", __func__); in appSecProcessIncomingHdr()
286 osLog(LOG_INFO, "%s: encrypted aligned data size=%" PRIu32 "\n", in appSecProcessIncomingHdr()
293 osLog(LOG_ERROR, "%s: sig data size does not match encrypted data\n", __func__); in appSecProcessIncomingHdr()
301 osLog(LOG_ERROR, "%s: only signed images can be uploaded\n", __func__); in appSecProcessIncomingHdr()
333 osLog(LOG_INFO, "App container found\n"); in appSecProcessIncomingHdr()
338 osLog(LOG_INFO, "Key container found\n"); in appSecProcessIncomingHdr()
342 osLog(LOG_INFO, "OS update container found\n"); in appSecProcessIncomingHdr()
[all …]
Dseos.c179 osLog(LOG_ERROR, "List: %s (%p) [%u;%u]\n", in dumpListItems()
189 osLog(LOG_ERROR, " item %d: task=%p TID=%04X [%u;%u;%u]\n", in dumpListItems()
203 osLog(LOG_ERROR, "%s: pool: %p; task=%p [%u;%u;%u]; listHead=%p [%u;%u]\n", in dumpTaskList()
319osLog(LOG_WARN, "released app ID 0x%" PRIx64 "; plat:%08" PRIx32 " sensor:%08" PRIx32 " tim:%d hea… in osTaskRelease()
321 osLog(LOG_INFO, "released app ID 0x%" PRIx64 "; TID %04" PRIX32 "\n", appId, taskTid); in osTaskRelease()
375osLog(LOG_ERROR, "ERROR: Failed to find task to free event: evtType=%08" PRIX32 "\n", evtType); in osPrivateEvtFreeF()
406osLog(LOG_ERROR, "ERROR: Failed to find task to free event: evtType=%08" PRIX32 "\n", evtType); in handleEventFreeing()
434 osLog(LOG_INFO, "SEOS Initializing\n"); in osInit()
439 osLog(LOG_INFO, "events failed to init\n"); in osInit()
445 osLog(LOG_INFO, "deferred actions list failed to init\n"); in osInit()
[all …]
DnanohubCommand.c338 osLog(LOG_INFO, "%s: checking OS image @ %p\n", __func__, os); in deferredUpdateOs()
347 osLog(LOG_ERROR, "%s: could not set marker on OS image\n", __func__); in deferredUpdateOs()
351 osLog(LOG_INFO, "%s: status=%" PRIu32 "\n", __func__, uploadStatus); in deferredUpdateOs()
371 osLog(LOG_INFO, "%s: %s key: id=%016" PRIX64 "; ret=%" PRIu32 "\n", in updateKey()
431 osLog(LOG_INFO, "%s: no DL status; decoding secure status: %" PRIu32 "\n", __func__, ret); in firmwareFinish()
439 osLog(LOG_INFO, "%s: Secure verification passed\n", __func__); in firmwareFinish()
445 osLog(LOG_INFO, "%s: Header verification failed\n", __func__); in firmwareFinish()
451osLog(LOG_INFO, "%s: Secure verification failed: valid=%d; status=%" PRIu32 "\n", __func__, valid,… in firmwareFinish()
455 osLog(LOG_INFO, "%s: Failed to close segment\n", __func__); in firmwareFinish()
463 osLog(LOG_INFO, "Loaded %s image type %" PRIu8 ": %" PRIu32 in firmwareFinish()
[all …]
Dspi.c27 osLog(LOG_INFO, "%s " fmt, "[spi]", ##__VA_ARGS__); \
31 osLog(LOG_ERROR, "%s " fmt, "[spi] ERROR:", ##__VA_ARGS__); \
210 osLog(LOG_WARN, "%s called without callback\n", __func__); in spiSlaveCsInactive()
DhostIntf.c218 osLog(msg->level, "%s failed with: %d\n", msg->func, msg->reason); in hostIntfPrintErrMsg()
591osLog(LOG_ERROR, "hostIntfPacketDequeue: sensor(%d)->curSamples=%d != buffer->numSamples=%d\n", se… in hostIntfPacketDequeue()
681 osLog(LOG_ERROR, "initSensors: %s not ready - skipping!\n", si->sensorName); in initSensors()
684 osLog(LOG_INFO, "initSensors: %s not ready!\n", si->sensorName); in initSensors()
735osLog(LOG_INFO, "initSensors: totalBlocks of %ld exceeds maximum of %d\n", totalBlocks, MAX_NUM_BL… in initSensors()
743 osLog(LOG_ERROR, "initSensors: failed to allocate data buffer queue!\n"); in initSensors()
749 osLog(LOG_ERROR, "initSensors: failed to allocate active sensor table!\n"); in initSensors()
785osLog(LOG_INFO, "initSensors: %s: minSamples of %d exceeded max of %d\n", si->sensorName, si->minS… in initSensors()
1432 osLog(LOG_INFO, "Flush request from unrecognized sensor, returning a fake flush\n"); in onEvtNoSensorConfigEvent()
Dnanohub_chre.c145 osLog(LOG_ERROR, "APP ID=0x%" PRIX64 " TID=0x%" PRIX16 " aborted [code 0x%" PRIX32 "]", in osChreAbort()
148 osLog(LOG_ERROR, "APP ID=NULL TID=0x%" PRIX16 " aborted [code 0x%" PRIX32 "]", in osChreAbort()
153 osLog(LOG_ERROR, "osChreAbort called with no current task [code 0x%" PRIX32 "]", in osChreAbort()
755 osLog(LOG_ERROR, "Failed to export CHRE OS API"); in osChreApiExport()
/device/google/contexthub/firmware/os/algos/
Dap_hub_sync.c41 osLog(LOG_DEBUG, "ApHub sync reset"); in apHubSyncReset()
76 osLog(LOG_DEBUG, "ApHub new sync offset = %" PRId64, sync->deltaEstimation); in apHubSyncAddDelta()
100 osLog(LOG_WARN, "ApHub sync: Invalid sync state %d", sync->state); in apHubSyncGetDelta()
/device/google/contexthub/firmware/os/drivers/leds/
Dleds_lp3943.c122 osLog(LOG_INFO, "[LP3943] i2c error (tx: %d, rx: %d, err: %d)\n", tx, rx, err); in i2cCallback()
161 osLog(LOG_ERROR, "[LP3943]: Ran out of i2c buffers!"); in allocXfer()
225 osLog(LOG_INFO, "Wrong led number %"PRIu32"\n", lcfg->led_num); in sensorCfgDataLedsLP3943()
240 osLog(LOG_INFO, "Set led[%"PRIu32"]=%"PRIu32"\n", lcfg->led_num, lcfg->value); in sensorCfgDataLedsLP3943()
286 osLog(LOG_INFO, "[LP3943] not detected\n"); in handleI2cEvent()
288 osLog(LOG_INFO, "[LP3943] detected\n"); in handleI2cEvent()
Dleds_gpio.c116 osLog(LOG_INFO, "Wrong led number %"PRIu32"\n", lcfg->led_num); in sensorConfigLedsGpio()
122 osLog(LOG_INFO, "Set led[%"PRIu32"]=%"PRIu32"\n", lcfg->led_num, lcfg->value); in sensorConfigLedsGpio()
157 osLog(LOG_INFO, "[Leds-Gpio] detected\n"); in handleEvent()
/device/google/contexthub/firmware/os/drivers/bosch_bmp280/
Dbosch_bmp280.c198 osLog(LOG_ERROR, "[BMP280]: Ran out of i2c buffers!"); in allocXfer()
234 osLog(LOG_ERROR, "[BMP280] slabAllocatorAlloc() failed\n"); in baroAllocateEvt()
263 osLog(LOG_INFO, "[BMP280] i2c error (tx: %d, rx: %d, err: %d)\n", tx, rx, err); in i2cCallback()
294 osLog(LOG_WARN, "[BMP280] Couldn't alloc cal result pkt"); in sendCalibrationResult()
307 osLog(LOG_WARN, "[BMP280] Couldn't send cal result evt"); in sendCalibrationResult()
378 osLog(LOG_ERROR, "[BMP280] cannot calibrate while baro or temp are active\n"); in sensorCalibrateBaro()
598 osLog(LOG_INFO, "[BMP280] not detected\n"); in handleI2cEvent()
652 osLog(LOG_INFO, "[BMP280] detected\n"); in handleI2cEvent()
676 osLog(LOG_ERROR, "[BMP280] failed to enqueue baro sample\n"); in handleI2cEvent()
775 osLog(LOG_ERROR, "[BMP280] slabAllocatorNew() failed\n"); in startTask()
/device/google/contexthub/firmware/os/algos/calibration/util/
Dcal_log.h33 # define LOG_FUNC(level, fmt, ...) osLog(level, fmt, ##__VA_ARGS__)
38 osLog(LOG_DEBUG, "%s " fmt, tag, ##__VA_ARGS__);
/device/google/contexthub/firmware/os/drivers/ams_tmd2772/
Dams_tmd2772.c227 osLog(LOG_INFO, DRIVER_NAME "i2c error (tx: %d, rx: %d, err: %d)\n", tx, rx, err); in i2cCallback()
244 osLog(LOG_ERROR, DRIVER_NAME "Ran out of i2c buffers!"); in allocXfer()
323 osLog(LOG_INFO, DRIVER_NAME "sensorPowerAls: %d\n", on); in sensorPowerAls()
349 osLog(LOG_INFO, DRIVER_NAME "sensorRateAls: %ld/%lld\n", rate, latency); in sensorRateAls()
378 osLog(LOG_INFO, DRIVER_NAME "sensorPowerProx: %d\n", on); in sensorPowerProx()
404 osLog(LOG_INFO, DRIVER_NAME "sensorRateProx: %ld/%lld\n", rate, latency); in sensorRateProx()
551 osLog(LOG_INFO, DRIVER_NAME "not detected\n"); in handle_i2c_event()
613 osLog(LOG_INFO, DRIVER_NAME "sample ready: status=%02x prox=%u als0=%u als1=%u\n", in handle_i2c_event()
/device/google/contexthub/firmware/os/platform/stm32/
Dmpu.c159 osLog(LOG_INFO, "MPU: %d HFNMIENA: %d PRIVDEFENA: %d\n", in mpuShow()
199 osLog(LOG_INFO, in mpuShow()
Ddma.c30 #define dmaLogDebug(x) osLog(LOG_DEBUG, x "\n")
224 osLog(LOG_WARN, "DMA %u stream %u ISR fired while disabled\n", in dmaIsr()
/device/google/contexthub/firmware/os/drivers/vsync/
Dvsync.c53 osLog(LOG_VERBOSE, "%s " fmt, "[VSYNC]", ##__VA_ARGS__); \
57 osLog(LOG_INFO, "%s " fmt, "[VSYNC]", ##__VA_ARGS__); \
/device/google/contexthub/firmware/os/drivers/intersil_isl29034/
Disl29034.c87 osLog(LOG_INFO, "%s " fmt, "[ISL29034]", ##__VA_ARGS__); \
93 osLog(LOG_DEBUG, "%s " fmt, "[ISL29034]", ##__VA_ARGS__); \
99 osLog(LOG_ERROR, "%s " fmt, "[ISL29034]", ##__VA_ARGS__); \
/device/google/contexthub/firmware/os/drivers/synaptics_s3708/
Dsynaptics_s3708.c79 #define VERBOSE_PRINT(fmt, ...) osLog(LOG_VERBOSE, "[DoubleTouch] " fmt, ##__VA_ARGS__)
80 #define INFO_PRINT(fmt, ...) osLog(LOG_INFO, "[DoubleTouch] " fmt, ##__VA_ARGS__)
81 #define ERROR_PRINT(fmt, ...) osLog(LOG_ERROR, "[DoubleTouch] " fmt, ##__VA_ARGS__)
83 #define DEBUG_PRINT(fmt, ...) osLog(LOG_DEBUG, "[DoubleTouch] " fmt, ##__VA_ARGS__)
/device/google/contexthub/firmware/os/drivers/window_orientation/
Dwindow_orientation.c38 osLog(LOG_VERBOSE, LOG_TAG " " fmt, ##__VA_ARGS__); \
42 osLog(LOG_WARN, LOG_TAG " " fmt, ##__VA_ARGS__); \
46 osLog(LOG_INFO, LOG_TAG " " fmt, ##__VA_ARGS__); \
51 osLog(LOG_DEBUG, LOG_TAG " " fmt, ##__VA_ARGS__); \
/device/google/contexthub/firmware/os/drivers/st_hts221/
Dhts221.c76 osLog(LOG_INFO, "%s " fmt, "[HTS221]", ##__VA_ARGS__); \
82 osLog(LOG_DEBUG, "%s " fmt, "[HTS221]", ##__VA_ARGS__); \
88 osLog(LOG_ERROR, "%s " fmt, "[HTS221]", ##__VA_ARGS__); \
/device/google/contexthub/firmware/os/drivers/si_si7034/
Dsi7034a10.c50 osLog(LOG_INFO, "%s " fmt, "[SI7034]", ##__VA_ARGS__); \
56 osLog(LOG_DEBUG, "%s " fmt, "[SI7034]", ##__VA_ARGS__); \
62 osLog(LOG_ERROR, "%s " fmt, "[SI7034]", ##__VA_ARGS__); \
/device/google/contexthub/firmware/os/drivers/rohm_rpr0521/
Drohm_rpr0521.c143 osLog(LOG_VERBOSE, "[Rohm RPR-0521] " fmt, ##__VA_ARGS__); \
147 osLog(LOG_INFO, "[Rohm RPR-0521] " fmt, ##__VA_ARGS__); \
151 osLog(LOG_ERROR, "[Rohm RPR-0521] " fmt, ##__VA_ARGS__); \
156 osLog(LOG_INFO, "[Rohm RPR-0521] " fmt, ##__VA_ARGS__); \
/device/google/contexthub/firmware/os/drivers/ams_tmd4903/
Dams_tmd4903.c144 osLog(LOG_INFO, "%s " fmt, "[TMD4903]", ##__VA_ARGS__); \
430 osLog(LOG_WARN, "Couldn't alloc als cal result pkt"); in sendCalibrationResultAls()
442 osLog(LOG_WARN, "Couldn't send als cal result evt"); in sendCalibrationResultAls()
450 osLog(LOG_WARN, "Couldn't alloc prox cal result pkt"); in sendCalibrationResultProx()
465 osLog(LOG_WARN, "Couldn't send prox cal result evt"); in sendCalibrationResultProx()
/device/google/contexthub/firmware/os/drivers/st_acc44/
Dst_acc44.c151 osLog(LOG_INFO, "%s " fmt, "[ST_ACC44]", ##__VA_ARGS__); \
157 osLog(LOG_DEBUG, "%s " fmt, "[ST_ACC44]", ##__VA_ARGS__); \
163 osLog(LOG_ERROR, "%s " fmt, "[ST_ACC44]", ##__VA_ARGS__); \

12