/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 …]
|
/u-boot/fs/ubifs/ |
A D | debug.h | 199 #define dbg_gen(fmt, ...) ubifs_dbg_msg("gen", fmt, ##__VA_ARGS__) argument 201 #define dbg_jnl(fmt, ...) ubifs_dbg_msg("jnl", fmt, ##__VA_ARGS__) argument 205 #define dbg_tnc(fmt, ...) ubifs_dbg_msg("tnc", fmt, ##__VA_ARGS__) argument 209 #define dbg_lp(fmt, ...) ubifs_dbg_msg("lp", fmt, ##__VA_ARGS__) argument 211 #define dbg_find(fmt, ...) ubifs_dbg_msg("find", fmt, ##__VA_ARGS__) argument 213 #define dbg_mnt(fmt, ...) ubifs_dbg_msg("mnt", fmt, ##__VA_ARGS__) argument 217 #define dbg_io(fmt, ...) ubifs_dbg_msg("io", fmt, ##__VA_ARGS__) argument 219 #define dbg_cmt(fmt, ...) ubifs_dbg_msg("cmt", fmt, ##__VA_ARGS__) argument 221 #define dbg_budg(fmt, ...) ubifs_dbg_msg("budg", fmt, ##__VA_ARGS__) argument 223 #define dbg_log(fmt, ...) ubifs_dbg_msg("log", fmt, ##__VA_ARGS__) argument [all …]
|
/u-boot/lib/ |
A D | vsprintf.c | 533 for (; *fmt ; ++fmt) { in vsnprintf_internal() 566 ++fmt; in vsnprintf_internal() 578 ++fmt; in vsnprintf_internal() 582 ++fmt; in vsnprintf_internal() 592 if (*fmt == 'h' || *fmt == 'l' || *fmt == 'L' || in vsnprintf_internal() 593 *fmt == 'Z' || *fmt == 'z' || *fmt == 't') { in vsnprintf_internal() 595 ++fmt; in vsnprintf_internal() 598 ++fmt; in vsnprintf_internal() 638 fmt++; in vsnprintf_internal() 674 if (*fmt) in vsnprintf_internal() [all …]
|
A D | tiny-printf.c | 168 switch (*fmt) { in pointer() 172 switch (fmt[1]) { in pointer() 186 if (fmt[1] == '4') in pointer() 215 ch = *(fmt++); in _vprintf() 217 ch = *(fmt++); in _vprintf() 220 ch = *(fmt++); in _vprintf() 228 ch = *fmt++; in _vprintf() 232 ch = *(fmt++); in _vprintf() 280 fmt++; in _vprintf() 352 va_start(va, fmt); in printf() [all …]
|
A D | panic.c | 40 void panic(const char *fmt, ...) in panic() argument 44 va_start(args, fmt); in panic() 45 vprintf(fmt, args); in panic()
|
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 …]
|
/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/common/ |
A D | log_console.c | 17 int fmt = gd->log_fmt; in log_console_emit() local 29 if (fmt & BIT(LOGF_LEVEL)) in log_console_emit() 31 if (fmt & BIT(LOGF_CAT)) in log_console_emit() 33 if (fmt & BIT(LOGF_FILE)) in log_console_emit() 35 if (fmt & BIT(LOGF_LINE)) in log_console_emit() 37 if (fmt & BIT(LOGF_FUNC)) in log_console_emit() 39 if (fmt & BIT(LOGF_MSG)) in log_console_emit() 40 printf("%s%s", fmt != BIT(LOGF_MSG) ? " " : "", rec->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/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/drivers/mtd/ubi/ |
A D | debug.h | 42 #define ubi_dbg_msg(type, fmt, ...) \ argument 43 pr_debug("UBI DBG " type " (pid %d): " fmt "\n", current->pid, \ 47 #define dbg_gen(fmt, ...) ubi_dbg_msg("gen", fmt, ##__VA_ARGS__) argument 49 #define dbg_eba(fmt, ...) ubi_dbg_msg("eba", fmt, ##__VA_ARGS__) argument 51 #define dbg_wl(fmt, ...) ubi_dbg_msg("wl", fmt, ##__VA_ARGS__) argument 53 #define dbg_io(fmt, ...) ubi_dbg_msg("io", fmt, ##__VA_ARGS__) argument 55 #define dbg_bld(fmt, ...) ubi_dbg_msg("bld", fmt, ##__VA_ARGS__) argument
|
/u-boot/include/ |
A D | stdio.h | 18 int __printf(1, 2) printf(const char *fmt, ...); 19 int vprintf(const char *fmt, va_list args); 29 static inline int __printf(1, 2) printf(const char *fmt, ...) in printf() argument 34 static inline int vprintf(const char *fmt, va_list args) in vprintf() argument 51 #define eprintf(fmt, args...) fprintf(stderr, fmt, ##args) argument 53 int __printf(2, 3) fprintf(int file, const char *fmt, ...);
|
A D | vsprintf.h | 80 void panic(const char *fmt, ...) 108 int sprintf(char *buf, const char *fmt, ...) 124 int vsprintf(char *buf, const char *fmt, va_list args); 141 int snprintf(char *buf, size_t size, const char *fmt, ...) 157 int scnprintf(char *buf, size_t size, const char *fmt, ...) 183 int vsnprintf(char *buf, size_t size, const char *fmt, va_list args); 200 int vscnprintf(char *buf, size_t size, const char *fmt, va_list args); 243 int sscanf(const char *buf, const char *fmt, ...);
|
A D | log.h | 133 const char *fmt, ...) 138 const char *fmt, ...) in _log_nop() argument 145 #define pr_fmt(fmt) fmt argument 227 #define debug_cond(cond, fmt, args...) \ argument 229 log(LOG_CATEGORY, LOGL_DEBUG, fmt, ##args); \ 239 #define debug_cond(cond, fmt, args...) \ argument 242 printf(pr_fmt(fmt), ##args); \ 248 #define debug(fmt, args...) \ argument 249 debug_cond(_DEBUG, fmt, ##args) 252 #define warn_non_spl(fmt, args...) \ argument [all …]
|
/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/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 | 27 #define debug(fmt,args...) printf (fmt ,##args) argument 29 #define debug(fmt,args...) argument 32 #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() 54 int ut_check_console_line(struct unit_test_state *uts, const char *fmt, ...) in ut_check_console_line() argument 58 va_start(args, fmt); in ut_check_console_line() 59 vsnprintf(uts->expect_str, sizeof(uts->expect_str), fmt, args); in ut_check_console_line() 66 int ut_check_console_linen(struct unit_test_state *uts, const char *fmt, ...) in ut_check_console_linen() argument 70 va_start(args, fmt); in ut_check_console_linen() 71 vsnprintf(uts->expect_str, sizeof(uts->expect_str), fmt, args); in ut_check_console_linen()
|
/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/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
|
/u-boot/drivers/core/ |
A D | util.c | 15 void dm_warn(const char *fmt, ...) in dm_warn() argument 19 va_start(args, fmt); in dm_warn() 20 vprintf(fmt, args); in dm_warn()
|