/linux-master/drivers/media/platform/renesas/ |
H A D | rcar_jpu.c | 48 #define JPU_JPEG_MAX_BYTES_PER_PIXEL 2 /* 16 bit precision format */ 83 /* Flags that indicate a format can be used for capture/output */ 220 * struct jpu_fmt - driver's internal format data 228 * @types: types of queue this format is applicable to 243 * @fmtinfo: driver-specific format of this queue 244 * @format: multiplanar format of this queue 249 struct v4l2_pix_format_mplane format; member in struct:jpu_q_data 775 dev_dbg(ctx->jpu->dev, "unknown format; set default format\ [all...] |
/linux-master/drivers/staging/media/imx/ |
H A D | imx-media-capture.c | 115 * pixel format. This should come from the driver using 146 * Find the pixel format, default to the first supported format if not 217 /* The compose rectangle is fixed to the source format. */ 223 * size. If the source format width is not burst size aligned, 364 dev_err(priv->dev, "failed to get src_sd format\n"); 368 cc_src = imx_media_find_ipu_format(fmt_src.format.code, 380 cc_src = imx_media_find_mbus_format(fmt_src.format.code, 402 cc = capture_find_format(fmt_src->format.code, pixfmt->pixelformat); 408 switch (fmt_src->format [all...] |
/linux-master/drivers/media/i2c/ |
H A D | ds90ub913.c | 406 struct v4l2_subdev_format *format) 412 if (format->which == V4L2_SUBDEV_FORMAT_ACTIVE && 416 /* Source format is fully defined by the sink format, so not settable */ 417 if (format->pad == UB913_PAD_SOURCE) 418 return v4l2_subdev_get_fmt(sd, state, format); 420 finfo = ub913_find_format(format->format.code); 423 format->format 404 ub913_set_fmt(struct v4l2_subdev *sd, struct v4l2_subdev_state *state, struct v4l2_subdev_format *format) argument [all...] |
H A D | mt9t112.c | 97 const struct mt9t112_format *format; member in struct:mt9t112_priv 103 * supported format 827 mt9t112_mcu_write(ret, client, VAR(26, 7), priv->format->fmt); 828 mt9t112_mcu_write(ret, client, VAR(26, 9), priv->format->order); 835 dev_dbg(&client->dev, "format : %d\n", priv->format->code); 852 * get color format 869 priv->format = mt9t112_cfmts + i; 911 return mt9t112_set_params(priv, rect, priv->format->code); 916 struct v4l2_subdev_format *format) 914 mt9t112_get_fmt(struct v4l2_subdev *sd, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_format *format) argument 955 mt9t112_set_fmt(struct v4l2_subdev *sd, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_format *format) argument [all...] |
H A D | imx214.c | 76 * Serialize control access, get/set format, get selection 570 struct v4l2_subdev_format *format) 575 format->format = *__imx214_get_pad_format(imx214, sd_state, 576 format->pad, 577 format->which); 600 struct v4l2_subdev_format *format) 609 __crop = __imx214_get_pad_crop(imx214, sd_state, format->pad, 610 format->which); 614 format 568 imx214_get_format(struct v4l2_subdev *sd, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_format *format) argument 598 imx214_set_format(struct v4l2_subdev *sd, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_format *format) argument [all...] |
H A D | imx415.c | 731 const struct v4l2_mbus_framefmt *format; local 741 format = v4l2_subdev_state_get_format(state, 0); 746 vmax = format->height + sensor->vblank->cur.val; 1014 const struct v4l2_mbus_framefmt *format; local 1016 format = v4l2_subdev_state_get_format(state, fse->pad); 1018 if (fse->index > 0 || fse->code != format->code) 1032 struct v4l2_mbus_framefmt *format; local 1034 format = v4l2_subdev_state_get_format(state, fmt->pad); 1036 format->width = fmt->format 1071 struct v4l2_subdev_format format = { local [all...] |
H A D | ov2680.c | 627 struct v4l2_subdev_format *format) 632 fmt = __ov2680_get_pad_format(sensor, sd_state, format->pad, 633 format->which); 636 format->format = *fmt; 644 struct v4l2_subdev_format *format) 652 crop = __ov2680_get_pad_crop(sensor, sd_state, format->pad, 653 format->which); 656 width = clamp_val(ALIGN(format->format 625 ov2680_get_fmt(struct v4l2_subdev *sd, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_format *format) argument 642 ov2680_set_fmt(struct v4l2_subdev *sd, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_format *format) argument 741 struct v4l2_mbus_framefmt *format; local [all...] |
H A D | max9286.c | 543 const struct v4l2_mbus_framefmt *format) 549 if (max9286_formats[i].code == format->code) { 559 * Video format setup: disable CSI output, set VC according to Link 797 const struct v4l2_mbus_framefmt *format; local 800 * Get the format from the first used sink pad, as all sink 803 format = &priv->fmt[__ffs(priv->bound_sources)]; 805 max9286_set_video_format(priv, format); 942 struct v4l2_subdev_format *format) 948 if (format->pad == MAX9286_SRC_PAD) 951 /* Validate the format 542 max9286_set_video_format(struct max9286_priv *priv, const struct v4l2_mbus_framefmt *format) argument 940 max9286_set_fmt(struct v4l2_subdev *sd, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_format *format) argument 972 max9286_get_fmt(struct v4l2_subdev *sd, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_format *format) argument 1035 struct v4l2_mbus_framefmt *format; local [all...] |
H A D | adv7183.c | 424 struct v4l2_subdev_format *format) 427 struct v4l2_mbus_framefmt *fmt = &format->format; 429 if (format->pad) 443 if (format->which == V4L2_SUBDEV_FORMAT_ACTIVE) 450 struct v4l2_subdev_format *format) 454 if (format->pad) 457 format->format = decoder->fmt; 599 fmt.format 422 adv7183_set_fmt(struct v4l2_subdev *sd, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_format *format) argument 448 adv7183_get_fmt(struct v4l2_subdev *sd, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_format *format) argument [all...] |
/linux-master/sound/soc/qcom/ |
H A D | storm.c | 24 snd_pcm_format_t format = params_format(params); local 29 bitwidth = snd_pcm_format_width(format);
|
/linux-master/tools/testing/selftests/ftrace/test.d/00basic/ |
H A D | ringbuffer_subbuf_size.tc | 25 sed -ne 's/^.*buf.*offset:\([0-9][0-9]*\).*/\1/p' events/ftrace/print/format
|
H A D | trace_marker.tc | 25 sed -ne 's/^.*buf.*offset:\([0-9][0-9]*\).*/\1/p' events/ftrace/print/format
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | test_progs.h | 179 #define PRINT_FAIL(format...) \ 183 fprintf(stdout, ##format); \ 186 #define _CHECK(condition, tag, duration, format...) ({ \ 192 fprintf(stdout, ##format); \ 212 #define CHECK(condition, tag, format...) \ 213 _CHECK(condition, tag, duration, format) 214 #define CHECK_ATTR(condition, tag, format...) \ 215 _CHECK(condition, tag, tattr.duration, format)
|
/linux-master/tools/tracing/rtla/ |
H A D | Makefile.rtla | 20 WOPTS := -O -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 \
|
/linux-master/tools/verification/rv/ |
H A D | Makefile.rv | 20 WOPTS := -O -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 \
|
/linux-master/drivers/gpu/drm/i915/display/ |
H A D | intel_sprite.c | 101 if (!fb->format->is_yuv) 149 if (fb->format->is_yuv && 185 unsigned int cpp = fb->format->cpp[0]; 277 switch (fb->format->format) { 321 MISSING_CASE(fb->format->format); 354 if (!fb->format->is_yuv) 478 unsigned int cpp = fb->format->cpp[0]; 514 unsigned int cpp = fb->format 1447 g4x_sprite_format_mod_supported(struct drm_plane *_plane, u32 format, u64 modifier) argument 1468 snb_sprite_format_mod_supported(struct drm_plane *_plane, u32 format, u64 modifier) argument 1494 vlv_sprite_format_mod_supported(struct drm_plane *_plane, u32 format, u64 modifier) argument [all...] |
/linux-master/include/drm/ |
H A D | drm_print.h | 201 * @fmt: format string 368 const char *format, ...); 372 enum drm_debug_category category, const char *format, ...); 380 * @fmt: printf() like format string. 392 * @fmt: printf() like format string. 435 * @fmt: printf() like format string. 445 * @fmt: printf() like format string. 455 * @fmt: printf() like format string. 531 void ___drm_dbg(struct _ddebug *desc, enum drm_debug_category category, const char *format, ...); 533 void __drm_err(const char *format, [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/inc/hw/ |
H A D | mem_input.h | 145 enum surface_pixel_format format, 159 enum surface_pixel_format format,
|
/linux-master/drivers/gpu/drm/rockchip/ |
H A D | rockchip_drm_vop.c | 117 * The format is S2.10 for the 3x3 part of the matrix, and S9.12 for the offsets. 250 static bool has_rb_swapped(uint32_t version, uint32_t format) argument 252 switch (format) { 271 static bool has_uv_swapped(uint32_t format) argument 273 switch (format) { 283 static bool is_fmt_10(uint32_t format) argument 285 switch (format) { 295 static enum vop_data_format vop_convert_format(uint32_t format) argument 297 switch (format) { 322 DRM_ERROR("unsupported format[ 327 vop_convert_afbc_format(uint32_t format) argument 796 rockchip_mod_supported(struct drm_plane *plane, u32 format, u64 modifier) argument 933 int format; local [all...] |
/linux-master/sound/pci/ |
H A D | sis7019.c | 503 u32 format, dma_addr, control, sso_eso, delta, reg; local 509 format = 0; 510 if (snd_pcm_format_width(runtime->format) == 8) 511 format |= SIS_PLAY_DMA_FORMAT_8BIT; 512 if (!snd_pcm_format_signed(runtime->format)) 513 format |= SIS_PLAY_DMA_FORMAT_UNSIGNED; 515 format |= SIS_PLAY_DMA_FORMAT_MONO; 542 writel(format, ctrl_base + SIS_PLAY_DMA_FORMAT_CSO); 702 u32 format, control, sso_eso, delta; local 709 buffer_size /= snd_pcm_format_size(runtime->format, 801 u32 format, dma_addr, control; local [all...] |
/linux-master/sound/soc/codecs/ |
H A D | twl4030.c | 1703 u8 mode, old_mode, format, old_format; local 1707 format = twl4030_read(component, TWL4030_REG_AUDIO_IF); 1713 ((format & TWL4030_AIF_FORMAT) == TWL4030_AIF_FORMAT_TDM)) 1767 format = old_format; 1768 format &= ~TWL4030_DATA_WIDTH; 1771 format |= TWL4030_DATA_WIDTH_16S_16W; 1774 format |= TWL4030_DATA_WIDTH_32S_24W; 1782 if (format != old_format || mode != old_mode) { 1790 twl4030_write(component, TWL4030_REG_AUDIO_IF, format); 1794 twl4030_write(component, TWL4030_REG_AUDIO_IF, format); 1845 u8 old_format, format; local 2042 u8 old_format, format; local [all...] |
/linux-master/drivers/media/usb/go7007/ |
H A D | go7007-fw.c | 10 * run-time are generated dynamically. Note that the format headers 447 CODE_ADD(c, go->format == V4L2_PIX_FMT_MPEG2 ? 0x7 : 0x4, 4); 449 CODE_ADD(c, go->format == V4L2_PIX_FMT_MPEG2 ? 0x7 : 0x4, 4); 458 if (go->format == V4L2_PIX_FMT_MPEG2) { 529 if (go->format == V4L2_PIX_FMT_MPEG1) { 579 CODE_ADD(c, go->format == V4L2_PIX_FMT_MPEG2 ? 20000 : 0x3ffff, 18); 581 CODE_ADD(c, go->format == V4L2_PIX_FMT_MPEG2 ? 112 : 20, 10); 589 if (go->format == V4L2_PIX_FMT_MPEG2) { 923 int lambda = (go->format == V4L2_PIX_FMT_MJPEG || go->dvd_mode) ? 926 int vbv_buffer = go->format [all...] |
/linux-master/drivers/media/platform/samsung/s3c-camif/ |
H A D | camif-core.c | 94 * s3c_camif_find_format() - lookup camif color format by fourcc or an index 193 struct v4l2_subdev_format format = { local 223 /* Get initial pixel format and set it at the camif sink pad */ 224 format.pad = 0; 225 ret = v4l2_subdev_call(sd, pad, get_fmt, NULL, &format); 230 format.pad = CAMIF_SD_PAD_SINK; 231 v4l2_subdev_call(&camif->subdev, pad, set_fmt, NULL, &format); 233 v4l2_info(sd, "Initial format from sensor: %dx%d, %#x\n", 234 format.format [all...] |
/linux-master/drivers/staging/media/tegra-video/ |
H A D | tegra20.c | 157 * Get the main input format (YUV/RGB...) and the YUV variant as values to 186 * Get the main output format (YUV/RGB...) and the YUV variant as values to 187 * be written into registers for the current VI output pixel format. 193 u32 output_fourcc = chan->format.pixelformat; 298 unsigned int stride = chan->format.bytesperline; 299 unsigned int height = chan->format.height; 303 switch (chan->format.pixelformat) { 320 if (chan->format.pixelformat == V4L2_PIX_FMT_YVU420) 453 u32 output_fourcc = chan->format.pixelformat; 454 int width = chan->format [all...] |
/linux-master/drivers/media/platform/rockchip/rkisp1/ |
H A D | rkisp1-resizer.c | 284 * format. 411 struct v4l2_mbus_framefmt *format) 423 rkisp1_rsz_get_yuv_mbus_info(format->code)) 424 src_fmt->code = format->code; 426 src_fmt->width = clamp_t(u32, format->width, 429 src_fmt->height = clamp_t(u32, format->height, 433 *format = *src_fmt; 473 struct v4l2_mbus_framefmt *format) 487 sink_fmt->code = format->code; 495 sink_fmt->width = clamp_t(u32, format 409 rkisp1_rsz_set_src_fmt(struct rkisp1_resizer *rsz, struct v4l2_subdev_state *sd_state, struct v4l2_mbus_framefmt *format) argument 471 rkisp1_rsz_set_sink_fmt(struct rkisp1_resizer *rsz, struct v4l2_subdev_state *sd_state, struct v4l2_mbus_framefmt *format) argument [all...] |