/u-boot-v2022.01-rc1/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-v2022.01-rc1/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 | 10 #define dm_warn(fmt...) log(LOGC_DM, LOGL_WARNING, ##fmt) argument 12 static inline void dm_warn(const char *fmt, ...) in dm_warn() argument
|
/u-boot-v2022.01-rc1/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-v2022.01-rc1/lib/ |
A D | vsprintf.c | 534 for (; *fmt ; ++fmt) { in vsnprintf_internal() 567 ++fmt; in vsnprintf_internal() 579 ++fmt; in vsnprintf_internal() 583 ++fmt; in vsnprintf_internal() 593 if (*fmt == 'h' || *fmt == 'l' || *fmt == 'L' || in vsnprintf_internal() 594 *fmt == 'Z' || *fmt == 'z' || *fmt == 't') { in vsnprintf_internal() 596 ++fmt; in vsnprintf_internal() 599 ++fmt; in vsnprintf_internal() 639 fmt++; in vsnprintf_internal() 675 if (*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 …]
|
/u-boot-v2022.01-rc1/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-v2022.01-rc1/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-v2022.01-rc1/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-v2022.01-rc1/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-v2022.01-rc1/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 | 130 void panic(const char *fmt, ...) 158 int sprintf(char *buf, const char *fmt, ...) 174 int vsprintf(char *buf, const char *fmt, va_list args); 191 int snprintf(char *buf, size_t size, const char *fmt, ...) 207 int scnprintf(char *buf, size_t size, const char *fmt, ...) 233 int vsnprintf(char *buf, size_t size, const char *fmt, va_list args); 250 int vscnprintf(char *buf, size_t size, const char *fmt, va_list args); 293 int sscanf(const char *buf, const char *fmt, ...);
|
A D | log.h | 133 const char *fmt, ...) 138 const char *fmt, ...) in _log_nop() argument 163 #define pr_fmt(fmt) fmt argument 258 #define debug_cond(cond, fmt, args...) \ argument 263 fmt, ##args); \ 273 #define debug_cond(cond, fmt, args...) \ argument 276 printf(pr_fmt(fmt), ##args); \ 282 #define debug(fmt, args...) \ argument 283 debug_cond(_DEBUG, fmt, ##args) 286 #define warn_non_spl(fmt, args...) \ argument [all …]
|
/u-boot-v2022.01-rc1/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-v2022.01-rc1/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-v2022.01-rc1/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-v2022.01-rc1/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-v2022.01-rc1/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-v2022.01-rc1/include/test/ |
A D | ut.h | 41 const char *func, const char *cond, const char *fmt, ...) 57 int ut_check_console_line(struct unit_test_state *uts, const char *fmt, ...) 74 int ut_check_console_linen(struct unit_test_state *uts, const char *fmt, ...) 130 #define ut_assertf(cond, fmt, args...) \ argument 133 fmt, ##args); \ 279 #define ut_assert_nextline(fmt, args...) \ argument 280 if (ut_check_console_line(uts, fmt, ##args)) { \ 288 #define ut_assert_nextlinen(fmt, args...) \ argument 289 if (ut_check_console_linen(uts, fmt, ##args)) { \ 305 #define ut_assert_skip_to_line(fmt, args...) \ argument [all …]
|
/u-boot-v2022.01-rc1/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-v2022.01-rc1/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-v2022.01-rc1/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
|