/openbmc/linux/drivers/media/platform/samsung/exynos4-is/ |
H A D | fimc-isp.c | 10 #define pr_fmt(fmt) "%s:%d " fmt, __func__, __LINE__ argument 73 fmt = &fimc_isp_formats[i]; in fimc_isp_find_format() 75 return fmt; in fimc_isp_find_format() 77 return fmt; in fimc_isp_find_format() 79 def_fmt = fmt; in fimc_isp_find_format() 112 const struct fimc_fmt *fmt; in fimc_is_subdev_enum_mbus_code() local 115 if (!fmt) in fimc_is_subdev_enum_mbus_code() 211 *mf = fmt->format; in fimc_isp_subdev_set_fmt() 379 *format = fmt; in fimc_isp_subdev_open() 385 *format = fmt; in fimc_isp_subdev_open() [all …]
|
/openbmc/linux/drivers/s390/char/ |
H A D | tape_3590.c | 12 #define pr_fmt(fmt) KMSG_COMPONENT ": " fmt argument 1091 sense->fmt.f71.md[1], sense->fmt.f71.md[2]); in tape_3590_print_io_sim_msg_f1() 1100 sense->fmt.f71.md[1], sense->fmt.f71.md[2]); in tape_3590_print_io_sim_msg_f1() 1110 sense->fmt.f71.md[1], sense->fmt.f71.md[2]); in tape_3590_print_io_sim_msg_f1() 1191 sense->fmt.f71.md[1], sense->fmt.f71.md[2]); in tape_3590_print_dev_sim_msg_f2() 1200 sense->fmt.f71.md[1], sense->fmt.f71.md[2]); in tape_3590_print_dev_sim_msg_f2() 1209 sense->fmt.f71.md[1], sense->fmt.f71.md[2]); in tape_3590_print_dev_sim_msg_f2() 1222 sense->fmt.f71.md[1], sense->fmt.f71.md[2]); in tape_3590_print_dev_sim_msg_f2() 1265 sense->fmt.f70.emc, sense->fmt.f70.smc, in tape_3590_print_era_msg() 1266 sense->fmt.f70.refcode, sense->fmt.f70.mid, in tape_3590_print_era_msg() [all …]
|
/openbmc/linux/drivers/media/platform/mediatek/vcodec/decoder/ |
H A D | mtk_vcodec_dec.c | 29 if (fmt->fourcc == f->fmt.pix_mp.pixelformat) in mtk_vdec_find_format() 30 return fmt; in mtk_vdec_find_format() 273 frmsize = &fmt->frmsize; in vidioc_try_fmt() 335 if (!fmt) { in vidioc_try_fmt_vid_cap_mplane() 336 f->fmt.pix.pixelformat = in vidioc_try_fmt_vid_cap_mplane() 353 if (!fmt) { in vidioc_try_fmt_vid_out_mplane() 454 pix_mp = &f->fmt.pix_mp; in vidioc_vdec_s_fmt() 477 if (fmt == NULL) { in vidioc_vdec_s_fmt() 488 if (fmt == NULL) in vidioc_vdec_s_fmt() 491 q_data->fmt = fmt; in vidioc_vdec_s_fmt() [all …]
|
/openbmc/linux/drivers/media/usb/uvc/ |
H A D | uvc_v4l2.c | 228 fcc = (u8 *)&fmt->fmt.pix.pixelformat; in uvc_v4l2_try_format() 230 fmt->fmt.pix.pixelformat, in uvc_v4l2_try_format() 232 fmt->fmt.pix.width, fmt->fmt.pix.height); in uvc_v4l2_try_format() 254 rw = fmt->fmt.pix.width; in uvc_v4l2_try_format() 255 rh = fmt->fmt.pix.height; in uvc_v4l2_try_format() 275 fmt->fmt.pix.width, fmt->fmt.pix.height); in uvc_v4l2_try_format() 346 fmt->fmt.pix.width = frame->wWidth; in uvc_v4l2_try_format() 347 fmt->fmt.pix.height = frame->wHeight; in uvc_v4l2_try_format() 348 fmt->fmt.pix.field = V4L2_FIELD_NONE; in uvc_v4l2_try_format() 384 fmt->fmt.pix.width = frame->wWidth; in uvc_v4l2_get_format() [all …]
|
/openbmc/linux/drivers/gpu/drm/msm/disp/dpu1/ |
H A D | dpu_formats.c | 5 #define pr_fmt(fmt) "[drm:%s:%d] " fmt, __func__, __LINE__ argument 615 if (fmt->unpack_tight) in _dpu_format_get_media_color_ubwc() 643 layout->format = fmt; in _dpu_format_get_plane_sizes_ubwc() 721 layout->format = fmt; in _dpu_format_get_plane_sizes_linear() 790 if (!layout || !fmt) { in dpu_format_get_plane_sizes() 800 if (DPU_FORMAT_IS_UBWC(fmt) || DPU_FORMAT_IS_TILE(fmt)) in dpu_format_get_plane_sizes() 1041 fmt = &map[i]; in dpu_get_dpu_format_ext() 1046 if (fmt == NULL) in dpu_get_dpu_format_ext() 1055 return fmt; in dpu_get_dpu_format_ext() 1065 if (fmt) in dpu_get_msm_format() [all …]
|
H A D | dpu_plane.c | 8 #define pr_fmt(fmt) "[drm:%s:%d] " fmt, __func__, __LINE__ argument 205 if (!fmt || !pipe || !src_width || !fmt->bpp) { in _dpu_plane_calc_fill_level() 264 if (fmt && DPU_FORMAT_IS_LINEAR(fmt)) in _dpu_plane_set_qos_lut() 288 (fmt) ? fmt->base.pixel_format : 0, in _dpu_plane_set_qos_lut() 293 fmt ? (char *)&fmt->base.pixel_format : NULL, in _dpu_plane_set_qos_lut() 297 (fmt) ? fmt->base.pixel_format : 0, in _dpu_plane_set_qos_lut() 298 (fmt) ? fmt->fetch_mode : 0, in _dpu_plane_set_qos_lut() 304 fmt ? (char *)&fmt->base.pixel_format : NULL, in _dpu_plane_set_qos_lut() 305 fmt ? fmt->fetch_mode : -1, in _dpu_plane_set_qos_lut() 573 fmt); in _dpu_plane_setup_scaler() [all …]
|
/openbmc/linux/drivers/media/usb/dvb-usb-v2/ |
H A D | mxl111sf.h | 123 #define mxl_printk(kern, fmt, arg...) \ argument 126 #define mxl_info(fmt, arg...) \ argument 127 mxl_printk(KERN_INFO, fmt, ##arg) 130 #define mxl_debug(fmt, arg...) \ argument 132 mxl_printk(KERN_DEBUG, fmt, ##arg) 136 #define mxl_debug_adv(fmt, arg...) \ argument 138 mxl_printk(KERN_DEBUG, fmt, ##arg) 140 #define mxl_i2c(fmt, arg...) \ argument 142 mxl_printk(KERN_DEBUG, fmt, ##arg) 144 #define mxl_i2c_adv(fmt, arg...) \ argument [all …]
|
/openbmc/linux/drivers/mtd/ubi/ |
H A D | misc.c | 145 void ubi_msg(const struct ubi_device *ubi, const char *fmt, ...) in ubi_msg() argument 150 va_start(args, fmt); in ubi_msg() 152 vaf.fmt = fmt; in ubi_msg() 161 void ubi_warn(const struct ubi_device *ubi, const char *fmt, ...) in ubi_warn() argument 166 va_start(args, fmt); in ubi_warn() 168 vaf.fmt = fmt; in ubi_warn() 178 void ubi_err(const struct ubi_device *ubi, const char *fmt, ...) in ubi_err() argument 183 va_start(args, fmt); in ubi_err() 185 vaf.fmt = fmt; in ubi_err()
|
/openbmc/linux/drivers/staging/vc04_services/bcm2835-camera/ |
H A D | bcm2835-camera.c | 194 fmt = &formats[k]; in get_format() 195 if (fmt->fourcc == f->fmt.pix.pixelformat) in get_format() 196 return fmt; in get_format() 741 f->fmt.win.w.width, f->fmt.win.w.height, in vidioc_try_fmt_vid_overlay() 742 f->fmt.win.w.left, f->fmt.win.w.top); in vidioc_try_fmt_vid_overlay() 915 f->fmt.pix.pixelformat = dev->capture.fmt->fourcc; in vidioc_g_fmt_vid_cap() 951 f->fmt.pix.width, f->fmt.pix.height, f->fmt.pix.pixelformat); in vidioc_try_fmt_vid_cap() 956 f->fmt.pix.bytesperline = f->fmt.pix.width * mfmt->ybbp; in vidioc_try_fmt_vid_cap() 984 f->fmt.pix.sizeimage = ((f->fmt.pix.height + 15) & ~15) * in vidioc_try_fmt_vid_cap() 1001 f->fmt.pix.width, f->fmt.pix.height, f->fmt.pix.pixelformat); in vidioc_try_fmt_vid_cap() [all …]
|
/openbmc/linux/drivers/media/platform/verisilicon/ |
H A D | hantro_v4l2.c | 92 if (!fmt->match_depth && !fmt->postprocessed) in hantro_check_depth_match() 105 if (!fmt->match_depth) in hantro_check_depth_match() 170 const struct hantro_fmt *fmt; in vidioc_enum_framesizes() local 173 if (!fmt) { in vidioc_enum_framesizes() 221 fmt = &formats[i]; in vidioc_enum_fmt() 243 fmt = &formats[i]; in vidioc_enum_fmt() 299 const struct hantro_fmt *fmt; in hantro_try_fmt() local 313 if (!fmt) { in hantro_try_fmt() 320 vpu_fmt = fmt; in hantro_try_fmt() 330 vpu_fmt = fmt; in hantro_try_fmt() [all …]
|
/openbmc/linux/include/media/ |
H A D | v4l2-common.h | 28 (client)->addr, fmt , ## arg) 30 #define v4l_err(client, fmt, arg...) \ argument 33 #define v4l_warn(client, fmt, arg...) \ argument 36 #define v4l_info(client, fmt, arg...) \ argument 57 #define v4l2_printk(level, dev, fmt, arg...) \ argument 60 #define v4l2_err(dev, fmt, arg...) \ argument 61 v4l2_printk(KERN_ERR, dev, fmt , ## arg) 63 #define v4l2_warn(dev, fmt, arg...) \ argument 64 v4l2_printk(KERN_WARNING, dev, fmt , ## arg) 66 #define v4l2_info(dev, fmt, arg...) \ argument [all …]
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 079.out | 4 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=4294967296 preallocation=metadata 5 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=4294967296 preallocation=metadata 6 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=4294967296 preallocation=metadata 7 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=4294967296 preallocation=metadata 8 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=4294967296 preallocation=metadata 9 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=4294967296 preallocation=metadata 10 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=4294967296 preallocation=metadata 11 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=4294967296 preallocation=metadata 12 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=4294967296 preallocation=metadata
|
/openbmc/linux/drivers/media/platform/ti/cal/ |
H A D | cal-video.c | 131 *fmt = *mbus_fmt; in __subdev_get_format() 134 fmt->width, fmt->height, fmt->code); in __subdev_get_format() 149 *mbus_fmt = *fmt; in __subdev_set_format() 156 fmt->width, fmt->height, fmt->code); in __subdev_set_format() 180 f->fmt.pix.sizeimage = f->fmt.pix.height * in cal_calc_format_size() 185 f->fmt.pix.width, f->fmt.pix.height, in cal_calc_format_size() 186 f->fmt.pix.bytesperline, f->fmt.pix.sizeimage); in cal_calc_format_size() 209 f->fmt.pix.field = ctx->v_fmt.fmt.pix.field; in cal_legacy_try_fmt_vid_cap() 238 f->fmt.pix.width = ctx->v_fmt.fmt.pix.width; in cal_legacy_try_fmt_vid_cap() 239 f->fmt.pix.height = ctx->v_fmt.fmt.pix.height; in cal_legacy_try_fmt_vid_cap() [all …]
|
H A D | cal.h | 257 #define cal_dbg(level, cal, fmt, arg...) \ argument 262 #define cal_info(cal, fmt, arg...) \ argument 263 dev_info((cal)->dev, fmt, ##arg) 264 #define cal_err(cal, fmt, arg...) \ argument 265 dev_err((cal)->dev, fmt, ##arg) 267 #define ctx_dbg(level, ctx, fmt, arg...) \ argument 269 #define ctx_info(ctx, fmt, arg...) \ argument 271 #define ctx_err(ctx, fmt, arg...) \ argument 274 #define phy_dbg(level, phy, fmt, arg...) \ argument 276 #define phy_info(phy, fmt, arg...) \ argument [all …]
|
/openbmc/linux/drivers/media/pci/cx18/ |
H A D | cx18-ioctl.c | 58 struct v4l2_pix_format *pixfmt = &fmt->fmt.pix; in cx18_g_fmt_vid_cap() 81 struct v4l2_pix_format *pixfmt = &fmt->fmt.pix; in cx18_try_fmt_vid_cap() 136 w = fmt->fmt.pix.width; in cx18_s_fmt_vid_cap() 137 h = fmt->fmt.pix.height; in cx18_s_fmt_vid_cap() 140 s->pixelformat == fmt->fmt.pix.pixelformat) in cx18_s_fmt_vid_cap() 146 s->pixelformat = fmt->fmt.pix.pixelformat; in cx18_s_fmt_vid_cap() 147 s->vb_bytes_per_frame = fmt->fmt.pix.sizeimage; in cx18_s_fmt_vid_cap() 148 s->vb_bytes_per_line = fmt->fmt.pix.bytesperline; in cx18_s_fmt_vid_cap() 265 struct v4l2_vbi_format *vbifmt = &fmt->fmt.vbi; in cx18_g_fmt_vbi_cap() 284 struct v4l2_sliced_vbi_format *vbifmt = &fmt->fmt.sliced; in cx18_g_fmt_sliced_vbi_cap() [all …]
|
/openbmc/linux/include/linux/ |
H A D | sprintf.h | 10 __printf(2, 3) int sprintf(char *buf, const char * fmt, ...); 12 __printf(3, 4) int snprintf(char *buf, size_t size, const char *fmt, ...); 13 __printf(3, 0) int vsnprintf(char *buf, size_t size, const char *fmt, va_list args); 14 __printf(3, 4) int scnprintf(char *buf, size_t size, const char *fmt, ...); 15 __printf(3, 0) int vscnprintf(char *buf, size_t size, const char *fmt, va_list args); 16 __printf(2, 3) __malloc char *kasprintf(gfp_t gfp, const char *fmt, ...); 17 __printf(2, 0) __malloc char *kvasprintf(gfp_t gfp, const char *fmt, va_list args); 18 __printf(2, 0) const char *kvasprintf_const(gfp_t gfp, const char *fmt, va_list args);
|
/openbmc/linux/sound/soc/qcom/qdsp6/ |
H A D | q6asm.c | 1114 fmt->fmt_blk.fmt_blk_size = sizeof(*fmt) - sizeof(fmt->fmt_blk); in q6asm_media_format_block_multi_ch_pcm() 1118 fmt->is_signed = 1; in q6asm_media_format_block_multi_ch_pcm() 1160 fmt->fmt_blk.fmt_blk_size = sizeof(*fmt) - sizeof(fmt->fmt_blk); in q6asm_stream_media_format_block_flac() 1197 fmt->fmt_blk.fmt_blk_size = sizeof(*fmt) - sizeof(fmt->fmt_blk); in q6asm_stream_media_format_block_wma_v9() 1206 fmt->reserved = 0; in q6asm_stream_media_format_block_wma_v9() 1235 fmt->fmt_blk.fmt_blk_size = sizeof(*fmt) - sizeof(fmt->fmt_blk); in q6asm_stream_media_format_block_wma_v10() 1274 fmt->fmt_blk.fmt_blk_size = sizeof(*fmt) - sizeof(fmt->fmt_blk); in q6asm_stream_media_format_block_alac() 1285 fmt->pb = cfg->pb; in q6asm_stream_media_format_block_alac() 1286 fmt->mb = cfg->mb; in q6asm_stream_media_format_block_alac() 1287 fmt->kb = cfg->kb; in q6asm_stream_media_format_block_alac() [all …]
|
/openbmc/linux/drivers/scsi/bnx2fc/ |
H A D | bnx2fc_debug.h | 28 #define BNX2FC_ELS_DBG(fmt, ...) \ argument 31 pr_info(fmt, ##__VA_ARGS__); \ 34 #define BNX2FC_MISC_DBG(fmt, ...) \ argument 37 pr_info(fmt, ##__VA_ARGS__); \ 41 void BNX2FC_IO_DBG(const struct bnx2fc_cmd *io_req, const char *fmt, ...); 43 void BNX2FC_TGT_DBG(const struct bnx2fc_rport *tgt, const char *fmt, ...); 45 void BNX2FC_HBA_DBG(const struct fc_lport *lport, const char *fmt, ...);
|
/openbmc/linux/tools/perf/ui/stdio/ |
H A D | hist.c | 441 ret = fmt->color(fmt, hpp, he); in __hist_entry__snprintf() 443 ret = fmt->entry(fmt, hpp, he); in __hist_entry__snprintf() 491 ret = fmt->color(fmt, hpp, he); in hist_entry__hierarchy_fprintf() 493 ret = fmt->entry(fmt, hpp, he); in hist_entry__hierarchy_fprintf() 515 fmt->color(fmt, hpp, he); in hist_entry__hierarchy_fprintf() 517 fmt->entry(fmt, hpp, he); in hist_entry__hierarchy_fprintf() 654 fmt->header(fmt, hpp, hists, 0, NULL); in hists__fprintf_hierarchy_headers() 674 fmt->header(fmt, hpp, hists, 0, NULL); in hists__fprintf_hierarchy_headers() 695 width = fmt->width(fmt, hpp, hists); in hists__fprintf_hierarchy_headers() 712 width += fmt->width(fmt, hpp, hists); in hists__fprintf_hierarchy_headers() [all …]
|
/openbmc/linux/drivers/platform/surface/aggregator/ |
H A D | ssh_request_layer.h | 94 #define rtl_dbg(r, fmt, ...) ptl_dbg(&(r)->ptl, fmt, ##__VA_ARGS__) argument 95 #define rtl_info(p, fmt, ...) ptl_info(&(p)->ptl, fmt, ##__VA_ARGS__) argument 96 #define rtl_warn(r, fmt, ...) ptl_warn(&(r)->ptl, fmt, ##__VA_ARGS__) argument 97 #define rtl_err(r, fmt, ...) ptl_err(&(r)->ptl, fmt, ##__VA_ARGS__) argument 98 #define rtl_dbg_cond(r, fmt, ...) __ssam_prcond(rtl_dbg, r, fmt, ##__VA_ARGS__) argument
|
/openbmc/linux/drivers/media/common/saa7146/ |
H A D | saa7146_video.c | 1 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument 193 if (!fmt) in video_begin() 228 if (!fmt) in video_end() 369 fmt = saa7146_format_by_fourcc(dev, f->fmt.pix.pixelformat); in vidioc_try_fmt_vid_cap() 370 if (NULL == fmt) in vidioc_try_fmt_vid_cap() 396 f->fmt.pix.width = 48; in vidioc_try_fmt_vid_cap() 398 f->fmt.pix.height = 32; in vidioc_try_fmt_vid_cap() 404 calc_bpl = (f->fmt.pix.width * fmt->depth) / 8; in vidioc_try_fmt_vid_cap() 412 f->fmt.pix.sizeimage = f->fmt.pix.bytesperline * f->fmt.pix.height; in vidioc_try_fmt_vid_cap() 414 f->fmt.pix.width, f->fmt.pix.height, in vidioc_try_fmt_vid_cap() [all …]
|
/openbmc/linux/drivers/media/test-drivers/vimc/ |
H A D | vimc-sensor.c | 102 fmt->format = fmt->which == V4L2_SUBDEV_FORMAT_TRY ? in vimc_sensor_get_fmt() 134 fmt->code = fmt_default.code; in vimc_sensor_adjust_fmt() 136 fmt->width = clamp_t(u32, fmt->width, VIMC_FRAME_MIN_WIDTH, in vimc_sensor_adjust_fmt() 138 fmt->height = clamp_t(u32, fmt->height, VIMC_FRAME_MIN_HEIGHT, in vimc_sensor_adjust_fmt() 142 if (fmt->field == V4L2_FIELD_ANY || fmt->field == V4L2_FIELD_ALTERNATE) in vimc_sensor_adjust_fmt() 143 fmt->field = fmt_default.field; in vimc_sensor_adjust_fmt() 145 vimc_colorimetry_clamp(fmt); in vimc_sensor_adjust_fmt() 176 fmt->format.width, fmt->format.height, fmt->format.code, in vimc_sensor_set_fmt() 177 fmt->format.colorspace, fmt->format.quantization, in vimc_sensor_set_fmt() 178 fmt->format.xfer_func, fmt->format.ycbcr_enc); in vimc_sensor_set_fmt() [all …]
|
/openbmc/linux/tools/perf/ |
H A D | builtin-diff.c | 66 struct perf_hpp_fmt fmt; member 512 struct diff_hpp_fmt *dfmt = container_of(fmt, struct diff_hpp_fmt, fmt); in fmt_to_data_file() 1071 struct diff_hpp_fmt *fmt = &d->fmt[col]; in data__free() local 1327 container_of(fmt, struct diff_hpp_fmt, fmt); in hpp__color_baseline() 1401 container_of(fmt, struct diff_hpp_fmt, fmt); in __hpp__color_compare() 1520 container_of(fmt, struct diff_hpp_fmt, fmt); in hpp__color_cycles_hist() 1690 container_of(fmt, struct diff_hpp_fmt, fmt); in hpp__header() 1701 container_of(fmt, struct diff_hpp_fmt, fmt); in hpp__width() 1742 struct perf_hpp_fmt *fmt = &dfmt->fmt; in data__hpp_register() local 1844 fmt = zalloc(sizeof(*fmt)); in ui_init() [all …]
|
/openbmc/linux/tools/perf/util/ |
H A D | color.h | 38 const char *fmt, va_list args); 39 int color_vfprintf(FILE *fp, const char *color, const char *fmt, va_list args); 40 int color_fprintf(FILE *fp, const char *color, const char *fmt, ...); 41 int color_snprintf(char *bf, size_t size, const char *color, const char *fmt, ...); 43 int value_color_snprintf(char *bf, size_t size, const char *fmt, double value); 44 int percent_color_snprintf(char *bf, size_t size, const char *fmt, ...); 45 int percent_color_len_snprintf(char *bf, size_t size, const char *fmt, ...); 46 int percent_color_fprintf(FILE *fp, const char *fmt, double percent);
|
/openbmc/linux/tools/lib/ |
H A D | vsprintf.c | 6 int vscnprintf(char *buf, size_t size, const char *fmt, va_list args) in vscnprintf() argument 8 int i = vsnprintf(buf, size, fmt, args); in vscnprintf() 14 int scnprintf(char * buf, size_t size, const char * fmt, ...) in scnprintf() argument 20 va_start(args, fmt); in scnprintf() 21 i = vsnprintf(buf, size, fmt, args); in scnprintf() 27 int scnprintf_pad(char * buf, size_t size, const char * fmt, ...) in scnprintf_pad() argument 33 va_start(args, fmt); in scnprintf_pad() 34 i = vscnprintf(buf, size, fmt, args); in scnprintf_pad()
|