Home
last modified time | relevance | path

Searched refs:input_fmts (Results 1 – 21 of 21) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/bridge/
Dlvds-codec.c91 u32 *input_fmts; in lvds_codec_atomic_get_input_bus_fmts() local
95 input_fmts = kcalloc(MAX_INPUT_SEL_FORMATS, sizeof(*input_fmts), in lvds_codec_atomic_get_input_bus_fmts()
97 if (!input_fmts) in lvds_codec_atomic_get_input_bus_fmts()
100 input_fmts[0] = lvds_codec->bus_format; in lvds_codec_atomic_get_input_bus_fmts()
103 return input_fmts; in lvds_codec_atomic_get_input_bus_fmts()
Dfsl-ldb.c199 u32 *input_fmts; in fsl_ldb_atomic_get_input_bus_fmts() local
203 input_fmts = kcalloc(MAX_INPUT_SEL_FORMATS, sizeof(*input_fmts), in fsl_ldb_atomic_get_input_bus_fmts()
205 if (!input_fmts) in fsl_ldb_atomic_get_input_bus_fmts()
208 input_fmts[0] = MEDIA_BUS_FMT_RGB888_1X24; in fsl_ldb_atomic_get_input_bus_fmts()
211 return input_fmts; in fsl_ldb_atomic_get_input_bus_fmts()
Dti-dlpc3433.c220 u32 *input_fmts; in dlpc_atomic_get_input_bus_fmts() local
224 input_fmts = kcalloc(MAX_INPUT_SEL_FORMATS, sizeof(*input_fmts), in dlpc_atomic_get_input_bus_fmts()
226 if (!input_fmts) in dlpc_atomic_get_input_bus_fmts()
230 input_fmts[0] = MEDIA_BUS_FMT_RGB888_1X24; in dlpc_atomic_get_input_bus_fmts()
233 return input_fmts; in dlpc_atomic_get_input_bus_fmts()
Dlontium-lt9211.c600 u32 *input_fmts; in lt9211_atomic_get_input_bus_fmts() local
604 input_fmts = kcalloc(MAX_INPUT_SEL_FORMATS, sizeof(*input_fmts), in lt9211_atomic_get_input_bus_fmts()
606 if (!input_fmts) in lt9211_atomic_get_input_bus_fmts()
610 input_fmts[0] = MEDIA_BUS_FMT_RGB888_1X24; in lt9211_atomic_get_input_bus_fmts()
613 return input_fmts; in lt9211_atomic_get_input_bus_fmts()
Dti-sn65dsi83.c538 u32 *input_fmts; in sn65dsi83_atomic_get_input_bus_fmts() local
542 input_fmts = kcalloc(MAX_INPUT_SEL_FORMATS, sizeof(*input_fmts), in sn65dsi83_atomic_get_input_bus_fmts()
544 if (!input_fmts) in sn65dsi83_atomic_get_input_bus_fmts()
548 input_fmts[0] = MEDIA_BUS_FMT_RGB888_1X24; in sn65dsi83_atomic_get_input_bus_fmts()
551 return input_fmts; in sn65dsi83_atomic_get_input_bus_fmts()
Dchipone-icn6211.c603 u32 *input_fmts; in chipone_atomic_get_input_bus_fmts() local
607 input_fmts = kcalloc(MAX_INPUT_SEL_FORMATS, sizeof(*input_fmts), in chipone_atomic_get_input_bus_fmts()
609 if (!input_fmts) in chipone_atomic_get_input_bus_fmts()
613 input_fmts[0] = MEDIA_BUS_FMT_RGB888_1X24; in chipone_atomic_get_input_bus_fmts()
616 return input_fmts; in chipone_atomic_get_input_bus_fmts()
Dlontium-lt9611.c932 u32 *input_fmts; in lt9611_atomic_get_input_bus_fmts() local
936 input_fmts = kcalloc(MAX_INPUT_SEL_FORMATS, sizeof(*input_fmts), in lt9611_atomic_get_input_bus_fmts()
938 if (!input_fmts) in lt9611_atomic_get_input_bus_fmts()
942 input_fmts[0] = MEDIA_BUS_FMT_RGB888_1X24; in lt9611_atomic_get_input_bus_fmts()
945 return input_fmts; in lt9611_atomic_get_input_bus_fmts()
Dnwl-dsi.c934 u32 *input_fmts, input_fmt; in nwl_bridge_atomic_get_input_bus_fmts() local
952 input_fmts = kcalloc(1, sizeof(*input_fmts), GFP_KERNEL); in nwl_bridge_atomic_get_input_bus_fmts()
953 if (!input_fmts) in nwl_bridge_atomic_get_input_bus_fmts()
955 input_fmts[0] = input_fmt; in nwl_bridge_atomic_get_input_bus_fmts()
958 return input_fmts; in nwl_bridge_atomic_get_input_bus_fmts()
Dite-it66121.c742 u32 *input_fmts; in it66121_bridge_atomic_get_input_bus_fmts() local
746 input_fmts = kcalloc(MAX_INPUT_SEL_FORMATS, sizeof(*input_fmts), in it66121_bridge_atomic_get_input_bus_fmts()
748 if (!input_fmts) in it66121_bridge_atomic_get_input_bus_fmts()
753 input_fmts[0] = MEDIA_BUS_FMT_RGB888_2X12_LE; in it66121_bridge_atomic_get_input_bus_fmts()
756 input_fmts[0] = MEDIA_BUS_FMT_RGB888_1X24; in it66121_bridge_atomic_get_input_bus_fmts()
759 return input_fmts; in it66121_bridge_atomic_get_input_bus_fmts()
Dtc358767.c1738 u32 *input_fmts; in tc_dpi_atomic_get_input_bus_fmts() local
1742 input_fmts = kcalloc(MAX_INPUT_SEL_FORMATS, sizeof(*input_fmts), in tc_dpi_atomic_get_input_bus_fmts()
1744 if (!input_fmts) in tc_dpi_atomic_get_input_bus_fmts()
1748 input_fmts[0] = MEDIA_BUS_FMT_RGB888_1X24; in tc_dpi_atomic_get_input_bus_fmts()
1751 return input_fmts; in tc_dpi_atomic_get_input_bus_fmts()
/linux-6.1.9/drivers/gpu/drm/bridge/imx/
Dimx8qxp-pixel-combiner.c222 u32 *input_fmts; in imx8qxp_pc_bridge_atomic_get_input_bus_fmts() local
229 input_fmts = kmalloc(sizeof(*input_fmts), GFP_KERNEL); in imx8qxp_pc_bridge_atomic_get_input_bus_fmts()
230 if (!input_fmts) in imx8qxp_pc_bridge_atomic_get_input_bus_fmts()
235 input_fmts[0] = MEDIA_BUS_FMT_RGB888_1X30_CPADLO; in imx8qxp_pc_bridge_atomic_get_input_bus_fmts()
238 input_fmts[0] = MEDIA_BUS_FMT_RGB666_1X30_CPADLO; in imx8qxp_pc_bridge_atomic_get_input_bus_fmts()
241 kfree(input_fmts); in imx8qxp_pc_bridge_atomic_get_input_bus_fmts()
242 input_fmts = NULL; in imx8qxp_pc_bridge_atomic_get_input_bus_fmts()
246 return input_fmts; in imx8qxp_pc_bridge_atomic_get_input_bus_fmts()
Dimx8qxp-pxl2dpi.c171 u32 *input_fmts; in imx8qxp_pxl2dpi_bridge_atomic_get_input_bus_fmts() local
178 input_fmts = kmalloc(sizeof(*input_fmts), GFP_KERNEL); in imx8qxp_pxl2dpi_bridge_atomic_get_input_bus_fmts()
179 if (!input_fmts) in imx8qxp_pxl2dpi_bridge_atomic_get_input_bus_fmts()
184 input_fmts[0] = MEDIA_BUS_FMT_RGB888_1X36_CPADLO; in imx8qxp_pxl2dpi_bridge_atomic_get_input_bus_fmts()
187 input_fmts[0] = MEDIA_BUS_FMT_RGB666_1X36_CPADLO; in imx8qxp_pxl2dpi_bridge_atomic_get_input_bus_fmts()
190 kfree(input_fmts); in imx8qxp_pxl2dpi_bridge_atomic_get_input_bus_fmts()
191 input_fmts = NULL; in imx8qxp_pxl2dpi_bridge_atomic_get_input_bus_fmts()
195 return input_fmts; in imx8qxp_pxl2dpi_bridge_atomic_get_input_bus_fmts()
Dimx8qm-ldb-drv.c319 u32 *input_fmts; in imx8qm_ldb_bridge_atomic_get_input_bus_fmts() local
326 input_fmts = kmalloc(sizeof(*input_fmts), GFP_KERNEL); in imx8qm_ldb_bridge_atomic_get_input_bus_fmts()
327 if (!input_fmts) in imx8qm_ldb_bridge_atomic_get_input_bus_fmts()
341 input_fmts[0] = finfo->depth == 18 ? in imx8qm_ldb_bridge_atomic_get_input_bus_fmts()
345 input_fmts[0] = MEDIA_BUS_FMT_RGB888_1X36_CPADLO; in imx8qm_ldb_bridge_atomic_get_input_bus_fmts()
349 input_fmts[0] = MEDIA_BUS_FMT_RGB666_1X36_CPADLO; in imx8qm_ldb_bridge_atomic_get_input_bus_fmts()
353 input_fmts[0] = MEDIA_BUS_FMT_RGB888_1X36_CPADLO; in imx8qm_ldb_bridge_atomic_get_input_bus_fmts()
356 kfree(input_fmts); in imx8qm_ldb_bridge_atomic_get_input_bus_fmts()
357 input_fmts = NULL; in imx8qm_ldb_bridge_atomic_get_input_bus_fmts()
361 return input_fmts; in imx8qm_ldb_bridge_atomic_get_input_bus_fmts()
Dimx8qxp-ldb-drv.c321 u32 *input_fmts; in imx8qxp_ldb_bridge_atomic_get_input_bus_fmts() local
328 input_fmts = kmalloc(sizeof(*input_fmts), GFP_KERNEL); in imx8qxp_ldb_bridge_atomic_get_input_bus_fmts()
329 if (!input_fmts) in imx8qxp_ldb_bridge_atomic_get_input_bus_fmts()
343 input_fmts[0] = finfo->depth == 18 ? in imx8qxp_ldb_bridge_atomic_get_input_bus_fmts()
347 input_fmts[0] = MEDIA_BUS_FMT_RGB888_1X24; in imx8qxp_ldb_bridge_atomic_get_input_bus_fmts()
351 input_fmts[0] = MEDIA_BUS_FMT_RGB666_1X24_CPADHI; in imx8qxp_ldb_bridge_atomic_get_input_bus_fmts()
355 input_fmts[0] = MEDIA_BUS_FMT_RGB888_1X24; in imx8qxp_ldb_bridge_atomic_get_input_bus_fmts()
358 kfree(input_fmts); in imx8qxp_ldb_bridge_atomic_get_input_bus_fmts()
359 input_fmts = NULL; in imx8qxp_ldb_bridge_atomic_get_input_bus_fmts()
363 return input_fmts; in imx8qxp_ldb_bridge_atomic_get_input_bus_fmts()
Dimx8qxp-pixel-link.c208 u32 *input_fmts; in imx8qxp_pixel_link_bridge_atomic_get_input_bus_fmts() local
215 input_fmts = kmalloc(sizeof(*input_fmts), GFP_KERNEL); in imx8qxp_pixel_link_bridge_atomic_get_input_bus_fmts()
216 if (!input_fmts) in imx8qxp_pixel_link_bridge_atomic_get_input_bus_fmts()
219 input_fmts[0] = output_fmt; in imx8qxp_pixel_link_bridge_atomic_get_input_bus_fmts()
221 return input_fmts; in imx8qxp_pixel_link_bridge_atomic_get_input_bus_fmts()
/linux-6.1.9/drivers/gpu/drm/imx/
Dparallel-display.c170 u32 *input_fmts; in imx_pd_bridge_atomic_get_input_bus_fmts() local
188 input_fmts = kmalloc(sizeof(*input_fmts), GFP_KERNEL); in imx_pd_bridge_atomic_get_input_bus_fmts()
189 if (!input_fmts) in imx_pd_bridge_atomic_get_input_bus_fmts()
192 input_fmts[0] = output_fmt; in imx_pd_bridge_atomic_get_input_bus_fmts()
193 return input_fmts; in imx_pd_bridge_atomic_get_input_bus_fmts()
/linux-6.1.9/drivers/gpu/drm/bridge/synopsys/
Ddw-hdmi.c2793 u32 *input_fmts; in dw_hdmi_bridge_atomic_get_input_bus_fmts() local
2798 input_fmts = kcalloc(MAX_INPUT_SEL_FORMATS, sizeof(*input_fmts), in dw_hdmi_bridge_atomic_get_input_bus_fmts()
2800 if (!input_fmts) in dw_hdmi_bridge_atomic_get_input_bus_fmts()
2806 input_fmts[i++] = MEDIA_BUS_FMT_RGB888_1X24; in dw_hdmi_bridge_atomic_get_input_bus_fmts()
2810 input_fmts[i++] = MEDIA_BUS_FMT_RGB888_1X24; in dw_hdmi_bridge_atomic_get_input_bus_fmts()
2811 input_fmts[i++] = MEDIA_BUS_FMT_YUV8_1X24; in dw_hdmi_bridge_atomic_get_input_bus_fmts()
2812 input_fmts[i++] = MEDIA_BUS_FMT_UYVY8_1X16; in dw_hdmi_bridge_atomic_get_input_bus_fmts()
2815 input_fmts[i++] = MEDIA_BUS_FMT_YUV8_1X24; in dw_hdmi_bridge_atomic_get_input_bus_fmts()
2816 input_fmts[i++] = MEDIA_BUS_FMT_UYVY8_1X16; in dw_hdmi_bridge_atomic_get_input_bus_fmts()
2817 input_fmts[i++] = MEDIA_BUS_FMT_RGB888_1X24; in dw_hdmi_bridge_atomic_get_input_bus_fmts()
[all …]
/linux-6.1.9/drivers/gpu/drm/meson/
Dmeson_encoder_hdmi.c277 u32 *input_fmts = NULL; in meson_encoder_hdmi_get_inp_bus_fmts() local
285 input_fmts = kcalloc(*num_input_fmts, in meson_encoder_hdmi_get_inp_bus_fmts()
286 sizeof(*input_fmts), in meson_encoder_hdmi_get_inp_bus_fmts()
288 if (!input_fmts) in meson_encoder_hdmi_get_inp_bus_fmts()
291 input_fmts[0] = output_fmt; in meson_encoder_hdmi_get_inp_bus_fmts()
297 return input_fmts; in meson_encoder_hdmi_get_inp_bus_fmts()
/linux-6.1.9/drivers/gpu/drm/mediatek/
Dmtk_dpi.c650 u32 *input_fmts; in mtk_dpi_bridge_atomic_get_input_bus_fmts() local
654 input_fmts = kcalloc(1, sizeof(*input_fmts), in mtk_dpi_bridge_atomic_get_input_bus_fmts()
656 if (!input_fmts) in mtk_dpi_bridge_atomic_get_input_bus_fmts()
660 input_fmts[0] = MEDIA_BUS_FMT_RGB888_1X24; in mtk_dpi_bridge_atomic_get_input_bus_fmts()
662 return input_fmts; in mtk_dpi_bridge_atomic_get_input_bus_fmts()
Dmtk_dp.c2298 u32 *input_fmts; in mtk_dp_bridge_atomic_get_input_bus_fmts() local
2318 input_fmts = kcalloc(1, sizeof(*input_fmts), GFP_KERNEL); in mtk_dp_bridge_atomic_get_input_bus_fmts()
2319 if (!input_fmts) in mtk_dp_bridge_atomic_get_input_bus_fmts()
2322 input_fmts[0] = MEDIA_BUS_FMT_YUYV8_1X16; in mtk_dp_bridge_atomic_get_input_bus_fmts()
2324 input_fmts = kcalloc(ARRAY_SIZE(mt8195_input_fmts), in mtk_dp_bridge_atomic_get_input_bus_fmts()
2325 sizeof(*input_fmts), in mtk_dp_bridge_atomic_get_input_bus_fmts()
2327 if (!input_fmts) in mtk_dp_bridge_atomic_get_input_bus_fmts()
2331 memcpy(input_fmts, mt8195_input_fmts, sizeof(mt8195_input_fmts)); in mtk_dp_bridge_atomic_get_input_bus_fmts()
2334 return input_fmts; in mtk_dp_bridge_atomic_get_input_bus_fmts()
/linux-6.1.9/drivers/gpu/drm/
Ddrm_atomic_helper.c3664 u32 *input_fmts; in drm_atomic_helper_bridge_propagate_bus_fmt() local
3666 input_fmts = kzalloc(sizeof(*input_fmts), GFP_KERNEL); in drm_atomic_helper_bridge_propagate_bus_fmt()
3667 if (!input_fmts) { in drm_atomic_helper_bridge_propagate_bus_fmt()
3673 input_fmts[0] = output_fmt; in drm_atomic_helper_bridge_propagate_bus_fmt()
3674 return input_fmts; in drm_atomic_helper_bridge_propagate_bus_fmt()