/u-boot/include/linux/ |
A D | printk.h | 18 #define printk(fmt, ...) \ argument 19 printf(fmt, ##__VA_ARGS__) 25 #define no_printk(fmt, ...) \ argument 28 printk(fmt, ##__VA_ARGS__); \ 33 #define pr_fmt(fmt) fmt argument 36 #define pr_emerg(fmt, ...) \ argument 40 #define pr_alert(fmt, ...) \ argument 44 #define pr_crit(fmt, ...) \ argument 48 #define pr_err(fmt, ...) \ argument 81 printk(fmt, ##__VA_ARGS__) [all …]
|
/u-boot/include/dm/ |
A D | device_compat.h | 50 printf(fmt, ##__VA_ARGS__); \ 54 printf(fmt, ##__VA_ARGS__); \ 91 "%s %s: " fmt, \ 96 "%s %s: " fmt, \ 102 #define dev_emerg(dev, fmt, ...) \ argument 106 #define dev_crit(dev, fmt, ...) \ argument 108 #define dev_err(dev, fmt, ...) \ argument 110 #define dev_warn(dev, fmt, ...) \ argument 114 #define dev_info(dev, fmt, ...) \ argument 116 #define dev_dbg(dev, fmt, ...) \ argument [all …]
|
A D | util.h | 12 #define dm_warn(fmt...) log(LOGC_DM, LOGL_WARNING, ##fmt) argument 14 static inline void dm_warn(const char *fmt, ...) in dm_warn() argument
|
/u-boot/fs/ubifs/ |
A D | debug.h | 188 #define dbg_gen(fmt, ...) ubifs_dbg_msg("gen", fmt, ##__VA_ARGS__) argument 190 #define dbg_jnl(fmt, ...) ubifs_dbg_msg("jnl", fmt, ##__VA_ARGS__) argument 194 #define dbg_tnc(fmt, ...) ubifs_dbg_msg("tnc", fmt, ##__VA_ARGS__) argument 198 #define dbg_lp(fmt, ...) ubifs_dbg_msg("lp", fmt, ##__VA_ARGS__) argument 200 #define dbg_find(fmt, ...) ubifs_dbg_msg("find", fmt, ##__VA_ARGS__) argument 202 #define dbg_mnt(fmt, ...) ubifs_dbg_msg("mnt", fmt, ##__VA_ARGS__) argument 206 #define dbg_io(fmt, ...) ubifs_dbg_msg("io", fmt, ##__VA_ARGS__) argument 208 #define dbg_cmt(fmt, ...) ubifs_dbg_msg("cmt", fmt, ##__VA_ARGS__) argument 210 #define dbg_budg(fmt, ...) ubifs_dbg_msg("budg", fmt, ##__VA_ARGS__) argument 212 #define dbg_log(fmt, ...) ubifs_dbg_msg("log", fmt, ##__VA_ARGS__) argument [all …]
|
/u-boot/lib/ |
A D | vsprintf.c | 547 for (; *fmt ; ++fmt) { in vsnprintf_internal() 580 ++fmt; in vsnprintf_internal() 592 ++fmt; in vsnprintf_internal() 596 ++fmt; in vsnprintf_internal() 606 if (*fmt == 'h' || *fmt == 'l' || *fmt == 'L' || in vsnprintf_internal() 607 *fmt == 'Z' || *fmt == 'z' || *fmt == 't') { in vsnprintf_internal() 609 ++fmt; in vsnprintf_internal() 612 ++fmt; in vsnprintf_internal() 653 fmt++; in vsnprintf_internal() 697 --fmt; in vsnprintf_internal() [all …]
|
A D | tiny-printf.c | 169 switch (*fmt) { in pointer() 173 switch (fmt[1]) { in pointer() 187 if (fmt[1] == '4') in pointer() 216 ch = *(fmt++); in _vprintf() 218 ch = *(fmt++); in _vprintf() 221 ch = *(fmt++); in _vprintf() 229 ch = *fmt++; in _vprintf() 233 ch = *(fmt++); in _vprintf() 281 fmt++; in _vprintf() 352 va_start(va, fmt); in printf() [all …]
|
A D | sscanf.c | 234 __sccl(char *tab, const u_char *fmt) in __sccl() argument 242 c = *fmt++; /* get new first char */ in __sccl() 268 return (fmt - 1); in __sccl() 289 n = *fmt; in __sccl() 294 fmt++; in __sccl() 309 return (fmt); in __sccl() 392 c = *fmt++; in vsscanf() 408 again: c = *fmt++; in vsscanf() 488 fmt = __sccl(ccltab, fmt); in vsscanf() 818 va_start(args, fmt); in sscanf() [all …]
|
A D | panic.c | 42 void panic(const char *fmt, ...) in panic() argument 46 va_start(args, fmt); in panic() 47 vprintf(fmt, args); in panic()
|
/u-boot/tools/gdb/ |
A D | error.c | 16 Warning(char *fmt, ...) in Warning() argument 22 va_start(args, fmt); in Warning() 23 vfprintf(stderr, fmt, args); in Warning() 30 Error(char *fmt, ...) in Error() argument 36 va_start(args, fmt); in Error() 37 vfprintf(stderr, fmt, args); in Error() 46 Perror(char *fmt, ...) in Perror() argument 54 va_start(args, fmt); in Perror() 55 vfprintf(stderr, fmt, args); in Perror()
|
/u-boot/drivers/mtd/ubispl/ |
A D | ubispl.h | 127 #define ubi_dbg(fmt, ...) printf("UBI: debug:" fmt "\n", ##__VA_ARGS__) argument 129 #define ubi_dbg(fmt, ...) argument 133 #define ubi_msg(fmt, ...) argument 135 #define ubi_msg(fmt, ...) printf("UBI: " fmt "\n", ##__VA_ARGS__) argument 138 #define ubi_warn(fmt, ...) printf("UBI warning: " fmt "\n", ##__VA_ARGS__) argument 140 #define ubi_err(fmt, ...) printf("UBI error: " fmt "\n", ##__VA_ARGS__) argument
|
/u-boot/common/ |
A D | log_console.c | 17 int fmt = gd->log_fmt; in log_console_emit() local 30 if (!(rec->flags & LOGRECF_CONT) && fmt != BIT(LOGF_MSG)) { in log_console_emit() 32 if (fmt & BIT(LOGF_LEVEL)) in log_console_emit() 34 if (fmt & BIT(LOGF_CAT)) in log_console_emit() 36 if (fmt & BIT(LOGF_FILE)) in log_console_emit() 38 if (fmt & BIT(LOGF_LINE)) in log_console_emit() 40 if (fmt & BIT(LOGF_FUNC)) in log_console_emit() 43 if (fmt & BIT(LOGF_MSG)) in log_console_emit()
|
A D | log_syslog.c | 17 static void append(char **buf, char *buf_end, const char *fmt, ...) in append() argument 22 va_start(args, fmt); in append() 23 vsnprintf(*buf, size, fmt, args); in append() 31 int fmt = gd->log_fmt; in log_syslog_emit() local 81 if (fmt & BIT(LOGF_LEVEL)) in log_syslog_emit() 84 if (fmt & BIT(LOGF_CAT)) in log_syslog_emit() 87 if (fmt & BIT(LOGF_FILE)) in log_syslog_emit() 89 if (fmt & BIT(LOGF_LINE)) in log_syslog_emit() 91 if (fmt & BIT(LOGF_FUNC)) in log_syslog_emit() 93 if (fmt & BIT(LOGF_MSG)) in log_syslog_emit() [all …]
|
/u-boot/drivers/mtd/ubi/ |
A D | debug.h | 37 #define ubi_dbg_msg(type, fmt, ...) \ argument 38 pr_debug("UBI DBG " type " (pid %d): " fmt "\n", current->pid, \ 42 #define dbg_gen(fmt, ...) ubi_dbg_msg("gen", fmt, ##__VA_ARGS__) argument 44 #define dbg_eba(fmt, ...) ubi_dbg_msg("eba", fmt, ##__VA_ARGS__) argument 46 #define dbg_wl(fmt, ...) ubi_dbg_msg("wl", fmt, ##__VA_ARGS__) argument 48 #define dbg_io(fmt, ...) ubi_dbg_msg("io", fmt, ##__VA_ARGS__) argument 50 #define dbg_bld(fmt, ...) ubi_dbg_msg("bld", fmt, ##__VA_ARGS__) argument
|
/u-boot/drivers/usb/musb-new/ |
A D | musb_debug.h | 16 #define WARNING(fmt, args...) yprintk(KERN_WARNING, fmt, ## args) argument 17 #define INFO(fmt, args...) yprintk(KERN_INFO, fmt, ## args) argument 18 #define ERR(fmt, args...) yprintk(KERN_ERR, fmt, ## args) argument
|
/u-boot/include/ |
A D | stdio.h | 23 int __printf(1, 2) printf(const char *fmt, ...); 24 int vprintf(const char *fmt, va_list args); 38 static inline int __printf(1, 2) printf(const char *fmt, ...) in printf() argument 43 static inline int vprintf(const char *fmt, va_list args) in vprintf() argument 61 #define eprintf(fmt, args...) fprintf(stderr, fmt, ##args) argument 63 int __printf(2, 3) fprintf(int file, const char *fmt, ...);
|
A D | vsprintf.h | 151 void panic(const char *fmt, ...) 179 int sprintf(char *buf, const char *fmt, ...) 195 int vsprintf(char *buf, const char *fmt, va_list args); 235 int snprintf(char *buf, size_t size, const char *fmt, ...) 251 int scnprintf(char *buf, size_t size, const char *fmt, ...) 277 int vsnprintf(char *buf, size_t size, const char *fmt, va_list args); 294 int vscnprintf(char *buf, size_t size, const char *fmt, va_list args); 369 int sscanf(const char *buf, const char *fmt, ...);
|
/u-boot/drivers/mtd/nand/raw/brcmnand/ |
A D | brcmnand_compat.c | 9 static char *devm_kvasprintf(struct udevice *dev, gfp_t gfp, const char *fmt, in devm_kvasprintf() argument 17 len = vsnprintf(NULL, 0, fmt, aq); in devm_kvasprintf() 24 vsnprintf(p, len + 1, fmt, ap); in devm_kvasprintf() 29 char *devm_kasprintf(struct udevice *dev, gfp_t gfp, const char *fmt, ...) in devm_kasprintf() argument 34 va_start(ap, fmt); in devm_kasprintf() 35 p = devm_kvasprintf(dev, gfp, fmt, ap); in devm_kasprintf()
|
/u-boot/tools/ |
A D | mkimage.h | 28 #define debug(fmt,args...) printf (fmt ,##args) argument 30 #define debug(fmt,args...) argument 33 #define log_debug(fmt, args...) debug(fmt, ##args) argument
|
A D | dumpimage.h | 27 #define debug(fmt, args...) printf(fmt, ##args) argument 29 #define debug(fmt, args...) argument
|
/u-boot/test/ |
A D | ut.c | 29 const char *func, const char *cond, const char *fmt, ...) in ut_failf() argument 35 va_start(args, fmt); in ut_failf() 36 vprintf(fmt, args); in ut_failf() 68 int ut_check_console_line(struct unit_test_state *uts, const char *fmt, ...) in ut_check_console_line() argument 74 va_start(args, fmt); in ut_check_console_line() 75 len = vsnprintf(uts->expect_str, sizeof(uts->expect_str), fmt, args); in ut_check_console_line() 95 va_start(args, fmt); in ut_check_console_linen() 96 len = vsnprintf(uts->expect_str, sizeof(uts->expect_str), fmt, args); in ut_check_console_linen() 124 int ut_check_skip_to_line(struct unit_test_state *uts, const char *fmt, ...) in ut_check_skip_to_line() argument 130 va_start(args, fmt); in ut_check_skip_to_line() [all …]
|
/u-boot/arch/x86/lib/ |
A D | acpi_nhlt.c | 114 struct nhlt_format *fmt; in nhlt_add_format() local 120 fmt = &endp->formats[endp->num_formats]; in nhlt_add_format() 121 wave = &fmt->waveform; in nhlt_add_format() 140 return fmt; in nhlt_add_format() 160 struct nhlt_format *fmt; in nhlt_endpoint_add_formats() local 170 if (!fmt) in nhlt_endpoint_add_formats() 209 sz += sizeof(fmt->waveform.tag); in calc_format_size() 213 sz += sizeof(fmt->waveform.block_align); in calc_format_size() 215 sz += sizeof(fmt->waveform.extra_size); in calc_format_size() 218 sz += sizeof(fmt->waveform.sub_format); in calc_format_size() [all …]
|
/u-boot/include/test/ |
A D | ut.h | 41 const char *func, const char *cond, const char *fmt, ...) 123 #define ut_reportf(fmt, args...) \ argument 125 fmt, ##args) 139 #define ut_assertf(cond, fmt, args...) ({ \ argument 144 fmt, ##args); \ 312 #define ut_assert_nextline(fmt, args...) ({ \ argument 315 if (ut_check_console_line(uts, fmt, ##args)) { \ 325 #define ut_assert_nextlinen(fmt, args...) ({ \ argument 328 if (ut_check_console_linen(uts, fmt, ##args)) { \ 350 #define ut_assert_skip_to_line(fmt, args...) ({ \ argument [all …]
|
/u-boot/api/ |
A D | api_net.c | 18 #define debugf(fmt, args...) do { printf("%s(): ", __func__); printf(fmt, ##args); } while (0) argument 20 #define debugf(fmt, args...) argument 23 #define errf(fmt, args...) do { printf("ERROR @ %s(): ", __func__); printf(fmt, ##args); } while (0) argument
|
/u-boot/scripts/dtc/ |
A D | util.c | 62 va_start(ap, fmt); in xasprintf() 63 n = vsnprintf(p, size, fmt, ap); in xasprintf() 344 if (!*fmt) in utilfdt_decode_type() 349 if (strchr("hlLb", *fmt)) { in utilfdt_decode_type() 350 qualifier = *fmt++; in utilfdt_decode_type() 351 if (qualifier == *fmt) { in utilfdt_decode_type() 352 switch (*fmt++) { in utilfdt_decode_type() 362 if ((*fmt == '\0') || !strchr("iuxs", *fmt)) in utilfdt_decode_type() 366 if (*fmt != 's') in utilfdt_decode_type() 370 *type = *fmt++; in utilfdt_decode_type() [all …]
|
/u-boot/drivers/usb/gadget/ |
A D | storage_common.c | 72 #define VLDBG(lun, fmt, args...) do { } while (0) argument 82 #define LDBG(lun, fmt, args...) do { } while (0) argument 83 #define LERROR(lun, fmt, args...) do { } while (0) argument 84 #define LWARN(lun, fmt, args...) do { } while (0) argument 85 #define LINFO(lun, fmt, args...) do { } while (0) argument 109 #define DBG(d, fmt, args...) debug(fmt , ## args) argument 110 #define VDBG(d, fmt, args...) debug(fmt , ## args) argument 117 #define ERROR(d, fmt, args...) do { } while (0) argument 118 #define WARNING(d, fmt, args...) do { } while (0) argument 119 #define INFO(d, fmt, args...) do { } while (0) argument
|