/kernel/linux/linux-6.6/drivers/gpu/drm/tve200/ |
H A D | tve200_drv.c | 66 struct drm_panel *panel; in tve200_modeset_init() local 79 0, 0, &panel, &bridge); in tve200_modeset_init() 82 if (panel) { in tve200_modeset_init() 83 bridge = drm_panel_bridge_add_typed(panel, in tve200_modeset_init() 91 * TODO: when we are using a different bridge than a panel in tve200_modeset_init() 95 dev_err(dev->dev, "the bridge is not a panel\n"); in tve200_modeset_init() 113 priv->panel = panel; in tve200_modeset_init() 117 dev_info(dev->dev, "attached to panel %s\n", in tve200_modeset_init() 118 dev_name(panel in tve200_modeset_init() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/panel/ |
H A D | panel-novatek-nt36672a.c | 11 * Panels using the Novatek NT37762A IC should add appropriate configuration per-panel and 79 static inline struct nt36672a_panel *to_nt36672a_panel(struct drm_panel *panel) in to_nt36672a_panel() argument 81 return container_of(panel, struct nt36672a_panel, base); in to_nt36672a_panel() 84 static int nt36672a_send_cmds(struct drm_panel *panel, const struct nt36672a_panel_cmd *cmds, in nt36672a_send_cmds() argument 87 struct nt36672a_panel *pinfo = to_nt36672a_panel(panel); in nt36672a_send_cmds() 103 static int nt36672a_panel_power_off(struct drm_panel *panel) in nt36672a_panel_power_off() argument 105 struct nt36672a_panel *pinfo = to_nt36672a_panel(panel); in nt36672a_panel_power_off() 112 dev_err(panel->dev, "regulator_bulk_disable failed %d\n", ret); in nt36672a_panel_power_off() 117 static int nt36672a_panel_unprepare(struct drm_panel *panel) in nt36672a_panel_unprepare() argument 119 struct nt36672a_panel *pinfo = to_nt36672a_panel(panel); in nt36672a_panel_unprepare() 177 nt36672a_panel_prepare(struct drm_panel *panel) nt36672a_panel_prepare() argument 233 nt36672a_panel_get_modes(struct drm_panel *panel, struct drm_connector *connector) nt36672a_panel_get_modes() argument [all...] |
H A D | panel-visionox-vtdr6130.c | 19 struct drm_panel panel; member 26 static inline struct visionox_vtdr6130 *to_visionox_vtdr6130(struct drm_panel *panel) in to_visionox_vtdr6130() argument 28 return container_of(panel, struct visionox_vtdr6130, panel); in to_visionox_vtdr6130() 154 static int visionox_vtdr6130_prepare(struct drm_panel *panel) in visionox_vtdr6130_prepare() argument 156 struct visionox_vtdr6130 *ctx = to_visionox_vtdr6130(panel); in visionox_vtdr6130_prepare() 172 dev_err(dev, "Failed to initialize panel: %d\n", ret); in visionox_vtdr6130_prepare() 182 static int visionox_vtdr6130_unprepare(struct drm_panel *panel) in visionox_vtdr6130_unprepare() argument 184 struct visionox_vtdr6130 *ctx = to_visionox_vtdr6130(panel); in visionox_vtdr6130_unprepare() 193 dev_err(dev, "Failed to un-initialize panel in visionox_vtdr6130_unprepare() 217 visionox_vtdr6130_get_modes(struct drm_panel *panel, struct drm_connector *connector) visionox_vtdr6130_get_modes() argument [all...] |
H A D | panel-simple.c | 45 * struct panel_desc - Describes a simple panel. 49 * @modes: Pointer to array of fixed modes appropriate for this panel. 74 /** @size: Structure containing the physical size of this panel. */ 87 /** @delay: Structure containing various delay values for this panel. */ 90 * @delay.prepare: Time for the panel to become ready. 92 * The time (in milliseconds) that it takes for the panel to 98 * @delay.enable: Time for the panel to display a valid frame. 100 * The time (in milliseconds) that it takes for the panel to 107 * @delay.disable: Time for the panel to turn the display off. 109 * The time (in milliseconds) that it takes for the panel t 160 to_panel_simple(struct drm_panel *panel) to_panel_simple() argument 165 panel_simple_get_timings_modes(struct panel_simple *panel, struct drm_connector *connector) panel_simple_get_timings_modes() argument 197 panel_simple_get_display_modes(struct panel_simple *panel, struct drm_connector *connector) panel_simple_get_display_modes() argument 228 panel_simple_get_non_edid_modes(struct panel_simple *panel, struct drm_connector *connector) panel_simple_get_non_edid_modes() argument 288 panel_simple_disable(struct drm_panel *panel) panel_simple_disable() argument 317 panel_simple_unprepare(struct drm_panel *panel) panel_simple_unprepare() argument 356 panel_simple_prepare(struct drm_panel *panel) panel_simple_prepare() argument 376 panel_simple_enable(struct drm_panel *panel) panel_simple_enable() argument 391 panel_simple_get_modes(struct drm_panel *panel, struct drm_connector *connector) panel_simple_get_modes() argument 423 panel_simple_get_timings(struct drm_panel *panel, unsigned int num_timings, struct display_timing *timings) panel_simple_get_timings() argument 440 panel_simple_get_orientation(struct drm_panel *panel) panel_simple_get_orientation() argument 459 panel_dpi_probe(struct device *dev, struct panel_simple *panel) panel_dpi_probe() argument 508 panel_simple_parse_panel_timing_node(struct device *dev, struct panel_simple *panel, const struct display_timing *ot) panel_simple_parse_panel_timing_node() argument 554 struct panel_simple *panel; panel_simple_probe() local 694 struct panel_simple *panel = dev_get_drvdata(dev); panel_simple_remove() local 708 struct panel_simple *panel = dev_get_drvdata(dev); panel_simple_shutdown() local 4826 struct panel_simple *panel = mipi_dsi_get_drvdata(dsi); panel_simple_dsi_probe() local [all...] |
H A D | panel-sitronix-st7703.c | 5 * - Rocktech jh057n00900 5.5" MIPI-DSI panel 26 #define DRV_NAME "panel-sitronix-st7703" 57 struct drm_panel panel; member 75 static inline struct st7703 *panel_to_st7703(struct drm_panel *panel) in panel_to_st7703() argument 77 return container_of(panel, struct st7703, panel); in panel_to_st7703() 85 * Init sequence was supplied by the panel vendor. Most of the commands in jh057n_init_sequence() 166 * Init sequence was supplied by the panel vendor. in xbd599_init_sequence() 218 * REV_PANEL = 1 (normally black panel), BGR_PANEL = 1 (BGR) in xbd599_init_sequence() 310 /* Adjust the gamma characteristics of the panel in xbd599_init_sequence() 436 st7703_enable(struct drm_panel *panel) st7703_enable() argument 468 st7703_disable(struct drm_panel *panel) st7703_disable() argument 485 st7703_unprepare(struct drm_panel *panel) st7703_unprepare() argument 500 st7703_prepare(struct drm_panel *panel) st7703_prepare() argument 539 st7703_get_modes(struct drm_panel *panel, struct drm_connector *connector) st7703_get_modes() argument [all...] |
H A D | panel-magnachip-d53e6ea8966.c | 3 * Magnachip d53e6ea8966 MIPI-DSI panel driver 29 /* Panel info, unique to each panel */ 35 /** @width_mm: panel width in mm */ 37 /** @height_mm: panel height in mm */ 39 /** @bus_flags: drm bus flags for panel */ 41 /** @panel_init_seq: panel specific init sequence */ 43 /** @backlight_register: panel backlight registration or NULL */ 52 /** @panel: the DRM panel instance for this device */ 53 struct drm_panel panel; member 84 to_d53e6ea8966(struct drm_panel *panel) to_d53e6ea8966() argument 204 d53e6ea8966_prepare(struct drm_panel *panel) d53e6ea8966_prepare() argument 243 d53e6ea8966_enable(struct drm_panel *panel) d53e6ea8966_enable() argument 256 d53e6ea8966_disable(struct drm_panel *panel) d53e6ea8966_disable() argument 269 d53e6ea8966_unprepare(struct drm_panel *panel) d53e6ea8966_unprepare() argument 287 d53e6ea8966_get_modes(struct drm_panel *panel, struct drm_connector *connector) d53e6ea8966_get_modes() argument [all...] |
H A D | panel-innolux-p079zca.c | 59 static inline struct innolux_panel *to_innolux_panel(struct drm_panel *panel) in to_innolux_panel() argument 61 return container_of(panel, struct innolux_panel, base); in to_innolux_panel() 64 static int innolux_panel_disable(struct drm_panel *panel) in innolux_panel_disable() argument 66 struct innolux_panel *innolux = to_innolux_panel(panel); in innolux_panel_disable() 76 static int innolux_panel_unprepare(struct drm_panel *panel) in innolux_panel_unprepare() argument 78 struct innolux_panel *innolux = to_innolux_panel(panel); in innolux_panel_unprepare() 86 dev_err(panel->dev, "failed to set display off: %d\n", err); in innolux_panel_unprepare() 90 dev_err(panel->dev, "failed to enter sleep mode: %d\n", err); in innolux_panel_unprepare() 112 static int innolux_panel_prepare(struct drm_panel *panel) in innolux_panel_prepare() argument 114 struct innolux_panel *innolux = to_innolux_panel(panel); in innolux_panel_prepare() 192 innolux_panel_enable(struct drm_panel *panel) innolux_panel_enable() argument 384 innolux_panel_get_modes(struct drm_panel *panel, struct drm_connector *connector) innolux_panel_get_modes() argument [all...] |
H A D | panel-ilitek-ili9341.c | 5 * This panel can be configured to support: 13 * Derived from drivers/drm/gpu/panel/panel-ilitek-ili9322.c 15 * "drm/panel: s6e63m0: Switch to DBI abstraction for SPI" 180 struct drm_panel panel; member 189 * The Stm32f429-disco board has a panel ili9341 connected to ltdc controller 295 static inline struct ili9341 *panel_to_ili9341(struct drm_panel *panel) in panel_to_ili9341() argument 297 return container_of(panel, struct ili9341, panel); in panel_to_ili9341() 302 struct device *dev = (&ili->panel) in ili9341_dpi_init() 398 ili9341_dpi_disable(struct drm_panel *panel) ili9341_dpi_disable() argument 406 ili9341_dpi_unprepare(struct drm_panel *panel) ili9341_dpi_unprepare() argument 413 ili9341_dpi_prepare(struct drm_panel *panel) ili9341_dpi_prepare() argument 427 ili9341_dpi_enable(struct drm_panel *panel) ili9341_dpi_enable() argument 435 ili9341_dpi_get_modes(struct drm_panel *panel, struct drm_connector *connector) ili9341_dpi_get_modes() argument [all...] |
H A D | panel-boe-bf060y8m-aj0.c | 33 struct drm_panel panel; member 41 struct boe_bf060y8m_aj0 *to_boe_bf060y8m_aj0(struct drm_panel *panel) in to_boe_bf060y8m_aj0() argument 43 return container_of(panel, struct boe_bf060y8m_aj0, panel); in to_boe_bf060y8m_aj0() 126 static int boe_bf060y8m_aj0_prepare(struct drm_panel *panel) in boe_bf060y8m_aj0_prepare() argument 128 struct boe_bf060y8m_aj0 *boe = to_boe_bf060y8m_aj0(panel); in boe_bf060y8m_aj0_prepare() 164 dev_err(dev, "Failed to initialize panel: %d\n", ret); in boe_bf060y8m_aj0_prepare() 183 static int boe_bf060y8m_aj0_unprepare(struct drm_panel *panel) in boe_bf060y8m_aj0_unprepare() argument 185 struct boe_bf060y8m_aj0 *boe = to_boe_bf060y8m_aj0(panel); in boe_bf060y8m_aj0_unprepare() 194 dev_err(dev, "Failed to un-initialize panel in boe_bf060y8m_aj0_unprepare() 217 boe_bf060y8m_aj0_get_modes(struct drm_panel *panel, struct drm_connector *connector) boe_bf060y8m_aj0_get_modes() argument [all...] |
H A D | panel-sitronix-st7789v.c | 127 struct drm_panel panel; member 140 static inline struct st7789v *panel_to_st7789v(struct drm_panel *panel) in panel_to_st7789v() argument 142 return container_of(panel, struct st7789v, panel); in panel_to_st7789v() 209 static int st7789v_check_id(struct drm_panel *panel) in st7789v_check_id() argument 212 struct st7789v *ctx = panel_to_st7789v(panel); in st7789v_check_id() 332 static int st7789v_get_modes(struct drm_panel *panel, in st7789v_get_modes() argument 335 struct st7789v *ctx = panel_to_st7789v(panel); in st7789v_get_modes() 340 dev_err(panel->dev, "failed to add mode %ux%u@%u\n", in st7789v_get_modes() 374 static int st7789v_prepare(struct drm_panel *panel) in st7789v_prepare() argument 571 st7789v_enable(struct drm_panel *panel) st7789v_enable() argument 578 st7789v_disable(struct drm_panel *panel) st7789v_disable() argument 588 st7789v_unprepare(struct drm_panel *panel) st7789v_unprepare() argument [all...] |
H A D | panel-samsung-ld9040.c | 93 struct drm_panel panel; member 114 static inline struct ld9040 *panel_to_ld9040(struct drm_panel *panel) in panel_to_ld9040() argument 116 return container_of(panel, struct ld9040, panel); in panel_to_ld9040() 221 static int ld9040_disable(struct drm_panel *panel) in ld9040_disable() argument 226 static int ld9040_unprepare(struct drm_panel *panel) in ld9040_unprepare() argument 228 struct ld9040 *ctx = panel_to_ld9040(panel); in ld9040_unprepare() 240 static int ld9040_prepare(struct drm_panel *panel) in ld9040_prepare() argument 242 struct ld9040 *ctx = panel_to_ld9040(panel); in ld9040_prepare() 254 ld9040_unprepare(panel); in ld9040_prepare() 259 ld9040_enable(struct drm_panel *panel) ld9040_enable() argument 264 ld9040_get_modes(struct drm_panel *panel, struct drm_connector *connector) ld9040_get_modes() argument [all...] |
H A D | panel-newvision-nv3051d.c | 3 * NV3051D MIPI-DSI panel driver for Anbernic RG353x 8 * Elida kd35t133 3.5" MIPI-DSI panel driver 35 struct drm_panel panel; member 41 static inline struct panel_nv3051d *panel_to_panelnv3051d(struct drm_panel *panel) in panel_to_panelnv3051d() argument 43 return container_of(panel, struct panel_nv3051d, panel); in panel_to_panelnv3051d() 244 static int panel_nv3051d_unprepare(struct drm_panel *panel) in panel_nv3051d_unprepare() argument 246 struct panel_nv3051d *ctx = panel_to_panelnv3051d(panel); in panel_nv3051d_unprepare() 271 static int panel_nv3051d_prepare(struct drm_panel *panel) in panel_nv3051d_prepare() argument 273 struct panel_nv3051d *ctx = panel_to_panelnv3051d(panel); in panel_nv3051d_prepare() 319 panel_nv3051d_get_modes(struct drm_panel *panel, struct drm_connector *connector) panel_nv3051d_get_modes() argument [all...] |
H A D | panel-leadtek-ltk050h3146w.c | 33 struct drm_panel panel; member 241 struct ltk050h3146w *panel_to_ltk050h3146w(struct drm_panel *panel) in panel_to_ltk050h3146w() argument 243 return container_of(panel, struct ltk050h3146w, panel); in panel_to_ltk050h3146w() 252 * Init sequence was supplied by the panel vendor without much in ltk050h3146w_init_sequence() 374 * Init sequence was supplied by the panel vendor without much in ltk050h3146w_a2_init_sequence() 429 static int ltk050h3146w_unprepare(struct drm_panel *panel) in ltk050h3146w_unprepare() argument 431 struct ltk050h3146w *ctx = panel_to_ltk050h3146w(panel); in ltk050h3146w_unprepare() 458 static int ltk050h3146w_prepare(struct drm_panel *panel) in ltk050h3146w_prepare() argument 460 struct ltk050h3146w *ctx = panel_to_ltk050h3146w(panel); in ltk050h3146w_prepare() 518 ltk050h3146w_get_modes(struct drm_panel *panel, struct drm_connector *connector) ltk050h3146w_get_modes() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/dp/ |
H A D | dp_debug.c | 26 struct dp_panel *panel; member 67 drm_mode = &debug->panel->dp_mode.drm_mode; in dp_debug_read_info() 75 debug->panel->max_pclk_khz); in dp_debug_read_info() 81 debug->panel->link_info.rate); in dp_debug_read_info() 87 debug->panel->link_info.num_lanes); in dp_debug_read_info() 93 debug->panel->link_info.capabilities); in dp_debug_read_info() 127 debug->panel->dp_mode.h_active_low, in dp_debug_read_info() 128 debug->panel->dp_mode.v_active_low); in dp_debug_read_info() 152 debug->panel->dp_mode.bpp); in dp_debug_read_info() 305 debug->panel in dp_test_active_write() 415 dp_debug_get(struct device *dev, struct dp_panel *panel, struct dp_usbpd *usbpd, struct dp_link *link, struct drm_connector **connector, struct drm_minor *minor) dp_debug_get() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/panel/ |
H A D | panel-innolux-p079zca.c | 60 static inline struct innolux_panel *to_innolux_panel(struct drm_panel *panel) in to_innolux_panel() argument 62 return container_of(panel, struct innolux_panel, base); in to_innolux_panel() 65 static int innolux_panel_disable(struct drm_panel *panel) in innolux_panel_disable() argument 67 struct innolux_panel *innolux = to_innolux_panel(panel); in innolux_panel_disable() 77 static int innolux_panel_unprepare(struct drm_panel *panel) in innolux_panel_unprepare() argument 79 struct innolux_panel *innolux = to_innolux_panel(panel); in innolux_panel_unprepare() 87 dev_err(panel->dev, "failed to set display off: %d\n", err); in innolux_panel_unprepare() 91 dev_err(panel->dev, "failed to enter sleep mode: %d\n", err); in innolux_panel_unprepare() 113 static int innolux_panel_prepare(struct drm_panel *panel) in innolux_panel_prepare() argument 115 struct innolux_panel *innolux = to_innolux_panel(panel); in innolux_panel_prepare() 193 innolux_panel_enable(struct drm_panel *panel) innolux_panel_enable() argument 385 innolux_panel_get_modes(struct drm_panel *panel, struct drm_connector *connector) innolux_panel_get_modes() argument [all...] |
H A D | panel-asus-z00t-tm5p5-n35596.c | 15 struct drm_panel panel; member 22 static inline struct tm5p5_nt35596 *to_tm5p5_nt35596(struct drm_panel *panel) in to_tm5p5_nt35596() argument 24 return container_of(panel, struct tm5p5_nt35596, panel); in to_tm5p5_nt35596() 125 static int tm5p5_nt35596_prepare(struct drm_panel *panel) in tm5p5_nt35596_prepare() argument 127 struct tm5p5_nt35596 *ctx = to_tm5p5_nt35596(panel); in tm5p5_nt35596_prepare() 144 dev_err(dev, "Failed to initialize panel: %d\n", ret); in tm5p5_nt35596_prepare() 155 static int tm5p5_nt35596_unprepare(struct drm_panel *panel) in tm5p5_nt35596_unprepare() argument 157 struct tm5p5_nt35596 *ctx = to_tm5p5_nt35596(panel); in tm5p5_nt35596_unprepare() 166 dev_err(dev, "Failed to un-initialize panel in tm5p5_nt35596_unprepare() 190 tm5p5_nt35596_get_modes(struct drm_panel *panel, struct drm_connector *connector) tm5p5_nt35596_get_modes() argument [all...] |
H A D | panel-samsung-s6e63m0.c | 6 * Derived from drivers/gpu/drm/panel-samsung-ld9040.c 22 #include "panel-samsung-s6e63m0.h" 101 struct drm_panel panel; member 136 static inline struct s6e63m0 *panel_to_s6e63m0(struct drm_panel *panel) in panel_to_s6e63m0() argument 138 return container_of(panel, struct s6e63m0, panel); in panel_to_s6e63m0() 189 /* We attempt to detect what panel is mounted on the controller */ in s6e63m0_check_lcd_type() 192 dev_info(ctx->dev, "detected LCD panel AMS397GE MIPI M2\n"); in s6e63m0_check_lcd_type() 196 dev_info(ctx->dev, "detected LCD panel AMS397GE MIPI SM2\n"); in s6e63m0_check_lcd_type() 199 dev_info(ctx->dev, "unknown LCD panel typ in s6e63m0_check_lcd_type() 314 s6e63m0_disable(struct drm_panel *panel) s6e63m0_disable() argument 333 s6e63m0_unprepare(struct drm_panel *panel) s6e63m0_unprepare() argument 352 s6e63m0_prepare(struct drm_panel *panel) s6e63m0_prepare() argument 385 s6e63m0_enable(struct drm_panel *panel) s6e63m0_enable() argument 409 s6e63m0_get_modes(struct drm_panel *panel, struct drm_connector *connector) s6e63m0_get_modes() argument [all...] |
H A D | panel-leadtek-ltk050h3146w.c | 34 struct drm_panel panel; member 242 struct ltk050h3146w *panel_to_ltk050h3146w(struct drm_panel *panel) in panel_to_ltk050h3146w() argument 244 return container_of(panel, struct ltk050h3146w, panel); in panel_to_ltk050h3146w() 261 * Init sequence was supplied by the panel vendor without much in ltk050h3146w_init_sequence() 383 * Init sequence was supplied by the panel vendor without much in ltk050h3146w_a2_init_sequence() 438 static int ltk050h3146w_unprepare(struct drm_panel *panel) in ltk050h3146w_unprepare() argument 440 struct ltk050h3146w *ctx = panel_to_ltk050h3146w(panel); in ltk050h3146w_unprepare() 467 static int ltk050h3146w_prepare(struct drm_panel *panel) in ltk050h3146w_prepare() argument 469 struct ltk050h3146w *ctx = panel_to_ltk050h3146w(panel); in ltk050h3146w_prepare() 527 ltk050h3146w_get_modes(struct drm_panel *panel, struct drm_connector *connector) ltk050h3146w_get_modes() argument [all...] |
H A D | panel-samsung-ld9040.c | 92 struct drm_panel panel; member 113 static inline struct ld9040 *panel_to_ld9040(struct drm_panel *panel) in panel_to_ld9040() argument 115 return container_of(panel, struct ld9040, panel); in panel_to_ld9040() 220 static int ld9040_disable(struct drm_panel *panel) in ld9040_disable() argument 225 static int ld9040_unprepare(struct drm_panel *panel) in ld9040_unprepare() argument 227 struct ld9040 *ctx = panel_to_ld9040(panel); in ld9040_unprepare() 239 static int ld9040_prepare(struct drm_panel *panel) in ld9040_prepare() argument 241 struct ld9040 *ctx = panel_to_ld9040(panel); in ld9040_prepare() 253 ld9040_unprepare(panel); in ld9040_prepare() 258 ld9040_enable(struct drm_panel *panel) ld9040_enable() argument 263 ld9040_get_modes(struct drm_panel *panel, struct drm_connector *connector) ld9040_get_modes() argument [all...] |
H A D | panel-boe-himax8279d.c | 56 static inline struct panel_info *to_panel_info(struct drm_panel *panel) in to_panel_info() argument 58 return container_of(panel, struct panel_info, base); in to_panel_info() 68 static int send_mipi_cmds(struct drm_panel *panel, const struct panel_cmd *cmds) in send_mipi_cmds() argument 70 struct panel_info *pinfo = to_panel_info(panel); in send_mipi_cmds() 85 static int boe_panel_disable(struct drm_panel *panel) in boe_panel_disable() argument 87 struct panel_info *pinfo = to_panel_info(panel); in boe_panel_disable() 95 dev_err(panel->dev, "failed to set display off: %d\n", err); in boe_panel_disable() 104 static int boe_panel_unprepare(struct drm_panel *panel) in boe_panel_unprepare() argument 106 struct panel_info *pinfo = to_panel_info(panel); in boe_panel_unprepare() 114 dev_err(panel in boe_panel_unprepare() 130 boe_panel_prepare(struct drm_panel *panel) boe_panel_prepare() argument 193 boe_panel_enable(struct drm_panel *panel) boe_panel_enable() argument 214 boe_panel_get_modes(struct drm_panel *panel, struct drm_connector *connector) boe_panel_get_modes() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/omapdrm/dss/ |
H A D | output.c | 34 out->panel = of_drm_find_panel(remote_node); in omapdss_device_init_output() 35 if (IS_ERR(out->panel)) in omapdss_device_init_output() 36 out->panel = NULL; in omapdss_device_init_output() 40 if (out->panel) { in omapdss_device_init_output() 43 bridge = drm_panel_bridge_add(out->panel); in omapdss_device_init_output() 46 "unable to create panel bridge (%ld)\n", in omapdss_device_init_output() 79 if (out->bridge && out->panel) in omapdss_device_cleanup_output()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
H A D | drm_of.c | 223 * drm_of_find_panel_or_bridge - return connected panel or bridge device 227 * @panel: pointer to hold returned drm_panel 232 * @panel or @bridge must not be NULL. 238 struct drm_panel **panel, in drm_of_find_panel_or_bridge() 244 if (!panel && !bridge) in drm_of_find_panel_or_bridge() 246 if (panel) in drm_of_find_panel_or_bridge() 247 *panel = NULL; in drm_of_find_panel_or_bridge() 262 if (panel) { in drm_of_find_panel_or_bridge() 263 *panel = of_drm_find_panel(remote); in drm_of_find_panel_or_bridge() 264 if (!IS_ERR(*panel)) in drm_of_find_panel_or_bridge() 236 drm_of_find_panel_or_bridge(const struct device_node *np, int port, int endpoint, struct drm_panel **panel, struct drm_bridge **bridge) drm_of_find_panel_or_bridge() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/pl111/ |
H A D | pl111_drv.c | 79 struct drm_panel *panel = NULL; in pl111_modeset_init() local 124 "found panel on endpoint %d\n", i); in pl111_modeset_init() 125 panel = tmp_panel; in pl111_modeset_init() 137 * If we can't find neither panel nor bridge on any of the in pl111_modeset_init() 141 if ((!panel && !bridge) && defer) in pl111_modeset_init() 144 if (panel) { in pl111_modeset_init() 145 bridge = drm_panel_bridge_add_typed(panel, in pl111_modeset_init() 152 dev_info(dev->dev, "Using non-panel bridge\n"); in pl111_modeset_init() 159 if (panel) { in pl111_modeset_init() 160 priv->panel in pl111_modeset_init() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/pl111/ |
H A D | pl111_drv.c | 78 struct drm_panel *panel = NULL; in pl111_modeset_init() local 123 "found panel on endpoint %d\n", i); in pl111_modeset_init() 124 panel = tmp_panel; in pl111_modeset_init() 136 * If we can't find neither panel nor bridge on any of the in pl111_modeset_init() 140 if ((!panel && !bridge) && defer) in pl111_modeset_init() 143 if (panel) { in pl111_modeset_init() 144 bridge = drm_panel_bridge_add_typed(panel, in pl111_modeset_init() 151 dev_info(dev->dev, "Using non-panel bridge\n"); in pl111_modeset_init() 158 if (panel) { in pl111_modeset_init() 159 priv->panel in pl111_modeset_init() [all...] |
/kernel/linux/linux-5.10/drivers/video/fbdev/omap/ |
H A D | lcd_inn1610.c | 3 * LCD panel support for the TI OMAP1610 Innovator board 17 static int innovator1610_panel_init(struct lcd_panel *panel, in innovator1610_panel_init() argument 38 static void innovator1610_panel_cleanup(struct lcd_panel *panel) in innovator1610_panel_cleanup() argument 44 static int innovator1610_panel_enable(struct lcd_panel *panel) in innovator1610_panel_enable() argument 52 static void innovator1610_panel_disable(struct lcd_panel *panel) in innovator1610_panel_disable() argument 98 MODULE_DESCRIPTION("LCD panel support for the TI OMAP1610 Innovator board");
|