/linux-4.4.14/net/mac80211/ |
D | debug.h | 84 void __sdata_info(const char *fmt, ...) __printf(1, 2); 85 void __sdata_dbg(bool print, const char *fmt, ...) __printf(2, 3); 86 void __sdata_err(const char *fmt, ...) __printf(1, 2); 87 void __wiphy_dbg(struct wiphy *wiphy, bool print, const char *fmt, ...) 90 #define _sdata_info(sdata, fmt, ...) \ argument 91 __sdata_info("%s: " fmt, (sdata)->name, ##__VA_ARGS__) 92 #define _sdata_dbg(print, sdata, fmt, ...) \ argument 93 __sdata_dbg(print, "%s: " fmt, (sdata)->name, ##__VA_ARGS__) 94 #define _sdata_err(sdata, fmt, ...) \ argument 95 __sdata_err("%s: " fmt, (sdata)->name, ##__VA_ARGS__) [all …]
|
D | trace.c | 14 void __sdata_info(const char *fmt, ...) in __sdata_info() argument 17 .fmt = fmt, in __sdata_info() 21 va_start(args, fmt); in __sdata_info() 29 void __sdata_dbg(bool print, const char *fmt, ...) in __sdata_dbg() argument 32 .fmt = fmt, in __sdata_dbg() 36 va_start(args, fmt); in __sdata_dbg() 45 void __sdata_err(const char *fmt, ...) in __sdata_err() argument 48 .fmt = fmt, in __sdata_err() 52 va_start(args, fmt); in __sdata_err() 60 void __wiphy_dbg(struct wiphy *wiphy, bool print, const char *fmt, ...) in __wiphy_dbg() argument [all …]
|
/linux-4.4.14/include/linux/ |
D | printk.h | 65 const char *fmt; member 112 int no_printk(const char *fmt, ...) in no_printk() argument 119 void early_printk(const char *fmt, ...); 125 typedef __printf(1, 0) int (*printk_func_t)(const char *fmt, va_list args); 131 const char *fmt, va_list args); 134 int vprintk(const char *fmt, va_list args); 139 const char *fmt, ...); 142 int printk(const char *fmt, ...); 147 __printf(1, 2) __cold int printk_deferred(const char *fmt, ...); 169 __printf(1, 2) void dump_stack_set_arch_desc(const char *fmt, ...); [all …]
|
D | dynamic_debug.h | 45 void __dynamic_pr_debug(struct _ddebug *descriptor, const char *fmt, ...); 54 const char *fmt, ...); 61 const char *fmt, ...); 63 #define DEFINE_DYNAMIC_DEBUG_METADATA(name, fmt) \ argument 69 .format = (fmt), \ 74 #define dynamic_pr_debug(fmt, ...) \ argument 76 DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt); \ 78 __dynamic_pr_debug(&descriptor, pr_fmt(fmt), \ 82 #define dynamic_dev_dbg(dev, fmt, ...) \ argument 84 DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt); \ [all …]
|
D | device.h | 649 char *devm_kvasprintf(struct device *dev, gfp_t gfp, const char *fmt, 652 char *devm_kasprintf(struct device *dev, gfp_t gfp, const char *fmt, ...); 1052 const char *fmt, va_list vargs); 1056 const char *fmt, ...); 1061 const char *fmt, ...); 1103 const char *fmt, va_list args); 1105 int dev_printk_emit(int level, const struct device *dev, const char *fmt, ...); 1109 const char *fmt, ...); 1111 void dev_emerg(const struct device *dev, const char *fmt, ...); 1113 void dev_alert(const struct device *dev, const char *fmt, ...); [all …]
|
D | net.h | 234 #define net_emerg_ratelimited(fmt, ...) \ argument 235 net_ratelimited_function(pr_emerg, fmt, ##__VA_ARGS__) 236 #define net_alert_ratelimited(fmt, ...) \ argument 237 net_ratelimited_function(pr_alert, fmt, ##__VA_ARGS__) 238 #define net_crit_ratelimited(fmt, ...) \ argument 239 net_ratelimited_function(pr_crit, fmt, ##__VA_ARGS__) 240 #define net_err_ratelimited(fmt, ...) \ argument 241 net_ratelimited_function(pr_err, fmt, ##__VA_ARGS__) 242 #define net_notice_ratelimited(fmt, ...) \ argument 243 net_ratelimited_function(pr_notice, fmt, ##__VA_ARGS__) [all …]
|
D | kernel.h | 256 void panic(const char *fmt, ...) 402 extern __printf(2, 3) int sprintf(char *buf, const char * fmt, ...); 405 int snprintf(char *buf, size_t size, const char *fmt, ...); 407 int vsnprintf(char *buf, size_t size, const char *fmt, va_list args); 409 int scnprintf(char *buf, size_t size, const char *fmt, ...); 411 int vscnprintf(char *buf, size_t size, const char *fmt, va_list args); 413 char *kasprintf(gfp_t gfp, const char *fmt, ...); 415 char *kvasprintf(gfp_t gfp, const char *fmt, va_list args); 417 const char *kvasprintf_const(gfp_t gfp, const char *fmt, va_list args); 560 void ____trace_printk_check_format(const char *fmt, ...) in ____trace_printk_check_format() argument [all …]
|
D | kallsyms.h | 43 extern void __print_symbol(const char *fmt, unsigned long address); 107 #define __print_symbol(fmt, addr) argument 112 void __check_printsym_format(const char *fmt, ...) in __check_printsym_format() argument 116 static inline void print_symbol(const char *fmt, unsigned long addr) in print_symbol() argument 118 __check_printsym_format(fmt, ""); in print_symbol() 119 __print_symbol(fmt, (unsigned long) in print_symbol()
|
D | acpi.h | 688 const char *fmt, ...); 691 acpi_handle_printk(const char *level, void *handle, const char *fmt, ...) {} in acpi_handle_printk() argument 696 void __acpi_handle_debug(struct _ddebug *descriptor, acpi_handle handle, const char *fmt, ...); 698 #define __acpi_handle_debug(descriptor, handle, fmt, ...) \ argument 699 acpi_handle_printk(KERN_DEBUG, handle, fmt, ##__VA_ARGS__); 708 #define acpi_handle_emerg(handle, fmt, ...) \ argument 709 acpi_handle_printk(KERN_EMERG, handle, fmt, ##__VA_ARGS__) 710 #define acpi_handle_alert(handle, fmt, ...) \ argument 711 acpi_handle_printk(KERN_ALERT, handle, fmt, ##__VA_ARGS__) 712 #define acpi_handle_crit(handle, fmt, ...) \ argument [all …]
|
/linux-4.4.14/drivers/net/wireless/libertas_tf/ |
D | deb_defs.h | 48 #define LBTF_DEB_LL(grp, grpnam, fmt, args...) \ argument 50 printk(KERN_DEBUG DRV_NAME grpnam "%s: " fmt, \ 53 #define LBTF_DEB_LL(grp, grpnam, fmt, args...) do {} while (0) argument 58 #define lbtf_deb_enter_args(grp, fmt, args...) \ argument 59 LBTF_DEB_LL(grp | LBTF_DEB_ENTER, " enter", "%s(" fmt ")\n", __func__, ## args); 62 #define lbtf_deb_leave_args(grp, fmt, args...) \ argument 63 LBTF_DEB_LL(grp | LBTF_DEB_LEAVE, " leave", "%s(), " fmt "\n", \ 65 #define lbtf_deb_main(fmt, args...) LBTF_DEB_LL(LBTF_DEB_MAIN, " main", fmt, ##args) argument 66 #define lbtf_deb_net(fmt, args...) LBTF_DEB_LL(LBTF_DEB_NET, " net", fmt, ##args) argument 67 #define lbtf_deb_mesh(fmt, args...) LBTF_DEB_LL(LBTF_DEB_MESH, " mesh", fmt, ##args) argument [all …]
|
/linux-4.4.14/tools/perf/util/ |
D | debug.h | 18 #define pr_fmt(fmt) fmt argument 21 #define pr_err(fmt, ...) \ argument 22 eprintf(0, verbose, pr_fmt(fmt), ##__VA_ARGS__) 23 #define pr_warning(fmt, ...) \ argument 24 eprintf(0, verbose, pr_fmt(fmt), ##__VA_ARGS__) 25 #define pr_info(fmt, ...) \ argument 26 eprintf(0, verbose, pr_fmt(fmt), ##__VA_ARGS__) 27 #define pr_debug(fmt, ...) \ argument 28 eprintf(1, verbose, pr_fmt(fmt), ##__VA_ARGS__) 29 #define pr_debugN(n, fmt, ...) \ argument [all …]
|
D | color.c | 46 const char *fmt, va_list args, const char *trail) in __color_vsnprintf() argument 62 r += vscnprintf(bf + r, size - r, fmt, args); in __color_vsnprintf() 71 static int __color_vfprintf(FILE *fp, const char *color, const char *fmt, in __color_vfprintf() argument 88 r += vfprintf(fp, fmt, args); in __color_vfprintf() 95 const char *fmt, va_list args) in color_vsnprintf() argument 97 return __color_vsnprintf(bf, size, color, fmt, args, NULL); in color_vsnprintf() 100 int color_vfprintf(FILE *fp, const char *color, const char *fmt, va_list args) in color_vfprintf() argument 102 return __color_vfprintf(fp, color, fmt, args); in color_vfprintf() 106 const char *fmt, ...) in color_snprintf() argument 111 va_start(args, fmt); in color_snprintf() [all …]
|
D | debug.c | 25 static int _eprintf(int level, int var, const char *fmt, va_list args) in _eprintf() argument 31 ui_helpline__vshow(fmt, args); in _eprintf() 33 ret = vfprintf(stderr, fmt, args); in _eprintf() 39 int veprintf(int level, int var, const char *fmt, va_list args) in veprintf() argument 41 return _eprintf(level, var, fmt, args); in veprintf() 44 int eprintf(int level, int var, const char *fmt, ...) in eprintf() argument 49 va_start(args, fmt); in eprintf() 50 ret = _eprintf(level, var, fmt, args); in eprintf() 56 static int __eprintf_time(u64 t, const char *fmt, va_list args) in __eprintf_time() argument 67 ret += vfprintf(stderr, fmt, args); in __eprintf_time() [all …]
|
D | color.h | 34 const char *fmt, va_list args); 35 int color_vfprintf(FILE *fp, const char *color, const char *fmt, va_list args); 36 int color_fprintf(FILE *fp, const char *color, const char *fmt, ...); 37 int color_snprintf(char *bf, size_t size, const char *color, const char *fmt, ...); 39 int value_color_snprintf(char *bf, size_t size, const char *fmt, double value); 40 int percent_color_snprintf(char *bf, size_t size, const char *fmt, ...); 41 int percent_color_len_snprintf(char *bf, size_t size, const char *fmt, ...); 42 int percent_color_fprintf(FILE *fp, const char *fmt, double percent);
|
D | path.c | 62 static char *perf_vsnpath(char *buf, size_t n, const char *fmt, va_list args) in perf_vsnpath() argument 73 len += vsnprintf(buf + len, n - len, fmt, args); in perf_vsnpath() 82 char *perf_pathdup(const char *fmt, ...) in perf_pathdup() argument 86 va_start(args, fmt); in perf_pathdup() 87 (void)perf_vsnpath(path, sizeof(path), fmt, args); in perf_pathdup() 92 char *mkpath(const char *fmt, ...) in mkpath() argument 98 va_start(args, fmt); in mkpath() 99 len = vsnprintf(pathname, PATH_MAX, fmt, args); in mkpath() 106 char *perf_path(const char *fmt, ...) in perf_path() argument 119 va_start(args, fmt); in perf_path() [all …]
|
/linux-4.4.14/drivers/net/wireless/libertas/ |
D | defs.h | 50 #define LBS_DEB_LL(grp, grpnam, fmt, args...) \ argument 52 printk(KERN_DEBUG DRV_NAME grpnam "%s: " fmt, \ 55 #define LBS_DEB_LL(grp, grpnam, fmt, args...) do {} while (0) argument 60 #define lbs_deb_enter_args(grp, fmt, args...) \ argument 61 LBS_DEB_LL(grp | LBS_DEB_ENTER, " enter", "%s(" fmt ")\n", __func__, ## args); 64 #define lbs_deb_leave_args(grp, fmt, args...) \ argument 65 LBS_DEB_LL(grp | LBS_DEB_LEAVE, " leave", "%s(), " fmt "\n", \ 67 #define lbs_deb_main(fmt, args...) LBS_DEB_LL(LBS_DEB_MAIN, " main", fmt, ##args) argument 68 #define lbs_deb_net(fmt, args...) LBS_DEB_LL(LBS_DEB_NET, " net", fmt, ##args) argument 69 #define lbs_deb_mesh(fmt, args...) LBS_DEB_LL(LBS_DEB_MESH, " mesh", fmt, ##args) argument [all …]
|
/linux-4.4.14/fs/xfs/ |
D | xfs_message.h | 7 void xfs_emerg(const struct xfs_mount *mp, const char *fmt, ...); 9 void xfs_alert(const struct xfs_mount *mp, const char *fmt, ...); 11 void xfs_alert_tag(const struct xfs_mount *mp, int tag, const char *fmt, ...); 13 void xfs_crit(const struct xfs_mount *mp, const char *fmt, ...); 15 void xfs_err(const struct xfs_mount *mp, const char *fmt, ...); 17 void xfs_warn(const struct xfs_mount *mp, const char *fmt, ...); 19 void xfs_notice(const struct xfs_mount *mp, const char *fmt, ...); 21 void xfs_info(const struct xfs_mount *mp, const char *fmt, ...); 25 void xfs_debug(const struct xfs_mount *mp, const char *fmt, ...); 28 void xfs_debug(const struct xfs_mount *mp, const char *fmt, ...) in xfs_debug() argument [all …]
|
D | xfs_message.c | 43 void func(const struct xfs_mount *mp, const char *fmt, ...) \ 49 va_start(args, fmt); \ 51 vaf.fmt = fmt; \ 78 const char *fmt, ...) in xfs_alert_tag() argument 89 va_start(args, fmt); in xfs_alert_tag() 91 vaf.fmt = fmt; in xfs_alert_tag()
|
/linux-4.4.14/drivers/media/pci/cx18/ |
D | cx18-driver.h | 173 #define CX18_DEBUG(x, type, fmt, args...) \ argument 176 v4l2_info(&cx->v4l2_dev, " " type ": " fmt , ## args); \ 178 #define CX18_DEBUG_WARN(fmt, args...) CX18_DEBUG(CX18_DBGFLG_WARN, "warning", fmt , ## args) argument 179 #define CX18_DEBUG_INFO(fmt, args...) CX18_DEBUG(CX18_DBGFLG_INFO, "info", fmt , ## args) argument 180 #define CX18_DEBUG_API(fmt, args...) CX18_DEBUG(CX18_DBGFLG_API, "api", fmt , ## args) argument 181 #define CX18_DEBUG_DMA(fmt, args...) CX18_DEBUG(CX18_DBGFLG_DMA, "dma", fmt , ## args) argument 182 #define CX18_DEBUG_IOCTL(fmt, args...) CX18_DEBUG(CX18_DBGFLG_IOCTL, "ioctl", fmt , ## args) argument 183 #define CX18_DEBUG_FILE(fmt, args...) CX18_DEBUG(CX18_DBGFLG_FILE, "file", fmt , ## args) argument 184 #define CX18_DEBUG_I2C(fmt, args...) CX18_DEBUG(CX18_DBGFLG_I2C, "i2c", fmt , ## args) argument 185 #define CX18_DEBUG_IRQ(fmt, args...) CX18_DEBUG(CX18_DBGFLG_IRQ, "irq", fmt , ## args) argument [all …]
|
D | cx18-alsa.h | 54 #define CX18_ALSA_DEBUG(x, type, fmt, args...) \ argument 57 printk(KERN_INFO "%s-alsa: " type ": " fmt, \ 61 #define CX18_ALSA_DEBUG_WARN(fmt, args...) \ argument 62 CX18_ALSA_DEBUG(CX18_ALSA_DBGFLG_WARN, "warning", fmt , ## args) 64 #define CX18_ALSA_DEBUG_INFO(fmt, args...) \ argument 65 CX18_ALSA_DEBUG(CX18_ALSA_DBGFLG_INFO, "info", fmt , ## args) 67 #define CX18_ALSA_ERR(fmt, args...) \ argument 68 printk(KERN_ERR "%s-alsa: " fmt, v4l2_dev->name , ## args) 70 #define CX18_ALSA_WARN(fmt, args...) \ argument 71 printk(KERN_WARNING "%s-alsa: " fmt, v4l2_dev->name , ## args) [all …]
|
D | cx18-ioctl.c | 105 void cx18_expand_service_set(struct v4l2_sliced_vbi_format *fmt, int is_pal) in cx18_expand_service_set() argument 107 u16 set = fmt->service_set; in cx18_expand_service_set() 110 fmt->service_set = 0; in cx18_expand_service_set() 113 fmt->service_lines[f][l] = select_service_from_set(f, l, set, is_pal); in cx18_expand_service_set() 121 static int check_service_set(struct v4l2_sliced_vbi_format *fmt, int is_pal) in check_service_set() argument 128 fmt->service_lines[f][l] = select_service_from_set(f, l, fmt->service_lines[f][l], is_pal); in check_service_set() 129 set |= fmt->service_lines[f][l]; in check_service_set() 136 u16 cx18_get_service_set(struct v4l2_sliced_vbi_format *fmt) in cx18_get_service_set() argument 143 set |= fmt->service_lines[f][l]; in cx18_get_service_set() 149 struct v4l2_format *fmt) in cx18_g_fmt_vid_cap() argument [all …]
|
D | cx18-controls.c | 33 static int cx18_s_stream_vbi_fmt(struct cx2341x_handler *cxhdl, u32 fmt) in cx18_s_stream_vbi_fmt() argument 41 if (fmt != V4L2_MPEG_STREAM_VBI_FMT_IVTV || in cx18_s_stream_vbi_fmt() 73 cx->vbi.insert_mpeg = fmt; in cx18_s_stream_vbi_fmt() 99 struct v4l2_mbus_framefmt *fmt = &format.format; in cx18_s_video_encoding() local 102 fmt->width = cxhdl->width / (is_mpeg1 ? 2 : 1); in cx18_s_video_encoding() 103 fmt->height = cxhdl->height; in cx18_s_video_encoding() 104 fmt->code = MEDIA_BUS_FMT_FIXED; in cx18_s_video_encoding()
|
/linux-4.4.14/fs/jffs2/ |
D | debug.h | 66 #define jffs2_dbg(level, fmt, ...) \ argument 69 pr_debug(fmt, ##__VA_ARGS__); \ 78 #define JFFS2_ERROR(fmt, ...) \ argument 79 pr_err("error: (%d) %s: " fmt, \ 82 #define JFFS2_WARNING(fmt, ...) \ argument 83 pr_warn("warning: (%d) %s: " fmt, \ 86 #define JFFS2_NOTICE(fmt, ...) \ argument 87 pr_notice("notice: (%d) %s: " fmt, \ 90 #define JFFS2_DEBUG(fmt, ...) \ argument 91 printk(KERN_DEBUG "[JFFS2 DBG] (%d) %s: " fmt, \ [all …]
|
/linux-4.4.14/tools/perf/ui/ |
D | hist.c | 11 #define hpp__call_print_fn(hpp, fn, fmt, ...) \ argument 13 int __ret = fn(hpp, fmt, ##__VA_ARGS__); \ 19 hpp_field_fn get_field, const char *fmt, int len, in __hpp__fmt() argument 35 ret = hpp__call_print_fn(hpp, print_fn, fmt, len, percent); in __hpp__fmt() 37 ret = hpp__call_print_fn(hpp, print_fn, fmt, len, get_field(he)); in __hpp__fmt() 63 fmt, len, 0.0); in __hpp__fmt() 66 fmt, len, 0ULL); in __hpp__fmt() 71 ret += hpp__call_print_fn(hpp, print_fn, fmt, len, in __hpp__fmt() 74 ret += hpp__call_print_fn(hpp, print_fn, fmt, in __hpp__fmt() 89 fmt, len, 0.0); in __hpp__fmt() [all …]
|
D | helpline.c | 19 static int nop_helpline__show(const char *fmt __maybe_unused, in nop_helpline__show() 43 void ui_helpline__vpush(const char *fmt, va_list ap) in ui_helpline__vpush() argument 47 if (vasprintf(&s, fmt, ap) < 0) in ui_helpline__vpush() 48 vfprintf(stderr, fmt, ap); in ui_helpline__vpush() 55 void ui_helpline__fpush(const char *fmt, ...) in ui_helpline__fpush() argument 59 va_start(ap, fmt); in ui_helpline__fpush() 60 ui_helpline__vpush(fmt, ap); in ui_helpline__fpush() 70 int ui_helpline__vshow(const char *fmt, va_list ap) in ui_helpline__vshow() argument 72 return helpline_fns->show(fmt, ap); in ui_helpline__vshow()
|
D | helpline.h | 12 int (*show)(const char *fmt, va_list ap); 21 void ui_helpline__vpush(const char *fmt, va_list ap); 22 void ui_helpline__fpush(const char *fmt, ...); 24 int ui_helpline__vshow(const char *fmt, va_list ap);
|
/linux-4.4.14/arch/alpha/boot/ |
D | stdio.c | 114 int vsprintf(char *buf, const char *fmt, va_list args) in vsprintf() argument 132 for (str=buf ; *fmt ; ++fmt) { in vsprintf() 133 if (*fmt != '%') { in vsprintf() 134 *str++ = *fmt; in vsprintf() 141 ++fmt; /* this also skips first '%' */ in vsprintf() 142 switch (*fmt) { in vsprintf() 152 if ('0' <= *fmt && *fmt <= '9') in vsprintf() 153 field_width = skip_atoi(&fmt); in vsprintf() 154 else if (*fmt == '*') { in vsprintf() 155 ++fmt; in vsprintf() [all …]
|
/linux-4.4.14/tools/lib/traceevent/ |
D | parse-utils.c | 28 void __vwarning(const char *fmt, va_list ap) in __vwarning() argument 35 vfprintf(stderr, fmt, ap); in __vwarning() 40 void __warning(const char *fmt, ...) in __warning() argument 44 va_start(ap, fmt); in __warning() 45 __vwarning(fmt, ap); in __warning() 49 void __weak warning(const char *fmt, ...) in warning() argument 53 va_start(ap, fmt); in warning() 54 __vwarning(fmt, ap); in warning() 58 void __vpr_stat(const char *fmt, va_list ap) in __vpr_stat() argument 60 vprintf(fmt, ap); in __vpr_stat() [all …]
|
D | event-utils.h | 26 void warning(const char *fmt, ...); 27 void pr_stat(const char *fmt, ...); 28 void vpr_stat(const char *fmt, va_list ap); 31 void __warning(const char *fmt, ...); 32 void __pr_stat(const char *fmt, ...); 34 void __vwarning(const char *fmt, ...); 35 void __vpr_stat(const char *fmt, ...);
|
/linux-4.4.14/arch/x86/boot/ |
D | printf.c | 115 int vsprintf(char *buf, const char *fmt, va_list args) in vsprintf() argument 130 for (str = buf; *fmt; ++fmt) { in vsprintf() 131 if (*fmt != '%') { in vsprintf() 132 *str++ = *fmt; in vsprintf() 139 ++fmt; /* this also skips first '%' */ in vsprintf() 140 switch (*fmt) { in vsprintf() 160 if (isdigit(*fmt)) in vsprintf() 161 field_width = skip_atoi(&fmt); in vsprintf() 162 else if (*fmt == '*') { in vsprintf() 163 ++fmt; in vsprintf() [all …]
|
/linux-4.4.14/kernel/trace/ |
D | trace_printk.c | 33 const char *fmt; member 36 static inline struct trace_bprintk_fmt *lookup_format(const char *fmt) in lookup_format() argument 40 if (!strcmp(pos->fmt, fmt)) in lookup_format() 50 char *fmt; in hold_module_trace_bprintk_format() local 60 *iter = tb_fmt->fmt; in hold_module_trace_bprintk_format() 64 fmt = NULL; in hold_module_trace_bprintk_format() 67 fmt = kmalloc(strlen(*iter) + 1, GFP_KERNEL); in hold_module_trace_bprintk_format() 68 if (fmt) { in hold_module_trace_bprintk_format() 70 strcpy(fmt, *iter); in hold_module_trace_bprintk_format() 71 tb_fmt->fmt = fmt; in hold_module_trace_bprintk_format() [all …]
|
D | bpf_trace.c | 88 char *fmt = (char *) (long) r1; in bpf_trace_printk() local 101 if (fmt[--fmt_size] != 0) in bpf_trace_printk() 106 if ((!isprint(fmt[i]) && !isspace(fmt[i])) || !isascii(fmt[i])) in bpf_trace_printk() 109 if (fmt[i] != '%') in bpf_trace_printk() 117 if (fmt[i] == 'l') { in bpf_trace_printk() 120 } else if (fmt[i] == 'p' || fmt[i] == 's') { in bpf_trace_printk() 123 if (!isspace(fmt[i]) && !ispunct(fmt[i]) && fmt[i] != 0) in bpf_trace_printk() 126 if (fmt[i - 1] == 's') { in bpf_trace_printk() 154 if (fmt[i] == 'l') { in bpf_trace_printk() 159 if (fmt[i] != 'd' && fmt[i] != 'u' && fmt[i] != 'x') in bpf_trace_printk() [all …]
|
/linux-4.4.14/arch/powerpc/boot/ |
D | stdio.c | 140 int vsprintf(char *buf, const char *fmt, va_list args) in vsprintf() argument 158 for (str=buf ; *fmt ; ++fmt) { in vsprintf() 159 if (*fmt != '%') { in vsprintf() 160 *str++ = *fmt; in vsprintf() 167 ++fmt; /* this also skips first '%' */ in vsprintf() 168 switch (*fmt) { in vsprintf() 178 if ('0' <= *fmt && *fmt <= '9') in vsprintf() 179 field_width = skip_atoi(&fmt); in vsprintf() 180 else if (*fmt == '*') { in vsprintf() 181 ++fmt; in vsprintf() [all …]
|
D | stdio.h | 10 extern int printf(const char *fmt, ...) __attribute__((format(printf, 1, 2))); 12 #define fprintf(fmt, args...) printf(args) argument 14 extern int sprintf(char *buf, const char *fmt, ...) 17 extern int vsprintf(char *buf, const char *fmt, va_list args);
|
/linux-4.4.14/drivers/net/wireless/ath/wil6210/ |
D | debug.c | 20 void wil_err(struct wil6210_priv *wil, const char *fmt, ...) in wil_err() argument 24 .fmt = fmt, in wil_err() 28 va_start(args, fmt); in wil_err() 35 void wil_err_ratelimited(struct wil6210_priv *wil, const char *fmt, ...) in wil_err_ratelimited() argument 40 .fmt = fmt, in wil_err_ratelimited() 44 va_start(args, fmt); in wil_err_ratelimited() 52 void wil_info(struct wil6210_priv *wil, const char *fmt, ...) in wil_info() argument 56 .fmt = fmt, in wil_info() 60 va_start(args, fmt); in wil_info() 67 void wil_dbg_trace(struct wil6210_priv *wil, const char *fmt, ...) in wil_dbg_trace() argument [all …]
|
/linux-4.4.14/drivers/gpio/ |
D | gpiolib.h | 121 #define gpiod_emerg(desc, fmt, ...) \ argument 122 pr_emerg("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?",\ 124 #define gpiod_crit(desc, fmt, ...) \ argument 125 pr_crit("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?", \ 127 #define gpiod_err(desc, fmt, ...) \ argument 128 pr_err("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?", \ 130 #define gpiod_warn(desc, fmt, ...) \ argument 131 pr_warn("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?", \ 133 #define gpiod_info(desc, fmt, ...) \ argument 134 pr_info("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?", \ [all …]
|
/linux-4.4.14/drivers/media/usb/pwc/ |
D | pwc.h | 68 #define PWC_DEBUG_MODULE(fmt, args...) PWC_DEBUG(MODULE, fmt, ##args) argument 69 #define PWC_DEBUG_PROBE(fmt, args...) PWC_DEBUG(PROBE, fmt, ##args) argument 70 #define PWC_DEBUG_OPEN(fmt, args...) PWC_DEBUG(OPEN, fmt, ##args) argument 71 #define PWC_DEBUG_READ(fmt, args...) PWC_DEBUG(READ, fmt, ##args) argument 72 #define PWC_DEBUG_MEMORY(fmt, args...) PWC_DEBUG(MEMORY, fmt, ##args) argument 73 #define PWC_DEBUG_FLOW(fmt, args...) PWC_DEBUG(FLOW, fmt, ##args) argument 74 #define PWC_DEBUG_SIZE(fmt, args...) PWC_DEBUG(SIZE, fmt, ##args) argument 75 #define PWC_DEBUG_IOCTL(fmt, args...) PWC_DEBUG(IOCTL, fmt, ##args) argument 76 #define PWC_DEBUG_TRACE(fmt, args...) PWC_DEBUG(TRACE, fmt, ##args) argument 83 #define PWC_DEBUG(level, fmt, args...) do {\ argument [all …]
|
/linux-4.4.14/fs/ubifs/ |
D | debug.h | 167 #define ubifs_dbg_msg(type, fmt, ...) \ argument 168 pr_debug("UBIFS DBG " type " (pid %d): " fmt "\n", current->pid, \ 172 #define ubifs_dbg_msg_key(type, key, fmt, ...) do { \ argument 174 pr_debug("UBIFS DBG " type " (pid %d): " fmt "%s\n", current->pid, \ 180 #define dbg_gen(fmt, ...) ubifs_dbg_msg("gen", fmt, ##__VA_ARGS__) argument 182 #define dbg_jnl(fmt, ...) ubifs_dbg_msg("jnl", fmt, ##__VA_ARGS__) argument 183 #define dbg_jnlk(key, fmt, ...) \ argument 184 ubifs_dbg_msg_key("jnl", key, fmt, ##__VA_ARGS__) 186 #define dbg_tnc(fmt, ...) ubifs_dbg_msg("tnc", fmt, ##__VA_ARGS__) argument 187 #define dbg_tnck(key, fmt, ...) \ argument [all …]
|
/linux-4.4.14/drivers/media/pci/bt8xx/ |
D | bttv-vbi.c | 26 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument 70 #define dprintk(fmt, ...) \ argument 73 pr_debug("%d: " fmt, btv->c.nr, ##__VA_ARGS__); \ 76 #define IMAGE_SIZE(fmt) \ argument 77 (((fmt)->count[0] + (fmt)->count[1]) * (fmt)->samples_per_line) 91 *size = IMAGE_SIZE(&fh->vbi_fmt.fmt); in vbi_buffer_setup() 94 fh->vbi_fmt.fmt.samples_per_line, in vbi_buffer_setup() 95 fh->vbi_fmt.fmt.start[0], in vbi_buffer_setup() 96 fh->vbi_fmt.fmt.start[1], in vbi_buffer_setup() 97 fh->vbi_fmt.fmt.count[0], in vbi_buffer_setup() [all …]
|
D | bttv-risc.c | 27 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument 247 const struct bttv_format *fmt, struct bttv_overlay *ov, in bttv_risc_overlay() argument 277 addr += btv->fbuf.fmt.bytesperline * ov->w.top; in bttv_risc_overlay() 278 addr += (fmt->depth >> 3) * ov->w.left; in bttv_risc_overlay() 282 line++, addr += btv->fbuf.fmt.bytesperline) { in bttv_risc_overlay() 310 ra = addr + (fmt->depth>>3)*start; in bttv_risc_overlay() 318 ri |= (fmt->depth>>3) * (end-start); in bttv_risc_overlay() 714 buf->fmt->name, buf->vb.width, buf->vb.height); in bttv_buffer_risc() 717 if (buf->fmt->flags & FORMAT_FLAGS_PACKED) { in bttv_buffer_risc() 718 int bpl = (buf->fmt->depth >> 3) * buf->vb.width; in bttv_buffer_risc() [all …]
|
/linux-4.4.14/lib/ |
D | vsprintf.c | 561 const char *fmt) in dentry_name() argument 568 switch (fmt[1]) { in dentry_name() 570 depth = fmt[1] - '0'; in dentry_name() 618 struct printf_spec spec, const char *fmt) in symbol_string() argument 625 if (fmt[1] == 'R') in symbol_string() 630 if (*fmt == 'B') in symbol_string() 632 else if (*fmt != 'f' && *fmt != 's') in symbol_string() 649 struct printf_spec spec, const char *fmt) in resource_string() argument 702 int decode = (fmt[0] == 'R') ? 1 : 0; in resource_string() 757 const char *fmt) in hex_string() argument [all …]
|
D | kasprintf.c | 14 char *kvasprintf(gfp_t gfp, const char *fmt, va_list ap) in kvasprintf() argument 21 len = vsnprintf(NULL, 0, fmt, aq); in kvasprintf() 28 vsnprintf(p, len+1, fmt, ap); in kvasprintf() 40 const char *kvasprintf_const(gfp_t gfp, const char *fmt, va_list ap) in kvasprintf_const() argument 42 if (!strchr(fmt, '%')) in kvasprintf_const() 43 return kstrdup_const(fmt, gfp); in kvasprintf_const() 44 if (!strcmp(fmt, "%s")) in kvasprintf_const() 46 return kvasprintf(gfp, fmt, ap); in kvasprintf_const() 50 char *kasprintf(gfp_t gfp, const char *fmt, ...) in kasprintf() argument 55 va_start(ap, fmt); in kasprintf() [all …]
|
D | test_printf.c | 5 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument 45 const char *fmt, va_list ap) in do_test() argument 54 ret = vsnprintf(test_buffer, bufsize, fmt, aq); in do_test() 59 bufsize, fmt, ret, elen); in do_test() 66 fmt); in do_test() 75 bufsize, fmt); in do_test() 81 bufsize, fmt, test_buffer, written, expect); in do_test() 88 __test(const char *expect, int elen, const char *fmt, ...) in __test() argument 96 va_start(ap, fmt); in __test() 104 failed_tests += do_test(BUF_SIZE, expect, elen, fmt, ap); in __test() [all …]
|
/linux-4.4.14/drivers/usb/usbip/ |
D | usbip_common.h | 39 #define pr_fmt(fmt) KBUILD_MODNAME ": %s:%d: " fmt, __func__, __LINE__ argument 41 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument 74 #define usbip_dbg_with_flag(flag, fmt, args...) \ argument 77 pr_debug(fmt, ##args); \ 80 #define usbip_dbg_sysfs(fmt, args...) \ argument 81 usbip_dbg_with_flag(usbip_debug_sysfs, fmt , ##args) 82 #define usbip_dbg_xmit(fmt, args...) \ argument 83 usbip_dbg_with_flag(usbip_debug_xmit, fmt , ##args) 84 #define usbip_dbg_urb(fmt, args...) \ argument 85 usbip_dbg_with_flag(usbip_debug_urb, fmt , ##args) [all …]
|
/linux-4.4.14/include/media/ |
D | v4l2-common.h | 34 #define v4l_printk(level, name, adapter, addr, fmt, arg...) \ argument 35 printk(level "%s %d-%04x: " fmt, name, i2c_adapter_id(adapter), addr , ## arg) 37 #define v4l_client_printk(level, client, fmt, arg...) \ argument 39 (client)->addr, fmt , ## arg) 41 #define v4l_err(client, fmt, arg...) \ argument 42 v4l_client_printk(KERN_ERR, client, fmt , ## arg) 44 #define v4l_warn(client, fmt, arg...) \ argument 45 v4l_client_printk(KERN_WARNING, client, fmt , ## arg) 47 #define v4l_info(client, fmt, arg...) \ argument 48 v4l_client_printk(KERN_INFO, client, fmt , ## arg) [all …]
|
D | saa7146.h | 30 #define ERR(fmt, ...) pr_err("%s: " fmt, __func__, ##__VA_ARGS__) argument 32 #define _DBG(mask, fmt, ...) \ argument 35 pr_debug("%s(): " fmt, __func__, ##__VA_ARGS__); \ 39 #define DEB_S(fmt, ...) _DBG(0x01, fmt, ##__VA_ARGS__) argument 41 #define DEB_D(fmt, ...) _DBG(0x02, fmt, ##__VA_ARGS__) argument 43 #define DEB_EE(fmt, ...) _DBG(0x04, fmt, ##__VA_ARGS__) argument 45 #define DEB_I2C(fmt, ...) _DBG(0x08, fmt, ##__VA_ARGS__) argument 47 #define DEB_VBI(fmt, ...) _DBG(0x10, fmt, ##__VA_ARGS__) argument 49 #define DEB_INT(fmt, ...) _DBG(0x20, fmt, ##__VA_ARGS__) argument 51 #define DEB_CAP(fmt, ...) _DBG(0x40, fmt, ##__VA_ARGS__) argument
|
/linux-4.4.14/drivers/usb/gadget/function/ |
D | uvc_v4l2.c | 86 uvc_v4l2_get_format(struct file *file, void *fh, struct v4l2_format *fmt) in uvc_v4l2_get_format() argument 92 fmt->fmt.pix.pixelformat = video->fcc; in uvc_v4l2_get_format() 93 fmt->fmt.pix.width = video->width; in uvc_v4l2_get_format() 94 fmt->fmt.pix.height = video->height; in uvc_v4l2_get_format() 95 fmt->fmt.pix.field = V4L2_FIELD_NONE; in uvc_v4l2_get_format() 96 fmt->fmt.pix.bytesperline = video->bpp * video->width / 8; in uvc_v4l2_get_format() 97 fmt->fmt.pix.sizeimage = video->imagesize; in uvc_v4l2_get_format() 98 fmt->fmt.pix.colorspace = V4L2_COLORSPACE_SRGB; in uvc_v4l2_get_format() 99 fmt->fmt.pix.priv = 0; in uvc_v4l2_get_format() 105 uvc_v4l2_set_format(struct file *file, void *fh, struct v4l2_format *fmt) in uvc_v4l2_set_format() argument [all …]
|
D | storage_common.h | 17 #define VLDBG(lun, fmt, args...) do { } while (0) argument 20 #define _LMSG(func, lun, fmt, args...) \ argument 23 func("%s/%s: " fmt, *(lun)->name_pfx, \ 26 func("%s: " fmt, (lun)->name, ## args); \ 29 #define LDBG(lun, fmt, args...) _LMSG(pr_debug, lun, fmt, ## args) argument 30 #define LERROR(lun, fmt, args...) _LMSG(pr_err, lun, fmt, ## args) argument 31 #define LWARN(lun, fmt, args...) _LMSG(pr_warn, lun, fmt, ## args) argument 32 #define LINFO(lun, fmt, args...) _LMSG(pr_info, lun, fmt, ## args) argument
|
D | uvc_configfs.c | 746 struct uvcg_format *fmt; member 805 format_ptr->fmt = target_fmt; in uvcg_streaming_header_allow_link() 839 if (format_ptr->fmt == target_fmt) { in uvcg_streaming_header_drop_link() 1008 struct uvcg_format *fmt; \ 1021 fmt = to_uvcg_format(f->item.ci_parent); \ 1024 if (fmt->linked || opts->refcnt) { \ 1140 struct uvcg_format *fmt; in uvcg_frame_dw_frame_interval_store() local 1149 fmt = to_uvcg_format(ch->item.ci_parent); in uvcg_frame_dw_frame_interval_store() 1152 if (fmt->linked || opts->refcnt) { in uvcg_frame_dw_frame_interval_store() 1207 struct uvcg_format *fmt; in uvcg_frame_make() local [all …]
|
/linux-4.4.14/drivers/media/platform/soc_camera/ |
D | soc_mediabus.c | 21 .fmt = { 31 .fmt = { 41 .fmt = { 51 .fmt = { 61 .fmt = { 71 .fmt = { 81 .fmt = { 91 .fmt = { 101 .fmt = { 110 .fmt = { [all …]
|
D | mx3_camera.c | 192 const struct v4l2_format *fmt = parg; in mx3_videobuf_setup() local 200 if (fmt) { in mx3_videobuf_setup() 202 fmt->fmt.pix.pixelformat); in mx3_videobuf_setup() 209 ret = soc_mbus_bytes_per_line(fmt->fmt.pix.width, in mx3_videobuf_setup() 214 bytes_per_line = max_t(u32, fmt->fmt.pix.bytesperline, ret); in mx3_videobuf_setup() 217 fmt->fmt.pix.height); in mx3_videobuf_setup() 221 sizes[0] = max_t(u32, fmt->fmt.pix.sizeimage, ret); in mx3_videobuf_setup() 651 static bool mx3_camera_packing_supported(const struct soc_mbus_pixelfmt *fmt) in mx3_camera_packing_supported() argument 653 return fmt->packing == SOC_MBUS_PACKING_NONE || in mx3_camera_packing_supported() 654 (fmt->bits_per_sample == 8 && in mx3_camera_packing_supported() [all …]
|
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/ |
D | debug.h | 44 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument 52 #define brcmf_err(fmt, ...) pr_err("%s: " fmt, __func__, ##__VA_ARGS__) argument 54 #define brcmf_err(fmt, ...) \ argument 57 pr_err("%s: " fmt, __func__, ##__VA_ARGS__); \ 62 void __brcmf_err(const char *func, const char *fmt, ...); 63 #define brcmf_err(fmt, ...) \ argument 64 __brcmf_err(__func__, fmt, ##__VA_ARGS__) 69 void __brcmf_dbg(u32 level, const char *func, const char *fmt, ...); 70 #define brcmf_dbg(level, fmt, ...) \ argument 73 fmt, ##__VA_ARGS__); \ [all …]
|
D | tracepoint.c | 23 void __brcmf_err(const char *func, const char *fmt, ...) in __brcmf_err() argument 26 .fmt = fmt, in __brcmf_err() 30 va_start(args, fmt); in __brcmf_err()
|
/linux-4.4.14/drivers/scsi/libfc/ |
D | fc_libfc.h | 42 #define FC_LIBFC_DBG(fmt, args...) \ argument 44 pr_info("libfc: " fmt, ##args)) 46 #define FC_LPORT_DBG(lport, fmt, args...) \ argument 48 pr_info("host%u: lport %6.6x: " fmt, \ 52 #define FC_DISC_DBG(disc, fmt, args...) \ argument 54 pr_info("host%u: disc: " fmt, \ 58 #define FC_RPORT_ID_DBG(lport, port_id, fmt, args...) \ argument 60 pr_info("host%u: rport %6.6x: " fmt, \ 64 #define FC_RPORT_DBG(rdata, fmt, args...) \ argument 65 FC_RPORT_ID_DBG((rdata)->local_port, (rdata)->ids.port_id, fmt, ##args) [all …]
|
/linux-4.4.14/drivers/media/platform/vsp1/ |
D | vsp1_uds.c | 232 struct v4l2_subdev_format *fmt) in uds_get_format() argument 236 fmt->format = *vsp1_entity_get_pad_format(&uds->entity, cfg, fmt->pad, in uds_get_format() 237 fmt->which); in uds_get_format() 243 unsigned int pad, struct v4l2_mbus_framefmt *fmt, in uds_try_format() argument 253 if (fmt->code != MEDIA_BUS_FMT_ARGB8888_1X32 && in uds_try_format() 254 fmt->code != MEDIA_BUS_FMT_AYUV8_1X32) in uds_try_format() 255 fmt->code = MEDIA_BUS_FMT_AYUV8_1X32; in uds_try_format() 257 fmt->width = clamp(fmt->width, UDS_MIN_SIZE, UDS_MAX_SIZE); in uds_try_format() 258 fmt->height = clamp(fmt->height, UDS_MIN_SIZE, UDS_MAX_SIZE); in uds_try_format() 265 fmt->code = format->code; in uds_try_format() [all …]
|
D | vsp1_sru.c | 235 struct v4l2_subdev_format *fmt) in sru_get_format() argument 239 fmt->format = *vsp1_entity_get_pad_format(&sru->entity, cfg, fmt->pad, in sru_get_format() 240 fmt->which); in sru_get_format() 246 unsigned int pad, struct v4l2_mbus_framefmt *fmt, in sru_try_format() argument 256 if (fmt->code != MEDIA_BUS_FMT_ARGB8888_1X32 && in sru_try_format() 257 fmt->code != MEDIA_BUS_FMT_AYUV8_1X32) in sru_try_format() 258 fmt->code = MEDIA_BUS_FMT_AYUV8_1X32; in sru_try_format() 260 fmt->width = clamp(fmt->width, SRU_MIN_SIZE, SRU_MAX_SIZE); in sru_try_format() 261 fmt->height = clamp(fmt->height, SRU_MIN_SIZE, SRU_MAX_SIZE); in sru_try_format() 268 fmt->code = format->code; in sru_try_format() [all …]
|
D | vsp1_rwpf.c | 89 struct v4l2_subdev_format *fmt) in vsp1_rwpf_get_format() argument 93 fmt->format = *vsp1_entity_get_pad_format(&rwpf->entity, cfg, fmt->pad, in vsp1_rwpf_get_format() 94 fmt->which); in vsp1_rwpf_get_format() 100 struct v4l2_subdev_format *fmt) in vsp1_rwpf_set_format() argument 107 if (fmt->format.code != MEDIA_BUS_FMT_ARGB8888_1X32 && in vsp1_rwpf_set_format() 108 fmt->format.code != MEDIA_BUS_FMT_AYUV8_1X32) in vsp1_rwpf_set_format() 109 fmt->format.code = MEDIA_BUS_FMT_AYUV8_1X32; in vsp1_rwpf_set_format() 111 format = vsp1_entity_get_pad_format(&rwpf->entity, cfg, fmt->pad, in vsp1_rwpf_set_format() 112 fmt->which); in vsp1_rwpf_set_format() 114 if (fmt->pad == RWPF_PAD_SOURCE) { in vsp1_rwpf_set_format() [all …]
|
D | vsp1_bru.c | 247 struct v4l2_subdev_format *fmt) in bru_get_format() argument 251 fmt->format = *vsp1_entity_get_pad_format(&bru->entity, cfg, fmt->pad, in bru_get_format() 252 fmt->which); in bru_get_format() 258 unsigned int pad, struct v4l2_mbus_framefmt *fmt, in bru_try_format() argument 266 if (fmt->code != MEDIA_BUS_FMT_ARGB8888_1X32 && in bru_try_format() 267 fmt->code != MEDIA_BUS_FMT_AYUV8_1X32) in bru_try_format() 268 fmt->code = MEDIA_BUS_FMT_AYUV8_1X32; in bru_try_format() 275 fmt->code = format->code; in bru_try_format() 279 fmt->width = clamp(fmt->width, BRU_MIN_SIZE, BRU_MAX_SIZE); in bru_try_format() 280 fmt->height = clamp(fmt->height, BRU_MIN_SIZE, BRU_MAX_SIZE); in bru_try_format() [all …]
|
D | vsp1_lut.c | 148 struct v4l2_subdev_format *fmt) in lut_get_format() argument 152 fmt->format = *vsp1_entity_get_pad_format(&lut->entity, cfg, fmt->pad, in lut_get_format() 153 fmt->which); in lut_get_format() 159 struct v4l2_subdev_format *fmt) in lut_set_format() argument 165 if (fmt->format.code != MEDIA_BUS_FMT_ARGB8888_1X32 && in lut_set_format() 166 fmt->format.code != MEDIA_BUS_FMT_AHSV8888_1X32 && in lut_set_format() 167 fmt->format.code != MEDIA_BUS_FMT_AYUV8_1X32) in lut_set_format() 168 fmt->format.code = MEDIA_BUS_FMT_AYUV8_1X32; in lut_set_format() 170 format = vsp1_entity_get_pad_format(&lut->entity, cfg, fmt->pad, in lut_set_format() 171 fmt->which); in lut_set_format() [all …]
|
D | vsp1_lif.c | 137 struct v4l2_subdev_format *fmt) in lif_get_format() argument 141 fmt->format = *vsp1_entity_get_pad_format(&lif->entity, cfg, fmt->pad, in lif_get_format() 142 fmt->which); in lif_get_format() 148 struct v4l2_subdev_format *fmt) in lif_set_format() argument 154 if (fmt->format.code != MEDIA_BUS_FMT_ARGB8888_1X32 && in lif_set_format() 155 fmt->format.code != MEDIA_BUS_FMT_AYUV8_1X32) in lif_set_format() 156 fmt->format.code = MEDIA_BUS_FMT_AYUV8_1X32; in lif_set_format() 158 format = vsp1_entity_get_pad_format(&lif->entity, cfg, fmt->pad, in lif_set_format() 159 fmt->which); in lif_set_format() 161 if (fmt->pad == LIF_PAD_SOURCE) { in lif_set_format() [all …]
|
D | vsp1_hsit.c | 108 struct v4l2_subdev_format *fmt) in hsit_get_format() argument 112 fmt->format = *vsp1_entity_get_pad_format(&hsit->entity, cfg, fmt->pad, in hsit_get_format() 113 fmt->which); in hsit_get_format() 120 struct v4l2_subdev_format *fmt) in hsit_set_format() argument 125 format = vsp1_entity_get_pad_format(&hsit->entity, cfg, fmt->pad, in hsit_set_format() 126 fmt->which); in hsit_set_format() 128 if (fmt->pad == HSIT_PAD_SOURCE) { in hsit_set_format() 132 fmt->format = *format; in hsit_set_format() 138 format->width = clamp_t(unsigned int, fmt->format.width, in hsit_set_format() 140 format->height = clamp_t(unsigned int, fmt->format.height, in hsit_set_format() [all …]
|
/linux-4.4.14/drivers/media/pci/ivtv/ |
D | ivtv-alsa.h | 55 #define IVTV_ALSA_DEBUG(x, type, fmt, args...) \ argument 58 pr_info("%s-alsa: " type ": " fmt, \ 62 #define IVTV_ALSA_DEBUG_WARN(fmt, args...) \ argument 63 IVTV_ALSA_DEBUG(IVTV_ALSA_DBGFLG_WARN, "warning", fmt , ## args) 65 #define IVTV_ALSA_DEBUG_INFO(fmt, args...) \ argument 66 IVTV_ALSA_DEBUG(IVTV_ALSA_DBGFLG_INFO, "info", fmt , ## args) 68 #define IVTV_ALSA_ERR(fmt, args...) \ argument 69 pr_err("%s-alsa: " fmt, v4l2_dev->name , ## args) 71 #define IVTV_ALSA_WARN(fmt, args...) \ argument 72 pr_warn("%s-alsa: " fmt, v4l2_dev->name , ## args) [all …]
|
D | ivtv-driver.h | 141 #define IVTV_DEBUG(x, type, fmt, args...) \ argument 144 v4l2_info(&itv->v4l2_dev, " " type ": " fmt , ##args); \ 146 #define IVTV_DEBUG_WARN(fmt, args...) IVTV_DEBUG(IVTV_DBGFLG_WARN, "warn", fmt , ## args) argument 147 #define IVTV_DEBUG_INFO(fmt, args...) IVTV_DEBUG(IVTV_DBGFLG_INFO, "info", fmt , ## args) argument 148 #define IVTV_DEBUG_MB(fmt, args...) IVTV_DEBUG(IVTV_DBGFLG_MB, "mb", fmt , ## args) argument 149 #define IVTV_DEBUG_DMA(fmt, args...) IVTV_DEBUG(IVTV_DBGFLG_DMA, "dma", fmt , ## args) argument 150 #define IVTV_DEBUG_IOCTL(fmt, args...) IVTV_DEBUG(IVTV_DBGFLG_IOCTL, "ioctl", fmt , ## args) argument 151 #define IVTV_DEBUG_FILE(fmt, args...) IVTV_DEBUG(IVTV_DBGFLG_FILE, "file", fmt , ## args) argument 152 #define IVTV_DEBUG_I2C(fmt, args...) IVTV_DEBUG(IVTV_DBGFLG_I2C, "i2c", fmt , ## args) argument 153 #define IVTV_DEBUG_IRQ(fmt, args...) IVTV_DEBUG(IVTV_DBGFLG_IRQ, "irq", fmt , ## args) argument [all …]
|
D | ivtv-ioctl.c | 90 void ivtv_expand_service_set(struct v4l2_sliced_vbi_format *fmt, int is_pal) in ivtv_expand_service_set() argument 92 u16 set = fmt->service_set; in ivtv_expand_service_set() 95 fmt->service_set = 0; in ivtv_expand_service_set() 98 fmt->service_lines[f][l] = select_service_from_set(f, l, set, is_pal); in ivtv_expand_service_set() 103 static void check_service_set(struct v4l2_sliced_vbi_format *fmt, int is_pal) in check_service_set() argument 109 fmt->service_lines[f][l] = select_service_from_set(f, l, fmt->service_lines[f][l], is_pal); in check_service_set() 114 u16 ivtv_get_service_set(struct v4l2_sliced_vbi_format *fmt) in ivtv_get_service_set() argument 121 set |= fmt->service_lines[f][l]; in ivtv_get_service_set() 322 static int ivtv_g_fmt_sliced_vbi_out(struct file *file, void *fh, struct v4l2_format *fmt) in ivtv_g_fmt_sliced_vbi_out() argument 325 struct v4l2_sliced_vbi_format *vbifmt = &fmt->fmt.sliced; in ivtv_g_fmt_sliced_vbi_out() [all …]
|
/linux-4.4.14/drivers/media/pci/zoran/ |
D | zoran_driver.c | 1047 const struct zoran_format *fmt, in setup_fbuffer() argument 1067 bytesperline = width * ((fmt->depth + 7) & ~7) / 8; in setup_fbuffer() 1085 if (!(fmt->flags & ZORAN_FORMAT_OVERLAY)) { in setup_fbuffer() 1110 zr->vbuf_depth = fmt->depth; in setup_fbuffer() 1111 zr->overlay_settings.format = fmt; in setup_fbuffer() 1523 static int zoran_enum_fmt(struct zoran *zr, struct v4l2_fmtdesc *fmt, int flag) in zoran_enum_fmt() argument 1528 if (zoran_formats[i].flags & flag && num++ == fmt->index) { in zoran_enum_fmt() 1529 strncpy(fmt->description, zoran_formats[i].name, in zoran_enum_fmt() 1530 sizeof(fmt->description) - 1); in zoran_enum_fmt() 1532 fmt->pixelformat = zoran_formats[i].fourcc; in zoran_enum_fmt() [all …]
|
/linux-4.4.14/fs/ntfs/ |
D | debug.c | 21 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument 44 const char *fmt, ...) in __ntfs_warning() argument 56 va_start(args, fmt); in __ntfs_warning() 57 vaf.fmt = fmt; in __ntfs_warning() 87 const char *fmt, ...) in __ntfs_error() argument 99 va_start(args, fmt); in __ntfs_error() 100 vaf.fmt = fmt; in __ntfs_error() 116 const char *fmt, ...) in __ntfs_debug() argument 126 va_start(args, fmt); in __ntfs_debug() 127 vaf.fmt = fmt; in __ntfs_debug()
|
/linux-4.4.14/drivers/media/pci/cx25821/ |
D | cx25821-video.c | 27 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument 148 const struct v4l2_format *fmt = parg; in cx25821_queue_setup() local 150 unsigned size = (chan->fmt->depth * chan->width * chan->height) >> 3; in cx25821_queue_setup() 152 if (fmt && fmt->fmt.pix.sizeimage < size) in cx25821_queue_setup() 156 sizes[0] = fmt ? fmt->fmt.pix.sizeimage : size; in cx25821_queue_setup() 174 buf->bpl = (chan->fmt->depth * chan->width) >> 3; in cx25821_buffer_prepare() 176 buf->bpl = (chan->fmt->depth >> 3) * chan->width; in cx25821_buffer_prepare() 237 chan->fmt->depth, chan->fmt->name, in cx25821_buffer_prepare() 342 f->fmt.pix.width = chan->width; in cx25821_vidioc_g_fmt_vid_cap() 343 f->fmt.pix.height = chan->height; in cx25821_vidioc_g_fmt_vid_cap() [all …]
|
/linux-4.4.14/samples/bpf/ |
D | tracex5_kern.c | 34 char fmt[] = "syscall=%d (one of get/set uid/pid/gid)\n"; in bpf_prog1() local 35 bpf_trace_printk(fmt, sizeof(fmt), sd.nr); in bpf_prog1() 47 char fmt[] = "write(fd=%d, buf=%p, size=%d)\n"; in PROG() local 48 bpf_trace_printk(fmt, sizeof(fmt), in PROG() 60 char fmt[] = "read(fd=%d, buf=%p, size=%d)\n"; in PROG() local 61 bpf_trace_printk(fmt, sizeof(fmt), in PROG() 69 char fmt[] = "mmap\n"; in PROG() local 70 bpf_trace_printk(fmt, sizeof(fmt)); in PROG()
|
/linux-4.4.14/fs/jfs/ |
D | jfs_debug.h | 68 #define jfs_info(fmt, arg...) do { \ argument 70 printk(KERN_INFO fmt "\n", ## arg); \ 74 #define jfs_debug(fmt, arg...) do { \ argument 76 printk(KERN_DEBUG fmt "\n", ## arg); \ 80 #define jfs_warn(fmt, arg...) do { \ argument 82 printk(KERN_WARNING fmt "\n", ## arg); \ 86 #define jfs_err(fmt, arg...) do { \ argument 88 printk(KERN_ERR fmt "\n", ## arg); \ 97 #define jfs_info(fmt, arg...) do {} while (0) argument 98 #define jfs_debug(fmt, arg...) do {} while (0) argument [all …]
|
/linux-4.4.14/drivers/thunderbolt/ |
D | tb.h | 188 #define tb_err(tb, fmt, arg...) dev_err(&(tb)->nhi->pdev->dev, fmt, ## arg) argument 189 #define tb_WARN(tb, fmt, arg...) dev_WARN(&(tb)->nhi->pdev->dev, fmt, ## arg) argument 190 #define tb_warn(tb, fmt, arg...) dev_warn(&(tb)->nhi->pdev->dev, fmt, ## arg) argument 191 #define tb_info(tb, fmt, arg...) dev_info(&(tb)->nhi->pdev->dev, fmt, ## arg) argument 194 #define __TB_SW_PRINT(level, sw, fmt, arg...) \ argument 197 level(__sw->tb, "%llx: " fmt, \ 200 #define tb_sw_WARN(sw, fmt, arg...) __TB_SW_PRINT(tb_WARN, sw, fmt, ##arg) argument 201 #define tb_sw_warn(sw, fmt, arg...) __TB_SW_PRINT(tb_warn, sw, fmt, ##arg) argument 202 #define tb_sw_info(sw, fmt, arg...) __TB_SW_PRINT(tb_info, sw, fmt, ##arg) argument 205 #define __TB_PORT_PRINT(level, _port, fmt, arg...) \ argument [all …]
|
/linux-4.4.14/drivers/net/wireless/iwlwifi/ |
D | iwl-debug.c | 72 void __iwl_ ##fn(struct device *dev, const char *fmt, ...) \ 75 .fmt = fmt, \ 79 va_start(args, fmt); \ 94 const char *fmt, ...) in __iwl_err() argument 97 .fmt = fmt, in __iwl_err() 101 va_start(args, fmt); in __iwl_err() 117 const char *fmt, ...) in __iwl_dbg() argument 120 .fmt = fmt, in __iwl_dbg() 124 va_start(args, fmt); in __iwl_dbg()
|
D | iwl-debug.h | 45 const char *fmt, ...) __printf(4, 5); 46 void __iwl_warn(struct device *dev, const char *fmt, ...) __printf(2, 3); 47 void __iwl_info(struct device *dev, const char *fmt, ...) __printf(2, 3); 48 void __iwl_crit(struct device *dev, const char *fmt, ...) __printf(2, 3); 80 const char *fmt, ...) __printf(5, 6); 85 const char *fmt, ...) in __iwl_dbg() argument 95 #define __IWL_DEBUG_DEV(dev, level, limit, fmt, args...) \ argument 97 CHECK_FOR_NEWLINE(fmt); \ 98 __iwl_dbg(dev, level, limit, __func__, fmt, ##args); \ 100 #define IWL_DEBUG(m, level, fmt, args...) \ argument [all …]
|
/linux-4.4.14/drivers/net/wireless/zd1211rw/ |
D | zd_def.h | 29 #define dev_printk_f(level, dev, fmt, args...) \ argument 30 dev_printk(level, dev, "%s() " fmt, __func__, ##args) 33 # define dev_dbg_f(dev, fmt, args...) \ argument 34 dev_printk_f(KERN_DEBUG, dev, fmt, ## args) 35 # define dev_dbg_f_limit(dev, fmt, args...) do { \ argument 37 dev_printk_f(KERN_DEBUG, dev, fmt, ## args); \ 39 # define dev_dbg_f_cond(dev, cond, fmt, args...) ({ \ argument 42 dev_printk_f(KERN_DEBUG, dev, fmt, ## args); \ 45 # define dev_dbg_f(dev, fmt, args...) do { (void)(dev); } while (0) argument 46 # define dev_dbg_f_limit(dev, fmt, args...) do { (void)(dev); } while (0) argument [all …]
|
/linux-4.4.14/drivers/media/platform/ |
D | vim2m.c | 70 #define dprintk(dev, fmt, arg...) \ argument 71 v4l2_dbg(1, debug, &dev->v4l2_dev, "%s: " fmt, __func__, ## arg) 112 struct vim2m_fmt *fmt; member 125 struct vim2m_fmt *fmt; in find_format() local 129 fmt = &formats[k]; in find_format() 130 if (fmt->fourcc == f->fmt.pix.pixelformat) in find_format() 214 bytesperline = (q_data->width * q_data->fmt->depth) >> 3; in device_process() 230 tile_w = (width * (q_data[V4L2_M2M_DST].fmt->depth >> 3)) in device_process() 440 struct vim2m_fmt *fmt; in enum_fmt() local 457 fmt = &formats[i]; in enum_fmt() [all …]
|
D | m2m-deinterlace.c | 40 #define dprintk(dev, fmt, arg...) \ argument 41 v4l2_dbg(1, debug, &dev->v4l2_dev, "%s: " fmt, __func__, ## arg) 70 struct deinterlace_fmt *fmt; member 112 struct deinterlace_fmt *fmt; in find_format() local 116 fmt = &formats[k]; in find_format() 117 if ((fmt->types & f->type) && in find_format() 118 (fmt->fourcc == f->fmt.pix.pixelformat)) in find_format() 399 switch (dst_q_data->fmt->fourcc) { in deinterlace_device_run() 474 struct deinterlace_fmt *fmt; in enum_fmt() local 491 fmt = &formats[i]; in enum_fmt() [all …]
|
D | mx2_emmaprp.c | 61 #define dprintk(dev, fmt, arg...) \ argument 62 v4l2_dbg(1, debug, &dev->v4l2_dev, "%s: " fmt, __func__, ## arg) 176 struct emmaprp_fmt *fmt; member 188 struct emmaprp_fmt *fmt; in find_format() local 192 fmt = &formats[k]; in find_format() 193 if (fmt->fourcc == f->fmt.pix.pixelformat) in find_format() 413 struct emmaprp_fmt *fmt; in enum_fmt() local 430 fmt = &formats[i]; in enum_fmt() 431 strlcpy(f->description, fmt->name, sizeof(f->description) - 1); in enum_fmt() 432 f->pixelformat = fmt->fourcc; in enum_fmt() [all …]
|
D | sh_veu.c | 105 const struct sh_veu_format *fmt; member 167 .fmt = &sh_veu_fmt[DEFAULT_IN_FMTIDX], \ 176 .fmt = &sh_veu_fmt[DEFAULT_OUT_FMTIDX], \ 361 static int sh_veu_enum_fmt(struct v4l2_fmtdesc *f, const int *fmt, int fmt_num) in sh_veu_enum_fmt() argument 366 strlcpy(f->description, sh_veu_fmt[fmt[f->index]].name, sizeof(f->description)); in sh_veu_enum_fmt() 367 f->pixelformat = sh_veu_fmt[fmt[f->index]].fourcc; in sh_veu_enum_fmt() 398 struct v4l2_pix_format *pix = &f->fmt.pix; in sh_veu_g_fmt() 407 pix->pixelformat = vfmt->fmt->fourcc; in sh_veu_g_fmt() 411 vfmt->fmt->depth / vfmt->fmt->ydepth; in sh_veu_g_fmt() 430 static int sh_veu_try_fmt(struct v4l2_format *f, const struct sh_veu_format *fmt) in sh_veu_try_fmt() argument [all …]
|
D | fsl-viu.c | 48 #define dprintk(level, fmt, arg...) \ argument 51 printk(KERN_DEBUG "viu: " fmt , ## arg); \ 82 struct viu_fmt *fmt; member 169 struct viu_fmt *fmt; member 330 prev->fmt == buf->fmt) { in restart_video_queue() 367 *size = fh->width * fh->height * fh->fmt->depth >> 3; in buffer_setup() 409 bpp = buf->fmt->depth >> 3; in buffer_activate() 453 BUG_ON(fh->fmt == NULL); in buffer_prepare() 458 buf->vb.size = (fh->width * fh->height * fh->fmt->depth) >> 3; in buffer_prepare() 462 if (buf->fmt != fh->fmt || in buffer_prepare() [all …]
|
/linux-4.4.14/drivers/media/platform/davinci/ |
D | vpif_display.c | 34 #define vpif_err(fmt, arg...) v4l2_err(&vpif_obj.v4l2_dev, fmt, ## arg) argument 35 #define vpif_dbg(level, debug, fmt, arg...) \ argument 36 v4l2_dbg(level, debug, &vpif_obj.v4l2_dev, fmt, ## arg) 78 vb2_set_plane_payload(vb, 0, common->fmt.fmt.pix.sizeimage); in vpif_buffer_prepare() 82 vbuf->field = common->fmt.fmt.pix.field; in vpif_buffer_prepare() 116 const struct v4l2_format *fmt = parg; in vpif_buffer_queue_setup() local 120 if (fmt && fmt->fmt.pix.sizeimage < common->fmt.fmt.pix.sizeimage) in vpif_buffer_queue_setup() 127 sizes[0] = fmt ? fmt->fmt.pix.sizeimage : common->fmt.fmt.pix.sizeimage; in vpif_buffer_queue_setup() 471 common->fmt.fmt.pix.pixelformat = V4L2_PIX_FMT_YUV422P; in vpif_update_resolution() 472 common->fmt.fmt.pix.width = std_info->width; in vpif_update_resolution() [all …]
|
D | vpif_capture.c | 37 #define vpif_err(fmt, arg...) v4l2_err(&vpif_obj.v4l2_dev, fmt, ## arg) argument 38 #define vpif_dbg(level, debug, fmt, arg...) \ argument 39 v4l2_dbg(level, debug, &vpif_obj.v4l2_dev, fmt, ## arg) 86 vb2_set_plane_payload(vb, 0, common->fmt.fmt.pix.sizeimage); in vpif_buffer_prepare() 90 vbuf->field = common->fmt.fmt.pix.field; in vpif_buffer_prepare() 121 const struct v4l2_format *fmt = parg; in vpif_buffer_queue_setup() local 129 if (fmt && fmt->fmt.pix.sizeimage < common->fmt.fmt.pix.sizeimage) in vpif_buffer_queue_setup() 136 sizes[0] = fmt ? fmt->fmt.pix.sizeimage : common->fmt.fmt.pix.sizeimage; in vpif_buffer_queue_setup() 499 common->fmt.fmt.pix.width = std_info->width; in vpif_update_std_info() 501 common->fmt.fmt.pix.height = std_info->height; in vpif_update_std_info() [all …]
|
D | vpfe_capture.c | 301 f->fmt.pix.width = image_win.width; in vpfe_get_ccdc_image_format() 302 f->fmt.pix.height = image_win.height; in vpfe_get_ccdc_image_format() 303 f->fmt.pix.bytesperline = ccdc_dev->hw_ops.get_line_length(); in vpfe_get_ccdc_image_format() 304 f->fmt.pix.sizeimage = f->fmt.pix.bytesperline * in vpfe_get_ccdc_image_format() 305 f->fmt.pix.height; in vpfe_get_ccdc_image_format() 307 f->fmt.pix.pixelformat = ccdc_dev->hw_ops.get_pixel_format(); in vpfe_get_ccdc_image_format() 310 f->fmt.pix.field = V4L2_FIELD_NONE; in vpfe_get_ccdc_image_format() 313 f->fmt.pix.field = V4L2_FIELD_INTERLACED; in vpfe_get_ccdc_image_format() 315 f->fmt.pix.field = V4L2_FIELD_SEQ_TB; in vpfe_get_ccdc_image_format() 337 vpfe_dev->fmt.fmt.pix.pixelformat) < 0) { in vpfe_config_ccdc_image_format() [all …]
|
/linux-4.4.14/drivers/scsi/bnx2fc/ |
D | bnx2fc_debug.c | 16 void BNX2FC_IO_DBG(const struct bnx2fc_cmd *io_req, const char *fmt, ...) in BNX2FC_IO_DBG() argument 24 va_start(args, fmt); in BNX2FC_IO_DBG() 26 vaf.fmt = fmt; in BNX2FC_IO_DBG() 40 void BNX2FC_TGT_DBG(const struct bnx2fc_rport *tgt, const char *fmt, ...) in BNX2FC_TGT_DBG() argument 48 va_start(args, fmt); in BNX2FC_TGT_DBG() 50 vaf.fmt = fmt; in BNX2FC_TGT_DBG() 64 void BNX2FC_HBA_DBG(const struct fc_lport *lport, const char *fmt, ...) in BNX2FC_HBA_DBG() argument 72 va_start(args, fmt); in BNX2FC_HBA_DBG() 74 vaf.fmt = fmt; in BNX2FC_HBA_DBG()
|
D | bnx2fc_debug.h | 27 #define BNX2FC_ELS_DBG(fmt, ...) \ argument 30 pr_info(fmt, ##__VA_ARGS__); \ 33 #define BNX2FC_MISC_DBG(fmt, ...) \ argument 36 pr_info(fmt, ##__VA_ARGS__); \ 40 void BNX2FC_IO_DBG(const struct bnx2fc_cmd *io_req, const char *fmt, ...); 42 void BNX2FC_TGT_DBG(const struct bnx2fc_rport *tgt, const char *fmt, ...); 44 void BNX2FC_HBA_DBG(const struct fc_lport *lport, const char *fmt, ...);
|
/linux-4.4.14/drivers/media/tuners/ |
D | tuner-i2c.h | 87 #define tuner_printk(kernlvl, i2cprops, fmt, arg...) do { \ argument 88 printk(kernlvl "%s %d-%04x: " fmt, i2cprops.name, \ 97 #define __tuner_warn(i2cprops, fmt, arg...) do { \ argument 98 tuner_printk(KERN_WARNING, i2cprops, fmt, ##arg); \ 101 #define __tuner_info(i2cprops, fmt, arg...) do { \ argument 102 tuner_printk(KERN_INFO, i2cprops, fmt, ##arg); \ 105 #define __tuner_err(i2cprops, fmt, arg...) do { \ argument 106 tuner_printk(KERN_ERR, i2cprops, fmt, ##arg); \ 109 #define __tuner_dbg(i2cprops, fmt, arg...) do { \ argument 111 tuner_printk(KERN_DEBUG, i2cprops, fmt, ##arg); \ [all …]
|
D | tda18271-priv.h | 143 const char *func, const char *fmt, ...); 145 #define tda_printk(st, lvl, fmt, arg...) \ argument 146 _tda_printk(st, lvl, __func__, fmt, ##arg) 148 #define tda_dprintk(st, lvl, fmt, arg...) \ argument 151 tda_printk(st, KERN_DEBUG, fmt, ##arg); \ 154 #define tda_info(fmt, arg...) pr_info(fmt, ##arg) argument 155 #define tda_warn(fmt, arg...) tda_printk(priv, KERN_WARNING, fmt, ##arg) argument 156 #define tda_err(fmt, arg...) tda_printk(priv, KERN_ERR, fmt, ##arg) argument 157 #define tda_dbg(fmt, arg...) tda_dprintk(priv, DBG_INFO, fmt, ##arg) argument 158 #define tda_map(fmt, arg...) tda_dprintk(priv, DBG_MAP, fmt, ##arg) argument [all …]
|
/linux-4.4.14/drivers/media/i2c/ |
D | vs6624.c | 43 struct v4l2_mbus_framefmt fmt; member 575 struct v4l2_mbus_framefmt *fmt = &format->format; in vs6624_set_fmt() local 583 if (vs6624_formats[index].mbus_code == fmt->code) in vs6624_set_fmt() 588 fmt->code = vs6624_formats[0].mbus_code; in vs6624_set_fmt() 592 if (fmt->width > VGA_WIDTH) in vs6624_set_fmt() 593 fmt->width = VGA_WIDTH; in vs6624_set_fmt() 594 if (fmt->height > VGA_HEIGHT) in vs6624_set_fmt() 595 fmt->height = VGA_HEIGHT; in vs6624_set_fmt() 596 fmt->width = fmt->width & (~3); in vs6624_set_fmt() 597 fmt->height = fmt->height & (~3); in vs6624_set_fmt() [all …]
|
D | s5k6a3.c | 114 const struct v4l2_mbus_framefmt *fmt; in s5k6a3_try_format() local 116 fmt = find_sensor_format(mf); in s5k6a3_try_format() 117 mf->code = fmt->code; in s5k6a3_try_format() 137 struct v4l2_subdev_format *fmt) in s5k6a3_set_fmt() argument 142 s5k6a3_try_format(&fmt->format); in s5k6a3_set_fmt() 144 mf = __s5k6a3_get_format(sensor, cfg, fmt->pad, fmt->which); in s5k6a3_set_fmt() 147 if (fmt->which == V4L2_SUBDEV_FORMAT_ACTIVE) in s5k6a3_set_fmt() 148 *mf = fmt->format; in s5k6a3_set_fmt() 156 struct v4l2_subdev_format *fmt) in s5k6a3_get_fmt() argument 161 mf = __s5k6a3_get_format(sensor, cfg, fmt->pad, fmt->which); in s5k6a3_get_fmt() [all …]
|
D | adv7183.c | 45 struct v4l2_mbus_framefmt fmt; member 439 struct v4l2_mbus_framefmt *fmt = &format->format; in adv7183_set_fmt() local 444 fmt->code = MEDIA_BUS_FMT_UYVY8_2X8; in adv7183_set_fmt() 445 fmt->colorspace = V4L2_COLORSPACE_SMPTE170M; in adv7183_set_fmt() 447 fmt->field = V4L2_FIELD_SEQ_TB; in adv7183_set_fmt() 448 fmt->width = 720; in adv7183_set_fmt() 449 fmt->height = 480; in adv7183_set_fmt() 451 fmt->field = V4L2_FIELD_SEQ_BT; in adv7183_set_fmt() 452 fmt->width = 720; in adv7183_set_fmt() 453 fmt->height = 576; in adv7183_set_fmt() [all …]
|
/linux-4.4.14/drivers/net/wireless/ti/wlcore/ |
D | debug.h | 64 #define wl1271_error(fmt, arg...) \ argument 65 pr_err(DRIVER_PREFIX "ERROR " fmt "\n", ##arg) 67 #define wl1271_warning(fmt, arg...) \ argument 68 pr_warn(DRIVER_PREFIX "WARNING " fmt "\n", ##arg) 70 #define wl1271_notice(fmt, arg...) \ argument 71 pr_info(DRIVER_PREFIX fmt "\n", ##arg) 73 #define wl1271_info(fmt, arg...) \ argument 74 pr_info(DRIVER_PREFIX fmt "\n", ##arg) 78 #define wl1271_debug(level, fmt, arg...) \ argument 81 dynamic_pr_debug(DRIVER_PREFIX fmt "\n", ##arg); \ [all …]
|
/linux-4.4.14/tools/usb/usbip/libsrc/ |
D | usbip_common.h | 48 #define pr_fmt(fmt) "%s: %s: " fmt "\n", PROGNAME argument 49 #define dbg_fmt(fmt) pr_fmt("%s:%d:[%s] " fmt), "debug", \ argument 52 #define err(fmt, args...) \ argument 55 syslog(LOG_ERR, pr_fmt(fmt), "error", ##args); \ 58 fprintf(stderr, pr_fmt(fmt), "error", ##args); \ 62 #define info(fmt, args...) \ argument 65 syslog(LOG_INFO, pr_fmt(fmt), "info", ##args); \ 68 fprintf(stderr, pr_fmt(fmt), "info", ##args); \ 72 #define dbg(fmt, args...) \ argument 76 syslog(LOG_DEBUG, dbg_fmt(fmt), ##args); \ [all …]
|
/linux-4.4.14/drivers/media/v4l2-core/ |
D | v4l2-dv-timings.c | 375 struct v4l2_dv_timings *fmt) in v4l2_detect_cvt() argument 507 fmt->type = V4L2_DV_BT_656_1120; in v4l2_detect_cvt() 508 fmt->bt.polarities = polarities; in v4l2_detect_cvt() 509 fmt->bt.width = image_width; in v4l2_detect_cvt() 510 fmt->bt.height = image_height; in v4l2_detect_cvt() 511 fmt->bt.hfrontporch = h_fp; in v4l2_detect_cvt() 512 fmt->bt.vfrontporch = v_fp; in v4l2_detect_cvt() 513 fmt->bt.hsync = hsync; in v4l2_detect_cvt() 514 fmt->bt.vsync = vsync; in v4l2_detect_cvt() 515 fmt->bt.hbackporch = frame_width - image_width - h_fp - hsync; in v4l2_detect_cvt() [all …]
|
/linux-4.4.14/tools/perf/ |
D | builtin-diff.c | 38 struct perf_hpp_fmt fmt; member 49 struct diff_hpp_fmt fmt[PERF_HPP_DIFF__MAX_INDEX]; member 396 static struct data__file *fmt_to_data_file(struct perf_hpp_fmt *fmt) in fmt_to_data_file() argument 398 struct diff_hpp_fmt *dfmt = container_of(fmt, struct diff_hpp_fmt, fmt); in fmt_to_data_file() 400 struct data__file *d = container_of(ptr, struct data__file, fmt); in fmt_to_data_file() 422 struct data__file *d = fmt_to_data_file(&dfmt->fmt); in get_pair_fmt() 595 hist_entry__cmp_nop(struct perf_hpp_fmt *fmt __maybe_unused, in hist_entry__cmp_nop() 603 hist_entry__cmp_baseline(struct perf_hpp_fmt *fmt __maybe_unused, in hist_entry__cmp_baseline() 612 hist_entry__cmp_delta(struct perf_hpp_fmt *fmt, in hist_entry__cmp_delta() argument 615 struct data__file *d = fmt_to_data_file(fmt); in hist_entry__cmp_delta() [all …]
|
/linux-4.4.14/drivers/media/usb/go7007/ |
D | go7007-v4l2.c | 184 static int set_capture_size(struct go7007 *go, struct v4l2_format *fmt, int try) in set_capture_size() argument 189 if (fmt != NULL && !valid_pixelformat(fmt->fmt.pix.pixelformat)) in set_capture_size() 194 if (fmt == NULL) { in set_capture_size() 198 if (fmt->fmt.pix.width > sensor_width) in set_capture_size() 200 else if (fmt->fmt.pix.width < 144) in set_capture_size() 203 width = fmt->fmt.pix.width & ~0x0f; in set_capture_size() 205 if (fmt->fmt.pix.height > sensor_height) in set_capture_size() 207 else if (fmt->fmt.pix.height < 96) in set_capture_size() 210 height = fmt->fmt.pix.height & ~0x0f; in set_capture_size() 212 width = fmt->fmt.pix.width; in set_capture_size() [all …]
|
/linux-4.4.14/drivers/net/wireless/ath/ |
D | ath.h | 213 const char *fmt, ...); 215 #define ath_emerg(common, fmt, ...) \ argument 216 ath_printk(KERN_EMERG, common, fmt, ##__VA_ARGS__) 217 #define ath_alert(common, fmt, ...) \ argument 218 ath_printk(KERN_ALERT, common, fmt, ##__VA_ARGS__) 219 #define ath_crit(common, fmt, ...) \ argument 220 ath_printk(KERN_CRIT, common, fmt, ##__VA_ARGS__) 221 #define ath_err(common, fmt, ...) \ argument 222 ath_printk(KERN_ERR, common, fmt, ##__VA_ARGS__) 223 #define ath_warn(common, fmt, ...) \ argument [all …]
|
D | main.c | 17 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument 72 const char *fmt, ...) in ath_printk() argument 77 va_start(args, fmt); in ath_printk() 79 vaf.fmt = fmt; in ath_printk()
|
/linux-4.4.14/sound/usb/ |
D | format.c | 54 struct uac_format_type_i_discrete_descriptor *fmt = _fmt; in parse_audio_format_i_type() local 55 sample_width = fmt->bBitResolution; in parse_audio_format_i_type() 56 sample_bytes = fmt->bSubframeSize; in parse_audio_format_i_type() 62 struct uac_format_type_i_ext_descriptor *fmt = _fmt; in parse_audio_format_i_type() local 63 sample_width = fmt->bBitResolution; in parse_audio_format_i_type() 64 sample_bytes = fmt->bSubslotSize; in parse_audio_format_i_type() 161 unsigned char *fmt, int offset) in parse_audio_format_rates_v1() argument 163 int nr_rates = fmt[offset]; in parse_audio_format_rates_v1() 165 if (fmt[0] < offset + 1 + 3 * (nr_rates ? nr_rates : 2)) { in parse_audio_format_rates_v1() 187 unsigned int rate = combine_triple(&fmt[idx]); in parse_audio_format_rates_v1() [all …]
|
D | usbaudio.h | 65 #define usb_audio_err(chip, fmt, args...) \ argument 66 dev_err(&(chip)->dev->dev, fmt, ##args) 67 #define usb_audio_warn(chip, fmt, args...) \ argument 68 dev_warn(&(chip)->dev->dev, fmt, ##args) 69 #define usb_audio_info(chip, fmt, args...) \ argument 70 dev_info(&(chip)->dev->dev, fmt, ##args) 71 #define usb_audio_dbg(chip, fmt, args...) \ argument 72 dev_dbg(&(chip)->dev->dev, fmt, ##args)
|
D | clock.c | 281 struct audioformat *fmt, int rate) in set_sample_rate_v1() argument 293 if (!(fmt->attributes & UAC_EP_CS_ATTR_SAMPLE_RATE)) in set_sample_rate_v1() 304 iface, fmt->altsetting, rate, ep); in set_sample_rate_v1() 318 iface, fmt->altsetting, ep); in set_sample_rate_v1() 354 struct audioformat *fmt, int rate) in set_sample_rate_v2() argument 363 clock = snd_usb_clock_find_source(chip, fmt->clock, true); in set_sample_rate_v2() 367 prev_rate = get_sample_rate_v2(chip, iface, fmt->altsetting, clock); in set_sample_rate_v2() 383 iface, fmt->altsetting, rate, err); in set_sample_rate_v2() 387 cur_rate = get_sample_rate_v2(chip, iface, fmt->altsetting, clock); in set_sample_rate_v2() 396 iface, fmt->altsetting, rate, cur_rate); in set_sample_rate_v2() [all …]
|
D | pcm.c | 155 struct audioformat *fmt) in init_pitch_v1() argument 181 struct audioformat *fmt) in init_pitch_v2() argument 193 iface, fmt->altsetting); in init_pitch_v2() 205 struct audioformat *fmt) in snd_usb_init_pitch() argument 208 if (!(fmt->attributes & UAC_EP_CS_ATTR_PITCH_CONTROL)) in snd_usb_init_pitch() 211 switch (fmt->protocol) { in snd_usb_init_pitch() 214 return init_pitch_v1(chip, iface, alts, fmt); in snd_usb_init_pitch() 217 return init_pitch_v2(chip, iface, alts, fmt); in snd_usb_init_pitch() 379 struct audioformat *fmt, in set_sync_endpoint() argument 394 attr = fmt->ep_attr & USB_ENDPOINT_SYNCTYPE; in set_sync_endpoint() [all …]
|
/linux-4.4.14/include/linux/ceph/ |
D | ceph_debug.h | 4 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument 16 # define dout(fmt, ...) \ argument 17 pr_debug("%.*s %12.12s:%-4d : " fmt, \ 23 # define dout(fmt, ...) do { \ argument 25 printk(KERN_DEBUG fmt, ##__VA_ARGS__); \ 34 # define dout(fmt, ...) pr_debug(" " fmt, ##__VA_ARGS__) argument
|
/linux-4.4.14/drivers/staging/media/omap4iss/ |
D | iss_ipipe.c | 203 struct v4l2_mbus_framefmt *fmt, in ipipe_try_format() argument 207 unsigned int width = fmt->width; in ipipe_try_format() 208 unsigned int height = fmt->height; in ipipe_try_format() 214 if (fmt->code == ipipe_fmts[i]) in ipipe_try_format() 220 fmt->code = MEDIA_BUS_FMT_SGRBG10_1X10; in ipipe_try_format() 223 fmt->width = clamp_t(u32, width, 1, 8192); in ipipe_try_format() 224 fmt->height = clamp_t(u32, height, 1, 8192); in ipipe_try_format() 225 fmt->colorspace = V4L2_COLORSPACE_SRGB; in ipipe_try_format() 230 memcpy(fmt, format, sizeof(*fmt)); in ipipe_try_format() 232 fmt->code = MEDIA_BUS_FMT_UYVY8_1X16; in ipipe_try_format() [all …]
|
D | iss_ipipeif.c | 382 struct v4l2_mbus_framefmt *fmt, in ipipeif_try_format() argument 386 unsigned int width = fmt->width; in ipipeif_try_format() 387 unsigned int height = fmt->height; in ipipeif_try_format() 396 if (fmt->code == ipipeif_fmts[i]) in ipipeif_try_format() 402 fmt->code = MEDIA_BUS_FMT_SGRBG10_1X10; in ipipeif_try_format() 405 fmt->width = clamp_t(u32, width, 1, 8192); in ipipeif_try_format() 406 fmt->height = clamp_t(u32, height, 1, 8192); in ipipeif_try_format() 412 memcpy(fmt, format, sizeof(*fmt)); in ipipeif_try_format() 419 fmt->width = clamp_t(u32, width, 32, (fmt->width + 15) & ~15); in ipipeif_try_format() 420 fmt->width &= ~15; in ipipeif_try_format() [all …]
|
D | iss_resizer.c | 441 struct v4l2_mbus_framefmt *fmt, in resizer_try_format() argument 446 unsigned int width = fmt->width; in resizer_try_format() 447 unsigned int height = fmt->height; in resizer_try_format() 453 if (fmt->code == resizer_fmts[i]) in resizer_try_format() 459 fmt->code = MEDIA_BUS_FMT_UYVY8_1X16; in resizer_try_format() 462 fmt->width = clamp_t(u32, width, 1, 8192); in resizer_try_format() 463 fmt->height = clamp_t(u32, height, 1, 8192); in resizer_try_format() 467 pixelcode = fmt->code; in resizer_try_format() 470 memcpy(fmt, format, sizeof(*fmt)); in resizer_try_format() 473 (fmt->code == MEDIA_BUS_FMT_UYVY8_1X16)) in resizer_try_format() [all …]
|
/linux-4.4.14/include/net/bluetooth/ |
D | bluetooth.h | 123 void bt_info(const char *fmt, ...); 125 void bt_warn(const char *fmt, ...); 127 void bt_err(const char *fmt, ...); 129 void bt_err_ratelimited(const char *fmt, ...); 131 #define BT_INFO(fmt, ...) bt_info(fmt "\n", ##__VA_ARGS__) argument 132 #define BT_WARN(fmt, ...) bt_warn(fmt "\n", ##__VA_ARGS__) argument 133 #define BT_ERR(fmt, ...) bt_err(fmt "\n", ##__VA_ARGS__) argument 134 #define BT_DBG(fmt, ...) pr_debug(fmt "\n", ##__VA_ARGS__) argument 136 #define BT_ERR_RATELIMITED(fmt, ...) bt_err_ratelimited(fmt "\n", ##__VA_ARGS__) argument 138 #define bt_dev_info(hdev, fmt, ...) \ argument [all …]
|
/linux-4.4.14/drivers/mtd/ubi/ |
D | debug.h | 41 #define ubi_dbg_msg(type, fmt, ...) \ argument 42 pr_debug("UBI DBG " type " (pid %d): " fmt "\n", current->pid, \ 46 #define dbg_gen(fmt, ...) ubi_dbg_msg("gen", fmt, ##__VA_ARGS__) argument 48 #define dbg_eba(fmt, ...) ubi_dbg_msg("eba", fmt, ##__VA_ARGS__) argument 50 #define dbg_wl(fmt, ...) ubi_dbg_msg("wl", fmt, ##__VA_ARGS__) argument 52 #define dbg_io(fmt, ...) ubi_dbg_msg("io", fmt, ##__VA_ARGS__) argument 54 #define dbg_bld(fmt, ...) ubi_dbg_msg("bld", fmt, ##__VA_ARGS__) argument
|
/linux-4.4.14/drivers/media/platform/exynos4-is/ |
D | fimc-isp.c | 13 #define pr_fmt(fmt) "%s:%d " fmt, __func__, __LINE__ argument 71 const struct fimc_fmt *fmt, *def_fmt = NULL; in fimc_isp_find_format() local 79 fmt = &fimc_isp_formats[i]; in fimc_isp_find_format() 80 if (pixelformat && fmt->fourcc == *pixelformat) in fimc_isp_find_format() 81 return fmt; in fimc_isp_find_format() 82 if (mbus_code && fmt->mbus_code == *mbus_code) in fimc_isp_find_format() 83 return fmt; in fimc_isp_find_format() 85 def_fmt = fmt; in fimc_isp_find_format() 118 const struct fimc_fmt *fmt; in fimc_is_subdev_enum_mbus_code() local 120 fmt = fimc_isp_find_format(NULL, NULL, code->index); in fimc_is_subdev_enum_mbus_code() [all …]
|
D | fimc-lite.c | 11 #define pr_fmt(fmt) "%s:%d " fmt, __func__, __LINE__ argument 120 const struct fimc_fmt *fmt, *def_fmt = NULL; in fimc_lite_find_format() local 128 fmt = &fimc_lite_formats[i]; in fimc_lite_find_format() 129 if (mask && !(fmt->flags & mask)) in fimc_lite_find_format() 131 if (pixelformat && fmt->fourcc == *pixelformat) in fimc_lite_find_format() 132 return fmt; in fimc_lite_find_format() 133 if (mbus_code && fmt->mbus_code == *mbus_code) in fimc_lite_find_format() 134 return fmt; in fimc_lite_find_format() 136 def_fmt = fmt; in fimc_lite_find_format() 150 if (fimc->inp_frame.fmt == NULL || fimc->out_frame.fmt == NULL) in fimc_lite_hw_init() [all …]
|
D | fimc-m2m.c | 194 if (!f->fmt) in fimc_queue_setup() 197 *num_planes = f->fmt->memplanes; in fimc_queue_setup() 198 for (i = 0; i < f->fmt->memplanes; i++) { in fimc_queue_setup() 215 for (i = 0; i < frame->fmt->memplanes; i++) in fimc_buf_prepare() 262 struct fimc_fmt *fmt; in fimc_m2m_enum_fmt_mplane() local 264 fmt = fimc_find_format(NULL, NULL, get_m2m_fmt_flags(f->type), in fimc_m2m_enum_fmt_mplane() 266 if (!fmt) in fimc_m2m_enum_fmt_mplane() 269 strncpy(f->description, fmt->name, sizeof(f->description) - 1); in fimc_m2m_enum_fmt_mplane() 270 f->pixelformat = fmt->fourcc; in fimc_m2m_enum_fmt_mplane() 291 struct v4l2_pix_format_mplane *pix = &f->fmt.pix_mp; in fimc_try_fmt_mplane() [all …]
|
D | fimc-capture.c | 42 if (ctx == NULL || ctx->s_frame.fmt == NULL) in fimc_capture_hw_init() 221 if (f->fmt->mdataplanes && !list_empty(&cap->active_buf_q)) { in fimc_capture_irq_handler() 222 unsigned int plane = ffs(f->fmt->mdataplanes) - 1; in fimc_capture_irq_handler() 349 struct fimc_fmt *fmt = frame->fmt; in queue_setup() local 354 pixm = &pfmt->fmt.pix_mp; in queue_setup() 355 fmt = fimc_find_format(&pixm->pixelformat, NULL, in queue_setup() 362 if (fmt == NULL) in queue_setup() 365 *num_planes = fmt->memplanes; in queue_setup() 367 for (i = 0; i < fmt->memplanes; i++) { in queue_setup() 368 unsigned int size = (wh * fmt->depth[i]) / 8; in queue_setup() [all …]
|
D | fimc-core.c | 304 if (s_frame->fmt->color == d_frame->fmt->color in fimc_set_scaler_info() 363 frame->fmt->memplanes, frame->fmt->colplanes, pix_size); in fimc_prepare_addr() 367 if (frame->fmt->memplanes == 1) { in fimc_prepare_addr() 368 switch (frame->fmt->colplanes) { in fimc_prepare_addr() 381 if (FIMC_FMT_YCBCR420 == frame->fmt->color) in fimc_prepare_addr() 391 } else if (!frame->fmt->mdataplanes) { in fimc_prepare_addr() 392 if (frame->fmt->memplanes >= 2) in fimc_prepare_addr() 395 if (frame->fmt->memplanes == 3) in fimc_prepare_addr() 413 switch (ctx->s_frame.fmt->color) { in fimc_set_yuv_order() 430 switch (ctx->d_frame.fmt->color) { in fimc_set_yuv_order() [all …]
|
/linux-4.4.14/drivers/media/platform/am437x/ |
D | am437x-vpfe.c | 50 #define vpfe_dbg(level, dev, fmt, arg...) \ argument 51 v4l2_dbg(level, debug, &dev->v4l2_dev, fmt, ##arg) 52 #define vpfe_info(dev, fmt, arg...) \ argument 53 v4l2_info(&dev->v4l2_dev, fmt, ##arg) 54 #define vpfe_err(dev, fmt, arg...) \ argument 55 v4l2_err(&dev->v4l2_dev, fmt, ##arg) 197 struct vpfe_fmt *fmt; in find_format_by_code() local 201 fmt = &formats[k]; in find_format_by_code() 202 if (fmt->code == code) in find_format_by_code() 203 return fmt; in find_format_by_code() [all …]
|
/linux-4.4.14/drivers/ssb/ |
D | ssb_private.h | 12 # define ssb_printk(fmt, ...) \ argument 13 do { if (0) printk(fmt, ##__VA_ARGS__); } while (0) 15 # define ssb_printk(fmt, ...) \ argument 16 printk(fmt, ##__VA_ARGS__) 19 #define ssb_emerg(fmt, ...) ssb_printk(KERN_EMERG PFX fmt, ##__VA_ARGS__) argument 20 #define ssb_err(fmt, ...) ssb_printk(KERN_ERR PFX fmt, ##__VA_ARGS__) argument 21 #define ssb_warn(fmt, ...) ssb_printk(KERN_WARNING PFX fmt, ##__VA_ARGS__) argument 22 #define ssb_notice(fmt, ...) ssb_printk(KERN_NOTICE PFX fmt, ##__VA_ARGS__) argument 23 #define ssb_info(fmt, ...) ssb_printk(KERN_INFO PFX fmt, ##__VA_ARGS__) argument 24 #define ssb_cont(fmt, ...) ssb_printk(KERN_CONT fmt, ##__VA_ARGS__) argument [all …]
|
/linux-4.4.14/drivers/usb/storage/ |
D | debug.h | 54 const char *fmt, ...); 56 #define US_DEBUGPX(fmt, ...) printk(fmt, ##__VA_ARGS__) argument 61 const char *fmt, ...) in _usb_stor_dbg() argument 64 #define usb_stor_dbg(us, fmt, ...) \ argument 65 do { if (0) _usb_stor_dbg(us, fmt, ##__VA_ARGS__); } while (0) 66 #define US_DEBUGPX(fmt, ...) \ argument 67 do { if (0) printk(fmt, ##__VA_ARGS__); } while (0)
|
/linux-4.4.14/drivers/media/usb/uvc/ |
D | uvc_v4l2.c | 146 struct v4l2_format *fmt, struct uvc_streaming_control *probe, in uvc_v4l2_try_format() argument 158 if (fmt->type != stream->type) in uvc_v4l2_try_format() 161 fcc = (__u8 *)&fmt->fmt.pix.pixelformat; in uvc_v4l2_try_format() 163 fmt->fmt.pix.pixelformat, in uvc_v4l2_try_format() 165 fmt->fmt.pix.width, fmt->fmt.pix.height); in uvc_v4l2_try_format() 172 if (format->fcc == fmt->fmt.pix.pixelformat) in uvc_v4l2_try_format() 178 fmt->fmt.pix.pixelformat = format->fcc; in uvc_v4l2_try_format() 185 rw = fmt->fmt.pix.width; in uvc_v4l2_try_format() 186 rh = fmt->fmt.pix.height; in uvc_v4l2_try_format() 206 fmt->fmt.pix.width, fmt->fmt.pix.height); in uvc_v4l2_try_format() [all …]
|
/linux-4.4.14/drivers/scsi/fcoe/ |
D | libfcoe.h | 18 #define LIBFCOE_DBG(fmt, args...) \ argument 20 pr_info("libfcoe: " fmt, ##args);) 22 #define LIBFCOE_FIP_DBG(fip, fmt, args...) \ argument 24 pr_info("host%d: fip: " fmt, \ 27 #define LIBFCOE_TRANSPORT_DBG(fmt, args...) \ argument 29 pr_info("%s: " fmt, __func__, ##args);) 31 #define LIBFCOE_SYSFS_DBG(cdev, fmt, args...) \ argument 33 pr_info("ctlr_%d: " fmt, cdev->id, ##args);)
|
/linux-4.4.14/drivers/media/usb/dvb-usb-v2/ |
D | mxl111sf.h | 109 #define mxl_printk(kern, fmt, arg...) \ argument 110 printk(kern "%s: " fmt "\n", __func__, ##arg) 112 #define mxl_info(fmt, arg...) \ argument 113 mxl_printk(KERN_INFO, fmt, ##arg) 116 #define mxl_debug(fmt, arg...) \ argument 118 mxl_printk(KERN_DEBUG, fmt, ##arg) 122 #define mxl_debug_adv(fmt, arg...) \ argument 124 mxl_printk(KERN_DEBUG, fmt, ##arg) 126 #define mxl_i2c(fmt, arg...) \ argument 128 mxl_printk(KERN_DEBUG, fmt, ##arg) [all …]
|
/linux-4.4.14/arch/parisc/math-emu/ |
D | fpudispatch.c | 291 u_int fmt; /* also sf for class 1 conversions */ in decode_0c() local 309 fmt = extru(ir,fpfmtpos,2); /* get fmt completer */ in decode_0c() 318 switch (fmt) { in decode_0c() 333 switch (fmt) { in decode_0c() 349 switch (fmt) { in decode_0c() 365 switch (fmt) { in decode_0c() 381 switch (fmt) { in decode_0c() 393 switch (fmt) { in decode_0c() 408 if ((df & 2) || (fmt & 2)) { in decode_0c() 420 fmt = (fmt << 1) | df; in decode_0c() [all …]
|
/linux-4.4.14/drivers/s390/char/ |
D | tape_3590.c | 11 #define pr_fmt(fmt) KMSG_COMPONENT ": " fmt argument 973 switch (sense->fmt.f70.emc) { in tape_3590_print_mim_msg_f0() 979 sense->fmt.f70.mp); in tape_3590_print_mim_msg_f0() 986 sense->fmt.f70.mp); in tape_3590_print_mim_msg_f0() 993 sense->fmt.f70.md); in tape_3590_print_mim_msg_f0() 997 sense->fmt.f70.emc); in tape_3590_print_mim_msg_f0() 1001 switch (sense->fmt.f70.smc) { in tape_3590_print_mim_msg_f0() 1004 "procedure %i", sense->fmt.f70.md); in tape_3590_print_mim_msg_f0() 1008 sense->fmt.f70.smc); in tape_3590_print_mim_msg_f0() 1037 switch (sense->fmt.f71.emc) { in tape_3590_print_io_sim_msg_f1() [all …]
|
/linux-4.4.14/drivers/scsi/osd/ |
D | osd_debug.h | 17 #define OSD_ERR(fmt, a...) printk(KERN_ERR "osd: " fmt, ##a) argument 18 #define OSD_INFO(fmt, a...) printk(KERN_NOTICE "osd: " fmt, ##a) argument 21 #define OSD_DEBUG(fmt, a...) \ argument 22 printk(KERN_NOTICE "osd @%s:%d: " fmt, __func__, __LINE__, ##a) 24 #define OSD_DEBUG(fmt, a...) do {} while (0) argument
|
/linux-4.4.14/drivers/media/platform/s5p-mfc/ |
D | s5p_mfc_debug.h | 23 #define mfc_debug(level, fmt, args...) \ argument 26 printk(KERN_DEBUG "%s:%d: " fmt, \ 30 #define mfc_debug(level, fmt, args...) argument 36 #define mfc_err(fmt, args...) \ argument 38 printk(KERN_ERR "%s:%d: " fmt, \ 42 #define mfc_info(fmt, args...) \ argument 44 printk(KERN_INFO "%s:%d: " fmt, \
|
/linux-4.4.14/drivers/net/ethernet/neterion/vxge/ |
D | vxge-main.h | 456 #define vxge_debug_ll_config(level, fmt, ...) \ argument 457 vxge_debug_ll(level, VXGE_DEBUG_LL_CONFIG, fmt, __VA_ARGS__) 459 #define vxge_debug_ll_config(level, fmt, ...) argument 463 #define vxge_debug_init(level, fmt, ...) \ argument 464 vxge_debug_ll(level, VXGE_DEBUG_INIT, fmt, __VA_ARGS__) 466 #define vxge_debug_init(level, fmt, ...) argument 470 #define vxge_debug_tx(level, fmt, ...) \ argument 471 vxge_debug_ll(level, VXGE_DEBUG_TX, fmt, __VA_ARGS__) 473 #define vxge_debug_tx(level, fmt, ...) argument 477 #define vxge_debug_rx(level, fmt, ...) \ argument [all …]
|
/linux-4.4.14/drivers/media/pci/tw68/ |
D | tw68-video.c | 355 tw_andorl(TW68_DMAC, 0xff, dev->fmt->twformat | in tw68_video_start_dma() 383 const struct v4l2_format *fmt = parg; in tw68_queue_setup() local 387 sizes[0] = (dev->fmt->depth * dev->width * dev->height) >> 3; in tw68_queue_setup() 394 if (fmt && fmt->fmt.pix.sizeimage < sizes[0]) in tw68_queue_setup() 469 size = (dev->width * dev->height * dev->fmt->depth) >> 3; in tw68_buf_prepare() 474 bpl = (dev->width * dev->fmt->depth) >> 3; in tw68_buf_prepare() 598 f->fmt.pix.width = dev->width; in tw68_g_fmt_vid_cap() 599 f->fmt.pix.height = dev->height; in tw68_g_fmt_vid_cap() 600 f->fmt.pix.field = dev->field; in tw68_g_fmt_vid_cap() 601 f->fmt.pix.pixelformat = dev->fmt->fourcc; in tw68_g_fmt_vid_cap() [all …]
|
/linux-4.4.14/fs/cifs/ |
D | cifs_debug.h | 49 __printf(1, 2) void cifs_vfs_err(const char *fmt, ...); 52 #define cifs_dbg(type, fmt, ...) \ argument 56 fmt, __FILE__, ##__VA_ARGS__); \ 58 cifs_vfs_err(fmt, ##__VA_ARGS__); \ 60 pr_debug_ratelimited(fmt, ##__VA_ARGS__); \ 69 #define cifs_dbg(type, fmt, ...) \ argument 72 pr_debug(fmt, ##__VA_ARGS__); \
|
/linux-4.4.14/drivers/media/usb/gspca/ |
D | stk1135.c | 24 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument 618 static void stk1135_try_fmt(struct gspca_dev *gspca_dev, struct v4l2_format *fmt) in stk1135_try_fmt() argument 620 fmt->fmt.pix.width = clamp(fmt->fmt.pix.width, 32U, 1280U); in stk1135_try_fmt() 621 fmt->fmt.pix.height = clamp(fmt->fmt.pix.height, 32U, 1024U); in stk1135_try_fmt() 623 fmt->fmt.pix.width += (fmt->fmt.pix.width & 1); in stk1135_try_fmt() 624 fmt->fmt.pix.height += (fmt->fmt.pix.height & 1); in stk1135_try_fmt() 626 fmt->fmt.pix.bytesperline = fmt->fmt.pix.width; in stk1135_try_fmt() 627 fmt->fmt.pix.sizeimage = fmt->fmt.pix.width * fmt->fmt.pix.height; in stk1135_try_fmt()
|
/linux-4.4.14/drivers/media/common/saa7146/ |
D | saa7146_video.c | 1 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument 111 struct v4l2_format fmt; in saa7146_start_preview() local 143 fmt.fmt.win = vv->ov.win; in saa7146_start_preview() 144 err = vidioc_try_fmt_vid_overlay(NULL, fh, &fmt); in saa7146_start_preview() 149 vv->ov.win = fmt.fmt.win; in saa7146_start_preview() 213 struct saa7146_format *sfmt = saa7146_format_by_fourcc(dev,buf->fmt->pixelformat); in saa7146_pgtable_build() 224 int size = buf->fmt->width*buf->fmt->height; in saa7146_pgtable_build() 332 struct saa7146_format *fmt = NULL; in video_begin() local 357 fmt = saa7146_format_by_fourcc(dev, vv->video_fmt.pixelformat); in video_begin() 359 BUG_ON(NULL == fmt); in video_begin() [all …]
|
D | saa7146_fops.c | 1 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument 470 struct v4l2_pix_format *fmt; in saa7146_vv_init() local 534 vv->ov_fb.fmt.width = vv->standard->h_max_out; in saa7146_vv_init() 535 vv->ov_fb.fmt.height = vv->standard->v_max_out; in saa7146_vv_init() 536 vv->ov_fb.fmt.pixelformat = V4L2_PIX_FMT_RGB565; in saa7146_vv_init() 537 vv->ov_fb.fmt.bytesperline = 2 * vv->ov_fb.fmt.width; in saa7146_vv_init() 538 vv->ov_fb.fmt.sizeimage = vv->ov_fb.fmt.bytesperline * vv->ov_fb.fmt.height; in saa7146_vv_init() 539 vv->ov_fb.fmt.colorspace = V4L2_COLORSPACE_SRGB; in saa7146_vv_init() 541 fmt = &vv->video_fmt; in saa7146_vv_init() 542 fmt->width = 384; in saa7146_vv_init() [all …]
|
/linux-4.4.14/tools/perf/ui/gtk/ |
D | hists.c | 11 static int __percent_color_snprintf(struct perf_hpp *hpp, const char *fmt, ...) in __percent_color_snprintf() argument 21 va_start(args, fmt); in __percent_color_snprintf() 30 ret += scnprintf(buf + ret, size - ret, fmt, len, percent); in __percent_color_snprintf() 44 static int perf_gtk__hpp_color_##_type(struct perf_hpp_fmt *fmt, \ 48 return hpp__fmt(fmt, hpp, he, he_get_##_field, " %*.2f%%", \ 58 static int perf_gtk__hpp_color_##_type(struct perf_hpp_fmt *fmt __maybe_unused, \ 62 return hpp__fmt_acc(fmt, hpp, he, he_get_acc_##_field, " %*.2f%%", \ 161 struct perf_hpp_fmt *fmt; in perf_gtk__show_hists() local 179 perf_hpp__for_each_format(fmt) in perf_gtk__show_hists() 190 perf_hpp__for_each_format(fmt) { in perf_gtk__show_hists() [all …]
|
/linux-4.4.14/drivers/scsi/snic/ |
D | snic.h | 142 #define SNIC_MAIN_DBG(host, fmt, args...) \ argument 144 shost_printk(KERN_INFO, host, fmt, ## args);) 146 #define SNIC_SCSI_DBG(host, fmt, args...) \ argument 148 shost_printk(KERN_INFO, host, fmt, ##args);) 150 #define SNIC_DISC_DBG(host, fmt, args...) \ argument 152 shost_printk(KERN_INFO, host, fmt, ##args);) 154 #define SNIC_ISR_DBG(host, fmt, args...) \ argument 156 shost_printk(KERN_INFO, host, fmt, ##args);) 158 #define SNIC_HOST_ERR(host, fmt, args...) \ argument 159 shost_printk(KERN_ERR, host, fmt, ##args) [all …]
|
/linux-4.4.14/drivers/media/usb/stk1160/ |
D | stk1160.h | 62 #define stk1160_dbg(fmt, args...) \ argument 63 printk(KERN_DEBUG "stk1160: " fmt, ## args) 65 #define stk1160_dbg(fmt, args...) argument 68 #define stk1160_info(fmt, args...) \ argument 69 pr_info("stk1160: " fmt, ## args) 71 #define stk1160_warn(fmt, args...) \ argument 72 pr_warn("stk1160: " fmt, ## args) 74 #define stk1160_err(fmt, args...) \ argument 75 pr_err("stk1160: " fmt, ## args) 151 struct stk1160_fmt *fmt; /* selected format */ member
|
D | stk1160-v4l.c | 374 f->fmt.pix.width = dev->width; in vidioc_g_fmt_vid_cap() 375 f->fmt.pix.height = dev->height; in vidioc_g_fmt_vid_cap() 376 f->fmt.pix.field = V4L2_FIELD_INTERLACED; in vidioc_g_fmt_vid_cap() 377 f->fmt.pix.pixelformat = dev->fmt->fourcc; in vidioc_g_fmt_vid_cap() 378 f->fmt.pix.bytesperline = dev->width * 2; in vidioc_g_fmt_vid_cap() 379 f->fmt.pix.sizeimage = dev->height * f->fmt.pix.bytesperline; in vidioc_g_fmt_vid_cap() 380 f->fmt.pix.colorspace = V4L2_COLORSPACE_SMPTE170M; in vidioc_g_fmt_vid_cap() 398 width = clamp_t(unsigned int, f->fmt.pix.width, in stk1160_try_fmt() 400 height = clamp_t(unsigned int, f->fmt.pix.height, in stk1160_try_fmt() 408 f->fmt.pix.width = base_width; in stk1160_try_fmt() [all …]
|
/linux-4.4.14/drivers/media/platform/s5p-g2d/ |
D | g2d.c | 75 .fmt = &formats[0], 84 if (formats[i].fourcc == f->fmt.pix.pixelformat) in find_fmt() 307 struct g2d_fmt *fmt; in vidioc_enum_fmt() local 310 fmt = &formats[f->index]; in vidioc_enum_fmt() 311 f->pixelformat = fmt->fourcc; in vidioc_enum_fmt() 312 strncpy(f->description, fmt->name, sizeof(f->description) - 1); in vidioc_enum_fmt() 329 f->fmt.pix.width = frm->width; in vidioc_g_fmt() 330 f->fmt.pix.height = frm->height; in vidioc_g_fmt() 331 f->fmt.pix.field = V4L2_FIELD_NONE; in vidioc_g_fmt() 332 f->fmt.pix.pixelformat = frm->fmt->fourcc; in vidioc_g_fmt() [all …]
|
/linux-4.4.14/fs/ocfs2/ |
D | super.h | 36 const char *fmt, ...); 38 #define ocfs2_error(sb, fmt, ...) \ argument 39 __ocfs2_error(sb, __PRETTY_FUNCTION__, fmt, ##__VA_ARGS__) 43 const char *fmt, ...); 45 #define ocfs2_abort(sb, fmt, ...) \ argument 46 __ocfs2_abort(sb, __PRETTY_FUNCTION__, fmt, ##__VA_ARGS__)
|
/linux-4.4.14/drivers/media/pci/saa7134/ |
D | saa7134-video.c | 55 #define video_dbg(fmt, arg...) do { \ argument 57 printk(KERN_DEBUG pr_fmt("video: " fmt), ## arg); \ 754 base += dev->ovbuf.fmt.bytesperline * dev->win.w.top; in start_preview() 756 bpl = dev->ovbuf.fmt.bytesperline; in start_preview() 803 if (dev->fmt->yuv) in buffer_activate() 807 saa_writeb(SAA7134_OFMT_VIDEO_A, dev->fmt->pm); in buffer_activate() 811 if (dev->fmt->planar) in buffer_activate() 814 bpl = (dev->width * dev->fmt->depth) / 8; in buffer_activate() 818 if (dev->fmt->bswap) in buffer_activate() 820 if (dev->fmt->wswap) in buffer_activate() [all …]
|
D | saa7134-empress.c | 117 struct v4l2_subdev_format fmt = { in empress_g_fmt_vid_cap() local 120 struct v4l2_mbus_framefmt *mbus_fmt = &fmt.format; in empress_g_fmt_vid_cap() 122 saa_call_all(dev, pad, get_fmt, NULL, &fmt); in empress_g_fmt_vid_cap() 124 v4l2_fill_pix_format(&f->fmt.pix, mbus_fmt); in empress_g_fmt_vid_cap() 125 f->fmt.pix.pixelformat = V4L2_PIX_FMT_MPEG; in empress_g_fmt_vid_cap() 126 f->fmt.pix.sizeimage = TS_PACKET_SIZE * dev->ts.nr_packets; in empress_g_fmt_vid_cap() 127 f->fmt.pix.bytesperline = 0; in empress_g_fmt_vid_cap() 140 v4l2_fill_mbus_format(&format.format, &f->fmt.pix, MEDIA_BUS_FMT_FIXED); in empress_s_fmt_vid_cap() 142 v4l2_fill_pix_format(&f->fmt.pix, &format.format); in empress_s_fmt_vid_cap() 144 f->fmt.pix.pixelformat = V4L2_PIX_FMT_MPEG; in empress_s_fmt_vid_cap() [all …]
|
/linux-4.4.14/drivers/usb/musb/ |
D | musb_debug.h | 41 #define WARNING(fmt, args...) yprintk(KERN_WARNING, fmt, ## args) argument 42 #define INFO(fmt, args...) yprintk(KERN_INFO, fmt, ## args) argument 43 #define ERR(fmt, args...) yprintk(KERN_ERR, fmt, ## args) argument
|
/linux-4.4.14/drivers/media/platform/omap/ |
D | omap_voutlib.c | 46 crop->width = (pix->width < fbuf->fmt.width) ? in omap_vout_default_crop() 47 pix->width : fbuf->fmt.width; in omap_vout_default_crop() 48 crop->height = (pix->height < fbuf->fmt.height) ? in omap_vout_default_crop() 49 pix->height : fbuf->fmt.height; in omap_vout_default_crop() 82 try_win.width = (try_win.width < fbuf->fmt.width) ? in omap_vout_try_window() 83 try_win.width : fbuf->fmt.width; in omap_vout_try_window() 84 try_win.height = (try_win.height < fbuf->fmt.height) ? in omap_vout_try_window() 85 try_win.height : fbuf->fmt.height; in omap_vout_try_window() 86 if (try_win.left + try_win.width > fbuf->fmt.width) in omap_vout_try_window() 87 try_win.width = fbuf->fmt.width - try_win.left; in omap_vout_try_window() [all …]
|
/linux-4.4.14/drivers/media/usb/au0828/ |
D | au0828-vbi.c | 37 const struct v4l2_format *fmt = parg; in vbi_queue_setup() local 42 size = fmt ? (fmt->fmt.vbi.samples_per_line * in vbi_queue_setup() 43 (fmt->fmt.vbi.count[0] + fmt->fmt.vbi.count[1])) : img_size; in vbi_queue_setup()
|
/linux-4.4.14/tools/perf/ui/stdio/ |
D | hist.c | 299 struct perf_hpp_fmt *fmt; in hist_entry__callchain_fprintf() local 301 perf_hpp__for_each_format(fmt) { in hist_entry__callchain_fprintf() 302 if (!perf_hpp__is_sort_entry(fmt)) in hist_entry__callchain_fprintf() 306 left_margin = fmt->width(fmt, NULL, hists_to_evsel(hists)); in hist_entry__callchain_fprintf() 317 struct perf_hpp_fmt *fmt; in hist_entry__snprintf() local 325 perf_hpp__for_each_format(fmt) { in hist_entry__snprintf() 326 if (perf_hpp__should_skip(fmt)) in hist_entry__snprintf() 339 if (perf_hpp__use_color() && fmt->color) in hist_entry__snprintf() 340 ret = fmt->color(fmt, hpp, he); in hist_entry__snprintf() 342 ret = fmt->entry(fmt, hpp, he); in hist_entry__snprintf() [all …]
|
/linux-4.4.14/tools/net/ |
D | bpf_dbg.c | 173 static __check_format_printf(1, 2) int rl_printf(const char *fmt, ...) in rl_printf() argument 178 va_start(vl, fmt); in rl_printf() 179 ret = vfprintf(rl_outstream, fmt, vl); in rl_printf() 218 const char *op, *fmt; in bpf_disasm() local 225 fmt = "#%#x"; in bpf_disasm() 229 fmt = "a"; in bpf_disasm() 233 fmt = "x"; in bpf_disasm() 237 fmt = ""; in bpf_disasm() 241 fmt = ""; in bpf_disasm() 245 fmt = "M[%d]"; in bpf_disasm() [all …]
|
/linux-4.4.14/drivers/media/platform/s5p-tv/ |
D | mixer.h | 183 const struct mxr_format *fmt; member 332 #define mxr_err(mdev, fmt, ...) dev_err(mdev->dev, fmt, ##__VA_ARGS__) argument 333 #define mxr_warn(mdev, fmt, ...) dev_warn(mdev->dev, fmt, ##__VA_ARGS__) argument 334 #define mxr_info(mdev, fmt, ...) dev_info(mdev->dev, fmt, ##__VA_ARGS__) argument 337 #define mxr_dbg(mdev, fmt, ...) dev_dbg(mdev->dev, fmt, ##__VA_ARGS__) argument 339 #define mxr_dbg(mdev, fmt, ...) do { (void) mdev; } while (0) argument 352 struct v4l2_mbus_framefmt *fmt); 356 const struct mxr_format *fmt, const struct mxr_geometry *geo); 362 const struct mxr_format *fmt, const struct mxr_geometry *geo);
|
D | sdo_drv.c | 67 const struct sdo_format *fmt; member 149 const struct sdo_format *fmt; in sdo_s_std_output() local 150 fmt = sdo_find_format(std); in sdo_s_std_output() 151 if (fmt == NULL) in sdo_s_std_output() 153 sdev->fmt = fmt; in sdo_s_std_output() 159 *std = sd_to_sdev(sd)->fmt->id; in sdo_g_std_output() 167 struct v4l2_mbus_framefmt *fmt = &format->format; in sdo_get_fmt() local 170 if (!sdev->fmt) in sdo_get_fmt() 175 fmt->width = 720; in sdo_get_fmt() 176 fmt->height = sdev->fmt->height; in sdo_get_fmt() [all …]
|
/linux-4.4.14/drivers/media/pci/cx23885/ |
D | cx23885-vbi.c | 33 #define dprintk(level, fmt, arg...)\ argument 35 printk(KERN_DEBUG "%s/0: " fmt, dev->name, ## arg);\ 50 f->fmt.vbi.sampling_rate = 27000000; in cx23885_vbi_fmt() 51 f->fmt.vbi.samples_per_line = VBI_LINE_LENGTH; in cx23885_vbi_fmt() 52 f->fmt.vbi.sample_format = V4L2_PIX_FMT_GREY; in cx23885_vbi_fmt() 53 f->fmt.vbi.offset = 0; in cx23885_vbi_fmt() 54 f->fmt.vbi.flags = 0; in cx23885_vbi_fmt() 57 f->fmt.vbi.start[0] = V4L2_VBI_ITU_525_F1_START + 9; in cx23885_vbi_fmt() 58 f->fmt.vbi.start[1] = V4L2_VBI_ITU_525_F2_START + 9; in cx23885_vbi_fmt() 59 f->fmt.vbi.count[0] = VBI_NTSC_LINE_COUNT; in cx23885_vbi_fmt() [all …]
|
D | cx23885-video.c | 67 #define dprintk(level, fmt, arg...)\ argument 69 printk(KERN_DEBUG "%s: " fmt, dev->name, ## arg);\ 325 sizes[0] = (dev->fmt->depth * dev->width * dev->height) >> 3; in queue_setup() 340 buf->bpl = (dev->width * dev->fmt->depth) >> 3; in buffer_prepare() 406 dev->width, dev->height, dev->fmt->depth, dev->fmt->name, in buffer_prepare() 522 f->fmt.pix.width = dev->width; in vidioc_g_fmt_vid_cap() 523 f->fmt.pix.height = dev->height; in vidioc_g_fmt_vid_cap() 524 f->fmt.pix.field = dev->field; in vidioc_g_fmt_vid_cap() 525 f->fmt.pix.pixelformat = dev->fmt->fourcc; in vidioc_g_fmt_vid_cap() 526 f->fmt.pix.bytesperline = in vidioc_g_fmt_vid_cap() [all …]
|
/linux-4.4.14/fs/udf/ |
D | udfdecl.h | 4 #define pr_fmt(fmt) "UDF-fs: " fmt argument 22 const char *function, const char *fmt, ...); 23 #define udf_err(sb, fmt, ...) \ argument 24 _udf_err(sb, __func__, fmt, ##__VA_ARGS__) 27 const char *function, const char *fmt, ...); 28 #define udf_warn(sb, fmt, ...) \ argument 29 _udf_warn(sb, __func__, fmt, ##__VA_ARGS__) 31 #define udf_info(fmt, ...) \ argument 32 pr_info("INFO " fmt, ##__VA_ARGS__) 37 #define udf_debug(fmt, ...) \ argument [all …]
|
/linux-4.4.14/kernel/ |
D | panic.c | 72 void panic(const char *fmt, ...) in panic() argument 103 va_start(args, fmt); in panic() 104 vsnprintf(buf, sizeof(buf), fmt, args); in panic() 431 const char *fmt; member 445 vprintk(args->fmt, args->args); in warn_slowpath_common() 465 void warn_slowpath_fmt(const char *file, int line, const char *fmt, ...) in warn_slowpath_fmt() argument 469 args.fmt = fmt; in warn_slowpath_fmt() 470 va_start(args.args, fmt); in warn_slowpath_fmt() 478 unsigned taint, const char *fmt, ...) in warn_slowpath_fmt_taint() argument 482 args.fmt = fmt; in warn_slowpath_fmt_taint() [all …]
|
/linux-4.4.14/drivers/iommu/ |
D | io-pgtable.c | 38 struct io_pgtable_ops *alloc_io_pgtable_ops(enum io_pgtable_fmt fmt, in alloc_io_pgtable_ops() argument 45 if (fmt >= IO_PGTABLE_NUM_FMTS) in alloc_io_pgtable_ops() 48 fns = io_pgtable_init_table[fmt]; in alloc_io_pgtable_ops() 56 iop->fmt = fmt; in alloc_io_pgtable_ops() 76 io_pgtable_init_table[iop->fmt]->free(iop); in free_io_pgtable_ops()
|
/linux-4.4.14/drivers/gpu/drm/exynos/ |
D | exynos_drm_rotator.c | 167 static void rotator_align_size(struct rot_context *rot, u32 fmt, u32 *hsize, in rotator_align_size() argument 175 if (fmt == ROT_CONTROL_FMT_RGB888) in rotator_align_size() 202 static int rotator_src_set_fmt(struct device *dev, u32 fmt) in rotator_src_set_fmt() argument 210 switch (fmt) { in rotator_src_set_fmt() 227 static inline bool rotator_check_reg_fmt(u32 fmt) in rotator_check_reg_fmt() argument 229 if ((fmt == ROT_CONTROL_FMT_YCBCR420_2P) || in rotator_check_reg_fmt() 230 (fmt == ROT_CONTROL_FMT_RGB888)) in rotator_check_reg_fmt() 241 u32 fmt, hsize, vsize; in rotator_src_set_size() local 245 fmt = rotator_reg_get_fmt(rot); in rotator_src_set_size() 246 if (!rotator_check_reg_fmt(fmt)) { in rotator_src_set_size() [all …]
|
/linux-4.4.14/drivers/media/platform/exynos-gsc/ |
D | gsc-core.c | 210 const struct gsc_fmt *fmt, *def_fmt = NULL; in find_fmt() local 217 fmt = get_format(i); in find_fmt() 218 if (pixelformat && fmt->pixelformat == *pixelformat) in find_fmt() 219 return fmt; in find_fmt() 220 if (mbus_code && fmt->mbus_code == *mbus_code) in find_fmt() 221 return fmt; in find_fmt() 223 def_fmt = fmt; in find_fmt() 280 if (is_yuv420(s_frame->fmt->color)) { in gsc_check_src_scale_info() 283 } else if (is_yuv422(s_frame->fmt->color)) { in gsc_check_src_scale_info() 310 const struct gsc_fmt *fmt; in gsc_enum_fmt_mplane() local [all …]
|
D | gsc-regs.c | 158 if (frame->fmt->pixelformat == V4L2_PIX_FMT_RGB565X) in gsc_hw_set_in_image_rgb() 160 else if (frame->fmt->pixelformat == V4L2_PIX_FMT_RGB32) in gsc_hw_set_in_image_rgb() 179 if (is_rgb(frame->fmt->color)) { in gsc_hw_set_in_image_format() 183 for (i = 0; i < frame->fmt->num_planes; i++) in gsc_hw_set_in_image_format() 184 depth += frame->fmt->depth[i]; in gsc_hw_set_in_image_format() 186 switch (frame->fmt->num_comp) { in gsc_hw_set_in_image_format() 189 if (frame->fmt->yorder == GSC_LSB_Y) in gsc_hw_set_in_image_format() 193 if (frame->fmt->corder == GSC_CBCR) in gsc_hw_set_in_image_format() 203 if (frame->fmt->corder == GSC_CBCR) in gsc_hw_set_in_image_format() 216 if (is_tiled(frame->fmt)) in gsc_hw_set_in_image_format() [all …]
|
/linux-4.4.14/drivers/media/pci/cx88/ |
D | cx88-vbi.c | 13 #define dprintk(level,fmt, arg...) if (vbi_debug >= level) \ argument 14 printk(KERN_DEBUG "%s: " fmt, dev->core->name , ## arg) 23 f->fmt.vbi.samples_per_line = VBI_LINE_LENGTH; in cx8800_vbi_fmt() 24 f->fmt.vbi.sample_format = V4L2_PIX_FMT_GREY; in cx8800_vbi_fmt() 25 f->fmt.vbi.offset = 244; in cx8800_vbi_fmt() 29 f->fmt.vbi.sampling_rate = 28636363; in cx8800_vbi_fmt() 30 f->fmt.vbi.start[0] = 10; in cx8800_vbi_fmt() 31 f->fmt.vbi.start[1] = 273; in cx8800_vbi_fmt() 32 f->fmt.vbi.count[0] = VBI_LINE_NTSC_COUNT; in cx8800_vbi_fmt() 33 f->fmt.vbi.count[1] = VBI_LINE_NTSC_COUNT; in cx8800_vbi_fmt() [all …]
|
/linux-4.4.14/drivers/media/platform/blackfin/ |
D | bfin_capture.c | 81 struct v4l2_pix_format fmt; member 209 const struct v4l2_format *fmt = parg; in bcap_queue_setup() local 212 if (fmt && fmt->fmt.pix.sizeimage < bcap_dev->fmt.sizeimage) in bcap_queue_setup() 219 sizes[0] = fmt ? fmt->fmt.pix.sizeimage : bcap_dev->fmt.sizeimage; in bcap_queue_setup() 229 unsigned long size = bcap_dev->fmt.sizeimage; in bcap_buffer_prepare() 238 vbuf->field = bcap_dev->fmt.field; in bcap_buffer_prepare() 284 params.width = bcap_dev->fmt.width; in bcap_start_streaming() 285 params.height = bcap_dev->fmt.height; in bcap_start_streaming() 613 struct bcap_format *fmt = NULL; in bcap_try_format() local 621 fmt = &sf[i]; in bcap_try_format() [all …]
|
/linux-4.4.14/drivers/media/usb/zr364xx/ |
D | zr364xx.c | 64 #define DBG(fmt, args...) \ argument 67 printk(KERN_INFO KBUILD_MODNAME " " fmt, ##args); \ 75 #define _DBG(fmt, args...) argument 197 const struct zr364xx_fmt *fmt; member 206 const struct zr364xx_fmt *fmt; member 365 *size = cam->width * cam->height * (cam->fmt->depth >> 3); in buffer_setup() 394 DBG("%s, field=%d, fmt name = %s\n", __func__, field, cam->fmt != NULL ? in buffer_prepare() 395 cam->fmt->name : ""); in buffer_prepare() 396 if (cam->fmt == NULL) in buffer_prepare() 399 buf->vb.size = cam->width * cam->height * (cam->fmt->depth >> 3); in buffer_prepare() [all …]
|
/linux-4.4.14/drivers/usb/gadget/udc/ |
D | goku_udc.h | 267 #define xprintk(dev,level,fmt,args...) \ argument 268 printk(level "%s %s: " fmt , driver_name , \ 272 #define DBG(dev,fmt,args...) \ argument 273 xprintk(dev , KERN_DEBUG , fmt , ## args) 275 #define DBG(dev,fmt,args...) \ argument 282 #define VDBG(dev,fmt,args...) \ argument 286 #define ERROR(dev,fmt,args...) \ argument 287 xprintk(dev , KERN_ERR , fmt , ## args) 288 #define WARNING(dev,fmt,args...) \ argument 289 xprintk(dev , KERN_WARNING , fmt , ## args) [all …]
|
/linux-4.4.14/drivers/gpu/drm/omapdrm/ |
D | omap_dmm_tiler.h | 40 enum tiler_fmt fmt; /* format */ member 96 struct tiler_block *tiler_reserve_2d(enum tiler_fmt fmt, uint16_t w, uint16_t h, 105 uint32_t tiler_stride(enum tiler_fmt fmt, uint32_t orient); 106 size_t tiler_size(enum tiler_fmt fmt, uint16_t w, uint16_t h); 107 size_t tiler_vsize(enum tiler_fmt fmt, uint16_t w, uint16_t h); 108 void tiler_align(enum tiler_fmt fmt, uint16_t *w, uint16_t *h); 129 static inline bool validfmt(enum tiler_fmt fmt) in validfmt() argument 131 switch (fmt) { in validfmt()
|
D | omap_dmm_tiler.c | 359 struct tiler_block *tiler_reserve_2d(enum tiler_fmt fmt, uint16_t w, in tiler_reserve_2d() argument 367 BUG_ON(!validfmt(fmt)); in tiler_reserve_2d() 370 w = DIV_ROUND_UP(w, geom[fmt].slot_w); in tiler_reserve_2d() 371 h = DIV_ROUND_UP(h, geom[fmt].slot_h); in tiler_reserve_2d() 374 min_align = max(min_align, (geom[fmt].slot_w * geom[fmt].cpp)); in tiler_reserve_2d() 376 align /= geom[fmt].slot_w * geom[fmt].cpp; in tiler_reserve_2d() 378 block->fmt = fmt; in tiler_reserve_2d() 380 ret = tcm_reserve_2d(containers[fmt], w, h, align, &block->area); in tiler_reserve_2d() 403 block->fmt = TILFMT_PAGE; in tiler_reserve_1d() 458 static u32 tiler_get_address(enum tiler_fmt fmt, u32 orient, u32 x, u32 y) in tiler_get_address() argument [all …]
|
/linux-4.4.14/drivers/media/usb/cpia2/ |
D | cpia2.h | 474 #define ALOG(lev, fmt, args...) printk(lev "%s:%d %s(): " fmt, __FILE__, __LINE__, __func__, ## arg… argument 475 #define LOG(fmt, args...) ALOG(KERN_INFO, fmt, ## args) argument 476 #define ERR(fmt, args...) ALOG(KERN_ERR, fmt, ## args) argument 477 #define DBG(fmt, args...) ALOG(KERN_DEBUG, fmt, ## args) argument 479 #define ALOG(fmt,args...) printk(fmt,##args) argument 480 #define LOG(fmt,args...) ALOG(KERN_INFO "cpia2: "fmt,##args) argument 481 #define ERR(fmt,args...) ALOG(KERN_ERR "cpia2: "fmt,##args) argument 485 #define KINFO(fmt, args...) printk(KERN_INFO fmt,##args) argument
|
D | cpia2_v4l.c | 353 if (f->fmt.pix.pixelformat != V4L2_PIX_FMT_MJPEG && in cpia2_try_fmt_vid_cap() 354 f->fmt.pix.pixelformat != V4L2_PIX_FMT_JPEG) in cpia2_try_fmt_vid_cap() 357 f->fmt.pix.field = V4L2_FIELD_NONE; in cpia2_try_fmt_vid_cap() 358 f->fmt.pix.bytesperline = 0; in cpia2_try_fmt_vid_cap() 359 f->fmt.pix.sizeimage = cam->frame_size; in cpia2_try_fmt_vid_cap() 360 f->fmt.pix.colorspace = V4L2_COLORSPACE_JPEG; in cpia2_try_fmt_vid_cap() 361 f->fmt.pix.priv = 0; in cpia2_try_fmt_vid_cap() 363 switch (cpia2_match_video_size(f->fmt.pix.width, f->fmt.pix.height)) { in cpia2_try_fmt_vid_cap() 365 f->fmt.pix.width = 640; in cpia2_try_fmt_vid_cap() 366 f->fmt.pix.height = 480; in cpia2_try_fmt_vid_cap() [all …]
|
/linux-4.4.14/drivers/bcma/ |
D | bcma_private.h | 5 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument 13 #define bcma_err(bus, fmt, ...) \ argument 14 pr_err("bus%d: " fmt, (bus)->num, ##__VA_ARGS__) 15 #define bcma_warn(bus, fmt, ...) \ argument 16 pr_warn("bus%d: " fmt, (bus)->num, ##__VA_ARGS__) 17 #define bcma_info(bus, fmt, ...) \ argument 18 pr_info("bus%d: " fmt, (bus)->num, ##__VA_ARGS__) 19 #define bcma_debug(bus, fmt, ...) \ argument 20 pr_debug("bus%d: " fmt, (bus)->num, ##__VA_ARGS__)
|
/linux-4.4.14/fs/gfs2/ |
D | util.h | 15 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument 22 #define fs_emerg(fs, fmt, ...) \ argument 23 pr_emerg("fsid=%s: " fmt, (fs)->sd_fsname, ##__VA_ARGS__) 24 #define fs_warn(fs, fmt, ...) \ argument 25 pr_warn("fsid=%s: " fmt, (fs)->sd_fsname, ##__VA_ARGS__) 26 #define fs_err(fs, fmt, ...) \ argument 27 pr_err("fsid=%s: " fmt, (fs)->sd_fsname, ##__VA_ARGS__) 28 #define fs_info(fs, fmt, ...) \ argument 29 pr_info("fsid=%s: " fmt, (fs)->sd_fsname, ##__VA_ARGS__) 169 int gfs2_lm_withdraw(struct gfs2_sbd *sdp, const char *fmt, ...);
|
/linux-4.4.14/drivers/staging/rtl8188eu/include/ |
D | odm_debug.h | 86 #define RT_PRINTK(fmt, args...) \ argument 87 pr_info("%s(): " fmt, __func__, ## args); 93 #define ODM_RT_TRACE(pDM_Odm, comp, level, fmt) \ argument 97 RT_PRINTK fmt; \ 100 #define ODM_RT_ASSERT(pDM_Odm, expr, fmt) \ argument 105 RT_PRINTK fmt; \
|
/linux-4.4.14/drivers/staging/rtl8723au/include/ |
D | odm_debug.h | 94 #define RT_PRINTK(fmt, args...) printk("%s(): " fmt, __func__, ## args); argument 100 #define ODM_RT_TRACE(pDM_Odm, comp, level, fmt) \ argument 104 RT_PRINTK fmt; \ 107 #define ODM_RT_ASSERT(pDM_Odm, expr, fmt) \ argument 111 RT_PRINTK fmt; \
|
/linux-4.4.14/fs/exofs/ |
D | ore_raid.h | 18 #define ORE_ERR(fmt, a...) printk(KERN_ERR "ore: " fmt, ##a) argument 21 #define ORE_DBGMSG(fmt, a...) \ argument 22 printk(KERN_NOTICE "ore @%s:%d: " fmt, __func__, __LINE__, ##a) 24 #define ORE_DBGMSG(fmt, a...) \ argument 25 do { if (0) printk(fmt, ##a); } while (0)
|
/linux-4.4.14/drivers/edac/ |
D | edac_core.h | 49 #define edac_printk(level, prefix, fmt, arg...) \ argument 50 printk(level "EDAC " prefix ": " fmt, ##arg) 52 #define edac_mc_printk(mci, level, fmt, arg...) \ argument 53 printk(level "EDAC MC%d: " fmt, mci->mc_idx, ##arg) 55 #define edac_mc_chipset_printk(mci, level, prefix, fmt, arg...) \ argument 56 printk(level "EDAC " prefix " MC%d: " fmt, mci->mc_idx, ##arg) 58 #define edac_device_printk(ctl, level, fmt, arg...) \ argument 59 printk(level "EDAC DEVICE%d: " fmt, ctl->dev_idx, ##arg) 61 #define edac_pci_printk(ctl, level, fmt, arg...) \ argument 62 printk(level "EDAC PCI%d: " fmt, ctl->pci_idx, ##arg) [all …]
|
D | amd64_edac.h | 23 #define amd64_debug(fmt, arg...) \ argument 24 edac_printk(KERN_DEBUG, "amd64", fmt, ##arg) 26 #define amd64_info(fmt, arg...) \ argument 27 edac_printk(KERN_INFO, "amd64", fmt, ##arg) 29 #define amd64_notice(fmt, arg...) \ argument 30 edac_printk(KERN_NOTICE, "amd64", fmt, ##arg) 32 #define amd64_warn(fmt, arg...) \ argument 33 edac_printk(KERN_WARNING, "amd64", fmt, ##arg) 35 #define amd64_err(fmt, arg...) \ argument 36 edac_printk(KERN_ERR, "amd64", fmt, ##arg) [all …]
|
/linux-4.4.14/sound/soc/codecs/ |
D | wm8753.c | 60 unsigned int fmt); 62 unsigned int fmt); 894 unsigned int fmt) in wm8753_vdac_adc_set_dai_fmt() argument 899 switch (fmt & SND_SOC_DAIFMT_FORMAT_MASK) { in wm8753_vdac_adc_set_dai_fmt() 962 unsigned int fmt) in wm8753_pcm_set_dai_fmt() argument 970 switch (fmt & SND_SOC_DAIFMT_MASTER_MASK) { in wm8753_pcm_set_dai_fmt() 983 switch (fmt & SND_SOC_DAIFMT_FORMAT_MASK) { in wm8753_pcm_set_dai_fmt() 987 switch (fmt & SND_SOC_DAIFMT_INV_MASK) { in wm8753_pcm_set_dai_fmt() 1001 switch (fmt & SND_SOC_DAIFMT_INV_MASK) { in wm8753_pcm_set_dai_fmt() 1055 unsigned int fmt) in wm8753_hdac_set_dai_fmt() argument [all …]
|
D | ak4613.c | 80 unsigned int fmt; member 87 unsigned int fmt; member 130 #define AUDIO_IFACE(b, fmt) { b, SND_SOC_DAIFMT_##fmt } argument 247 static int ak4613_dai_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) in ak4613_dai_set_fmt() argument 252 fmt &= SND_SOC_DAIFMT_FORMAT_MASK; in ak4613_dai_set_fmt() 254 switch (fmt) { in ak4613_dai_set_fmt() 258 priv->fmt = fmt; in ak4613_dai_set_fmt() 277 unsigned int fmt = priv->fmt; in ak4613_dai_hw_params() local 312 if (fmts->fmt != fmt) in ak4613_dai_hw_params() 315 if (fmt == SND_SOC_DAIFMT_RIGHT_J) { in ak4613_dai_hw_params()
|
/linux-4.4.14/drivers/media/platform/vivid/ |
D | vivid-vid-out.c | 38 const struct v4l2_format *fmt = parg; in vid_out_queue_setup() local 67 if (fmt) { in vid_out_queue_setup() 71 if (!V4L2_TYPE_IS_MULTIPLANAR(fmt->type)) { in vid_out_queue_setup() 72 fmt_sp2mp(fmt, &mp_fmt); in vid_out_queue_setup() 73 fmt = &mp_fmt; in vid_out_queue_setup() 75 mp = &fmt->fmt.pix_mp; in vid_out_queue_setup() 319 struct v4l2_pix_format_mplane *mp = &f->fmt.pix_mp; in vivid_g_fmt_vid_out() 320 const struct vivid_fmt *fmt = dev->fmt_out; in vivid_g_fmt_vid_out() local 326 mp->pixelformat = fmt->fourcc; in vivid_g_fmt_vid_out() 331 mp->num_planes = fmt->buffers; in vivid_g_fmt_vid_out() [all …]
|
D | vivid-vbi-out.c | 144 struct v4l2_vbi_format *vbi = &f->fmt.vbi; in vidioc_g_fmt_vbi_out() 178 int vidioc_g_fmt_sliced_vbi_out(struct file *file, void *fh, struct v4l2_format *fmt) in vidioc_g_fmt_sliced_vbi_out() argument 181 struct v4l2_sliced_vbi_format *vbi = &fmt->fmt.sliced; in vidioc_g_fmt_sliced_vbi_out() 190 int vidioc_try_fmt_sliced_vbi_out(struct file *file, void *fh, struct v4l2_format *fmt) in vidioc_try_fmt_sliced_vbi_out() argument 193 struct v4l2_sliced_vbi_format *vbi = &fmt->fmt.sliced; in vidioc_try_fmt_sliced_vbi_out() 207 struct v4l2_format *fmt) in vidioc_s_fmt_sliced_vbi_out() argument 210 struct v4l2_sliced_vbi_format *vbi = &fmt->fmt.sliced; in vidioc_s_fmt_sliced_vbi_out() 211 int ret = vidioc_try_fmt_sliced_vbi_out(file, fh, fmt); in vidioc_s_fmt_sliced_vbi_out()
|
D | vivid-vid-cap.c | 102 const struct v4l2_format *fmt = parg; in vid_cap_queue_setup() local 125 if (fmt) { in vid_cap_queue_setup() 130 if (!V4L2_TYPE_IS_MULTIPLANAR(fmt->type)) { in vid_cap_queue_setup() 131 fmt_sp2mp(fmt, &mp_fmt); in vid_cap_queue_setup() 132 fmt = &mp_fmt; in vid_cap_queue_setup() 134 mp = &fmt->fmt.pix_mp; in vid_cap_queue_setup() 533 struct v4l2_pix_format_mplane *mp = &f->fmt.pix_mp; in vivid_g_fmt_vid_cap() 557 struct v4l2_pix_format_mplane *mp = &f->fmt.pix_mp; in vivid_try_fmt_vid_cap() 560 const struct vivid_fmt *fmt; in vivid_try_fmt_vid_cap() local 566 fmt = vivid_get_format(dev, mp->pixelformat); in vivid_try_fmt_vid_cap() [all …]
|
/linux-4.4.14/security/integrity/ima/ |
D | ima_template.c | 16 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument 24 {.name = IMA_TEMPLATE_IMA_NAME, .fmt = IMA_TEMPLATE_IMA_FMT}, 25 {.name = "ima-ng", .fmt = "d-ng|n-ng"}, 26 {.name = "ima-sig", .fmt = "d-ng|n-ng|sig"}, 27 {.name = "", .fmt = ""}, /* placeholder for a custom format */ 96 defined_templates[num_templates - 1].fmt = str; in ima_template_fmt_setup() 200 result = template_desc_init_fields(template->fmt, in ima_init_template() 206 template->name : template->fmt), result); in ima_init_template()
|
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/ |
D | debug.h | 169 #define RT_ASSERT(_exp, fmt, ...) \ argument 172 printk(KERN_DEBUG KBUILD_MODNAME ":%s(): " fmt, \ 177 #define RT_TRACE(rtlpriv, comp, level, fmt, ...) \ argument 181 printk(KERN_DEBUG KBUILD_MODNAME ":%s():<%lx-%x> " fmt, \ 187 #define RTPRINT(rtlpriv, dbgtype, dbgflag, fmt, ...) \ argument 190 printk(KERN_DEBUG KBUILD_MODNAME ": " fmt, \ 213 static inline void RT_ASSERT(int exp, const char *fmt, ...) in RT_ASSERT() argument 220 const char *fmt, ...) in RT_TRACE() argument 227 const char *fmt, ...) in RTPRINT() argument
|
/linux-4.4.14/drivers/media/usb/s2255/ |
D | s2255drv.c | 252 const struct s2255_fmt *fmt; member 365 #define s2255_dev_err(dev, fmt, arg...) \ argument 366 dev_err(dev, S2255_DRIVER_NAME " - " fmt, ##arg) 368 #define dprintk(dev, level, fmt, arg...) \ argument 369 v4l2_dbg(level, debug, &dev->v4l2_dev, fmt, ## arg) 461 int fmt) in planar422p_to_yuv_packed() argument 472 out[i] = (fmt == V4L2_PIX_FMT_YUYV) ? *pY++ : *pCr++; in planar422p_to_yuv_packed() 473 out[i + 1] = (fmt == V4L2_PIX_FMT_YUYV) ? *pCr++ : *pY++; in planar422p_to_yuv_packed() 474 out[i + 2] = (fmt == V4L2_PIX_FMT_YUYV) ? *pY++ : *pCb++; in planar422p_to_yuv_packed() 475 out[i + 3] = (fmt == V4L2_PIX_FMT_YUYV) ? *pCb++ : *pY++; in planar422p_to_yuv_packed() [all …]
|
/linux-4.4.14/fs/befs/ |
D | debug.c | 13 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument 28 befs_error(const struct super_block *sb, const char *fmt, ...) in befs_error() argument 33 va_start(args, fmt); in befs_error() 34 vaf.fmt = fmt; in befs_error() 41 befs_warning(const struct super_block *sb, const char *fmt, ...) in befs_warning() argument 46 va_start(args, fmt); in befs_warning() 47 vaf.fmt = fmt; in befs_warning() 54 befs_debug(const struct super_block *sb, const char *fmt, ...) in befs_debug() argument 60 va_start(args, fmt); in befs_debug() 61 vaf.fmt = fmt; in befs_debug()
|
/linux-4.4.14/drivers/scsi/ |
D | dpti.h | 91 # define PDEBUG(fmt, args...) printk(KERN_DEBUG "dpti: " fmt, ##args) argument 92 # define PDEBUGV(fmt, args...) printk(KERN_DEBUG "dpti: " fmt, ##args) argument 94 # define PDEBUG(fmt, args...) /* not debugging: nothing */ argument 95 # define PDEBUGV(fmt, args...) /* not debugging: nothing */ argument 98 #define PERROR(fmt, args...) printk(KERN_ERR fmt, ##args) argument 99 #define PWARN(fmt, args...) printk(KERN_WARNING fmt, ##args) argument 100 #define PINFO(fmt, args...) printk(KERN_INFO fmt, ##args) argument 101 #define PCRIT(fmt, args...) printk(KERN_CRIT fmt, ##args) argument
|
/linux-4.4.14/tools/perf/scripts/python/ |
D | export-to-postgresql.py | 652 fmt = "!hiqi" + str(n) + "s" 653 value = struct.pack(fmt, 2, 8, evsel_id, n, evsel_name) 658 fmt = "!hiqiii" + str(n) + "s" 659 value = struct.pack(fmt, 3, 8, machine_id, 4, pid, n, root_dir) 668 fmt = "!hiqi" + str(n) + "s" 669 value = struct.pack(fmt, 2, 8, comm_id, n, comm_str) 673 fmt = "!hiqiqiq" 674 value = struct.pack(fmt, 3, 8, comm_thread_id, 8, comm_id, 8, thread_id) 681 fmt = "!hiqiqi" + str(n1) + "si" + str(n2) + "si" + str(n3) + "s" 682 value = struct.pack(fmt, 5, 8, dso_id, 8, machine_id, n1, short_name, n2, long_name, n3, build_id) [all …]
|
/linux-4.4.14/arch/s390/include/uapi/asm/ |
D | chsc.h | 52 int fmt; member 60 int fmt; member 66 int fmt; member 78 int fmt; member 101 int fmt; member 114 int fmt; member 122 int fmt; member
|
/linux-4.4.14/net/batman-adv/ |
D | main.h | 162 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument 235 int batadv_debug_log(struct batadv_priv *bat_priv, const char *fmt, ...) 239 #define _batadv_dbg(type, bat_priv, ratelimited, fmt, arg...) \ argument 243 batadv_debug_log(bat_priv, fmt, ## arg);\ 251 const char *fmt __always_unused, ...) in _batadv_dbg() 261 #define batadv_info(net_dev, fmt, arg...) \ argument 265 batadv_dbg(BATADV_DBG_ALL, _batpriv, fmt, ## arg); \ 266 pr_info("%s: " fmt, _netdev->name, ## arg); \ 268 #define batadv_err(net_dev, fmt, arg...) \ argument 272 batadv_dbg(BATADV_DBG_ALL, _batpriv, fmt, ## arg); \ [all …]
|
/linux-4.4.14/drivers/video/fbdev/intelfb/ |
D | intelfb.h | 93 #define ERR_MSG(fmt, args...) printk(KERN_ERR PFX fmt, ## args) argument 94 #define WRN_MSG(fmt, args...) printk(KERN_WARNING PFX fmt, ## args) argument 95 #define NOT_MSG(fmt, args...) printk(KERN_NOTICE PFX fmt, ## args) argument 96 #define INF_MSG(fmt, args...) printk(KERN_INFO PFX fmt, ## args) argument 98 #define DBG_MSG(fmt, args...) printk(KERN_DEBUG PFX fmt, ## args) argument 100 #define DBG_MSG(fmt, args...) while (0) printk(fmt, ## args) argument
|
/linux-4.4.14/arch/s390/include/asm/ |
D | pci_clp.h | 52 u32 fmt : 4; /* cmd request block format */ member 62 u32 fmt : 4; /* cmd request block format */ member 76 u32 fmt : 4; /* cmd request block format */ member 87 u32 fmt : 4; /* cmd request block format */ member 111 u32 fmt : 4; /* cmd request block format */ member 123 u32 fmt : 4; /* cmd request block format */ member 144 u32 fmt : 4; /* cmd request block format */ member 157 u32 fmt : 4; /* cmd request block format */ member
|
/linux-4.4.14/drivers/usb/dwc3/ |
D | debug.c | 20 void dwc3_trace(void (*trace)(struct va_format *), const char *fmt, ...) in dwc3_trace() argument 25 va_start(args, fmt); in dwc3_trace() 26 vaf.fmt = fmt; in dwc3_trace()
|
/linux-4.4.14/fs/ncpfs/ |
D | ncp_fs.h | 7 #define ncp_vdbg(fmt, ...) \ argument 8 pr_debug(fmt, ##__VA_ARGS__) 10 #define ncp_vdbg(fmt, ...) \ argument 13 pr_debug(fmt, ##__VA_ARGS__); \ 25 #define ncp_dbg(level, fmt, ...) \ argument 28 pr_debug(fmt, ##__VA_ARGS__); \
|
/linux-4.4.14/net/bluetooth/ |
D | lib.c | 27 #define pr_fmt(fmt) "Bluetooth: " fmt argument 145 vaf.fmt = format; in bt_info() 161 vaf.fmt = format; in bt_warn() 177 vaf.fmt = format; in bt_err() 193 vaf.fmt = format; in bt_err_ratelimited()
|
/linux-4.4.14/drivers/media/platform/omap3isp/ |
D | ispvideo.c | 273 struct v4l2_subdev_format fmt; in __isp_video_get_format() local 282 fmt.pad = pad; in __isp_video_get_format() 283 fmt.which = V4L2_SUBDEV_FORMAT_ACTIVE; in __isp_video_get_format() 286 ret = v4l2_subdev_call(subdev, pad, get_fmt, NULL, &fmt); in __isp_video_get_format() 293 return isp_video_mbus_to_pix(video, &fmt.format, &format->fmt.pix); in __isp_video_get_format() 307 if (vfh->format.fmt.pix.pixelformat != format.fmt.pix.pixelformat || in isp_video_check_format() 308 vfh->format.fmt.pix.height != format.fmt.pix.height || in isp_video_check_format() 309 vfh->format.fmt.pix.width != format.fmt.pix.width || in isp_video_check_format() 310 vfh->format.fmt.pix.bytesperline != format.fmt.pix.bytesperline || in isp_video_check_format() 311 vfh->format.fmt.pix.sizeimage != format.fmt.pix.sizeimage || in isp_video_check_format() [all …]
|
D | ispccp2.c | 639 struct v4l2_mbus_framefmt *fmt, in ccp2_try_format() argument 646 if (fmt->code != MEDIA_BUS_FMT_SGRBG10_DPCM8_1X8) in ccp2_try_format() 647 fmt->code = MEDIA_BUS_FMT_SGRBG10_1X10; in ccp2_try_format() 650 fmt->width = clamp_t(u32, fmt->width, in ccp2_try_format() 653 fmt->height = clamp_t(u32, fmt->height, in ccp2_try_format() 657 fmt->width = clamp_t(u32, fmt->width, in ccp2_try_format() 660 fmt->height = clamp_t(u32, fmt->height, in ccp2_try_format() 673 memcpy(fmt, format, sizeof(*fmt)); in ccp2_try_format() 674 fmt->code = MEDIA_BUS_FMT_SGRBG10_1X10; in ccp2_try_format() 678 fmt->field = V4L2_FIELD_NONE; in ccp2_try_format() [all …]
|
/linux-4.4.14/sound/soc/ux500/ |
D | ux500_msp_dai.c | 175 unsigned int fmt, in setup_clocking() argument 178 switch (fmt & SND_SOC_DAIFMT_INV_MASK) { in setup_clocking() 191 __func__, fmt); in setup_clocking() 196 switch (fmt & SND_SOC_DAIFMT_MASTER_MASK) { in setup_clocking() 222 __func__, fmt); in setup_clocking() 231 unsigned int fmt, in setup_pcm_protdesc() argument 243 if ((fmt & SND_SOC_DAIFMT_FORMAT_MASK) == SND_SOC_DAIFMT_DSP_A) { in setup_pcm_protdesc() 310 unsigned int fmt = drvdata->fmt; in setup_msp_config() local 332 switch (fmt & in setup_msp_config() 362 ret = setup_pcm_protdesc(dai, fmt, prot_desc); in setup_msp_config() [all …]
|
/linux-4.4.14/fs/logfs/ |
D | logfs.h | 47 #define log_cond(cond, fmt, arg...) do { \ argument 49 printk(KERN_DEBUG fmt, ##arg); \ 52 #define log_super(fmt, arg...) \ argument 53 log_cond(LOGFS_DEBUG & LOGFS_DEBUG_SUPER, fmt, ##arg) 54 #define log_segment(fmt, arg...) \ argument 55 log_cond(LOGFS_DEBUG & LOGFS_DEBUG_SEGMENT, fmt, ##arg) 56 #define log_journal(fmt, arg...) \ argument 57 log_cond(LOGFS_DEBUG & LOGFS_DEBUG_JOURNAL, fmt, ##arg) 58 #define log_dir(fmt, arg...) \ argument 59 log_cond(LOGFS_DEBUG & LOGFS_DEBUG_DIR, fmt, ##arg) [all …]
|
/linux-4.4.14/drivers/media/platform/s5p-jpeg/ |
D | jpeg-core.c | 1013 ctx->out_q.fmt = out_fmt; in s5p_jpeg_open() 1014 ctx->cap_q.fmt = cap_fmt; in s5p_jpeg_open() 1332 struct v4l2_pix_format *pix = &f->fmt.pix; in s5p_jpeg_g_fmt() 1348 pix->pixelformat = q_data->fmt->fourcc; in s5p_jpeg_g_fmt() 1350 if (q_data->fmt->fourcc != V4L2_PIX_FMT_JPEG) { in s5p_jpeg_g_fmt() 1352 if (q_data->fmt->colplanes == 1) in s5p_jpeg_g_fmt() 1353 bpl = (bpl * q_data->fmt->depth) >> 3; in s5p_jpeg_g_fmt() 1376 struct s5p_jpeg_fmt *fmt = &sjpeg_formats[k]; in s5p_jpeg_find_format() local 1377 if (fmt->fourcc == pixelformat && in s5p_jpeg_find_format() 1378 fmt->flags & fmt_flag && in s5p_jpeg_find_format() [all …]
|
/linux-4.4.14/sound/soc/intel/skylake/ |
D | skl-nhlt.c | 57 struct device *dev, struct nhlt_fmt *fmt, in skl_get_specific_cfg() argument 62 struct nhlt_fmt_cfg *fmt_config = fmt->fmt_config; in skl_get_specific_cfg() 65 dev_dbg(dev, "Format count =%d\n", fmt->fmt_count); in skl_get_specific_cfg() 67 for (i = 0; i < fmt->fmt_count; i++) { in skl_get_specific_cfg() 68 wfmt = &fmt_config->fmt_ext.fmt; in skl_get_specific_cfg() 112 struct nhlt_fmt *fmt; in skl_get_ep_blob() local 129 fmt = (struct nhlt_fmt *)(epnt->config.caps + in skl_get_ep_blob() 131 sp_config = skl_get_specific_cfg(dev, fmt, num_ch, s_rate, bps); in skl_get_ep_blob()
|
/linux-4.4.14/drivers/media/platform/marvell-ccic/ |
D | mcam-core.c | 239 #define cam_err(cam, fmt, arg...) \ argument 240 dev_err((cam)->dev, fmt, ##arg); 241 #define cam_warn(cam, fmt, arg...) \ argument 242 dev_warn((cam)->dev, fmt, ##arg); 243 #define cam_dbg(cam, fmt, arg...) \ argument 244 dev_dbg((cam)->dev, fmt, ##arg); 341 struct v4l2_pix_format *fmt = &cam->pix_format; in mcam_write_yuv_bases() local 342 u32 pixel_count = fmt->width * fmt->height; in mcam_write_yuv_bases() 347 switch (fmt->pixelformat) { in mcam_write_yuv_bases() 361 if (mcam_fmt_is_planar(fmt->pixelformat)) { in mcam_write_yuv_bases() [all …]
|
/linux-4.4.14/tools/testing/selftests/mount/ |
D | unprivileged-remount-test.c | 47 static void die(char *fmt, ...) in die() argument 50 va_start(ap, fmt); in die() 51 vfprintf(stderr, fmt, ap); in die() 56 static void vmaybe_write_file(bool enoent_ok, char *filename, char *fmt, va_list ap) in vmaybe_write_file() argument 63 buf_len = vsnprintf(buf, sizeof(buf), fmt, ap); in vmaybe_write_file() 94 static void maybe_write_file(char *filename, char *fmt, ...) in maybe_write_file() argument 98 va_start(ap, fmt); in maybe_write_file() 99 vmaybe_write_file(true, filename, fmt, ap); in maybe_write_file() 104 static void write_file(char *filename, char *fmt, ...) in write_file() argument 108 va_start(ap, fmt); in write_file() [all …]
|
/linux-4.4.14/drivers/staging/rtl8723au/hal/ |
D | odm_debug.c | 26 void rt_trace(int comp, int level, const char *fmt, ...) in rt_trace() argument 31 va_start(args, fmt); in rt_trace() 33 vaf.fmt = fmt; in rt_trace()
|
/linux-4.4.14/net/9p/ |
D | mod.c | 27 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument 48 const char *fmt, ...) in _p9_debug() argument 56 va_start(args, fmt); in _p9_debug() 58 vaf.fmt = fmt; in _p9_debug()
|
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmsmac/ |
D | debug.h | 28 void __brcms_info(struct device *dev, const char *fmt, ...); 30 void __brcms_warn(struct device *dev, const char *fmt, ...); 32 void __brcms_err(struct device *dev, const char *fmt, ...); 34 void __brcms_crit(struct device *dev, const char *fmt, ...); 39 const char *fmt, ...); 43 const char *fmt, ...) in __brcms_dbg() argument
|
/linux-4.4.14/include/drm/ |
D | drmP.h | 167 #define DRM_ERROR(fmt, ...) \ argument 168 drm_err(fmt, ##__VA_ARGS__) 176 #define DRM_ERROR_RATELIMITED(fmt, ...) \ argument 183 drm_err(fmt, ##__VA_ARGS__); \ 186 #define DRM_INFO(fmt, ...) \ argument 187 printk(KERN_INFO "[" DRM_NAME "] " fmt, ##__VA_ARGS__) 189 #define DRM_INFO_ONCE(fmt, ...) \ argument 190 printk_once(KERN_INFO "[" DRM_NAME "] " fmt, ##__VA_ARGS__) 198 #define DRM_DEBUG(fmt, args...) \ argument 201 drm_ut_debug_printk(__func__, fmt, ##args); \ [all …]
|
/linux-4.4.14/fs/reiserfs/ |
D | prints.c | 160 static char *is_there_reiserfs_struct(char *fmt, int *what) in is_there_reiserfs_struct() argument 162 char *k = fmt; in is_there_reiserfs_struct() 189 static void prepare_error_buf(const char *fmt, va_list args) in prepare_error_buf() argument 198 strcpy(fmt1, fmt); in prepare_error_buf() 258 #define do_reiserfs_warning(fmt)\ argument 261 va_start( args, fmt );\ 262 prepare_error_buf( fmt, args );\ 267 const char *function, const char *fmt, ...) in __reiserfs_warning() argument 269 do_reiserfs_warning(fmt); in __reiserfs_warning() 280 void reiserfs_info(struct super_block *sb, const char *fmt, ...) in reiserfs_info() argument [all …]
|
/linux-4.4.14/arch/m68k/sun3/prom/ |
D | printf.c | 23 prom_printf(char *fmt, ...) in prom_printf() argument 29 va_start(args, fmt); in prom_printf() 33 i = vsprintf(ppbuf + 1, fmt, args) + 1; in prom_printf() 35 i = vsprintf(ppbuf, fmt, args); in prom_printf()
|
/linux-4.4.14/drivers/net/wireless/ath/wcn36xx/ |
D | wcn36xx.h | 59 #define wcn36xx_err(fmt, arg...) \ argument 60 printk(KERN_ERR pr_fmt("ERROR " fmt), ##arg) 62 #define wcn36xx_warn(fmt, arg...) \ argument 63 printk(KERN_WARNING pr_fmt("WARNING " fmt), ##arg) 65 #define wcn36xx_info(fmt, arg...) \ argument 66 printk(KERN_INFO pr_fmt(fmt), ##arg) 68 #define wcn36xx_dbg(mask, fmt, arg...) do { \ argument 70 printk(KERN_DEBUG pr_fmt(fmt), ##arg); \
|
/linux-4.4.14/drivers/mtd/devices/ |
D | docg3.h | 318 #define doc_err(fmt, arg...) dev_err(docg3->dev, (fmt), ## arg) argument 319 #define doc_info(fmt, arg...) dev_info(docg3->dev, (fmt), ## arg) argument 320 #define doc_dbg(fmt, arg...) dev_dbg(docg3->dev, (fmt), ## arg) argument 321 #define doc_vdbg(fmt, arg...) dev_vdbg(docg3->dev, (fmt), ## arg) argument
|
/linux-4.4.14/drivers/infiniband/ulp/isert/ |
D | ib_isert.h | 10 #define isert_dbg(fmt, arg...) \ argument 13 printk(KERN_DEBUG PFX "%s: " fmt,\ 17 #define isert_warn(fmt, arg...) \ argument 20 pr_warn(PFX "%s: " fmt, \ 24 #define isert_info(fmt, arg...) \ argument 27 pr_info(PFX "%s: " fmt, \ 31 #define isert_err(fmt, arg...) \ argument 32 pr_err(PFX "%s: " fmt, __func__ , ## arg)
|
/linux-4.4.14/drivers/staging/media/davinci_vpfe/ |
D | dm365_ipipeif.c | 585 struct v4l2_subdev_format *fmt) in ipipeif_get_format() argument 589 if (fmt->which == V4L2_SUBDEV_FORMAT_ACTIVE) in ipipeif_get_format() 590 fmt->format = ipipeif->formats[fmt->pad]; in ipipeif_get_format() 592 fmt->format = *(v4l2_subdev_get_try_format(sd, cfg, fmt->pad)); in ipipeif_get_format() 611 struct v4l2_mbus_framefmt *fmt, in ipipeif_try_format() argument 623 if (fmt->code == ipipeif_input_fmts[i]) in ipipeif_try_format() 628 fmt->code = MEDIA_BUS_FMT_SGRBG12_1X12; in ipipeif_try_format() 631 if (fmt->code == ipipeif_output_fmts[i]) in ipipeif_try_format() 636 fmt->code = MEDIA_BUS_FMT_UYVY8_2X8; in ipipeif_try_format() 639 fmt->width = clamp_t(u32, fmt->width, MIN_OUT_HEIGHT, max_out_width); in ipipeif_try_format() [all …]
|