Home
last modified time | relevance | path

Searched refs:preset (Results 1 – 13 of 13) sorted by relevance

/drivers/media/video/s5p-tv/
Dhdmiphy_drv.c29 u32 preset; member
70 const u8 *hdmiphy_preset2conf(u32 preset) in hdmiphy_preset2conf() argument
74 if (hdmiphy_conf[i].preset == preset) in hdmiphy_preset2conf()
86 struct v4l2_dv_preset *preset) in hdmiphy_s_dv_preset() argument
94 dev_info(dev, "s_dv_preset(preset = %d)\n", preset->preset); in hdmiphy_s_dv_preset()
95 data = hdmiphy_preset2conf(preset->preset); in hdmiphy_s_dv_preset()
Dhdmi_drv.c280 struct v4l2_dv_preset preset; in hdmi_conf_apply() local
292 preset.preset = hdmi_dev->cur_preset; in hdmi_conf_apply()
293 ret = v4l2_subdev_call(hdmi_dev->phy_sd, video, s_dv_preset, &preset); in hdmi_conf_apply()
295 dev_err(dev, "failed to set preset (%u)\n", preset.preset); in hdmi_conf_apply()
534 u32 preset; member
544 static const struct hdmi_preset_conf *hdmi_preset2conf(u32 preset) in hdmi_preset2conf() argument
549 if (hdmi_conf[i].preset == preset) in hdmi_preset2conf()
670 struct v4l2_dv_preset *preset) in hdmi_s_dv_preset() argument
676 conf = hdmi_preset2conf(preset->preset); in hdmi_s_dv_preset()
678 dev_err(dev, "preset (%u) not supported\n", preset->preset); in hdmi_s_dv_preset()
[all …]
Dmixer_video.c504 struct v4l2_dv_enum_preset *preset) in mxr_enum_dv_presets() argument
512 ret = v4l2_subdev_call(to_outsd(mdev), video, enum_dv_presets, preset); in mxr_enum_dv_presets()
519 struct v4l2_dv_preset *preset) in mxr_s_dv_preset() argument
536 ret = v4l2_subdev_call(to_outsd(mdev), video, s_dv_preset, preset); in mxr_s_dv_preset()
547 struct v4l2_dv_preset *preset) in mxr_g_dv_preset() argument
555 ret = v4l2_subdev_call(to_outsd(mdev), video, g_dv_preset, preset); in mxr_g_dv_preset()
/drivers/media/video/
Dtvp7002.c330 u32 preset; member
594 u32 preset; in tvp7002_s_dv_preset() local
598 preset = tvp7002_presets[i].preset; in tvp7002_s_dv_preset()
599 if (preset == dv_preset->preset) { in tvp7002_s_dv_preset()
646 error = v4l_fill_dv_preset_info(device->current_preset->preset, &e_preset); in tvp7002_mbus_fmt()
685 qpreset->preset = V4L2_DV_INVALID; in tvp7002_query_dv_preset()
724 qpreset->preset = presets->preset; in tvp7002_query_dv_preset()
727 v4l2_dbg(1, debug, sd, "detected preset: %d\n", presets->preset); in tvp7002_query_dv_preset()
847 detected.preset = V4L2_DV_INVALID; in tvp7002_log_status()
853 if (presets->preset == detected.preset) in tvp7002_log_status()
[all …]
Ds5k6aa.c260 struct s5k6aa_preset *preset; member
317 struct s5k6aa_preset *preset = &s5k6aa->presets[0]; in s5k6aa_presets_data_init() local
321 preset->mbus_fmt.width = S5K6AA_OUT_WIDTH_DEF; in s5k6aa_presets_data_init()
322 preset->mbus_fmt.height = S5K6AA_OUT_HEIGHT_DEF; in s5k6aa_presets_data_init()
323 preset->mbus_fmt.code = s5k6aa_formats[0].code; in s5k6aa_presets_data_init()
324 preset->index = i; in s5k6aa_presets_data_init()
325 preset->clk_id = 0; in s5k6aa_presets_data_init()
326 preset++; in s5k6aa_presets_data_init()
330 s5k6aa->preset = &s5k6aa->presets[0]; in s5k6aa_presets_data_init()
470 int index = s5k6aa->preset->index; in s5k6aa_set_mirror()
[all …]
Dv4l2-common.c561 int v4l_fill_dv_preset_info(u32 preset, struct v4l2_dv_enum_preset *info) in v4l_fill_dv_preset_info() argument
589 if (info == NULL || preset >= ARRAY_SIZE(dv_presets)) in v4l_fill_dv_preset_info()
592 info->preset = preset; in v4l_fill_dv_preset_info()
593 info->width = dv_presets[preset].width; in v4l_fill_dv_preset_info()
594 info->height = dv_presets[preset].height; in v4l_fill_dv_preset_info()
595 strlcpy(info->name, dv_presets[preset].name, sizeof(info->name)); in v4l_fill_dv_preset_info()
Dv4l2-ioctl.c2095 p->index, p->preset, p->name, p->width, in __video_do_ioctl()
2110 dbgarg(cmd, "preset=%d\n", p->preset); in __video_do_ioctl()
2123 dbgarg(cmd, "preset=%d\n", p->preset); in __video_do_ioctl()
2135 dbgarg(cmd, "preset=%d\n", p->preset); in __video_do_ioctl()
/drivers/media/video/davinci/
Dvpif_capture.c1750 struct v4l2_dv_enum_preset *preset) in vpif_enum_dv_presets() argument
1756 video, enum_dv_presets, preset); in vpif_enum_dv_presets()
1766 struct v4l2_dv_preset *preset) in vpif_query_dv_preset() argument
1772 video, query_dv_preset, preset); in vpif_query_dv_preset()
1781 struct v4l2_dv_preset *preset) in vpif_s_dv_preset() argument
1811 ch->video.dv_preset = preset->preset; in vpif_s_dv_preset()
1824 video, s_dv_preset, preset); in vpif_s_dv_preset()
1838 struct v4l2_dv_preset *preset) in vpif_g_dv_preset() argument
1843 preset->preset = ch->video.dv_preset; in vpif_g_dv_preset()
Dvpbe_venc.c457 if (dv_preset->preset == V4L2_DV_576P50) in venc_s_dv_preset()
459 else if (dv_preset->preset == V4L2_DV_480P59_94) in venc_s_dv_preset()
461 else if ((dv_preset->preset == V4L2_DV_720P60) && in venc_s_dv_preset()
468 } else if ((dv_preset->preset == V4L2_DV_1080I30) && in venc_s_dv_preset()
Dvpif_display.c1287 struct v4l2_dv_enum_preset *preset) in vpif_enum_dv_presets() argument
1294 video, enum_dv_presets, preset); in vpif_enum_dv_presets()
1304 struct v4l2_dv_preset *preset) in vpif_s_dv_preset() argument
1327 ch->video.dv_preset = preset->preset; in vpif_s_dv_preset()
1339 video, s_dv_preset, preset); in vpif_s_dv_preset()
1353 struct v4l2_dv_preset *preset) in vpif_g_dv_preset() argument
1358 preset->preset = ch->video.dv_preset; in vpif_g_dv_preset()
Dvpbe.c365 ret = vpbe_get_dv_preset_info(vpbe_dev, dv_preset->preset); in vpbe_s_dv_preset()
405 dv_preset->preset = vpbe_dev->current_timings.timings.dv_preset; in vpbe_g_dv_preset()
535 dv_preset.preset = in vpbe_set_mode()
Dvpbe_display.c1039 struct v4l2_dv_enum_preset *preset) in vpbe_display_enum_dv_presets() argument
1051 ret = vpbe_dev->ops.enum_dv_presets(vpbe_dev, preset); in vpbe_display_enum_dv_presets()
1069 struct v4l2_dv_preset *preset) in vpbe_display_s_dv_preset() argument
1089 ret = vpbe_dev->ops.s_dv_preset(vpbe_dev, preset); in vpbe_display_s_dv_preset()
1122 dv_preset->preset = in vpbe_display_g_dv_preset()
/drivers/mtd/nand/
Dmxc_nand.c168 void (*preset)(struct mtd_info *); member
940 host->preset(mtd); in mxc_nand_command()
1099 host->preset = preset_v1_v2; in mxcnd_probe()
1141 host->preset = preset_v3; in mxcnd_probe()
1215 host->preset(mtd); in mxcnd_probe()