Searched refs:format (Results 251 - 275 of 1968) sorted by relevance

<<11121314151617181920>>

/linux-master/include/linux/platform_data/
H A Dsimplefb.h15 /* format array, use it to initialize a "struct simplefb_format" array */
51 * can pass the width, height, stride and format via this platform-data object.
53 * @format must be a format as described in "struct simplefb_format" above.
59 const char *format; member in struct:simplefb_platform_data
/linux-master/arch/powerpc/include/asm/
H A Dsecvar.h21 ssize_t (*format)(char *buf, size_t bufsize); member in struct:secvar_operations
/linux-master/drivers/gpu/drm/renesas/rcar-du/
H A Drcar_du_writeback.c24 * @format: format of the writeback framebuffer
28 const struct rcar_du_format_info *format; member in struct:rcar_du_wb_conn_state
158 * Verify that the framebuffer format is supported and that its size
167 wb_state->format = rcar_du_format_info(fb->format->format);
168 if (wb_state->format == NULL) {
169 dev_dbg(dev->dev, "%s: unsupported format %p4cc\n", __func__,
170 &fb->format
[all...]
/linux-master/arch/um/os-Linux/
H A Duser_syms.c41 extern int __sprintf_chk(char *str, int flag, size_t len, const char *format);
/linux-master/arch/powerpc/platforms/powernv/
H A Dopal-secvar.c105 const char *format; local
113 rc = of_property_read_string(node, "format", &format);
117 rc = snprintf(buf, bufsize, "%s", format);
150 .format = opal_secvar_format,
/linux-master/sound/soc/codecs/
H A Dhda-dai.c78 unsigned int format; local
86 bits = snd_hdac_stream_format_bits(runtime->format, runtime->subformat,
88 format = snd_hdac_stream_format(runtime->channels, bits, runtime->rate);
90 ret = snd_hda_codec_prepare(codec, stream_info, stream->stream_tag, format, substream);
/linux-master/scripts/gdb/linux/
H A Dsymbols.py45 "'{0}'\n".format(module_name))
77 gdb.write("scanning for modules in {0}\n".format(path))
85 module_pattern = r".*/{0}\.ko(?:.debug)?$".format(
109 args.append(" -s {name} {addr}".format(
111 return "{textaddr} {sections}".format(
130 gdb.write("loading @{addr}: {filename}\n".format(
132 cmdline = "add-symbol-file {filename} {sections}".format(
139 gdb.write("no module object found for '{0}'\n".format(module_name))
158 gdb.execute("symbol-file {0}".format(orig_vmlinux))
/linux-master/drivers/gpu/drm/i915/display/
H A Dskl_universal_plane.h28 int skl_format_to_fourcc(int format, bool rgb_order, bool alpha);
/linux-master/tools/perf/util/
H A Ddebug.h64 int ui__error(const char *format, ...) __printf(1, 2);
65 int ui__warning(const char *format, ...) __printf(1, 2);
66 #define ui__warning_once(format, ...) ({ \
69 ui__warning(format, ##__VA_ARGS__); \
/linux-master/drivers/media/usb/uvc/
H A Duvc_v4l2.c160 * given frame format and size. This should be done by the device as part of
196 static u32 uvc_v4l2_get_bytesperline(const struct uvc_format *format, argument
199 switch (format->fcc) {
207 return format->bpp * frame->wWidth / 8;
216 const struct uvc_format *format = NULL; local
229 uvc_dbg(stream->dev, FORMAT, "Trying format 0x%08x (%c%c%c%c): %ux%u\n",
235 * Check if the hardware supports the requested format, use the default
236 * format otherwise.
239 format = &stream->formats[i];
240 if (format
367 const struct uvc_format *format; local
402 const struct uvc_format *format; local
469 const struct uvc_format *format; local
701 const struct uvc_format *format; local
1253 const struct uvc_format *format = NULL; local
1293 const struct uvc_format *format = NULL; local
[all...]
/linux-master/drivers/media/i2c/
H A Dimx296.c317 const struct v4l2_mbus_framefmt *format; local
326 format = v4l2_subdev_state_get_format(state, 0);
331 vmax = format->height + sensor->vblank->cur.val;
341 imx296_write(sensor, IMX296_VMAX, format->height + ctrl->val,
509 const struct v4l2_mbus_framefmt *format; local
514 format = v4l2_subdev_state_get_format(state, 0);
534 (crop->width != format->width ?
536 (crop->height != format->height ?
560 format->height + sensor->vblank->cur.val, &ret);
663 const struct v4l2_mbus_framefmt *format; local
683 struct v4l2_mbus_framefmt *format; local
758 struct v4l2_mbus_framefmt *format; local
809 struct v4l2_subdev_format format = { local
[all...]
H A Dmt9v032.c189 struct v4l2_mbus_framefmt format; member in struct:mt9v032
361 return &mt9v032->format;
439 code->code = mt9v032->format.code;
451 if (mt9v032->format.code != fse->code)
464 struct v4l2_subdev_format *format)
468 format->format = *__mt9v032_get_pad_format(mt9v032, sd_state,
469 format->pad,
470 format->which);
500 struct v4l2_subdev_format *format)
462 mt9v032_get_format(struct v4l2_subdev *subdev, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_format *format) argument
498 mt9v032_set_format(struct v4l2_subdev *subdev, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_format *format) argument
929 struct v4l2_mbus_framefmt *format; local
[all...]
/linux-master/drivers/gpu/drm/mgag200/
H A Dmgag200_mode.c33 const struct drm_format_info *format)
39 switch (format->format) {
63 drm_warn_once(&mdev->base, "Unsupported format %p4cc for gamma correction\n",
64 &format->format);
70 const struct drm_format_info *format,
77 switch (format->format) {
101 drm_warn_once(&mdev->base, "Unsupported format
32 mgag200_crtc_set_gamma_linear(struct mga_device *mdev, const struct drm_format_info *format) argument
69 mgag200_crtc_set_gamma(struct mga_device *mdev, const struct drm_format_info *format, struct drm_color_lut *lut) argument
284 mgag200_get_bpp_shift(const struct drm_format_info *format) argument
327 mgag200_set_format_regs(struct mga_device *mdev, const struct drm_format_info *format) argument
625 const struct drm_format_info *format = mgag200_crtc_state->format; local
642 const struct drm_format_info *format = mgag200_crtc_state->format; local
[all...]
/linux-master/drivers/media/platform/ti/omap3isp/
H A Disppreview.c70 * which filters are enabled. To avoid format changes when the filters are
73 * during streaming are enabled when computing sink crop and source format
996 * preview_config_input_format - Configure the input format
998 * @info: Sink pad format information
1064 const struct v4l2_mbus_framefmt *format = &prev->formats[PREV_PAD_SINK]; local
1072 if (format->code != MEDIA_BUS_FMT_Y8_1X8 &&
1073 format->code != MEDIA_BUS_FMT_Y10_1X10) {
1315 params->cfa.format = OMAP3ISP_CFAFMT_BAYER;
1382 struct v4l2_mbus_framefmt *format; local
1394 format
1897 struct v4l2_mbus_framefmt format; local
1937 struct v4l2_mbus_framefmt *format; local
1980 struct v4l2_mbus_framefmt *format; local
2025 struct v4l2_mbus_framefmt *format; local
2047 struct v4l2_mbus_framefmt *format; local
2090 struct v4l2_subdev_format format; local
[all...]
/linux-master/drivers/gpu/drm/arm/
H A Dmalidp_planes.c104 state->format = m_state->format;
134 drm_printf(p, "\tformat_id=%u\n", ms->format);
142 u32 format, u64 modifier)
158 return !malidp_hw_format_is_afbc_only(format);
195 info = drm_format_info(format);
202 if (malidp_hw_format_is_linear_only(format) == true) {
203 DRM_DEBUG_KMS("Given format (0x%x) is supported is linear mode only\n",
204 format);
228 if (!(format
141 malidp_format_mod_supported(struct drm_device *drm, u32 format, u64 modifier) argument
246 malidp_format_mod_supported_per_plane(struct drm_plane *plane, u32 format, u64 modifier) argument
364 malidp_partial_prefetch_supported(u32 format, u64 modifier, unsigned int rotation) argument
[all...]
/linux-master/drivers/media/platform/ti/cal/
H A Dcal-video.c124 struct v4l2_mbus_framefmt *mbus_fmt = &sd_fmt.format;
146 struct v4l2_mbus_framefmt *mbus_fmt = &sd_fmt.format;
201 ctx_dbg(3, ctx, "Fourcc format (0x%08x) not found.\n",
274 v4l2_fill_mbus_format(&sd_fmt.format, &f->fmt.pix, fmtinfo->code);
276 ret = __subdev_set_format(ctx, &sd_fmt.format);
281 if (sd_fmt.format.code != fmtinfo->code) {
283 "%s subdev changed format on us, this should not happen\n",
288 v4l2_fill_pix_format(&ctx->v_fmt.fmt.pix, &sd_fmt.format);
291 ctx->v_fmt.fmt.pix.field = sd_fmt.format.field;
314 /* check for valid format */
467 struct v4l2_pix_format *format = &f->fmt.pix; local
690 const struct v4l2_mbus_framefmt *format; local
[all...]
/linux-master/sound/soc/mediatek/mt8183/
H A Dmt8183-dai-tdm.c72 static unsigned int get_hdmi_wlen(snd_pcm_format_t format) argument
74 return snd_pcm_format_physical_width(format) <= 16 ?
78 static unsigned int get_tdm_wlen(snd_pcm_format_t format) argument
80 return snd_pcm_format_physical_width(format) <= 16 ?
84 static unsigned int get_tdm_channel_bck(snd_pcm_format_t format) argument
86 return snd_pcm_format_physical_width(format) <= 16 ?
90 static unsigned int get_tdm_lrck_width(snd_pcm_format_t format) argument
92 return snd_pcm_format_physical_width(format) - 1;
477 snd_pcm_format_t format = params_format(params); local
491 snd_pcm_format_physical_width(format);
[all...]
/linux-master/drivers/staging/media/sunxi/sun6i-isp/
H A Dsun6i_isp_proc.c143 const struct sun6i_isp_proc_format *format; local
154 format = sun6i_isp_proc_format_find(mbus_format->code);
155 if (WARN_ON(!format))
159 SUN6I_ISP_MODE_INPUT_FMT(format->input_format) |
160 SUN6I_ISP_MODE_INPUT_YUV_SEQ(format->input_yuv_seq) |
296 struct v4l2_subdev_format *format)
299 struct v4l2_mbus_framefmt *mbus_format = &format->format;
304 if (format->which == V4L2_SUBDEV_FORMAT_TRY)
306 format
294 sun6i_isp_proc_get_fmt(struct v4l2_subdev *subdev, struct v4l2_subdev_state *state, struct v4l2_subdev_format *format) argument
315 sun6i_isp_proc_set_fmt(struct v4l2_subdev *subdev, struct v4l2_subdev_state *state, struct v4l2_subdev_format *format) argument
[all...]
/linux-master/sound/soc/intel/skylake/
H A Dskl-messages.c69 static int skl_dsp_prepare(struct device *dev, unsigned int format, argument
92 ret = snd_hdac_dsp_prepare(stream, format, size, dmab);
438 * PCM format information, which we calculate in driver and resource values
449 struct skl_module_fmt *format = &fmt->inputs[0].fmt; local
451 base_cfg->audio_fmt.number_of_channels = format->channels;
453 base_cfg->audio_fmt.s_freq = format->s_freq;
454 base_cfg->audio_fmt.bit_depth = format->bit_depth;
455 base_cfg->audio_fmt.valid_bit_depth = format->valid_bit_depth;
456 base_cfg->audio_fmt.ch_cfg = format->ch_cfg;
457 base_cfg->audio_fmt.sample_type = format
473 fill_pin_params(struct skl_audio_data_format *pin_fmt, struct skl_module_fmt *format) argument
499 struct skl_module_fmt *format; local
733 struct skl_module_fmt *format = &fmt->outputs[0].fmt; local
1158 struct skl_module_fmt *format; local
[all...]
/linux-master/drivers/staging/media/omap4iss/
H A Diss_video.c105 * @mbus: v4l2_mbus_framefmt format (input)
106 * @pix: v4l2_pix_format format (output)
108 * Fill the output pix structure with information from the input mbus format.
110 * per line value in the pix format and information from the video instance.
127 * Skip the last format in the loop so that it will be selected if no
173 * Skip the last format in the loop so that it will be selected if no
238 struct v4l2_mbus_framefmt *format)
260 *format = fmt.format;
267 struct v4l2_mbus_framefmt format; local
237 __iss_video_get_format(struct iss_video *video, struct v4l2_mbus_framefmt *format) argument
539 struct v4l2_mbus_framefmt format; local
569 iss_video_get_format(struct file *file, void *fh, struct v4l2_format *format) argument
585 iss_video_set_format(struct file *file, void *fh, struct v4l2_format *format) argument
610 iss_video_try_format(struct file *file, void *fh, struct v4l2_format *format) argument
642 struct v4l2_subdev_format format = { local
[all...]
/linux-master/drivers/gpu/drm/nouveau/dispnv04/
H A Doverlay.c131 unsigned format = 0; local
163 if (fb->format->format == DRM_FORMAT_YUYV ||
164 fb->format->format == DRM_FORMAT_NV12)
165 format |= NV_PVIDEO_FORMAT_COLOR_LE_CR8YB8CB8YA8;
166 if (fb->format->format == DRM_FORMAT_NV12 ||
167 fb->format->format
223 u32 format = 0; local
[all...]
/linux-master/drivers/hwmon/pmbus/
H A Dmax34440.c276 .format[PSC_VOLTAGE_IN] = direct,
277 .format[PSC_VOLTAGE_OUT] = direct,
278 .format[PSC_TEMPERATURE] = direct,
279 .format[PSC_CURRENT_OUT] = direct,
318 .format[PSC_VOLTAGE_IN] = direct,
319 .format[PSC_VOLTAGE_OUT] = direct,
320 .format[PSC_TEMPERATURE] = direct,
321 .format[PSC_CURRENT_OUT] = direct,
322 .format[PSC_FAN] = direct,
361 .format[PSC_VOLTAGE_I
[all...]
/linux-master/drivers/media/platform/renesas/rcar-vin/
H A Drcar-dma.c175 return !(vin->crop.width == vin->format.width &&
176 vin->compose.width == vin->format.width &&
177 vin->crop.height == vin->format.height &&
178 vin->compose.height == vin->format.height);
560 if (V4L2_FIELD_HAS_BOTH(vin->format.field))
587 rvin_write(vin, vin->format.width - 1, VNEPPOC_REG);
589 if (V4L2_FIELD_HAS_BOTH(vin->format.field))
590 rvin_write(vin, vin->format.height / 2 - 1, VNELPOC_REG);
592 rvin_write(vin, vin->format.height - 1, VNELPOC_REG);
597 vin->crop.top, ys, xs, vin->format
[all...]
/linux-master/drivers/scsi/esas2r/
H A Desas2r_log.h64 __printf(2, 3) int esas2r_log(const long level, const char *format, ...);
67 const char *format,
/linux-master/drivers/pci/hotplug/
H A Dcpcihp_zt5550.c30 #define dbg(format, arg...) \
33 printk(KERN_DEBUG "%s: " format "\n", \
36 #define err(format, arg...) printk(KERN_ERR "%s: " format "\n", MY_NAME, ## arg)
37 #define info(format, arg...) printk(KERN_INFO "%s: " format "\n", MY_NAME, ## arg)
38 #define warn(format, arg...) printk(KERN_WARNING "%s: " format "\n", MY_NAME, ## arg)

Completed in 246 milliseconds

<<11121314151617181920>>