Home
last modified time | relevance | path

Searched full:format (Results 1 – 25 of 4151) sorted by relevance

12345678910>>...167

/linux/tools/power/cpupower/po/
H A Dfr.po73 #, c-format
80 #, c-format
87 #, c-format
92 #, c-format
97 #, c-format
102 #, c-format
107 #, c-format
112 #, c-format
117 #, c-format
124 #, c-format
[all …]
H A Dcs.po76 #, c-format
83 #, c-format
90 #, c-format
95 #, c-format
100 #, c-format
105 #, c-format
110 #, c-format
115 #, c-format
120 #, c-format
127 #, c-format
[all …]
H A Dpt.po71 #, c-format
78 #, c-format
85 #, c-format
90 #, c-format
95 #, c-format
100 #, c-format
105 #, c-format
110 #, c-format
115 #, c-format
122 #, c-format
[all …]
H A Dit.po73 #, c-format
80 #, c-format
87 #, c-format
92 #, c-format
97 #, c-format
102 #, c-format
107 #, c-format
112 #, c-format
117 #, c-format
124 #, c-format
[all …]
H A Dde.po73 #, c-format
82 #, c-format
91 #, c-format
96 #, c-format
101 #, c-format
106 #, c-format
111 #, c-format
117 #, c-format
123 #, c-format
132 #, c-format
[all …]
H A Dka.po75 #, c-format
84 #, c-format
93 #, c-format
98 #, c-format
103 #, c-format
109 #, c-format
114 #, c-format
121 #, c-format
128 #, c-format
137 #, c-format
[all …]
/linux/drivers/media/platform/xilinx/
H A Dxilinx-vip.c48 * xvip_get_format_by_code - Retrieve format information for a media bus code
49 * @code: the format media bus code
51 * Return: a pointer to the format information structure corresponding to the
52 * given V4L2 media bus format @code, or ERR_PTR if no corresponding format can
60 const struct xvip_video_format *format = &xvip_video_formats[i]; in xvip_get_format_by_code() local
62 if (format->code == code) in xvip_get_format_by_code()
63 return format; in xvip_get_format_by_code()
71 * xvip_get_format_by_fourcc - Retrieve format information for a 4CC
72 * @fourcc: the format 4CC
74 * Return: a pointer to the format information structure corresponding to the
[all …]
/linux/sound/core/
H A Dpcm_misc.c45 static bool valid_format(snd_pcm_format_t format) in valid_format() argument
47 return (INT)format >= 0 && (INT)format <= (INT)SNDRV_PCM_FORMAT_LAST; in valid_format()
194 /* FIXME: the following format is not defined properly yet */
258 * snd_pcm_format_signed - Check the PCM format is signed linear
259 * @format: the format to check
261 * Return: 1 if the given PCM format is signed linear, 0 if unsigned
264 int snd_pcm_format_signed(snd_pcm_format_t format) in snd_pcm_format_signed() argument
267 if (!valid_format(format)) in snd_pcm_format_signed()
269 val = pcm_formats[(INT)format].signd; in snd_pcm_format_signed()
277 * snd_pcm_format_unsigned - Check the PCM format is unsigned linear
[all …]
/linux/Documentation/userspace-api/media/v4l/
H A Dpixfmt-reserved.rst6 Reserved Format Identifiers
11 register your own format, send an e-mail to the linux-media mailing list
14 format with other developers add a link to your documentation and send a
16 you think your format should be listed in a standard format section
45 - Compressed format of the ET61X251 driver.
50 - 8 bit RGB format used by the BTTV driver.
55 - YUV format used by the gspca cpia1 driver.
60 - JPEG-Light format (Pegasus Lossless JPEG) used in Divio webcams NW
81 - Compressed GBRG Bayer format used by the gspca driver.
86 - Compressed BGGR Bayer format used by the gspca driver.
[all …]
H A Dvidioc-subdev-g-fmt.rst13 VIDIOC_SUBDEV_G_FMT - VIDIOC_SUBDEV_S_FMT - Get or set the data format on a subdev pad
38 These ioctls are used to negotiate the frame format at specific subdev
41 To retrieve the current format applications set the ``pad`` field of a
46 driver fills the members of the ``format`` field.
48 To change the current format applications set both the ``pad`` and
49 ``which`` fields and all members of the ``format`` field. When they call
51 driver verifies the requested format, adjusts it based on the hardware
54 format as would be returned by a ``VIDIOC_SUBDEV_G_FMT`` call.
62 For instance, to try a format at the output pad of a sub-device,
63 applications would first set the try format at the sub-device input with
[all …]
/linux/drivers/gpu/drm/imx/dcss/
H A Ddcss-plane.c71 u32 format, in dcss_plane_format_mod_supported() argument
76 switch (format) { in dcss_plane_format_mod_supported()
104 static bool dcss_plane_can_rotate(const struct drm_format_info *format, in dcss_plane_can_rotate() argument
111 if (!format->is_yuv && linear_format) in dcss_plane_can_rotate()
114 else if (!format->is_yuv && in dcss_plane_can_rotate()
119 else if (format->is_yuv && linear_format && in dcss_plane_can_rotate()
120 (format->format == DRM_FORMAT_NV12 || in dcss_plane_can_rotate()
121 format->format == DRM_FORMAT_NV21)) in dcss_plane_can_rotate()
170 fb->format->format)) { in dcss_plane_atomic_check()
187 if (!dcss_plane_can_rotate(fb->format, in dcss_plane_atomic_check()
[all …]
/linux/drivers/media/pci/intel/ipu6/
H A Dipu6-isys-subdev.c142 struct v4l2_subdev_format *format) in ipu6_isys_subdev_set_fmt() argument
153 if ((sd->entity.pads[format->pad].flags & MEDIA_PAD_FL_SOURCE) && in ipu6_isys_subdev_set_fmt()
155 return v4l2_subdev_get_fmt(sd, state, format); in ipu6_isys_subdev_set_fmt()
157 format->format.width = clamp(format->format.width, IPU6_ISYS_MIN_WIDTH, in ipu6_isys_subdev_set_fmt()
159 format->format.height = clamp(format->format.height, in ipu6_isys_subdev_set_fmt()
164 if (asd->supported_codes[i] == format->format.code) { in ipu6_isys_subdev_set_fmt()
169 format->format.code = code; in ipu6_isys_subdev_set_fmt()
170 format->format.field = V4L2_FIELD_NONE; in ipu6_isys_subdev_set_fmt()
172 /* Store the format and propagate it to the source pad. */ in ipu6_isys_subdev_set_fmt()
173 fmt = v4l2_subdev_state_get_format(state, format->pad, format->stream); in ipu6_isys_subdev_set_fmt()
[all …]
/linux/drivers/gpu/drm/tegra/
H A Dplane.c64 copy->format = state->format; in tegra_plane_atomic_duplicate_state()
108 uint32_t format, in tegra_plane_format_mod_supported() argument
111 const struct drm_format_info *info = drm_format_info(format); in tegra_plane_format_mod_supported()
145 for (i = 0; i < state->base.fb->format->num_planes; i++) { in tegra_dc_pin()
193 for (i = 0; i < state->base.fb->format->num_planes; i++) { in tegra_dc_unpin()
246 fmt = state->fb->format; in tegra_plane_calculate_memory_bandwidth()
250 * Note that real memory bandwidth vary depending on format and in tegra_plane_calculate_memory_bandwidth()
326 int tegra_plane_format(u32 fourcc, u32 *format, u32 *swap) in tegra_plane_format() argument
334 *format = WIN_COLOR_DEPTH_B4G4R4A4; in tegra_plane_format()
338 *format = WIN_COLOR_DEPTH_B5G5R5A1; in tegra_plane_format()
[all …]
/linux/drivers/media/test-drivers/vimc/
H A Dvimc-scaler.c110 /* We don't support bayer format */ in vimc_scaler_enum_mbus_code()
128 /* Only accept code in the pix map table in non bayer format */ in vimc_scaler_enum_frame_size()
144 struct v4l2_subdev_format *format) in vimc_scaler_set_fmt() argument
149 /* Do not change the active format while stream is on */ in vimc_scaler_set_fmt()
150 if (format->which == V4L2_SUBDEV_FORMAT_ACTIVE && vscaler->src_frame) in vimc_scaler_set_fmt()
153 fmt = v4l2_subdev_state_get_format(sd_state, format->pad); in vimc_scaler_set_fmt()
159 if (format->pad == VIMC_SCALER_SINK) { in vimc_scaler_set_fmt()
162 /* Only accept code in the pix map table in non bayer format. */ in vimc_scaler_set_fmt()
163 vpix = vimc_pix_map_by_code(format->format.code); in vimc_scaler_set_fmt()
165 fmt->code = format->format.code; in vimc_scaler_set_fmt()
[all …]
/linux/net/bluetooth/
H A Dlib.c244 * @format: Message's format string
246 void bt_info(const char *format, ...) in bt_info() argument
251 va_start(args, format); in bt_info()
253 vaf.fmt = format; in bt_info()
264 * @format: Message's format string
266 void bt_warn(const char *format, ...) in bt_warn() argument
271 va_start(args, format); in bt_warn()
273 vaf.fmt = format; in bt_warn()
284 * @format: Message's format string
286 void bt_err(const char *format, ...) in bt_err() argument
[all …]
/linux/include/net/
H A Dnet_debug.h12 const char *format, ...);
14 void netdev_emerg(const struct net_device *dev, const char *format, ...);
16 void netdev_alert(const struct net_device *dev, const char *format, ...);
18 void netdev_crit(const struct net_device *dev, const char *format, ...);
20 void netdev_err(const struct net_device *dev, const char *format, ...);
22 void netdev_warn(const struct net_device *dev, const char *format, ...);
24 void netdev_notice(const struct net_device *dev, const char *format, ...);
26 void netdev_info(const struct net_device *dev, const char *format, ...);
55 #define netdev_dbg(__dev, format, args...) \ argument
57 dynamic_netdev_dbg(__dev, format, ##args); \
[all …]
/linux/sound/core/oss/
H A Dpcm_plugin.c51 struct snd_pcm_plugin_format *format; in snd_pcm_plugin_alloc() local
58 format = &plugin->src_format; in snd_pcm_plugin_alloc()
60 format = &plugin->dst_format; in snd_pcm_plugin_alloc()
62 width = snd_pcm_format_physical_width(format->format); in snd_pcm_plugin_alloc()
65 size = array3_size(frames, format->channels, width); in snd_pcm_plugin_alloc()
83 for (channel = 0; channel < format->channels; channel++, c++) { in snd_pcm_plugin_alloc()
89 c->area.step = format->channels * width; in snd_pcm_plugin_alloc()
92 if (snd_BUG_ON(size % format->channels)) in snd_pcm_plugin_alloc()
94 size /= format->channels; in snd_pcm_plugin_alloc()
95 for (channel = 0; channel < format->channels; channel++, c++) { in snd_pcm_plugin_alloc()
[all …]
/linux/drivers/acpi/acpica/
H A Dutxferror.c27 * format - Printf format string + additional args
35 acpi_error(const char *module_name, u32 line_number, const char *format, ...) in acpi_error() argument
42 va_start(arg_list, format); in acpi_error()
43 acpi_os_vprintf(format, arg_list); in acpi_error()
59 * format - Printf format string + additional args in ACPI_EXPORT_SYMBOL()
69 u32 line_number, acpi_status status, const char *format, ...) in ACPI_EXPORT_SYMBOL()
85 va_start(arg_list, format); in ACPI_EXPORT_SYMBOL()
86 acpi_os_vprintf(format, arg_list); in ACPI_EXPORT_SYMBOL()
101 * format - Printf format string + additional args in ACPI_EXPORT_SYMBOL()
109 acpi_warning(const char *module_name, u32 line_number, const char *format, ...) in ACPI_EXPORT_SYMBOL()
[all …]
H A Dutprint.c309 * format - Standard printf format
318 int vsnprintf(char *string, acpi_size size, const char *format, va_list args) in vsnprintf() argument
339 for (; *format; ++format) { in vsnprintf()
340 if (*format != '%') { in vsnprintf()
341 pos = acpi_ut_bound_string_output(pos, end, *format); in vsnprintf()
351 ++format; in vsnprintf()
352 if (*format == '#') { in vsnprintf()
354 } else if (*format == '0') { in vsnprintf()
356 } else if (*format == '+') { in vsnprintf()
358 } else if (*format == ' ') { in vsnprintf()
[all …]
/linux/scripts/gdb/linux/
H A Dtimerlist.py38 text = " #{}: <{}>, {}, ".format(idx, timer, function)
39 text += "S:{:02x}\n".format(int(timer['state']))
40 text += " # expires at {}-{} nsecs [in {} to {} nsecs]\n".format(
55 text = " .base: {}\n".format(base.address)
56 text += " .index: {}\n".format(base['index'])
58 text += " .resolution: {} nsecs\n".format(constants.LX_hrtimer_resolution)
60 text += " .get_time: {}\n".format(base['get_time'])
62 text += " .offset: {} nsecs\n".format(base['offset'])
74 text = "cpu: {}\n".format(cpu)
76 text += " clock {}:\n".format(i)
[all …]
/linux/drivers/gpu/drm/omapdrm/
H A Domap_fb.c55 const struct drm_format_info *format; member
86 const struct drm_format_info *format, int n, int x, int y) in get_linear_addr() argument
93 + (x * format->cpp[n] / (n == 0 ? 1 : format->hsub)) in get_linear_addr()
94 + (y * fb->pitches[n] / (n == 0 ? 1 : format->vsub)); in get_linear_addr()
142 const struct drm_format_info *format = omap_fb->format; in omap_framebuffer_update_scanout() local
145 info->fourcc = fb->format->format; in omap_framebuffer_update_scanout()
173 if (fb->format->format == DRM_FORMAT_UYVY || in omap_framebuffer_update_scanout()
174 fb->format->format == DRM_FORMAT_YUYV) { in omap_framebuffer_update_scanout()
206 info->paddr = get_linear_addr(fb, format, 0, x, y); in omap_framebuffer_update_scanout()
213 info->screen_width /= format->cpp[0]; in omap_framebuffer_update_scanout()
[all …]
/linux/drivers/gpu/drm/vmwgfx/
H A Dvmw_surface_cache.h48 * given format.
51 vmw_surface_get_desc(SVGA3dSurfaceFormat format) in vmw_surface_get_desc() argument
53 if (format < ARRAY_SIZE(g_SVGA3dSurfaceDescs)) in vmw_surface_get_desc()
54 return &g_SVGA3dSurfaceDescs[format]; in vmw_surface_get_desc()
150 vmw_surface_get_serialized_size(SVGA3dSurfaceFormat format, in vmw_surface_get_serialized_size() argument
155 const SVGA3dSurfaceDesc *desc = vmw_surface_get_desc(format); in vmw_surface_get_serialized_size()
174 vmw_surface_get_serialized_size_extended(SVGA3dSurfaceFormat format, in vmw_surface_get_serialized_size_extended() argument
181 vmw_surface_get_serialized_size(format, in vmw_surface_get_serialized_size_extended()
198 vmw_surface_get_pixel_offset(SVGA3dSurfaceFormat format, in vmw_surface_get_pixel_offset() argument
202 const SVGA3dSurfaceDesc *desc = vmw_surface_get_desc(format); in vmw_surface_get_pixel_offset()
[all …]
/linux/sound/usb/
H A Dformat.c20 #include "format.h"
23 * parse the audio format type I descriptor
24 * and returns the corresponding pcm format
28 * @format: the format tag (wFormatTag)
29 * @fmt: the format type descriptor (v1/v2) or AudioStreaming descriptor (v3)
33 u64 format, void *_fmt) in parse_audio_format_i_type() argument
42 if (format >= 64) { in parse_audio_format_i_type()
44 "%u:%d: invalid format type 0x%llx is detected, processed as PCM\n", in parse_audio_format_i_type()
45 fp->iface, fp->altsetting, format); in parse_audio_format_i_type()
46 format = UAC_FORMAT_TYPE_I_PCM; in parse_audio_format_i_type()
[all …]
/linux/drivers/net/wireless/ath/ath6kl/
H A Dbmi.h55 * Request format:
57 * Response format: none
63 * Request format:
67 * Response format:
74 * Request format:
79 * Response format: none
85 * Request format:
89 * Response format:
96 * Request format:
99 * Response format: none
[all …]
/linux/drivers/gpu/drm/gud/
H A Dgud_pipe.c52 static size_t gud_xrgb8888_to_r124(u8 *dst, const struct drm_format_info *format, in gud_xrgb8888_to_r124() argument
57 unsigned int block_width = drm_format_info_block_width(format, 0); in gud_xrgb8888_to_r124()
65 WARN_ON_ONCE(format->char_per_block[0] != 1); in gud_xrgb8888_to_r124()
71 len = drm_format_info_min_pitch(format, 0, width) * height; in gud_xrgb8888_to_r124()
102 static size_t gud_xrgb8888_to_color(u8 *dst, const struct drm_format_info *format, in gud_xrgb8888_to_color() argument
106 unsigned int block_width = drm_format_info_block_width(format, 0); in gud_xrgb8888_to_color()
117 len = drm_format_info_min_pitch(format, 0, width) * drm_rect_height(rect); in gud_xrgb8888_to_color()
137 switch (format->format) { in gud_xrgb8888_to_color()
155 const struct drm_format_info *format, struct drm_rect *rect, in gud_prep_flush() argument
164 pitch = drm_format_info_min_pitch(format, 0, drm_rect_width(rect)); in gud_prep_flush()
[all …]

12345678910>>...167