/linux-6.12.1/drivers/gpu/drm/bridge/ |
D | lvds-codec.c | 85 u32 *input_fmts; in lvds_codec_atomic_get_input_bus_fmts() local 89 input_fmts = kcalloc(MAX_INPUT_SEL_FORMATS, sizeof(*input_fmts), in lvds_codec_atomic_get_input_bus_fmts() 91 if (!input_fmts) in lvds_codec_atomic_get_input_bus_fmts() 94 input_fmts[0] = lvds_codec->bus_format; in lvds_codec_atomic_get_input_bus_fmts() 97 return input_fmts; in lvds_codec_atomic_get_input_bus_fmts()
|
D | ti-dlpc3433.c | 220 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()
|
D | fsl-ldb.c | 253 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()
|
D | ti-tfp410.c | 212 u32 *input_fmts; in tfp410_get_input_bus_fmts() local 216 input_fmts = kzalloc(sizeof(*input_fmts), GFP_KERNEL); in tfp410_get_input_bus_fmts() 217 if (!input_fmts) in tfp410_get_input_bus_fmts() 221 input_fmts[0] = dvi->bus_format; in tfp410_get_input_bus_fmts() 223 return input_fmts; in tfp410_get_input_bus_fmts()
|
D | lontium-lt9211.c | 599 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()
|
D | ti-sn65dsi83.c | 549 u32 *input_fmts; in sn65dsi83_atomic_get_input_bus_fmts() local 553 input_fmts = kcalloc(MAX_INPUT_SEL_FORMATS, sizeof(*input_fmts), in sn65dsi83_atomic_get_input_bus_fmts() 555 if (!input_fmts) in sn65dsi83_atomic_get_input_bus_fmts() 559 input_fmts[0] = MEDIA_BUS_FMT_RGB888_1X24; in sn65dsi83_atomic_get_input_bus_fmts() 562 return input_fmts; in sn65dsi83_atomic_get_input_bus_fmts()
|
D | chipone-icn6211.c | 601 u32 *input_fmts; in chipone_atomic_get_input_bus_fmts() local 605 input_fmts = kcalloc(MAX_INPUT_SEL_FORMATS, sizeof(*input_fmts), in chipone_atomic_get_input_bus_fmts() 607 if (!input_fmts) in chipone_atomic_get_input_bus_fmts() 611 input_fmts[0] = MEDIA_BUS_FMT_RGB888_1X24; in chipone_atomic_get_input_bus_fmts() 614 return input_fmts; in chipone_atomic_get_input_bus_fmts()
|
D | tc358768.c | 1119 u32 *input_fmts; in tc358768_atomic_get_input_bus_fmts() local 1123 input_fmts = kcalloc(MAX_INPUT_SEL_FORMATS, sizeof(*input_fmts), in tc358768_atomic_get_input_bus_fmts() 1125 if (!input_fmts) in tc358768_atomic_get_input_bus_fmts() 1130 input_fmts[0] = MEDIA_BUS_FMT_RGB565_1X16; in tc358768_atomic_get_input_bus_fmts() 1133 input_fmts[0] = MEDIA_BUS_FMT_RGB666_1X18; in tc358768_atomic_get_input_bus_fmts() 1137 input_fmts[0] = MEDIA_BUS_FMT_RGB888_1X24; in tc358768_atomic_get_input_bus_fmts() 1143 return input_fmts; in tc358768_atomic_get_input_bus_fmts()
|
D | lontium-lt9611.c | 874 u32 *input_fmts; in lt9611_atomic_get_input_bus_fmts() local 878 input_fmts = kcalloc(MAX_INPUT_SEL_FORMATS, sizeof(*input_fmts), in lt9611_atomic_get_input_bus_fmts() 880 if (!input_fmts) in lt9611_atomic_get_input_bus_fmts() 884 input_fmts[0] = MEDIA_BUS_FMT_RGB888_1X24; in lt9611_atomic_get_input_bus_fmts() 887 return input_fmts; in lt9611_atomic_get_input_bus_fmts()
|
D | sii902x.c | 480 u32 *input_fmts; in sii902x_bridge_atomic_get_input_bus_fmts() local 484 input_fmts = kcalloc(1, sizeof(*input_fmts), GFP_KERNEL); in sii902x_bridge_atomic_get_input_bus_fmts() 485 if (!input_fmts) in sii902x_bridge_atomic_get_input_bus_fmts() 488 input_fmts[0] = MEDIA_BUS_FMT_RGB888_1X24; in sii902x_bridge_atomic_get_input_bus_fmts() 491 return input_fmts; in sii902x_bridge_atomic_get_input_bus_fmts()
|
D | nwl-dsi.c | 934 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()
|
D | ite-it66121.c | 703 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()
|
D | samsung-dsim.c | 1559 u32 *input_fmts; in samsung_dsim_atomic_get_input_bus_fmts() local 1561 input_fmts = kmalloc(sizeof(*input_fmts), GFP_KERNEL); in samsung_dsim_atomic_get_input_bus_fmts() 1562 if (!input_fmts) in samsung_dsim_atomic_get_input_bus_fmts() 1573 input_fmts[0] = output_fmt; in samsung_dsim_atomic_get_input_bus_fmts() 1576 return input_fmts; in samsung_dsim_atomic_get_input_bus_fmts()
|
/linux-6.12.1/drivers/gpu/drm/bridge/imx/ |
D | imx8qxp-pixel-combiner.c | 217 u32 *input_fmts; in imx8qxp_pc_bridge_atomic_get_input_bus_fmts() local 224 input_fmts = kmalloc(sizeof(*input_fmts), GFP_KERNEL); in imx8qxp_pc_bridge_atomic_get_input_bus_fmts() 225 if (!input_fmts) in imx8qxp_pc_bridge_atomic_get_input_bus_fmts() 230 input_fmts[0] = MEDIA_BUS_FMT_RGB888_1X30_CPADLO; in imx8qxp_pc_bridge_atomic_get_input_bus_fmts() 233 input_fmts[0] = MEDIA_BUS_FMT_RGB666_1X30_CPADLO; in imx8qxp_pc_bridge_atomic_get_input_bus_fmts() 236 kfree(input_fmts); in imx8qxp_pc_bridge_atomic_get_input_bus_fmts() 237 input_fmts = NULL; in imx8qxp_pc_bridge_atomic_get_input_bus_fmts() 241 return input_fmts; in imx8qxp_pc_bridge_atomic_get_input_bus_fmts()
|
D | imx8qxp-pxl2dpi.c | 166 u32 *input_fmts; in imx8qxp_pxl2dpi_bridge_atomic_get_input_bus_fmts() local 173 input_fmts = kmalloc(sizeof(*input_fmts), GFP_KERNEL); in imx8qxp_pxl2dpi_bridge_atomic_get_input_bus_fmts() 174 if (!input_fmts) in imx8qxp_pxl2dpi_bridge_atomic_get_input_bus_fmts() 179 input_fmts[0] = MEDIA_BUS_FMT_RGB888_1X36_CPADLO; in imx8qxp_pxl2dpi_bridge_atomic_get_input_bus_fmts() 182 input_fmts[0] = MEDIA_BUS_FMT_RGB666_1X36_CPADLO; in imx8qxp_pxl2dpi_bridge_atomic_get_input_bus_fmts() 185 kfree(input_fmts); in imx8qxp_pxl2dpi_bridge_atomic_get_input_bus_fmts() 186 input_fmts = NULL; in imx8qxp_pxl2dpi_bridge_atomic_get_input_bus_fmts() 190 return input_fmts; in imx8qxp_pxl2dpi_bridge_atomic_get_input_bus_fmts()
|
D | imx8qm-ldb.c | 319 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()
|
D | imx8qxp-ldb.c | 322 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()
|
D | imx8qxp-pixel-link.c | 203 u32 *input_fmts; in imx8qxp_pixel_link_bridge_atomic_get_input_bus_fmts() local 210 input_fmts = kmalloc(sizeof(*input_fmts), GFP_KERNEL); in imx8qxp_pixel_link_bridge_atomic_get_input_bus_fmts() 211 if (!input_fmts) in imx8qxp_pixel_link_bridge_atomic_get_input_bus_fmts() 214 input_fmts[0] = output_fmt; in imx8qxp_pixel_link_bridge_atomic_get_input_bus_fmts() 216 return input_fmts; in imx8qxp_pixel_link_bridge_atomic_get_input_bus_fmts()
|
D | imx93-mipi-dsi.c | 597 u32 *input_fmts, input_fmt; in imx93_dsi_get_input_bus_fmts() local 614 input_fmts = kmalloc(sizeof(*input_fmts), GFP_KERNEL); in imx93_dsi_get_input_bus_fmts() 615 if (!input_fmts) in imx93_dsi_get_input_bus_fmts() 617 input_fmts[0] = input_fmt; in imx93_dsi_get_input_bus_fmts() 620 return input_fmts; in imx93_dsi_get_input_bus_fmts()
|
/linux-6.12.1/drivers/gpu/drm/imx/ipuv3/ |
D | parallel-display.c | 170 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.12.1/drivers/gpu/drm/bridge/synopsys/ |
D | dw-hdmi.c | 2776 u32 *input_fmts; in dw_hdmi_bridge_atomic_get_input_bus_fmts() local 2781 input_fmts = kcalloc(MAX_INPUT_SEL_FORMATS, sizeof(*input_fmts), in dw_hdmi_bridge_atomic_get_input_bus_fmts() 2783 if (!input_fmts) 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() 2793 input_fmts[i++] = MEDIA_BUS_FMT_RGB888_1X24; 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() 2798 input_fmts[i++] = MEDIA_BUS_FMT_YUV8_1X24; in dw_hdmi_bridge_atomic_get_input_bus_fmts() 2799 input_fmts[i++] = MEDIA_BUS_FMT_UYVY8_1X16; in dw_hdmi_bridge_atomic_get_input_bus_fmts() 2800 input_fmts[i++] = MEDIA_BUS_FMT_RGB888_1X24; in dw_hdmi_bridge_atomic_get_input_bus_fmts() [all …]
|
D | dw-mipi-dsi.c | 554 u32 *input_fmts; in dw_mipi_dsi_bridge_atomic_get_input_bus_fmts() local 563 input_fmts = kmalloc(sizeof(*input_fmts), GFP_KERNEL); in dw_mipi_dsi_bridge_atomic_get_input_bus_fmts() 564 if (!input_fmts) in dw_mipi_dsi_bridge_atomic_get_input_bus_fmts() 566 input_fmts[0] = MEDIA_BUS_FMT_FIXED; in dw_mipi_dsi_bridge_atomic_get_input_bus_fmts() 569 return input_fmts; in dw_mipi_dsi_bridge_atomic_get_input_bus_fmts()
|
/linux-6.12.1/drivers/gpu/drm/meson/ |
D | meson_encoder_hdmi.c | 279 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-6.12.1/drivers/gpu/drm/mediatek/ |
D | mtk_dpi.c | 658 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()
|
D | mtk_dp.c | 2452 u32 *input_fmts; in mtk_dp_bridge_atomic_get_input_bus_fmts() local 2472 input_fmts = kcalloc(1, sizeof(*input_fmts), GFP_KERNEL); in mtk_dp_bridge_atomic_get_input_bus_fmts() 2473 if (!input_fmts) in mtk_dp_bridge_atomic_get_input_bus_fmts() 2476 input_fmts[0] = MEDIA_BUS_FMT_YUYV8_1X16; in mtk_dp_bridge_atomic_get_input_bus_fmts() 2478 input_fmts = kcalloc(ARRAY_SIZE(mt8195_input_fmts), in mtk_dp_bridge_atomic_get_input_bus_fmts() 2479 sizeof(*input_fmts), in mtk_dp_bridge_atomic_get_input_bus_fmts() 2481 if (!input_fmts) in mtk_dp_bridge_atomic_get_input_bus_fmts() 2485 memcpy(input_fmts, mt8195_input_fmts, sizeof(mt8195_input_fmts)); in mtk_dp_bridge_atomic_get_input_bus_fmts() 2488 return input_fmts; in mtk_dp_bridge_atomic_get_input_bus_fmts()
|