| /linux/drivers/gpu/drm/imx/ipuv3/ |
| H A D | parallel-display.c | 102 u32 *input_fmts; in imx_pd_bridge_atomic_get_input_bus_fmts() local 120 input_fmts = kmalloc(sizeof(*input_fmts), GFP_KERNEL); in imx_pd_bridge_atomic_get_input_bus_fmts() 121 if (!input_fmts) in imx_pd_bridge_atomic_get_input_bus_fmts() 124 input_fmts[0] = output_fmt; in imx_pd_bridge_atomic_get_input_bus_fmts() 125 return input_fmts; in imx_pd_bridge_atomic_get_input_bus_fmts()
|
| /linux/drivers/gpu/drm/bridge/ |
| H A D | ti-tfp410.c | 213 u32 *input_fmts; in tfp410_get_input_bus_fmts() local 217 input_fmts = kzalloc(sizeof(*input_fmts), GFP_KERNEL); in tfp410_get_input_bus_fmts() 218 if (!input_fmts) in tfp410_get_input_bus_fmts() 222 input_fmts[0] = dvi->bus_format; in tfp410_get_input_bus_fmts() 224 return input_fmts; in tfp410_get_input_bus_fmts()
|
| H A D | lontium-lt9211.c | 598 u32 *input_fmts; in lt9211_atomic_get_input_bus_fmts() local 602 input_fmts = kcalloc(MAX_INPUT_SEL_FORMATS, sizeof(*input_fmts), in lt9211_atomic_get_input_bus_fmts() 604 if (!input_fmts) in lt9211_atomic_get_input_bus_fmts() 608 input_fmts[0] = MEDIA_BUS_FMT_RGB888_1X24; in lt9211_atomic_get_input_bus_fmts() 611 return input_fmts; in lt9211_atomic_get_input_bus_fmts()
|
| H A D | sii902x.c | 482 u32 *input_fmts; in sii902x_bridge_atomic_get_input_bus_fmts() local 486 input_fmts = kcalloc(1, sizeof(*input_fmts), GFP_KERNEL); in sii902x_bridge_atomic_get_input_bus_fmts() 487 if (!input_fmts) in sii902x_bridge_atomic_get_input_bus_fmts() 492 input_fmts[0] = MEDIA_BUS_FMT_RGB565_1X16; in sii902x_bridge_atomic_get_input_bus_fmts() 495 input_fmts[0] = MEDIA_BUS_FMT_RGB666_1X18; in sii902x_bridge_atomic_get_input_bus_fmts() 498 input_fmts[0] = MEDIA_BUS_FMT_RGB888_1X24; in sii902x_bridge_atomic_get_input_bus_fmts() 506 return input_fmts; in sii902x_bridge_atomic_get_input_bus_fmts()
|
| H A D | ti-sn65dsi83.c | 721 u32 *input_fmts; in sn65dsi83_atomic_get_input_bus_fmts() local 725 input_fmts = kcalloc(MAX_INPUT_SEL_FORMATS, sizeof(*input_fmts), in sn65dsi83_atomic_get_input_bus_fmts() 727 if (!input_fmts) in sn65dsi83_atomic_get_input_bus_fmts() 731 input_fmts[0] = MEDIA_BUS_FMT_RGB888_1X24; in sn65dsi83_atomic_get_input_bus_fmts() 734 return input_fmts; in sn65dsi83_atomic_get_input_bus_fmts()
|
| H A D | lontium-lt9611.c | 822 u32 *input_fmts; in lt9611_atomic_get_input_bus_fmts() local 826 input_fmts = kcalloc(MAX_INPUT_SEL_FORMATS, sizeof(*input_fmts), in lt9611_atomic_get_input_bus_fmts() 828 if (!input_fmts) in lt9611_atomic_get_input_bus_fmts() 832 input_fmts[0] = MEDIA_BUS_FMT_RGB888_1X24; in lt9611_atomic_get_input_bus_fmts() 835 return input_fmts; in lt9611_atomic_get_input_bus_fmts()
|
| H A D | ite-it66121.c | 705 u32 *input_fmts; in it66121_bridge_atomic_get_input_bus_fmts() local 709 input_fmts = kcalloc(MAX_INPUT_SEL_FORMATS, sizeof(*input_fmts), in it66121_bridge_atomic_get_input_bus_fmts() 711 if (!input_fmts) in it66121_bridge_atomic_get_input_bus_fmts() 716 input_fmts[0] = MEDIA_BUS_FMT_RGB888_2X12_LE; in it66121_bridge_atomic_get_input_bus_fmts() 719 input_fmts[0] = MEDIA_BUS_FMT_RGB888_1X24; in it66121_bridge_atomic_get_input_bus_fmts() 722 return input_fmts; in it66121_bridge_atomic_get_input_bus_fmts()
|
| H A D | tc358767.c | 1889 u32 *input_fmts; in tc_dpi_atomic_get_input_bus_fmts() local 1893 input_fmts = kcalloc(MAX_INPUT_SEL_FORMATS, sizeof(*input_fmts), in tc_dpi_atomic_get_input_bus_fmts() 1895 if (!input_fmts) in tc_dpi_atomic_get_input_bus_fmts() 1899 input_fmts[0] = MEDIA_BUS_FMT_RGB888_1X24; in tc_dpi_atomic_get_input_bus_fmts() 1902 return input_fmts; in tc_dpi_atomic_get_input_bus_fmts()
|
| /linux/drivers/gpu/drm/meson/ |
| H A D | meson_encoder_hdmi.c | 282 u32 *input_fmts = NULL; in meson_encoder_hdmi_get_inp_bus_fmts() local 290 input_fmts = kcalloc(*num_input_fmts, in meson_encoder_hdmi_get_inp_bus_fmts() 291 sizeof(*input_fmts), in meson_encoder_hdmi_get_inp_bus_fmts() 293 if (!input_fmts) in meson_encoder_hdmi_get_inp_bus_fmts() 296 input_fmts[0] = output_fmt; in meson_encoder_hdmi_get_inp_bus_fmts() 302 return input_fmts; in meson_encoder_hdmi_get_inp_bus_fmts()
|
| /linux/drivers/gpu/drm/mediatek/ |
| H A D | mtk_dp.c | 2487 u32 *input_fmts; in mtk_dp_bridge_atomic_get_input_bus_fmts() local 2506 input_fmts = kcalloc(1, sizeof(*input_fmts), GFP_KERNEL); in mtk_dp_bridge_atomic_get_input_bus_fmts() 2507 if (!input_fmts) in mtk_dp_bridge_atomic_get_input_bus_fmts() 2510 input_fmts[0] = MEDIA_BUS_FMT_YUYV8_1X16; in mtk_dp_bridge_atomic_get_input_bus_fmts() 2512 input_fmts = kcalloc(ARRAY_SIZE(mt8195_input_fmts), in mtk_dp_bridge_atomic_get_input_bus_fmts() 2513 sizeof(*input_fmts), in mtk_dp_bridge_atomic_get_input_bus_fmts() 2515 if (!input_fmts) in mtk_dp_bridge_atomic_get_input_bus_fmts() 2519 memcpy(input_fmts, mt8195_input_fmts, sizeof(mt8195_input_fmts)); in mtk_dp_bridge_atomic_get_input_bus_fmts() 2522 return input_fmts; in mtk_dp_bridge_atomic_get_input_bus_fmts()
|
| /linux/drivers/gpu/drm/bridge/cadence/ |
| H A D | cdns-mhdp8546-core.c | 2104 u32 *input_fmts; in cdns_mhdp_get_input_bus_fmts() local 2108 input_fmts = kzalloc(sizeof(*input_fmts), GFP_KERNEL); in cdns_mhdp_get_input_bus_fmts() 2109 if (!input_fmts) in cdns_mhdp_get_input_bus_fmts() 2113 input_fmts[0] = MEDIA_BUS_FMT_RGB121212_1X36; in cdns_mhdp_get_input_bus_fmts() 2115 return input_fmts; in cdns_mhdp_get_input_bus_fmts()
|
| /linux/drivers/gpu/drm/ |
| H A D | drm_atomic_helper.c | 4004 u32 *input_fmts; in drm_atomic_helper_bridge_propagate_bus_fmt() local 4006 input_fmts = kzalloc(sizeof(*input_fmts), GFP_KERNEL); in drm_atomic_helper_bridge_propagate_bus_fmt() 4007 if (!input_fmts) { in drm_atomic_helper_bridge_propagate_bus_fmt() 4013 input_fmts[0] = output_fmt; in drm_atomic_helper_bridge_propagate_bus_fmt() 4014 return input_fmts; in drm_atomic_helper_bridge_propagate_bus_fmt()
|