Lines Matching refs:panel
33 struct drm_panel panel;
41 struct boe_bf060y8m_aj0 *to_boe_bf060y8m_aj0(struct drm_panel *panel)
43 return container_of(panel, struct boe_bf060y8m_aj0, panel);
126 static int boe_bf060y8m_aj0_prepare(struct drm_panel *panel)
128 struct boe_bf060y8m_aj0 *boe = to_boe_bf060y8m_aj0(panel);
164 dev_err(dev, "Failed to initialize panel: %d\n", ret);
183 static int boe_bf060y8m_aj0_unprepare(struct drm_panel *panel)
185 struct boe_bf060y8m_aj0 *boe = to_boe_bf060y8m_aj0(panel);
194 dev_err(dev, "Failed to un-initialize panel: %d\n", ret);
217 static int boe_bf060y8m_aj0_get_modes(struct drm_panel *panel,
386 drm_panel_init(&boe->panel, dev, &boe_bf060y8m_aj0_panel_funcs,
389 boe->panel.backlight = boe_bf060y8m_aj0_create_backlight(dsi);
390 if (IS_ERR(boe->panel.backlight))
391 return dev_err_probe(dev, PTR_ERR(boe->panel.backlight),
394 drm_panel_add(&boe->panel);
414 drm_panel_remove(&boe->panel);
427 .name = "panel-sw43404-boe-fhd-amoled",
434 MODULE_DESCRIPTION("BOE BF060Y8M-AJ0 MIPI-DSI OLED panel");