• Home
  • Raw
  • Download

Lines Matching refs:panel

26 	struct drm_panel panel;  member
264 struct ltk500hd1829 *panel_to_ltk500hd1829(struct drm_panel *panel) in panel_to_ltk500hd1829() argument
266 return container_of(panel, struct ltk500hd1829, panel); in panel_to_ltk500hd1829()
269 static int ltk500hd1829_unprepare(struct drm_panel *panel) in ltk500hd1829_unprepare() argument
271 struct ltk500hd1829 *ctx = panel_to_ltk500hd1829(panel); in ltk500hd1829_unprepare()
280 dev_err(panel->dev, "failed to set display off: %d\n", ret); in ltk500hd1829_unprepare()
284 dev_err(panel->dev, "failed to enter sleep mode: %d\n", ret); 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()
331 dev_err(panel->dev, "failed to write init cmds: %d\n", ret); in ltk500hd1829_prepare()
338 dev_err(panel->dev, "failed to exit sleep mode: %d\n", ret); in ltk500hd1829_prepare()
347 dev_err(panel->dev, "failed to set display on: %d\n", ret); in ltk500hd1829_prepare()
376 static int ltk500hd1829_get_modes(struct drm_panel *panel, in ltk500hd1829_get_modes() argument
379 struct ltk500hd1829 *ctx = panel_to_ltk500hd1829(panel); in ltk500hd1829_get_modes()
447 drm_panel_init(&ctx->panel, &dsi->dev, &ltk500hd1829_funcs, in ltk500hd1829_probe()
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()
491 drm_panel_remove(&ctx->panel); in ltk500hd1829_remove()