Home
last modified time | relevance | path

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

12

/Linux-v6.6/drivers/gpu/drm/bridge/
Dlvds-codec.c90 u32 *input_fmts; in lvds_codec_atomic_get_input_bus_fmts() local
94 input_fmts = kcalloc(MAX_INPUT_SEL_FORMATS, sizeof(*input_fmts), in lvds_codec_atomic_get_input_bus_fmts()
96 if (!input_fmts) in lvds_codec_atomic_get_input_bus_fmts()
99 input_fmts[0] = lvds_codec->bus_format; in lvds_codec_atomic_get_input_bus_fmts()
102 return input_fmts; in lvds_codec_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()
Dfsl-ldb.c253 u32 *input_fmts; in fsl_ldb_atomic_get_input_bus_fmts() local
257 input_fmts = kcalloc(MAX_INPUT_SEL_FORMATS, sizeof(*input_fmts), in fsl_ldb_atomic_get_input_bus_fmts()
259 if (!input_fmts) in fsl_ldb_atomic_get_input_bus_fmts()
262 input_fmts[0] = MEDIA_BUS_FMT_RGB888_1X24; in fsl_ldb_atomic_get_input_bus_fmts()
265 return input_fmts; in fsl_ldb_atomic_get_input_bus_fmts()
Dti-tfp410.c217 u32 *input_fmts; in tfp410_get_input_bus_fmts() local
221 input_fmts = kzalloc(sizeof(*input_fmts), GFP_KERNEL); in tfp410_get_input_bus_fmts()
222 if (!input_fmts) in tfp410_get_input_bus_fmts()
226 input_fmts[0] = dvi->bus_format; in tfp410_get_input_bus_fmts()
228 return input_fmts; in tfp410_get_input_bus_fmts()
Dlontium-lt9211.c599 u32 *input_fmts; in lt9211_atomic_get_input_bus_fmts() local
603 input_fmts = kcalloc(MAX_INPUT_SEL_FORMATS, sizeof(*input_fmts), in lt9211_atomic_get_input_bus_fmts()
605 if (!input_fmts) in lt9211_atomic_get_input_bus_fmts()
609 input_fmts[0] = MEDIA_BUS_FMT_RGB888_1X24; in lt9211_atomic_get_input_bus_fmts()
612 return input_fmts; in lt9211_atomic_get_input_bus_fmts()
Dti-sn65dsi83.c550 u32 *input_fmts; in sn65dsi83_atomic_get_input_bus_fmts() local
554 input_fmts = kcalloc(MAX_INPUT_SEL_FORMATS, sizeof(*input_fmts), in sn65dsi83_atomic_get_input_bus_fmts()
556 if (!input_fmts) in sn65dsi83_atomic_get_input_bus_fmts()
560 input_fmts[0] = MEDIA_BUS_FMT_RGB888_1X24; in sn65dsi83_atomic_get_input_bus_fmts()
563 return input_fmts; in sn65dsi83_atomic_get_input_bus_fmts()
Dtc358768.c935 u32 *input_fmts; in tc358768_atomic_get_input_bus_fmts() local
939 input_fmts = kcalloc(MAX_INPUT_SEL_FORMATS, sizeof(*input_fmts), in tc358768_atomic_get_input_bus_fmts()
941 if (!input_fmts) in tc358768_atomic_get_input_bus_fmts()
946 input_fmts[0] = MEDIA_BUS_FMT_RGB565_1X16; in tc358768_atomic_get_input_bus_fmts()
949 input_fmts[0] = MEDIA_BUS_FMT_RGB666_1X18; in tc358768_atomic_get_input_bus_fmts()
953 input_fmts[0] = MEDIA_BUS_FMT_RGB888_1X24; in tc358768_atomic_get_input_bus_fmts()
959 return input_fmts; in tc358768_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.c875 u32 *input_fmts; in lt9611_atomic_get_input_bus_fmts() local
879 input_fmts = kcalloc(MAX_INPUT_SEL_FORMATS, sizeof(*input_fmts), in lt9611_atomic_get_input_bus_fmts()
881 if (!input_fmts) in lt9611_atomic_get_input_bus_fmts()
885 input_fmts[0] = MEDIA_BUS_FMT_RGB888_1X24; in lt9611_atomic_get_input_bus_fmts()
888 return input_fmts; in lt9611_atomic_get_input_bus_fmts()
Dsii902x.c483 u32 *input_fmts; in sii902x_bridge_atomic_get_input_bus_fmts() local
487 input_fmts = kcalloc(1, sizeof(*input_fmts), GFP_KERNEL); in sii902x_bridge_atomic_get_input_bus_fmts()
488 if (!input_fmts) in sii902x_bridge_atomic_get_input_bus_fmts()
491 input_fmts[0] = MEDIA_BUS_FMT_RGB888_1X24; in sii902x_bridge_atomic_get_input_bus_fmts()
494 return input_fmts; in sii902x_bridge_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.c703 u32 *input_fmts; in it66121_bridge_atomic_get_input_bus_fmts() local
707 input_fmts = kcalloc(MAX_INPUT_SEL_FORMATS, sizeof(*input_fmts), in it66121_bridge_atomic_get_input_bus_fmts()
709 if (!input_fmts) in it66121_bridge_atomic_get_input_bus_fmts()
714 input_fmts[0] = MEDIA_BUS_FMT_RGB888_2X12_LE; in it66121_bridge_atomic_get_input_bus_fmts()
717 input_fmts[0] = MEDIA_BUS_FMT_RGB888_1X24; in it66121_bridge_atomic_get_input_bus_fmts()
720 return input_fmts; in it66121_bridge_atomic_get_input_bus_fmts()
Dsamsung-dsim.c1537 u32 *input_fmts; in samsung_dsim_atomic_get_input_bus_fmts() local
1539 input_fmts = kmalloc(sizeof(*input_fmts), GFP_KERNEL); in samsung_dsim_atomic_get_input_bus_fmts()
1540 if (!input_fmts) in samsung_dsim_atomic_get_input_bus_fmts()
1551 input_fmts[0] = output_fmt; in samsung_dsim_atomic_get_input_bus_fmts()
1554 return input_fmts; in samsung_dsim_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-v6.6/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.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.c322 u32 *input_fmts; in imx8qxp_ldb_bridge_atomic_get_input_bus_fmts() local
329 input_fmts = kmalloc(sizeof(*input_fmts), GFP_KERNEL); in imx8qxp_ldb_bridge_atomic_get_input_bus_fmts()
330 if (!input_fmts) in imx8qxp_ldb_bridge_atomic_get_input_bus_fmts()
344 input_fmts[0] = finfo->depth == 18 ? in imx8qxp_ldb_bridge_atomic_get_input_bus_fmts()
348 input_fmts[0] = MEDIA_BUS_FMT_RGB888_1X24; in imx8qxp_ldb_bridge_atomic_get_input_bus_fmts()
352 input_fmts[0] = MEDIA_BUS_FMT_RGB666_1X24_CPADHI; in imx8qxp_ldb_bridge_atomic_get_input_bus_fmts()
356 input_fmts[0] = MEDIA_BUS_FMT_RGB888_1X24; in imx8qxp_ldb_bridge_atomic_get_input_bus_fmts()
359 kfree(input_fmts); in imx8qxp_ldb_bridge_atomic_get_input_bus_fmts()
360 input_fmts = NULL; in imx8qxp_ldb_bridge_atomic_get_input_bus_fmts()
364 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-v6.6/drivers/gpu/drm/imx/ipuv3/
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-v6.6/drivers/gpu/drm/bridge/synopsys/
Ddw-hdmi.c2772 u32 *input_fmts; in dw_hdmi_bridge_atomic_get_input_bus_fmts() local
2777 input_fmts = kcalloc(MAX_INPUT_SEL_FORMATS, sizeof(*input_fmts), in dw_hdmi_bridge_atomic_get_input_bus_fmts()
2779 if (!input_fmts) in dw_hdmi_bridge_atomic_get_input_bus_fmts()
2785 input_fmts[i++] = MEDIA_BUS_FMT_RGB888_1X24; in dw_hdmi_bridge_atomic_get_input_bus_fmts()
2789 input_fmts[i++] = MEDIA_BUS_FMT_RGB888_1X24; in dw_hdmi_bridge_atomic_get_input_bus_fmts()
2790 input_fmts[i++] = MEDIA_BUS_FMT_YUV8_1X24; in dw_hdmi_bridge_atomic_get_input_bus_fmts()
2791 input_fmts[i++] = MEDIA_BUS_FMT_UYVY8_1X16; in dw_hdmi_bridge_atomic_get_input_bus_fmts()
2794 input_fmts[i++] = MEDIA_BUS_FMT_YUV8_1X24; in dw_hdmi_bridge_atomic_get_input_bus_fmts()
2795 input_fmts[i++] = MEDIA_BUS_FMT_UYVY8_1X16; in dw_hdmi_bridge_atomic_get_input_bus_fmts()
2796 input_fmts[i++] = MEDIA_BUS_FMT_RGB888_1X24; in dw_hdmi_bridge_atomic_get_input_bus_fmts()
[all …]
/Linux-v6.6/drivers/gpu/drm/meson/
Dmeson_encoder_hdmi.c279 u32 *input_fmts = NULL; in meson_encoder_hdmi_get_inp_bus_fmts() local
287 input_fmts = kcalloc(*num_input_fmts, in meson_encoder_hdmi_get_inp_bus_fmts()
288 sizeof(*input_fmts), in meson_encoder_hdmi_get_inp_bus_fmts()
290 if (!input_fmts) in meson_encoder_hdmi_get_inp_bus_fmts()
293 input_fmts[0] = output_fmt; in meson_encoder_hdmi_get_inp_bus_fmts()
299 return input_fmts; in meson_encoder_hdmi_get_inp_bus_fmts()
/Linux-v6.6/drivers/gpu/drm/mediatek/
Dmtk_dpi.c658 u32 *input_fmts; in mtk_dpi_bridge_atomic_get_input_bus_fmts() local
662 input_fmts = kcalloc(1, sizeof(*input_fmts), in mtk_dpi_bridge_atomic_get_input_bus_fmts()
664 if (!input_fmts) in mtk_dpi_bridge_atomic_get_input_bus_fmts()
668 input_fmts[0] = MEDIA_BUS_FMT_RGB888_1X24; in mtk_dpi_bridge_atomic_get_input_bus_fmts()
670 return input_fmts; in mtk_dpi_bridge_atomic_get_input_bus_fmts()
Dmtk_dp.c2335 u32 *input_fmts; in mtk_dp_bridge_atomic_get_input_bus_fmts() local
2355 input_fmts = kcalloc(1, sizeof(*input_fmts), GFP_KERNEL); in mtk_dp_bridge_atomic_get_input_bus_fmts()
2356 if (!input_fmts) in mtk_dp_bridge_atomic_get_input_bus_fmts()
2359 input_fmts[0] = MEDIA_BUS_FMT_YUYV8_1X16; in mtk_dp_bridge_atomic_get_input_bus_fmts()
2361 input_fmts = kcalloc(ARRAY_SIZE(mt8195_input_fmts), in mtk_dp_bridge_atomic_get_input_bus_fmts()
2362 sizeof(*input_fmts), in mtk_dp_bridge_atomic_get_input_bus_fmts()
2364 if (!input_fmts) in mtk_dp_bridge_atomic_get_input_bus_fmts()
2368 memcpy(input_fmts, mt8195_input_fmts, sizeof(mt8195_input_fmts)); in mtk_dp_bridge_atomic_get_input_bus_fmts()
2371 return input_fmts; in mtk_dp_bridge_atomic_get_input_bus_fmts()
/Linux-v6.6/drivers/gpu/drm/bridge/cadence/
Dcdns-mhdp8546-core.c2172 u32 *input_fmts; in cdns_mhdp_get_input_bus_fmts() local
2176 input_fmts = kzalloc(sizeof(*input_fmts), GFP_KERNEL); in cdns_mhdp_get_input_bus_fmts()
2177 if (!input_fmts) in cdns_mhdp_get_input_bus_fmts()
2181 input_fmts[0] = MEDIA_BUS_FMT_RGB121212_1X36; in cdns_mhdp_get_input_bus_fmts()
2183 return input_fmts; in cdns_mhdp_get_input_bus_fmts()

12