/openbmc/linux/fs/nilfs2/ |
H A D | nilfs.h | 302 const char *fmt, ...); 306 #define nilfs_msg(sb, level, fmt, ...) \ argument 307 __nilfs_msg(sb, level fmt, ##__VA_ARGS__) 308 #define nilfs_error(sb, fmt, ...) \ argument 315 no_printk(level fmt, ##__VA_ARGS__); \ 318 #define nilfs_error(sb, fmt, ...) \ argument 320 no_printk(fmt, ##__VA_ARGS__); \ 326 #define nilfs_crit(sb, fmt, ...) \ argument 328 #define nilfs_err(sb, fmt, ...) \ argument 330 #define nilfs_warn(sb, fmt, ...) \ argument [all …]
|
/openbmc/linux/drivers/usb/gadget/udc/aspeed-vhub/ |
H A D | vhub.h | 440 #define UDCVDBG(u, fmt...) dev_dbg(&(u)->pdev->dev, fmt) argument 442 #define EPVDBG(ep, fmt, ...) do { \ argument 444 "%s:EP%d " fmt, \ 449 #define DVDBG(d, fmt, ...) do { \ argument 451 "%s " fmt, (d)->name, \ 462 #define UDCDBG(u, fmt...) dev_dbg(&(u)->pdev->dev, fmt) argument 464 #define EPDBG(ep, fmt, ...) do { \ argument 466 "%s:EP%d " fmt, \ 471 #define DDBG(d, fmt, ...) do { \ argument 473 "%s " fmt, (d)->name, \ [all …]
|
/openbmc/linux/drivers/media/platform/ti/omap/ |
H A 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() 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() 88 if (try_win.top + try_win.height > fbuf->fmt.height) in omap_vout_try_window() [all …]
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 026.out | 4 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 9 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 14 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 21 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 28 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 33 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 38 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 45 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 52 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 60 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 [all …]
|
H A D | 026.out.nocache | 4 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 9 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 14 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 21 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 28 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 33 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 38 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 45 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 52 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 60 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 [all …]
|
/openbmc/linux/fs/smb/server/ |
H A D | glob.h | 36 #define pr_fmt(fmt) "ksmbd: " SUBMOD_NAME ": " fmt argument 38 #define pr_fmt(fmt) "ksmbd: " fmt argument 41 #define ksmbd_debug(type, fmt, ...) \ argument 44 pr_info(fmt, ##__VA_ARGS__); \
|
/openbmc/linux/tools/bpf/ |
H A D | bpf_dbg.c | 229 fmt = "a"; in bpf_disasm() 233 fmt = "x"; in bpf_disasm() 237 fmt = ""; in bpf_disasm() 241 fmt = ""; in bpf_disasm() 306 fmt = "x"; in bpf_disasm() 314 fmt = "x"; in bpf_disasm() 322 fmt = "x"; in bpf_disasm() 330 fmt = "x"; in bpf_disasm() 338 fmt = ""; in bpf_disasm() 342 fmt = "x"; in bpf_disasm() [all …]
|
/openbmc/qemu/trace/ |
H A D | meson.build | 16 fmt = '@0@-' + group_name + '.@1@' variable 18 trace_h = custom_target(fmt.format('trace', 'h'), 19 output: fmt.format('trace', 'h'), 24 trace_c = custom_target(fmt.format('trace', 'c'), 25 output: fmt.format('trace', 'c'), 30 trace_ust_h = custom_target(fmt.format('trace-ust', 'h'), 31 output: fmt.format('trace-ust', 'h'), 40 trace_dtrace = custom_target(fmt.format('trace-dtrace', 'dtrace'), 45 trace_dtrace_h = custom_target(fmt.format('trace-dtrace', 'h'), 46 output: fmt.format('trace-dtrace', 'h'), [all …]
|
/openbmc/linux/drivers/net/wireless/ath/ath11k/ |
H A D | debug.h | 76 __printf(2, 3) void ath11k_info(struct ath11k_base *ab, const char *fmt, ...); 77 __printf(2, 3) void ath11k_err(struct ath11k_base *ab, const char *fmt, ...); 78 __printf(2, 3) void ath11k_warn(struct ath11k_base *ab, const char *fmt, ...); 85 const char *fmt, ...); 93 const char *fmt, ...) in __ath11k_dbg() argument 106 #define ath11k_dbg(ar, dbg_mask, fmt, ...) \ argument 110 __ath11k_dbg(ar, dbg_mask, fmt, ##__VA_ARGS__); \
|
/openbmc/linux/tools/testing/selftests/mount/ |
H A D | nosymfollow-test.c | 30 static void die(char *fmt, ...) in die() argument 34 va_start(ap, fmt); in die() 35 vfprintf(stderr, fmt, ap); in die() 40 static void vmaybe_write_file(bool enoent_ok, char *filename, char *fmt, in vmaybe_write_file() argument 48 buf_len = vsnprintf(buf, sizeof(buf), fmt, ap); in vmaybe_write_file() 76 static void maybe_write_file(char *filename, char *fmt, ...) in maybe_write_file() argument 80 va_start(ap, fmt); in maybe_write_file() 81 vmaybe_write_file(true, filename, fmt, ap); in maybe_write_file() 85 static void write_file(char *filename, char *fmt, ...) in write_file() argument 89 va_start(ap, fmt); in write_file() [all …]
|
/openbmc/linux/drivers/media/platform/amlogic/meson-ge2d/ |
H A D | ge2d.c | 252 if (ctx->in.fmt->alpha && ctx->out.fmt->alpha) in ge2d_hw_start() 588 f->fmt.pix = fmt_cap; in vidioc_try_fmt_cap() 618 f->fmt.pix.pixelformat = frm->fmt->fourcc; in vidioc_s_fmt_cap() 642 f->fmt.pix.pixelformat = frm->fmt->fourcc; in vidioc_g_fmt() 652 f->fmt.pix.pixelformat = fmt->fourcc; in vidioc_try_fmt_out() 659 f->fmt.pix.bytesperline = max(f->fmt.pix.bytesperline, in vidioc_try_fmt_out() 660 ALIGN((f->fmt.pix.width * fmt->depth) >> 3, 8)); in vidioc_try_fmt_out() 662 f->fmt.pix.sizeimage = max(f->fmt.pix.sizeimage, in vidioc_try_fmt_out() 663 f->fmt.pix.height * f->fmt.pix.bytesperline); in vidioc_try_fmt_out() 694 f->fmt.pix.pixelformat = frm->fmt->fourcc; in vidioc_s_fmt_out() [all …]
|
/openbmc/linux/drivers/media/platform/nxp/imx8-isi/ |
H A D | imx8-isi-crossbar.c | 34 const struct v4l2_mbus_framefmt *fmt; in mxc_isi_crossbar_gasket_enable() local 62 if (!fmt) in mxc_isi_crossbar_gasket_enable() 65 gasket_ops->enable(isi, &fd, fmt, port); in mxc_isi_crossbar_gasket_enable() 266 if (fmt->pad >= xbar->num_sinks) in mxc_isi_crossbar_set_fmt() 273 fmt->format.width = clamp_t(unsigned int, fmt->format.width, in mxc_isi_crossbar_set_fmt() 275 fmt->format.height = clamp_t(unsigned int, fmt->format.height, in mxc_isi_crossbar_set_fmt() 277 fmt->format.field = V4L2_FIELD_NONE; in mxc_isi_crossbar_set_fmt() 284 fmt->stream); in mxc_isi_crossbar_set_fmt() 288 *sink_fmt = fmt->format; in mxc_isi_crossbar_set_fmt() 294 if (route->sink_pad != fmt->pad || in mxc_isi_crossbar_set_fmt() [all …]
|
/openbmc/linux/drivers/media/platform/qcom/camss/ |
H A D | camss-vfe.c | 850 fmt->width = clamp_t(u32, fmt->width, 1, 8191); in vfe_try_format() 851 fmt->height = clamp_t(u32, fmt->height, 1, 8191); in vfe_try_format() 860 code = fmt->code; in vfe_try_format() 865 fmt->code = vfe_src_pad_code(line, fmt->code, 0, code); in vfe_try_format() 1051 format = __vfe_get_format(line, sd_state, fmt->pad, fmt->which); in vfe_get_format() 1055 fmt->format = *format; in vfe_get_format() 1079 format = __vfe_get_format(line, sd_state, fmt->pad, fmt->which); in vfe_set_format() 1083 vfe_try_format(line, sd_state, fmt->pad, &fmt->format, fmt->which); in vfe_set_format() 1092 fmt->which); in vfe_set_format() 1096 fmt->which); in vfe_set_format() [all …]
|
/openbmc/linux/drivers/usb/gadget/function/ |
H A D | storage_common.h | 18 #define VLDBG(lun, fmt, args...) do { } while (0) argument 21 #define _LMSG(func, lun, fmt, args...) \ argument 24 func("%s/%s: " fmt, *(lun)->name_pfx, \ 27 func("%s: " fmt, (lun)->name, ## args); \ 30 #define LDBG(lun, fmt, args...) _LMSG(pr_debug, lun, fmt, ## args) argument 31 #define LERROR(lun, fmt, args...) _LMSG(pr_err, lun, fmt, ## args) argument 32 #define LWARN(lun, fmt, args...) _LMSG(pr_warn, lun, fmt, ## args) argument 33 #define LINFO(lun, fmt, args...) _LMSG(pr_info, lun, fmt, ## args) argument
|
/openbmc/linux/drivers/media/pci/cx23885/ |
H A D | cx23885-vbi.c | 23 #define dprintk(level, fmt, arg...)\ argument 25 printk(KERN_DEBUG pr_fmt("%s: vbi:" fmt), \ 41 f->fmt.vbi.sampling_rate = 27000000; in cx23885_vbi_fmt() 42 f->fmt.vbi.samples_per_line = VBI_LINE_LENGTH; in cx23885_vbi_fmt() 43 f->fmt.vbi.sample_format = V4L2_PIX_FMT_GREY; in cx23885_vbi_fmt() 44 f->fmt.vbi.offset = 0; in cx23885_vbi_fmt() 45 f->fmt.vbi.flags = 0; in cx23885_vbi_fmt() 50 f->fmt.vbi.count[0] = VBI_NTSC_LINE_COUNT; in cx23885_vbi_fmt() 51 f->fmt.vbi.count[1] = VBI_NTSC_LINE_COUNT; in cx23885_vbi_fmt() 56 f->fmt.vbi.count[0] = VBI_PAL_LINE_COUNT; in cx23885_vbi_fmt() [all …]
|
/openbmc/linux/drivers/media/pci/cx88/ |
H A D | cx88-vbi.c | 15 #define dprintk(level, fmt, arg...) do { \ argument 17 printk(KERN_DEBUG pr_fmt("%s: vbi:" fmt), \ 30 f->fmt.vbi.offset = 244; in cx8800_vbi_fmt() 34 f->fmt.vbi.sampling_rate = 28636363; in cx8800_vbi_fmt() 35 f->fmt.vbi.start[0] = 10; in cx8800_vbi_fmt() 36 f->fmt.vbi.start[1] = 273; in cx8800_vbi_fmt() 37 f->fmt.vbi.count[0] = VBI_LINE_NTSC_COUNT; in cx8800_vbi_fmt() 38 f->fmt.vbi.count[1] = VBI_LINE_NTSC_COUNT; in cx8800_vbi_fmt() 42 f->fmt.vbi.sampling_rate = 35468950; in cx8800_vbi_fmt() 45 f->fmt.vbi.count[0] = VBI_LINE_PAL_COUNT; in cx8800_vbi_fmt() [all …]
|
/openbmc/linux/include/linux/ |
H A D | suspend.h | 575 #define pr_fmt(fmt) "PM: " fmt argument 577 #define __pm_pr_dbg(fmt, ...) \ argument 582 pr_debug(fmt, ##__VA_ARGS__); \ 584 #define __pm_deferred_pr_dbg(fmt, ...) \ argument 595 #define __pm_pr_dbg(fmt, ...) \ argument 596 no_printk(KERN_DEBUG pr_fmt(fmt), ##__VA_ARGS__) 597 #define __pm_deferred_pr_dbg(fmt, ...) \ argument 612 #define pm_pr_dbg(fmt, ...) \ argument 613 __pm_pr_dbg(fmt, ##__VA_ARGS__) 615 #define pm_deferred_pr_dbg(fmt, ...) \ argument [all …]
|
/openbmc/linux/samples/bpf/ |
H A D | sock_flags.bpf.c | 9 char fmt[] = "socket: family %d type %d protocol %d\n"; in bpf_prog1() local 15 bpf_trace_printk(fmt, sizeof(fmt), sk->family, sk->type, sk->protocol); in bpf_prog1() 32 char fmt[] = "socket: family %d type %d protocol %d\n"; in bpf_prog2() local 34 bpf_trace_printk(fmt, sizeof(fmt), sk->family, sk->type, sk->protocol); in bpf_prog2()
|
/openbmc/linux/drivers/media/platform/samsung/s5p-g2d/ |
H A D | g2d.c | 66 .fmt = &formats[0], 324 f->fmt.pix.pixelformat = frm->fmt->fourcc; in vidioc_g_fmt() 325 f->fmt.pix.bytesperline = (frm->width * frm->fmt->depth) >> 3; in vidioc_g_fmt() 332 struct g2d_fmt *fmt; in vidioc_try_fmt() local 335 fmt = find_fmt(f); in vidioc_try_fmt() 336 if (!fmt) in vidioc_try_fmt() 355 f->fmt.pix.bytesperline = (f->fmt.pix.width * fmt->depth) >> 3; in vidioc_try_fmt() 356 f->fmt.pix.sizeimage = f->fmt.pix.height * f->fmt.pix.bytesperline; in vidioc_try_fmt() 382 fmt = find_fmt(f); in vidioc_s_fmt() 383 if (!fmt) in vidioc_s_fmt() [all …]
|
/openbmc/linux/tools/perf/ |
H A D | builtin-c2c.c | 441 struct perf_hpp_fmt fmt; member 467 c2c_fmt = container_of(fmt, struct c2c_fmt, fmt); in c2c_width() 486 c2c_fmt = container_of(fmt, struct c2c_fmt, fmt); in c2c_header() 1891 c2c_fmt = container_of(fmt, struct c2c_fmt, fmt); in fmt_free() 1920 struct c2c_fmt *c2c_fmt = container_of(fmt, struct c2c_fmt, fmt); in c2c_se_entry() 1937 struct c2c_fmt *c2c_fmt = container_of(fmt, struct c2c_fmt, fmt); in c2c_se_cmp() 1946 struct c2c_fmt *c2c_fmt = container_of(fmt, struct c2c_fmt, fmt); in c2c_se_collapse() 1969 fmt = &c2c_fmt->fmt; in get_format() 1978 fmt->width = c2c_width; in get_format() 1980 fmt->equal = fmt_equal; in get_format() [all …]
|
/openbmc/linux/drivers/media/pci/saa7134/ |
H A D | saa7134-empress.c | 102 struct v4l2_subdev_format fmt = { in empress_g_fmt_vid_cap() local 105 struct v4l2_mbus_framefmt *mbus_fmt = &fmt.format; in empress_g_fmt_vid_cap() 107 saa_call_all(dev, pad, get_fmt, NULL, &fmt); in empress_g_fmt_vid_cap() 109 v4l2_fill_pix_format(&f->fmt.pix, mbus_fmt); in empress_g_fmt_vid_cap() 110 f->fmt.pix.pixelformat = V4L2_PIX_FMT_MPEG; in empress_g_fmt_vid_cap() 112 f->fmt.pix.bytesperline = 0; in empress_g_fmt_vid_cap() 127 v4l2_fill_pix_format(&f->fmt.pix, &format.format); in empress_s_fmt_vid_cap() 129 f->fmt.pix.pixelformat = V4L2_PIX_FMT_MPEG; in empress_s_fmt_vid_cap() 131 f->fmt.pix.bytesperline = 0; in empress_s_fmt_vid_cap() 152 f->fmt.pix.pixelformat = V4L2_PIX_FMT_MPEG; in empress_try_fmt_vid_cap() [all …]
|
H A D | saa7134-video.c | 1022 memset(&f->fmt.vbi.reserved, 0, sizeof(f->fmt.vbi.reserved)); in saa7134_try_get_set_fmt_vbi_cap() 1030 f->fmt.vbi.count[1] = f->fmt.vbi.count[0]; in saa7134_try_get_set_fmt_vbi_cap() 1044 f->fmt.pix.pixelformat = dev->fmt->fourcc; in saa7134_g_fmt_vid_cap() 1046 f->fmt.pix.bytesperline = f->fmt.pix.width; in saa7134_g_fmt_vid_cap() 1049 (f->fmt.pix.width * dev->fmt->depth) / 8; in saa7134_g_fmt_vid_cap() 1051 (f->fmt.pix.height * f->fmt.pix.width * dev->fmt->depth) / 8; in saa7134_g_fmt_vid_cap() 1064 fmt = format_by_fourcc(f->fmt.pix.pixelformat); in saa7134_try_fmt_vid_cap() 1098 f->fmt.pix.bytesperline = f->fmt.pix.width; in saa7134_try_fmt_vid_cap() 1101 (f->fmt.pix.width * fmt->depth) / 8; in saa7134_try_fmt_vid_cap() 1103 (f->fmt.pix.height * f->fmt.pix.width * fmt->depth) / 8; in saa7134_try_fmt_vid_cap() [all …]
|
/openbmc/linux/tools/testing/selftests/kvm/include/ |
H A D | test_util.h | 36 void print_skip(const char *fmt, ...) __attribute__((format(printf, 1, 2))); 37 #define __TEST_REQUIRE(f, fmt, ...) \ argument 40 ksft_exit_skip("- " fmt "\n", ##__VA_ARGS__); \ 50 const char *file, unsigned int line, const char *fmt, ...) 53 #define TEST_ASSERT(e, fmt, ...) \ argument 54 test_assert((e), #e, __FILE__, __LINE__, fmt, ##__VA_ARGS__) 74 #define TEST_FAIL(fmt, ...) do { \ argument 75 TEST_ASSERT(false, fmt, ##__VA_ARGS__); \ 188 int guest_vsnprintf(char *buf, int n, const char *fmt, va_list args); 189 int guest_snprintf(char *buf, int n, const char *fmt, ...); [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/include/nvkm/core/ |
H A D | falcon.h | 74 #define FLCN_PRINTK(f,l,p,fmt,a...) ({ \ argument 76 nvkm_printk___((f)->owner, (f)->user, NV_DBG_##l, p, "%s:"fmt, (f)->name, ##a); \ 78 nvkm_printk___((f)->owner, (f)->user, NV_DBG_##l, p, fmt, ##a); \ 80 #define FLCN_DBG(f,fmt,a...) FLCN_PRINTK((f), DEBUG, info, " "fmt"\n", ##a) argument 81 #define FLCN_ERR(f,fmt,a...) FLCN_PRINTK((f), ERROR, err, " "fmt"\n", ##a) argument 82 #define FLCN_ERRON(f,c,fmt,a...) \ argument 83 ({ bool _cond = (c); _cond ? FLCN_ERR(f, fmt, ##a) : FLCN_DBG(f, fmt, ##a); _cond; }) 161 #define FLCNFW_PRINTK(f,l,p,fmt,a...) FLCN_PRINTK((f)->falcon, l, p, "%s: "fmt, (f)->fw.name, ##a) argument 162 #define FLCNFW_DBG(f,fmt,a...) FLCNFW_PRINTK((f), DEBUG, info, fmt"\n", ##a) argument 163 #define FLCNFW_ERR(f,fmt,a...) FLCNFW_PRINTK((f), ERROR, err, fmt"\n", ##a) argument
|
/openbmc/linux/drivers/media/usb/stk1160/ |
H A D | stk1160-v4l.c | 361 f->fmt.pix.width = dev->width; in vidioc_g_fmt_vid_cap() 362 f->fmt.pix.height = dev->height; in vidioc_g_fmt_vid_cap() 364 f->fmt.pix.pixelformat = dev->fmt->fourcc; in vidioc_g_fmt_vid_cap() 366 f->fmt.pix.sizeimage = dev->height * f->fmt.pix.bytesperline; in vidioc_g_fmt_vid_cap() 395 f->fmt.pix.width = base_width; in stk1160_try_fmt() 455 f->fmt.pix.pixelformat = dev->fmt->fourcc; in stk1160_try_fmt() 457 f->fmt.pix.bytesperline = f->fmt.pix.width * 2; in stk1160_try_fmt() 458 f->fmt.pix.sizeimage = f->fmt.pix.height * f->fmt.pix.bytesperline; in stk1160_try_fmt() 471 f->fmt.pix.width, f->fmt.pix.height); in stk1160_try_fmt() 497 dev->width = f->fmt.pix.width; in vidioc_s_fmt_vid_cap() [all …]
|