Searched refs:format (Results 101 - 125 of 1968) sorted by relevance

1234567891011>>

/linux-master/drivers/media/test-drivers/vimc/
H A Dvimc-scaler.c30 /* Frame format for both sink and src pad */
103 /* We don't support bayer format */
121 /* Only accept code in the pix map table in non bayer format */
159 struct v4l2_subdev_format *format)
163 format->format = *vimc_scaler_pad_format(vscaler, sd_state, format->pad,
164 format->which);
170 struct v4l2_subdev_format *format)
175 /* Do not change the active format whil
157 vimc_scaler_get_fmt(struct v4l2_subdev *sd, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_format *format) argument
168 vimc_scaler_set_fmt(struct v4l2_subdev *sd, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_format *format) argument
[all...]
/linux-master/sound/soc/codecs/
H A Dsi476x.c70 u16 format = 0; local
77 format |= SI476X_DAUDIO_MODE_DSP_A;
80 format |= SI476X_DAUDIO_MODE_DSP_B;
83 format |= SI476X_DAUDIO_MODE_I2S;
86 format |= SI476X_DAUDIO_MODE_RIGHT_J;
89 format |= SI476X_DAUDIO_MODE_LEFT_J;
102 format |= SI476X_DAUDIO_MODE_IB;
115 format |= SI476X_DAUDIO_MODE_IB |
119 format |= SI476X_DAUDIO_MODE_IB;
122 format |
[all...]
/linux-master/drivers/gpu/drm/amd/display/dc/dcn35/
H A Ddcn35_hubp.c59 enum surface_pixel_format format)
66 /* swap for ABGR format */
67 if (format == SURFACE_PIXEL_FORMAT_GRPH_ABGR8888
68 || format == SURFACE_PIXEL_FORMAT_GRPH_ABGR2101010
69 || format == SURFACE_PIXEL_FORMAT_GRPH_ABGR2101010_XR_BIAS
70 || format == SURFACE_PIXEL_FORMAT_GRPH_ABGR16161616
71 || format == SURFACE_PIXEL_FORMAT_GRPH_ABGR16161616F) {
83 switch (format) {
174 enum surface_pixel_format format,
185 hubp3_program_tiling(hubp2, tiling_info, format);
57 hubp35_program_pixel_format( struct hubp *hubp, enum surface_pixel_format format) argument
172 hubp35_program_surface_config( struct hubp *hubp, enum surface_pixel_format format, union dc_tiling_info *tiling_info, struct plane_size *plane_size, enum dc_rotation_angle rotation, struct dc_plane_dcc_param *dcc, bool horizontal_mirror, unsigned int compat_level) argument
[all...]
/linux-master/drivers/media/platform/microchip/
H A Dmicrochip-isc-scaler.c30 struct v4l2_subdev_format *format)
35 if (format->which == V4L2_SUBDEV_FORMAT_TRY) {
37 format->pad);
38 format->format = *v4l2_try_fmt;
43 format->format = isc->scaler_format[format->pad];
57 /* Source format is fixed, we cannot change it */
59 req_fmt->format
28 isc_scaler_get_fmt(struct v4l2_subdev *sd, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_format *format) argument
[all...]
/linux-master/drivers/gpu/drm/renesas/shmobile/
H A Dshmob_drm_plane.c31 const struct shmob_drm_format_info *format; member in struct:shmob_drm_plane_state
53 bpp = shmob_drm_format_is_yuv(sstate->format) ? 8 : sstate->format->bpp;
58 if (shmob_drm_format_is_yuv(sstate->format)) {
59 bpp = sstate->format->bpp - 8;
75 lcdc_write(sdev, LDDFR, sstate->format->lddfr | LDDFR_CF1);
79 lcdc_write(sdev, LDDDSR, sstate->format->ldddsr);
82 if (shmob_drm_format_is_yuv(sstate->format))
94 u32 format; local
97 format
[all...]
/linux-master/tools/build/feature/
H A Dtest-jvmti.c9 jvmtiJlocationFormat format __attribute__((unused)); local
/linux-master/drivers/staging/media/atomisp/pci/isp/kernels/raw/raw_1.0/
H A Dia_css_raw_param.h29 u32 format; /* enum ia_css_frame_format */ member in struct:sh_css_isp_raw_isp_config
/linux-master/include/linux/
H A Dratelimit.h53 #define WARN_RATELIMIT(condition, format, ...) \
61 WARN(rtn, format, ##__VA_ARGS__); \
71 #define WARN_RATELIMIT(condition, format, ...) \
73 int rtn = WARN(condition, format, ##__VA_ARGS__); \
/linux-master/include/keys/
H A Dencrypted-type.h20 char *format; /* datablob: format */ member in struct:encrypted_key_payload
28 unsigned short encrypted_key_format; /* encrypted key format */
/linux-master/arch/powerpc/include/asm/
H A Dxmon.h28 extern __printf(1, 2) void xmon_printf(const char *format, ...);
/linux-master/drivers/gpu/drm/tegra/
H A Dplane.h50 u32 format; member in struct:tegra_plane_state
91 int tegra_plane_format(u32 fourcc, u32 *format, u32 *swap);
92 bool tegra_plane_format_is_indexed(unsigned int format);
93 bool tegra_plane_format_is_yuv(unsigned int format, unsigned int *planes, unsigned int *bpc);
/linux-master/drivers/hwmon/pmbus/
H A Dtps546d24.c16 .format[PSC_VOLTAGE_IN] = linear,
17 .format[PSC_VOLTAGE_OUT] = linear,
18 .format[PSC_TEMPERATURE] = linear,
19 .format[PSC_CURRENT_OUT] = linear,
/linux-master/tools/perf/scripts/python/
H A Dtask-analyzer.py330 fmt = " {{:^{}}}".format(sum(db["task_info"].values()))
331 fmt += " {{:^{}}}".format(
337 fmt += " {{:^{}}}".format(
341 fd_sum.write(fmt.format(*_header) + "\n")
347 values are being displayed in grey. Thus in their format two additional {},
352 fmt = "{{:>{}}}".format(db["task_info"]["pid"] * fix_csv_align)
353 fmt += "{}{{:>{}}}".format(separator, db["task_info"]["tid"] * fix_csv_align)
354 fmt += "{}{{:>{}}}".format(separator, db["task_info"]["comm"] * fix_csv_align)
355 fmt += "{}{{:>{}}}".format(separator, db["runtime_info"]["runs"] * fix_csv_align)
356 fmt += "{}{{:>{}}}".format(separato
[all...]
/linux-master/tools/perf/tests/
H A Dpmu.c12 /* Simulated format definitions. */
87 * Prepare format directory data, exported by kernel
88 * at /sys/bus/event_source/devices/<dev>/format.
94 snprintf(dir, sz, "/tmp/perf-pmu-test-format-XXXXXX");
100 struct test_format *format = &test_formats[i]; local
103 scnprintf(name, PATH_MAX, "%s/%s", dir, format->name);
109 if (1 != fwrite(format->value, strlen(format->value), 1, file))
118 /* Cleanup format directory. */
146 char *format; local
[all...]
/linux-master/drivers/media/platform/ti/omap3isp/
H A Dispccp2.c289 u32 val, format; local
291 switch (config->format) {
293 format = ISPCCP2_LCx_CTRL_FORMAT_RAW8_DPCM10_VP;
297 format = ISPCCP2_LCx_CTRL_FORMAT_RAW10_VP; /* RAW10+VP */
311 ISPCCP2_LCx_CTRL_FORMAT_MASK_15_0, format);
318 ISPCCP2_LCx_CTRL_FORMAT_MASK, format);
352 struct v4l2_mbus_framefmt *format; local
374 format = &ccp2->formats[CCP2_PAD_SINK];
378 ccp2->if_cfg.format = format
647 struct v4l2_mbus_framefmt *format; local
700 struct v4l2_mbus_framefmt *format; local
724 struct v4l2_mbus_framefmt format; local
761 struct v4l2_mbus_framefmt *format; local
783 struct v4l2_mbus_framefmt *format; local
815 struct v4l2_subdev_format format; local
869 struct v4l2_mbus_framefmt *format; local
[all...]
/linux-master/sound/core/oss/
H A Dcopy.c49 snd_pcm_area_silence(&dst_channels->area, 0, frames, plugin->dst_format.format);
54 snd_pcm_area_copy(&src_channels->area, 0, &dst_channels->area, 0, frames, plugin->src_format.format);
74 if (snd_BUG_ON(src_format->format != dst_format->format))
81 width = snd_pcm_format_physical_width(src_format->format);
H A Dpcm_plugin.c51 struct snd_pcm_plugin_format *format; local
58 format = &plugin->src_format;
60 format = &plugin->dst_format;
62 width = snd_pcm_format_physical_width(format->format);
65 size = array3_size(frames, format->channels, width);
83 for (channel = 0; channel < format->channels; channel++, c++) {
89 c->area.step = format->channels * width;
92 if (snd_BUG_ON(size % format->channels))
94 size /= format
277 snd_pcm_plug_formats(const struct snd_mask *mask, snd_pcm_format_t format) argument
320 snd_pcm_plug_slave_format(snd_pcm_format_t format, const struct snd_mask *format_mask) argument
564 struct snd_pcm_plugin_format *format; local
672 snd_pcm_area_silence(const struct snd_pcm_channel_area *dst_area, size_t dst_offset, size_t samples, snd_pcm_format_t format) argument
718 snd_pcm_area_copy(const struct snd_pcm_channel_area *src_area, size_t src_offset, const struct snd_pcm_channel_area *dst_area, size_t dst_offset, size_t samples, snd_pcm_format_t format) argument
[all...]
/linux-master/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_common.h185 #define hw_dbg(hw, format, arg...) \
186 netdev_dbg(ixgbe_hw_to_netdev(hw), format, ## arg)
187 #define hw_err(hw, format, arg...) \
188 netdev_err(ixgbe_hw_to_netdev(hw), format, ## arg)
189 #define e_dev_info(format, arg...) \
190 dev_info(&adapter->pdev->dev, format, ## arg)
191 #define e_dev_warn(format, arg...) \
192 dev_warn(&adapter->pdev->dev, format, ## arg)
193 #define e_dev_err(format, arg...) \
194 dev_err(&adapter->pdev->dev, format, ## ar
[all...]
/linux-master/drivers/staging/media/atomisp/pci/runtime/frame/src/
H A Dframe.c72 enum ia_css_frame_format format,
78 enum ia_css_frame_format format,
102 info->format, info->padded_width,
112 enum ia_css_frame_format format,
122 "ia_css_frame_allocate() enter: width=%d, height=%d, format=%d, padded_width=%d, raw_bit_depth=%d\n",
123 width, height, format, padded_width, raw_bit_depth);
125 err = frame_allocate_with_data(frame, width, height, format,
168 switch (frame->frame_info.format) {
272 unsigned int ia_css_frame_pad_width(unsigned int width, enum ia_css_frame_format format) argument
274 switch (format) {
109 ia_css_frame_allocate(struct ia_css_frame **frame, unsigned int width, unsigned int height, enum ia_css_frame_format format, unsigned int padded_width, unsigned int raw_bit_depth) argument
321 ia_css_frame_info_set_format(struct ia_css_frame_info *info, enum ia_css_frame_format format) argument
330 ia_css_frame_info_init(struct ia_css_frame_info *info, unsigned int width, unsigned int height, enum ia_css_frame_format format, unsigned int aligned) argument
621 frame_allocate_with_data(struct ia_css_frame **frame, unsigned int width, unsigned int height, enum ia_css_frame_format format, unsigned int padded_width, unsigned int raw_bit_depth) argument
654 frame_create(unsigned int width, unsigned int height, enum ia_css_frame_format format, unsigned int padded_width, unsigned int raw_bit_depth, bool valid) argument
[all...]
/linux-master/drivers/gpu/drm/renesas/rcar-du/
H A Drcar_du_plane.c59 if (!old_state->format ||
60 old_state->format->planes != new_state->format->planes)
78 if (state->format->planes == 2)
100 unsigned int num_planes = state->format->planes;
162 if (!new_plane_state->format) {
239 new_plane_state->format ?
240 new_plane_state->format->planes : 0,
272 if (!new_plane_state->format ||
299 __func__, new_plane_state->format
592 __rcar_du_plane_atomic_check(struct drm_plane *plane, struct drm_plane_state *state, const struct rcar_du_format_info **format) argument
[all...]
/linux-master/drivers/gpu/drm/vmwgfx/
H A Dvmw_surface_cache.h42 * given format.
45 vmw_surface_get_desc(SVGA3dSurfaceFormat format) argument
47 if (format < ARRAY_SIZE(g_SVGA3dSurfaceDescs))
48 return &g_SVGA3dSurfaceDescs[format];
144 vmw_surface_get_serialized_size(SVGA3dSurfaceFormat format, argument
149 const SVGA3dSurfaceDesc *desc = vmw_surface_get_desc(format);
168 vmw_surface_get_serialized_size_extended(SVGA3dSurfaceFormat format, argument
175 vmw_surface_get_serialized_size(format,
192 vmw_surface_get_pixel_offset(SVGA3dSurfaceFormat format, argument
196 const SVGA3dSurfaceDesc *desc = vmw_surface_get_desc(format);
209 vmw_surface_get_image_offset(SVGA3dSurfaceFormat format, struct drm_vmw_size baseLevelSize, u32 numMipLevels, u32 face, u32 mip) argument
253 vmw_surface_is_gb_screen_target_format(SVGA3dSurfaceFormat format) argument
275 vmw_surface_is_dx_screen_target_format(SVGA3dSurfaceFormat format) argument
294 vmw_surface_is_screen_target_format(SVGA3dSurfaceFormat format) argument
378 vmw_surface_setup_cache(const struct drm_vmw_size *size, SVGA3dSurfaceFormat format, u32 num_mip_levels, u32 num_layers, u32 num_samples, struct vmw_surface_cache *cache) argument
[all...]
/linux-master/drivers/gpu/drm/mediatek/
H A Dmtk_drm_plane.c48 state->pending.format = DRM_FORMAT_RGB565;
71 uint32_t format,
83 if (format != DRM_FORMAT_XRGB8888 &&
84 format != DRM_FORMAT_ARGB8888 &&
85 format != DRM_FORMAT_BGRX8888 &&
86 format != DRM_FORMAT_BGRA8888 &&
87 format != DRM_FORMAT_ABGR8888 &&
88 format != DRM_FORMAT_XBGR8888 &&
89 format != DRM_FORMAT_RGB888 &&
90 format !
70 mtk_plane_format_mod_supported(struct drm_plane *plane, uint32_t format, uint64_t modifier) argument
139 unsigned int pitch, format; local
[all...]
/linux-master/drivers/media/platform/renesas/vsp1/
H A Dvsp1_uds.c52 * @ratio: scaling ratio in U4.12 fixed-point format
85 * @ratio: scaling ratio in U4.12 fixed-point format
132 struct v4l2_mbus_framefmt *format; local
139 format = vsp1_entity_get_pad_format(&uds->entity, state, UDS_PAD_SINK);
143 if (fse->index || fse->code != format->code) {
154 uds_output_limits(format->width, &fse->min_width,
156 uds_output_limits(format->height, &fse->min_height,
169 struct v4l2_mbus_framefmt *format; local
175 /* Default to YUV if the requested format is not supported. */
185 /* The UDS scales but can't perform format conversio
207 struct v4l2_mbus_framefmt *format; local
[all...]
/linux-master/drivers/media/platform/qcom/camss/
H A Dcamss-csiphy.c102 * csiphy_get_bpp - map media bus format to bits per pixel
105 * @code: media bus format code
118 WARN(1, "Unknown format\n");
313 * __csiphy_get_format - Get pointer to format structure
316 * @pad: pad from which format is requested
317 * @which: TRY or ACTIVE format
319 * Return pointer to TRY or ACTIVE format structure
334 * csiphy_try_format - Handle try format by pad subdev method
337 * @pad: pad on which format is requested
338 * @fmt: pointer to v4l2 format structur
392 struct v4l2_mbus_framefmt *format; local
425 struct v4l2_mbus_framefmt format; local
463 struct v4l2_mbus_framefmt *format; local
487 struct v4l2_mbus_framefmt *format; local
524 struct v4l2_subdev_format format = { local
538 csiphy_match_clock_name(const char *clock_name, const char *format, int index) argument
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Dmlx5_core.h48 #define mlx5_core_dbg(__dev, format, ...) \
49 dev_dbg((__dev)->device, "%s:%d:(pid %d): " format, \
53 #define mlx5_core_dbg_once(__dev, format, ...) \
55 "%s:%d:(pid %d): " format, \
59 #define mlx5_core_dbg_mask(__dev, mask, format, ...) \
62 mlx5_core_dbg(__dev, format, ##__VA_ARGS__); \
65 #define mlx5_core_err(__dev, format, ...) \
66 dev_err((__dev)->device, "%s:%d:(pid %d): " format, \
70 #define mlx5_core_err_rl(__dev, format, ...) \
72 "%s:%d:(pid %d): " format, \
117 mlx5_printk(struct mlx5_core_dev *dev, int level, const char *format, ...) argument
[all...]

Completed in 232 milliseconds

1234567891011>>