/linux/drivers/gpu/drm/ |
A D | drm_panel.c | 111 if (panel->funcs && panel->funcs->prepare) in drm_panel_prepare() 112 return panel->funcs->prepare(panel); in drm_panel_prepare() 134 if (panel->funcs && panel->funcs->unprepare) in drm_panel_unprepare() 135 return panel->funcs->unprepare(panel); in drm_panel_unprepare() 158 if (panel->funcs && panel->funcs->enable) { in drm_panel_enable() 159 ret = panel->funcs->enable(panel); in drm_panel_enable() 195 if (panel->funcs && panel->funcs->disable) in drm_panel_disable() 196 return panel->funcs->disable(panel); in drm_panel_disable() 219 if (panel->funcs && panel->funcs->get_modes) in drm_panel_get_modes() 220 return panel->funcs->get_modes(panel, connector); in drm_panel_get_modes() [all …]
|
/linux/drivers/gpu/drm/panel/ |
A D | Makefile | 2 obj-$(CONFIG_DRM_PANEL_ABT_Y030XX067A) += panel-abt-y030xx067a.o 3 obj-$(CONFIG_DRM_PANEL_ARM_VERSATILE) += panel-arm-versatile.o 5 obj-$(CONFIG_DRM_PANEL_BOE_HIMAX8279D) += panel-boe-himax8279d.o 7 obj-$(CONFIG_DRM_PANEL_DSI_CM) += panel-dsi-cm.o 8 obj-$(CONFIG_DRM_PANEL_LVDS) += panel-lvds.o 9 obj-$(CONFIG_DRM_PANEL_SIMPLE) += panel-simple.o 10 obj-$(CONFIG_DRM_PANEL_EDP) += panel-edp.o 20 obj-$(CONFIG_DRM_PANEL_KHADAS_TS050) += panel-khadas-ts050.o 24 obj-$(CONFIG_DRM_PANEL_LG_LB035Q02) += panel-lg-lb035q02.o 25 obj-$(CONFIG_DRM_PANEL_LG_LG4573) += panel-lg-lg4573.o [all …]
|
A D | panel-seiko-43wvf1g.c | 63 if (!panel->desc) in seiko_panel_get_fixed_modes() 114 if (panel->desc->bus_format) in seiko_panel_get_fixed_modes() 235 struct seiko_panel *panel; in seiko_panel_probe() local 238 panel = devm_kzalloc(dev, sizeof(*panel), GFP_KERNEL); in seiko_panel_probe() 239 if (!panel) in seiko_panel_probe() 242 panel->enabled = false; in seiko_panel_probe() 243 panel->prepared = false; in seiko_panel_probe() 244 panel->desc = desc; in seiko_panel_probe() 247 if (IS_ERR(panel->dvdd)) in seiko_panel_probe() 251 if (IS_ERR(panel->avdd)) in seiko_panel_probe() [all …]
|
A D | panel-samsung-atna33xc20.c | 225 pm_runtime_get_sync(panel->dev); in atana33xc20_get_modes() 261 panel = devm_kzalloc(dev, sizeof(*panel), GFP_KERNEL); in atana33xc20_probe() 262 if (!panel) in atana33xc20_probe() 264 dev_set_drvdata(dev, panel); in atana33xc20_probe() 267 if (IS_ERR(panel->supply)) in atana33xc20_probe() 272 if (IS_ERR(panel->el_on3_gpio)) in atana33xc20_probe() 277 if (!panel->no_hpd) { in atana33xc20_probe() 279 if (IS_ERR(panel->hpd_gpio)) in atana33xc20_probe() 304 drm_panel_add(&panel->base); in atana33xc20_probe() 314 drm_panel_remove(&panel->base); in atana33xc20_remove() [all …]
|
A D | panel-novatek-nt39016.c | 152 regulator_disable(panel->supply); in nt39016_prepare() 247 struct nt39016 *panel; in nt39016_probe() local 250 panel = devm_kzalloc(dev, sizeof(*panel), GFP_KERNEL); in nt39016_probe() 251 if (!panel) in nt39016_probe() 254 spi_set_drvdata(spi, panel); in nt39016_probe() 257 if (!panel->panel_info) in nt39016_probe() 261 if (IS_ERR(panel->supply)) { in nt39016_probe() 263 return PTR_ERR(panel->supply); in nt39016_probe() 267 if (IS_ERR(panel->reset_gpio)) { in nt39016_probe() 281 if (IS_ERR(panel->map)) { in nt39016_probe() [all …]
|
A D | panel-edp.c | 307 if (!panel->desc) in panel_edp_get_non_edid_modes() 331 WARN_ON(panel->desc->num_timings && panel->desc->num_modes); in panel_edp_get_non_edid_modes() 761 panel = devm_kzalloc(dev, sizeof(*panel), GFP_KERNEL); in panel_edp_probe() 762 if (!panel) in panel_edp_probe() 768 panel->aux = aux; in panel_edp_probe() 841 if (!panel->base.backlight && panel->aux) { in panel_edp_probe() 843 err = drm_panel_dp_aux_backlight(&panel->base, panel->aux); in panel_edp_probe() 858 if (panel->ddc && (!panel->aux || panel->ddc != &panel->aux->ddc)) in panel_edp_probe() 874 if (panel->ddc && (!panel->aux || panel->ddc != &panel->aux->ddc)) in panel_edp_remove() 1788 for (panel = edp_panels; panel->panel_id; panel++) in find_edp_panel() [all …]
|
A D | panel-visionox-rm69299.c | 19 struct drm_panel panel; member 29 return container_of(panel, struct visionox_rm69299, panel); in panel_to_ctx() 64 struct visionox_rm69299 *ctx = panel_to_ctx(panel); in visionox_rm69299_unprepare() 89 struct visionox_rm69299 *ctx = panel_to_ctx(panel); in visionox_rm69299_prepare() 204 ctx->panel.dev = dev; in visionox_rm69299_probe() 215 ctx->reset_gpio = devm_gpiod_get(ctx->panel.dev, in visionox_rm69299_probe() 224 ctx->panel.dev = dev; in visionox_rm69299_probe() 225 ctx->panel.funcs = &visionox_rm69299_drm_funcs; in visionox_rm69299_probe() 226 drm_panel_add(&ctx->panel); in visionox_rm69299_probe() 255 drm_panel_remove(&ctx->panel); in visionox_rm69299_probe() [all …]
|
A D | panel-raydium-rm67191.c | 197 struct drm_panel panel; member 228 return container_of(panel, struct rad_panel, panel); in to_rad_panel() 541 struct rad_panel *panel; in rad_panel_probe() local 546 panel = devm_kzalloc(&dsi->dev, sizeof(*panel), GFP_KERNEL); in rad_panel_probe() 547 if (!panel) in rad_panel_probe() 552 panel->dsi = dsi; in rad_panel_probe() 584 if (IS_ERR(panel->reset)) in rad_panel_probe() 605 drm_panel_init(&panel->panel, dev, &rad_panel_funcs, in rad_panel_probe() 607 dev_set_drvdata(dev, panel); in rad_panel_probe() 609 drm_panel_add(&panel->panel); in rad_panel_probe() [all …]
|
A D | Kconfig | 41 tristate "Boe Himax8279d panel" 199 panel module. The panel has a 1080x1920 resolution and uses 316 LCD-OLinuXino panel. 361 (1080x1920) DSI panel. 388 DRM panel driver for the Samsung ATNA33XC20 panel. This panel can't 439 AMOLED LCD panel. This panel can be accessed using SPI or 450 S6E63M0 panel using SPI. 458 S6E63M0 panel using DSI. 572 panel. This panel supports DSI in both command and video 590 panel module. The panel has a 1024×600 resolution and uses [all …]
|
A D | panel-feiyang-fy07024di26a30d.c | 20 struct drm_panel panel; member 30 return container_of(panel, struct feiyang, panel); in panel_to_feiyang() 47 static int feiyang_prepare(struct drm_panel *panel) in feiyang_prepare() argument 49 struct feiyang *ctx = panel_to_feiyang(panel); in feiyang_prepare() 96 struct feiyang *ctx = panel_to_feiyang(panel); in feiyang_enable() 108 struct feiyang *ctx = panel_to_feiyang(panel); in feiyang_disable() 115 struct feiyang *ctx = panel_to_feiyang(panel); in feiyang_unprepare() 160 struct feiyang *ctx = panel_to_feiyang(panel); in feiyang_get_modes() 220 ret = drm_panel_of_backlight(&ctx->panel); in feiyang_dsi_probe() 224 drm_panel_add(&ctx->panel); in feiyang_dsi_probe() [all …]
|
A D | panel-leadtek-ltk500hd1829.c | 26 struct drm_panel panel; member 266 return container_of(panel, struct ltk500hd1829, panel); in panel_to_ltk500hd1829() 271 struct ltk500hd1829 *ctx = panel_to_ltk500hd1829(panel); in ltk500hd1829_unprepare() 298 static int ltk500hd1829_prepare(struct drm_panel *panel) in ltk500hd1829_prepare() argument 300 struct ltk500hd1829 *ctx = panel_to_ltk500hd1829(panel); in ltk500hd1829_prepare() 450 ret = drm_panel_of_backlight(&ctx->panel); in ltk500hd1829_probe() 454 drm_panel_add(&ctx->panel); in ltk500hd1829_probe() 459 drm_panel_remove(&ctx->panel); in ltk500hd1829_probe() 471 ret = drm_panel_unprepare(&ctx->panel); in ltk500hd1829_shutdown() 475 ret = drm_panel_disable(&ctx->panel); in ltk500hd1829_shutdown() [all …]
|
A D | panel-olimex-lcd-olinuxino.c | 62 struct drm_panel panel; member 78 return container_of(panel, struct lcd_olinuxino, panel); in to_lcd_olinuxino() 83 struct lcd_olinuxino *lcd = to_lcd_olinuxino(panel); in lcd_olinuxino_disable() 95 struct lcd_olinuxino *lcd = to_lcd_olinuxino(panel); in lcd_olinuxino_unprepare() 110 struct lcd_olinuxino *lcd = to_lcd_olinuxino(panel); in lcd_olinuxino_prepare() 128 struct lcd_olinuxino *lcd = to_lcd_olinuxino(panel); in lcd_olinuxino_enable() 282 ret = drm_panel_of_backlight(&lcd->panel); in lcd_olinuxino_probe() 286 drm_panel_add(&lcd->panel); in lcd_olinuxino_probe() 295 drm_panel_remove(&panel->panel); in lcd_olinuxino_remove() 297 drm_panel_disable(&panel->panel); in lcd_olinuxino_remove() [all …]
|
A D | panel-lg-lg4573.c | 30 struct drm_panel panel; member 37 return container_of(panel, struct lg4573, panel); in panel_to_lg4573() 48 dev_dbg(ctx->panel.dev, "writing data: %x\n", data); in lg4573_spi_write_u16() 165 dev_dbg(ctx->panel.dev, "initializing LCD\n"); in lg4573_init() 183 static int lg4573_disable(struct drm_panel *panel) in lg4573_disable() argument 185 struct lg4573 *ctx = panel_to_lg4573(panel); in lg4573_disable() 190 static int lg4573_enable(struct drm_panel *panel) in lg4573_enable() argument 192 struct lg4573 *ctx = panel_to_lg4573(panel); in lg4573_enable() 211 static int lg4573_get_modes(struct drm_panel *panel, in lg4573_get_modes() argument 264 drm_panel_add(&ctx->panel); in lg4573_probe() [all …]
|
A D | panel-samsung-s6d16d0.c | 19 struct drm_panel panel; member 45 return container_of(panel, struct s6d16d0, panel); in panel_to_s6d16d0() 50 struct s6d16d0 *s6 = panel_to_s6d16d0(panel); in s6d16d0_unprepare() 68 static int s6d16d0_prepare(struct drm_panel *panel) in s6d16d0_prepare() argument 70 struct s6d16d0 *s6 = panel_to_s6d16d0(panel); in s6d16d0_prepare() 104 static int s6d16d0_enable(struct drm_panel *panel) in s6d16d0_enable() argument 106 struct s6d16d0 *s6 = panel_to_s6d16d0(panel); in s6d16d0_enable() 121 struct s6d16d0 *s6 = panel_to_s6d16d0(panel); in s6d16d0_disable() 206 drm_panel_add(&s6->panel); in s6d16d0_probe() 210 drm_panel_remove(&s6->panel); in s6d16d0_probe() [all …]
|
A D | panel-ronbo-rb070d30.c | 28 struct drm_panel panel; member 42 return container_of(panel, struct rb070d30_panel, panel); in panel_to_rb070d30_panel() 45 static int rb070d30_panel_prepare(struct drm_panel *panel) in rb070d30_panel_prepare() argument 47 struct rb070d30_panel *ctx = panel_to_rb070d30_panel(panel); in rb070d30_panel_prepare() 64 static int rb070d30_panel_unprepare(struct drm_panel *panel) in rb070d30_panel_unprepare() argument 66 struct rb070d30_panel *ctx = panel_to_rb070d30_panel(panel); in rb070d30_panel_unprepare() 75 static int rb070d30_panel_enable(struct drm_panel *panel) in rb070d30_panel_enable() argument 82 static int rb070d30_panel_disable(struct drm_panel *panel) in rb070d30_panel_disable() argument 192 ret = drm_panel_of_backlight(&ctx->panel); in rb070d30_panel_dsi_probe() 196 drm_panel_add(&ctx->panel); in rb070d30_panel_dsi_probe() [all …]
|
A D | panel-truly-nt35597.c | 55 struct drm_panel panel; member 73 return container_of(panel, struct truly_nt35597, panel); in panel_to_ctx() 227 struct truly_nt35597 *ctx = panel_to_ctx(panel); in truly_dcs_write() 243 struct truly_nt35597 *ctx = panel_to_ctx(panel); in truly_dcs_write_buf() 313 struct truly_nt35597 *ctx = panel_to_ctx(panel); in truly_nt35597_disable() 331 struct truly_nt35597 *ctx = panel_to_ctx(panel); in truly_nt35597_unprepare() 363 struct truly_nt35597 *ctx = panel_to_ctx(panel); in truly_nt35597_prepare() 385 ret = truly_dcs_write_buf(panel, in truly_nt35597_prepare() 502 drm_panel_add(&ctx->panel); in truly_nt35597_panel_add() 614 drm_panel_remove(&ctx->panel); in truly_nt35597_probe() [all …]
|
/linux/drivers/gpu/drm/i915/display/ |
A D | intel_backlight.c | 56 struct intel_panel *panel = &connector->panel; in clamp_user_to_hw() local 69 struct intel_panel *panel = &connector->panel; in scale_hw_to_user() local 78 struct intel_panel *panel = &connector->panel; in intel_backlight_invert_pwm_level() local 97 struct intel_panel *panel = &connector->panel; in intel_backlight_set_pwm_level() local 106 struct intel_panel *panel = &connector->panel; in intel_backlight_level_to_pwm() local 120 struct intel_panel *panel = &connector->panel; in intel_backlight_level_from_pwm() local 150 struct intel_panel *panel = &connector->panel; in i9xx_get_backlight() local 180 struct intel_panel *panel = &connector->panel; in bxt_get_backlight() local 188 struct intel_panel *panel = &connector->panel; in ext_pwm_get_backlight() local 218 struct intel_panel *panel = &connector->panel; in i9xx_set_backlight() local [all …]
|
A D | intel_dp_aux_backlight.c | 106 struct intel_panel *panel = &connector->panel; in intel_dp_aux_supports_hdr_backlight() local 138 struct intel_panel *panel = &connector->panel; in intel_dp_aux_hdr_get_backlight() local 188 struct intel_panel *panel = &connector->panel; in intel_dp_aux_hdr_set_backlight() local 204 struct intel_panel *panel = &connector->panel; in intel_dp_aux_hdr_enable_backlight() local 239 struct intel_panel *panel = &connector->panel; in intel_dp_aux_hdr_disable_backlight() local 253 struct intel_panel *panel = &connector->panel; in intel_dp_aux_hdr_setup_backlight() local 287 struct intel_panel *panel = &connector->panel; in intel_dp_aux_vesa_set_backlight() local 298 struct intel_panel *panel = &connector->panel; in intel_dp_aux_vesa_enable_backlight() local 315 struct intel_panel *panel = &connector->panel; in intel_dp_aux_vesa_disable_backlight() local 328 struct intel_panel *panel = &connector->panel; in intel_dp_aux_vesa_setup_backlight() local [all …]
|
/linux/Documentation/devicetree/bindings/display/panel/ |
A D | panel-simple.yaml | 4 $id: http://devicetree.org/schemas/display/panel/panel-simple.yaml# 23 - $ref: panel-common.yaml# 44 # AUO B116XAK01 eDP TFT LCD panel 145 # Foxlink Group 5" WVGA TFT LCD panel 183 # InnoLux 15.6" WXGA TFT LCD panel 201 # LG 7" (800x480 pixels) TFT LCD panel 203 # LG Corporation 5" HD TFT LCD panel 243 # Olimex 4.3" TFT LCD panel 315 - vivax,tpc9150-panel 316 # VXT 800x480 color TFT LCD panel [all …]
|
A D | panel-simple-dsi.yaml | 4 $id: http://devicetree.org/schemas/display/panel/panel-simple-dsi.yaml# 23 - $ref: panel-common.yaml# 34 # Boe Corporation 8.0" WUXGA TFT LCD panel 38 # Khadas TS050 5" 1080x1920 LCD panel 44 # LG Corporation 7" WXGA TFT LCD panel 48 # Panasonic 10" WUXGA TFT LCD panel 50 # Panasonic 10" WUXGA TFT LCD panel 52 # Samsung s6e3fc2x01 1080x2340 AMOLED panel 54 # Samsung sofef00 1080x2280 AMOLED panel 81 panel@0 { [all …]
|
/linux/drivers/gpu/drm/msm/dp/ |
A D | dp_panel.c | 27 struct dp_panel_private *panel; in dp_panel_read_dpcd() local 329 catalog = panel->catalog; in dp_panel_tpg_config() 331 if (!panel->panel_on) { in dp_panel_tpg_config() 351 catalog = panel->catalog; in dp_panel_dump_regs() 364 catalog = panel->catalog; in dp_panel_timing_cfg() 408 panel->panel_on = true; in dp_panel_timing_cfg() 454 panel = devm_kzalloc(in->dev, sizeof(*panel), GFP_KERNEL); in dp_panel_get() 455 if (!panel) in dp_panel_get() 458 panel->dev = in->dev; in dp_panel_get() 459 panel->aux = in->aux; in dp_panel_get() [all …]
|
/linux/drivers/gpu/drm/bridge/ |
A D | panel.c | 20 struct drm_panel *panel; member 116 drm_panel_enable(panel_bridge->panel); in panel_bridge_enable() 185 return drm_panel_bridge_add_typed(panel, panel->connector_type); in drm_panel_bridge_add() 207 if (!panel) in drm_panel_bridge_add_typed() 216 panel_bridge->panel = panel; in drm_panel_bridge_add_typed() 271 struct drm_panel *panel) in devm_drm_panel_bridge_add() argument 277 panel->connector_type); in devm_drm_panel_bridge_add() 296 struct drm_panel *panel, in devm_drm_panel_bridge_add_typed() argument 357 struct drm_panel *panel; in devm_drm_of_get_bridge() local 361 &panel, &bridge); in devm_drm_of_get_bridge() [all …]
|
/linux/include/drm/ |
A D | drm_panel.h | 78 int (*prepare)(struct drm_panel *panel); 87 int (*enable)(struct drm_panel *panel); 96 int (*disable)(struct drm_panel *panel); 105 int (*unprepare)(struct drm_panel *panel); 115 int (*get_modes)(struct drm_panel *panel, 180 void drm_panel_add(struct drm_panel *panel); 181 void drm_panel_remove(struct drm_panel *panel); 183 int drm_panel_prepare(struct drm_panel *panel); 184 int drm_panel_unprepare(struct drm_panel *panel); 186 int drm_panel_enable(struct drm_panel *panel); [all …]
|
/linux/drivers/video/fbdev/mmp/ |
A D | core.c | 46 if (path->panel && path->panel->get_modelist) in path_get_modelist() 47 return path->panel->get_modelist(path->panel, modelist); in path_get_modelist() 72 void mmp_register_panel(struct mmp_panel *panel) in mmp_register_panel() argument 79 list_add_tail(&panel->node, &panel_list); in mmp_register_panel() 84 dev_info(panel->dev, "connect to path %s\n", in mmp_register_panel() 86 path->panel = panel; in mmp_register_panel() 107 list_del(&panel->node); in mmp_unregister_panel() 110 if (path->panel && path->panel == panel) { in mmp_unregister_panel() 113 path->panel = NULL; in mmp_unregister_panel() 157 struct mmp_panel *panel; in mmp_register_path() local [all …]
|
/linux/drivers/video/fbdev/omap/ |
A D | lcd_mipid.c | 35 panel) 48 struct lcd_panel panel; member 254 switch (md->panel.data_lines) { in read_first_pixel() 437 mipid_set_bklight_level(panel, 0); in mipid_disable() 528 md->panel.name = "lph8923"; in mipid_detect() 531 md->panel.name = "ls041y3"; in mipid_detect() 535 md->panel.name = "unknown"; in mipid_detect() 543 md->panel.name, md->revision, md->panel.data_lines); in mipid_detect() 562 md->panel = mipid_panel; in mipid_spi_probe() 568 omapfb_register_panel(&md->panel); in mipid_spi_probe() [all …]
|