Home | History | Annotate | Download | only in manual_tests

Lines Matching defs:debug

156 static void debug(int lvl, const char *format, ...)
272 debug(1, "Command 0x%08x, buflen 0x%x\n", command, buflen);
302 debug(1, "AppID 0x%02x, App param 0x%04x, buflen 0x%x\n",
313 /* Available for bringup/debug only. See b/65067435 */
319 debug(2, "read from 0x%08x\n", address);
328 debug(2, "value is 0x%08x\n", *valptr);
340 debug(2, "write to 0x%08x with value 0x%08x\n", address, value);
416 debug(1, "can't open %s for writing: %s", filename, strerror(errno));
422 debug(2, "%s(%s, %s) wrote %d / %d\n", __func__, filename, string, num, len);
425 debug(1, "can't write %d bytes to %s: %s", len, filename,
429 debug(1, "can't close the file descriptor either: %s",
436 debug(1, "can't close the file descriptor for %s: %s",
452 debug(2, "can't open %s for reading: %s", filename, strerror(errno));
458 debug(2, "%s(%s) read %d bytes\n", __func__, filename, num);
461 debug(1, "can't read from %s: %s", filename, strerror(errno));
464 debug(1, "can't close the file descriptor either: %s",
470 debug(1, "file %s contains no data", filename);
473 debug(1, "can't close the file descriptor either: %s",
483 debug(1, "can't close the file descriptor for %s: %s",
495 debug(1, "%s(%d)\n", __func__, num);
525 debug(1, "%s(%d)\n", __func__, num);
531 debug(1, "Can't determine the direction of gpio %d", num);
563 debug(1, "%s(%d, %d)\n", __func__, num, val);
591 debug
600 debug(1, "citadel 0x%08x\n", curr);
612 debug(1, "citadel 0x%08x\n", curr);
626 debug(1, "citadel 0x%08x\n", curr);
651 debug(1, "%s(%d) cit_bit 0x%08x\n", __func__, cit_gpio, cit_bit);
658 debug(1, "initial value 0x%08x\n", curr);
669 debug(1, "new value 0x%08x\n", curr);
683 debug(1, "new value 0x%08x\n", curr);
705 debug(1, "%s(%s, %d) cit_bit 0x%08x\n", __func__, name, cit_gpio, cit_bit);
713 debug(1, "initial value 0x%08x\n", curr);
718 debug(2, "CTDL_AP_IRQ is already asserted\n");
742 debug(1, "there should be no immediate interrupt\n");
745 debug(2, "CTDL_AP_IRQ not asserted and not triggered\n");
752 debug(1, "tell Citadel to trigger an interrupt\n");
760 debug(2, "CTDL_AP_IRQ is asserted and triggered\n");
808 debug(1, "Citadel's GPIOs are all inputs\n");
811 debug(1, "Citadel is driving CTDL_AP_IRQ\n");
918 debug(1, "citadel device is busy, stopping citadeld...\n");
923 debug(1, " okay, that worked\n");
927 debug(1, " nope, didn't help\n");
930 debug(1, " huh. couldn't stop it\n");
944 debug(1, "We stopped citadeld earlier, so start it up again\n");