Searched refs:format (Results 401 - 425 of 1987) sorted by relevance

<<11121314151617181920>>

/linux-master/drivers/media/i2c/
H A Dtvp514x.c86 * @pix: Current pixel format
95 * @format: media bus frame format
120 struct v4l2_mbus_framefmt format; member in struct:tvp514x_decoder
881 * tvp514x_get_pad_format() - V4L2 decoder interface handler for get pad format
884 * @format: pointer to v4l2_subdev_format structure
886 * Retrieves pad format which is active or tried based on requirement
890 struct v4l2_subdev_format *format)
893 __u32 which = format->which;
895 if (format
888 tvp514x_get_pad_format(struct v4l2_subdev *sd, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_format *format) argument
[all...]
/linux-master/drivers/media/usb/dvb-usb/
H A Ddvb-usb.h55 #define err(format, arg...) printk(KERN_ERR DVB_USB_LOG_PREFIX ": " format "\n" , ## arg)
57 #define info(format, arg...) printk(KERN_INFO DVB_USB_LOG_PREFIX ": " format "\n" , ## arg)
59 #define warn(format, arg...) printk(KERN_WARNING DVB_USB_LOG_PREFIX ": " format "\n" , ## arg)
/linux-master/drivers/acpi/acpica/
H A Dutdebug.c123 * format - Printf format field
138 u32 component_id, const char *format, ...)
200 va_start(args, format);
201 acpi_os_vprintf(format, args);
216 * format - Printf format field
230 u32 component_id, const char *format, ...)
240 va_start(args, format);
241 acpi_os_vprintf(format, arg
134 acpi_debug_print(u32 requested_debug_level, u32 line_number, const char *function_name, const char *module_name, u32 component_id, const char *format, ...) argument
[all...]
/linux-master/sound/soc/codecs/
H A Dpcm1681.c36 #define PCM1681_FMT_CONTROL 0x09 /* Audio interface data format */
73 unsigned int format; member in struct:pcm1681_private
132 unsigned int format)
138 if ((format & SND_SOC_DAIFMT_CLOCK_PROVIDER_MASK) != SND_SOC_DAIFMT_CBC_CFC) {
143 priv->format = format;
172 switch (priv->format & SND_SOC_DAIFMT_FORMAT_MASK) {
192 dev_err(component->dev, "Invalid DAI format\n");
131 pcm1681_set_dai_fmt(struct snd_soc_dai *codec_dai, unsigned int format) argument
/linux-master/drivers/media/platform/broadcom/
H A Dbcm2835-unicam.c24 * repack Bayer data into an alternate format, and applying windowing. The
123 * struct unicam_format_info - Unicam media bus format information
124 * @fourcc: V4L2 pixel format FCC identifier. 0 if n/a.
125 * @unpacked_fourcc: V4L2 pixel format FCC identifier if the data is expanded
127 * @code: V4L2 media bus format code.
161 /* Used to store current pixel format */
1084 * VC 0 and use the DT corresponding to the format.
1316 struct v4l2_subdev_format *format)
1324 if (format->which == V4L2_SUBDEV_FORMAT_ACTIVE &&
1329 if (unicam_sd_pad_is_source(format
1314 unicam_subdev_set_format(struct v4l2_subdev *sd, struct v4l2_subdev_state *state, struct v4l2_subdev_format *format) argument
2117 const struct v4l2_mbus_framefmt *format; local
[all...]
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_display.c582 { .format = DRM_FORMAT_XRGB8888, .depth = 24, .num_planes = 2,
584 { .format = DRM_FORMAT_XBGR8888, .depth = 24, .num_planes = 2,
586 { .format = DRM_FORMAT_ARGB8888, .depth = 32, .num_planes = 2,
589 { .format = DRM_FORMAT_ABGR8888, .depth = 32, .num_planes = 2,
592 { .format = DRM_FORMAT_BGRA8888, .depth = 32, .num_planes = 2,
595 { .format = DRM_FORMAT_XRGB2101010, .depth = 30, .num_planes = 2,
597 { .format = DRM_FORMAT_XBGR2101010, .depth = 30, .num_planes = 2,
599 { .format = DRM_FORMAT_ARGB2101010, .depth = 30, .num_planes = 2,
602 { .format = DRM_FORMAT_ABGR2101010, .depth = 30, .num_planes = 2,
605 { .format
638 lookup_format_info(const struct drm_format_info formats[], int num_formats, u32 format) argument
652 amdgpu_lookup_format_info(u32 format, uint64_t modifier) argument
979 amdgpu_display_verify_plane(struct amdgpu_framebuffer *rfb, int plane, const struct drm_format_info *format, unsigned int block_width, unsigned int block_height, unsigned int block_size_log2) argument
[all...]
/linux-master/sound/oss/dmasound/
H A Ddmasound_q40.c48 static int Q40SetFormat(int format);
66 char *table = dmasound.soft.format == AFMT_MU_LAW ? dmasound_ulaw2dma8: dmasound_alaw2dma8;
123 (dmasound.soft.format == AFMT_MU_LAW ? dmasound_ulaw2dma8: dmasound_alaw2dma8);
233 (dmasound.soft.format == AFMT_MU_LAW ? dmasound_ulaw2dma8: dmasound_alaw2dma8);
545 static int Q40SetFormat(int format) argument
549 switch (format) {
551 return(dmasound.soft.format);
558 format = AFMT_S8;
561 dmasound.soft.format = format;
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx4/
H A Dmlx4_en.h829 const char *format, ...);
831 #define en_dbg(mlevel, priv, format, ...) \
834 en_print(KERN_DEBUG, priv, format, ##__VA_ARGS__); \
836 #define en_warn(priv, format, ...) \
837 en_print(KERN_WARNING, priv, format, ##__VA_ARGS__)
838 #define en_err(priv, format, ...) \
839 en_print(KERN_ERR, priv, format, ##__VA_ARGS__)
840 #define en_info(priv, format, ...) \
841 en_print(KERN_INFO, priv, format, ##__VA_ARGS__)
843 #define mlx4_err(mdev, format,
[all...]
/linux-master/drivers/infiniband/ulp/ipoib/
H A Dipoib.h509 const char *format);
510 int ipoib_intf_init(struct ib_device *hca, u32 port, const char *format,
798 #define ipoib_printk(level, priv, format, arg...) \
799 printk(level "%s: " format, ((struct ipoib_dev_priv *) priv)->dev->name , ## arg)
800 #define ipoib_warn(priv, format, arg...) \
806 ipoib_printk(KERN_WARNING, priv, format , ## arg);\
817 #define ipoib_dbg(priv, format, arg...) \
820 ipoib_printk(KERN_DEBUG, priv, format , ## arg); \
822 #define ipoib_dbg_mcast(priv, format, arg...) \
825 ipoib_printk(KERN_DEBUG, priv, format , ## ar
[all...]
/linux-master/drivers/media/platform/samsung/exynos4-is/
H A Dfimc-isp-video.c44 const struct fimc_fmt *fmt = isp->video_capture.format;
99 video->buf_count, video->format->memplanes,
157 if (video->format == NULL)
160 for (i = 0; i < video->format->memplanes; i++) {
201 unsigned int num_planes = video->format->memplanes;
430 dma->format = DMA_OUTPUT_FORMAT_BAYER;
439 isp->video_capture.format = ifmt;
446 * Check for source/sink format differences at each link.
463 /* Retrieve format at the sink pad */
472 /* Retrieve format a
[all...]
/linux-master/drivers/gpu/drm/amd/display/dc/dpp/dcn10/
H A Ddcn10_dpp_dscl.c105 static bool dpp1_dscl_is_video_format(enum pixel_format format) argument
107 if (format >= PIXEL_FORMAT_VIDEO_BEGIN
108 && format <= PIXEL_FORMAT_VIDEO_END)
114 static bool dpp1_dscl_is_420_format(enum pixel_format format) argument
116 if (format == PIXEL_FORMAT_420BPP8 ||
117 format == PIXEL_FORMAT_420BPP10)
131 /* DSCL is processing data in fixed format */
132 if (data->format == PIXEL_FORMAT_FP16)
143 if (!dpp1_dscl_is_420_format(data->format)) {
144 if (dpp1_dscl_is_video_format(data->format))
[all...]
/linux-master/drivers/media/platform/nxp/imx8-isi/
H A Dimx8-isi-m2m.c43 struct v4l2_pix_format_mplane format; member in struct:mxc_isi_m2m_ctx_queue_data
135 .width = ctx->queues.out.format.width,
136 .height = ctx->queues.out.format.height,
139 .width = ctx->queues.cap.format.width,
140 .height = ctx->queues.cap.format.height,
143 .width = ctx->queues.cap.format.width,
144 .height = ctx->queues.cap.format.height,
153 &ctx->queues.out.format);
156 &ctx->queues.cap.format);
201 return mxc_isi_video_queue_setup(&qdata->format, qdat
[all...]
/linux-master/drivers/staging/media/imx/
H A Dimx-ic-prp.c147 sdformat->format = *fmt;
177 v4l_bound_align_image(&sdformat->format.width, MIN_W, MAX_W,
178 W_ALIGN, &sdformat->format.height,
181 cc = imx_media_find_ipu_format(sdformat->format.code,
188 sdformat->format.code = cc->codes[0];
191 if (sdformat->format.field == V4L2_FIELD_ANY)
192 sdformat->format.field = V4L2_FIELD_NONE;
197 sdformat->format = *infmt;
201 imx_media_try_colorimetry(&sdformat->format, true);
204 *fmt = sdformat->format;
[all...]
/linux-master/drivers/media/platform/st/stm32/stm32-dcmipp/
H A Ddcmipp-parallel.c238 /* Set the new format */
239 dcmipp_par_adjust_fmt(par, &fmt->format, fmt->pad);
241 dev_dbg(par->dev, "%s: format update: old:%dx%d (0x%x, %d, %d, %d, %d) new:%dx%d (0x%x, %d, %d, %d, %d)\n",
248 fmt->format.width, fmt->format.height, fmt->format.code,
249 fmt->format.colorspace, fmt->format.quantization,
250 fmt->format.xfer_func, fmt->format
[all...]
/linux-master/drivers/media/test-drivers/vimc/
H A Dvimc-sensor.c30 /* The active format */
102 fmt->format = fmt->which == V4L2_SUBDEV_FORMAT_TRY ?
156 /* Do not change the format while stream is on */
165 /* Set the new format */
166 vimc_sensor_adjust_fmt(&fmt->format);
168 dev_dbg(vsensor->ved.dev, "%s: format update: "
176 fmt->format.width, fmt->format.height, fmt->format.code,
177 fmt->format
[all...]
H A Dvimc-debayer.c32 /* The active format */
222 /* Get the current sink format */
223 fmt->format = fmt->which == V4L2_SUBDEV_FORMAT_TRY ?
229 fmt->format.code = vdebayer->src_code;
263 /* Do not change the format while stream is on */
275 * Do not change the format of the source pad,
279 u32 code = fmt->format.code;
281 fmt->format = *sink_fmt;
286 fmt->format.code = *src_code;
288 /* Set the new format i
[all...]
/linux-master/sound/core/
H A Dsound_kunit.c15 .format = SNDRV_PCM_FORMAT_##fmt, .physical_bits = pbits, \
32 snd_pcm_format_t format; member in struct:snd_format_test_data
104 KUNIT_EXPECT_EQ(test, snd_pcm_format_physical_width(valid_fmt[i].format),
117 KUNIT_EXPECT_EQ(test, snd_pcm_format_width(valid_fmt[i].format),
130 KUNIT_EXPECT_EQ(test, snd_pcm_format_signed(valid_fmt[i].format),
132 KUNIT_EXPECT_EQ(test, snd_pcm_format_unsigned(valid_fmt[i].format),
145 KUNIT_EXPECT_EQ(test, snd_pcm_format_little_endian(valid_fmt[i].format),
147 KUNIT_EXPECT_EQ(test, snd_pcm_format_big_endian(valid_fmt[i].format),
163 KUNIT_ASSERT_EQ(test, snd_pcm_format_set_silence(data->format, buffer, samples_count), 0);
271 name = snd_pcm_format_name(valid_fmt[i].format);
[all...]
/linux-master/drivers/gpu/drm/radeon/
H A Dradeon_legacy_crtc.c387 int format; local
403 switch (target_fb->format->cpp[0] * 8) {
405 format = 2;
408 format = 3;
411 format = 4;
414 format = 5;
417 format = 6;
477 pitch_pixels = target_fb->pitches[0] / target_fb->format->cpp[0];
478 crtc_pitch = DIV_ROUND_UP(pitch_pixels * target_fb->format->cpp[0] * 8,
479 target_fb->format
580 int format; local
[all...]
/linux-master/drivers/gpu/drm/sun4i/
H A Dsun4i_backend.c98 static int sun4i_backend_drm_format_to_layer(u32 format, u32 *mode) argument
100 switch (format) {
198 const struct drm_format_info *format = fb->format; local
199 const uint32_t fmt = format->format;
217 if (drm_format_info_is_yuv_packed(format) &&
218 drm_format_info_is_yuv_sampling_422(format))
221 DRM_DEBUG_DRIVER("Unsupported YUV format (0x%x)\n", fmt);
271 if (fb->format
410 uint32_t format = state->fb->format->format; local
[all...]
/linux-master/drivers/media/pci/sta2x11/
H A Dsta2x11_vip.c94 * @format: pixel format, fixed UYVY
123 struct v4l2_pix_format format; member in struct:sta2x11_vip
218 if (vip->format.field == V4L2_FIELD_INTERLACED)
219 offset = vip->format.width * 2;
263 sizes[0] = vip->format.sizeimage;
289 size = vip->format.sizeimage;
441 vip->format = formats_60[0];
443 vip->format = formats_50[0];
543 * vidioc_enum_fmt_vid_cap - return video capture format
[all...]
/linux-master/include/sound/
H A Dump_msg.h545 u32 format:2; member in struct:snd_ump_stream_msg_ep_discovery
559 u32 format:2;
574 u32 format:2; member in struct:snd_ump_stream_msg_ep_info
592 u32 format:2;
611 u32 format:2; member in struct:snd_ump_stream_msg_devince_info
627 u32 format:2;
646 u32 format:2; member in struct:snd_ump_stream_msg_stream_cfg
659 u32 format:2;
671 u32 format:2; member in struct:snd_ump_stream_msg_fb_discovery
682 u32 format
694 u32 format:2; member in struct:snd_ump_stream_msg_fb_info
735 u16 format:2; member in struct:snd_ump_stream_msg_fb_name
[all...]
/linux-master/drivers/gpu/drm/tiny/
H A Dbochs.c356 static void bochs_hw_setformat(struct bochs_device *bochs, const struct drm_format_info *format) argument
363 DRM_DEBUG_DRIVER("format %c%c%c%c\n",
364 (format->format >> 0) & 0xff,
365 (format->format >> 8) & 0xff,
366 (format->format >> 16) & 0xff,
367 (format->format >> 2
[all...]
/linux-master/tools/testing/selftests/alsa/
H A Dpcm-test.c267 snd_pcm_format_t format, old_format; local
307 cs = conf_get_string(pcm_cfg, "format", NULL, "S16_LE");
308 format = snd_pcm_format_value(cs);
309 if (format == SND_PCM_FORMAT_UNKNOWN)
310 ksft_exit_fail_msg("Wrong format '%s'\n", cs);
318 samples = malloc((rate * channels * snd_pcm_format_physical_width(format)) / 8);
321 snd_pcm_format_set_silence(format, samples, rate * channels);
348 err = snd_pcm_hw_params_set_format(handle, hw_params, format);
352 old_format = format;
353 format
[all...]
/linux-master/drivers/gpu/drm/
H A Ddrm_panic.c156 * convert_from_xrgb8888 - convert one pixel from xrgb8888 to the desired format
157 * @color: input color, in xrgb8888 format
158 * @format: output format
161 * Color in the format specified, casted to u32.
162 * Or 0 if the format is not supported.
164 static u32 convert_from_xrgb8888(u32 color, u32 format) argument
166 switch (format) {
189 WARN_ONCE(1, "Can't convert to %p4cc\n", &format);
255 * @sbuf8: source buffer, in monochrome format,
460 drm_panic_is_format_supported(const struct drm_format_info *format) argument
[all...]
/linux-master/drivers/media/v4l2-core/
H A Dv4l2-subdev.c199 struct v4l2_subdev_format *format)
201 if (!format)
204 return check_which(format->which) ? : check_pad(sd, format->pad) ? :
205 check_state(sd, state, format->which, format->pad, format->stream);
210 struct v4l2_subdev_format *format)
212 return check_format(sd, state, format) ? :
213 sd->ops->pad->get_fmt(sd, state, format);
197 check_format(struct v4l2_subdev *sd, struct v4l2_subdev_state *state, struct v4l2_subdev_format *format) argument
208 call_get_fmt(struct v4l2_subdev *sd, struct v4l2_subdev_state *state, struct v4l2_subdev_format *format) argument
216 call_set_fmt(struct v4l2_subdev *sd, struct v4l2_subdev_state *state, struct v4l2_subdev_format *format) argument
735 struct v4l2_subdev_format *format = arg; local
746 struct v4l2_subdev_format *format = arg; local
1799 v4l2_subdev_get_fmt(struct v4l2_subdev *sd, struct v4l2_subdev_state *state, struct v4l2_subdev_format *format) argument
[all...]

Completed in 457 milliseconds

<<11121314151617181920>>