Home
last modified time | relevance | path

Searched refs:default_format (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/media/platform/xilinx/
H A Dxilinx-tpg.c97 struct v4l2_mbus_framefmt default_format; member
358 *format = xtpg->default_format; in xtpg_open()
362 *format = xtpg->default_format; in xtpg_open()
807 xtpg->default_format.code = xtpg->vip_format->code; in xtpg_probe()
808 xtpg->default_format.field = V4L2_FIELD_NONE; in xtpg_probe()
809 xtpg->default_format.colorspace = V4L2_COLORSPACE_SRGB; in xtpg_probe()
810 xvip_get_frame_size(&xtpg->xvip, &xtpg->default_format); in xtpg_probe()
816 xtpg->formats[0] = xtpg->default_format; in xtpg_probe()
818 xtpg->formats[1] = xtpg->default_format; in xtpg_probe()
H A Dxilinx-csi2rxss.c224 struct v4l2_mbus_framefmt default_format; member
674 *format = xcsi2rxss->default_format; in xcsi2rxss_init_state()
965 xcsi2rxss->default_format.code = in xcsi2rxss_probe()
967 xcsi2rxss->default_format.field = V4L2_FIELD_NONE; in xcsi2rxss_probe()
968 xcsi2rxss->default_format.colorspace = V4L2_COLORSPACE_SRGB; in xcsi2rxss_probe()
969 xcsi2rxss->default_format.width = XCSI_DEFAULT_WIDTH; in xcsi2rxss_probe()
970 xcsi2rxss->default_format.height = XCSI_DEFAULT_HEIGHT; in xcsi2rxss_probe()
971 xcsi2rxss->format = xcsi2rxss->default_format; in xcsi2rxss_probe()
/linux/drivers/media/platform/mediatek/mdp3/
H A Dmtk-mdp3-m2m.c568 struct v4l2_format default_format = {}; in mdp_m2m_open() local
615 default_format.type = V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE; in mdp_m2m_open()
616 default_format.fmt.pix_mp.width = limit->out_limit.wmin; in mdp_m2m_open()
617 default_format.fmt.pix_mp.height = limit->out_limit.hmin; in mdp_m2m_open()
618 default_format.fmt.pix_mp.pixelformat = V4L2_PIX_FMT_YUV420M; in mdp_m2m_open()
619 mdp_m2m_s_fmt_mplane(file, &ctx->fh, &default_format); in mdp_m2m_open()
620 default_format.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in mdp_m2m_open()
621 mdp_m2m_s_fmt_mplane(file, &ctx->fh, &default_format); in mdp_m2m_open()
/linux/drivers/media/platform/mediatek/mdp/
H A Dmtk_mdp_m2m.c1054 struct v4l2_format default_format; in mtk_mdp_m2m_open() local
1109 memset(&default_format, 0, sizeof(default_format)); in mtk_mdp_m2m_open()
1110 default_format.type = V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE; in mtk_mdp_m2m_open()
1111 default_format.fmt.pix_mp.width = 32; in mtk_mdp_m2m_open()
1112 default_format.fmt.pix_mp.height = 32; in mtk_mdp_m2m_open()
1113 default_format.fmt.pix_mp.pixelformat = V4L2_PIX_FMT_YUV420M; in mtk_mdp_m2m_open()
1114 mtk_mdp_m2m_s_fmt_mplane(file, &ctx->fh, &default_format); in mtk_mdp_m2m_open()
1115 default_format.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in mtk_mdp_m2m_open()
1116 mtk_mdp_m2m_s_fmt_mplane(file, &ctx->fh, &default_format); in mtk_mdp_m2m_open()
/linux/drivers/media/platform/synopsys/
H A Ddw-mipi-csi2rx.c77 static const struct v4l2_mbus_framefmt default_format = { variable
332 format->format = default_format; in dw_mipi_csi2rx_set_fmt()
360 &default_format); in dw_mipi_csi2rx_set_routing()
466 &default_format); in dw_mipi_csi2rx_init_state()
/linux/drivers/media/platform/rockchip/rkcif/
H A Drkcif-interface.c290 const struct v4l2_mbus_framefmt *default_format; in rkcif_interface_init_state() local
293 default_format = (interface->type == RKCIF_IF_DVP) ? in rkcif_interface_init_state()
298 default_format); in rkcif_interface_init_state()
/linux/drivers/power/supply/
H A Dpower_supply_sysfs.c388 goto default_format; in power_supply_format_property()
393 goto default_format; in power_supply_format_property()
401 default_format: in power_supply_format_property()