Lines Matching refs:panel
62 struct drm_panel panel; member
76 static inline struct lcd_olinuxino *to_lcd_olinuxino(struct drm_panel *panel) in to_lcd_olinuxino() argument
78 return container_of(panel, struct lcd_olinuxino, panel); in to_lcd_olinuxino()
81 static int lcd_olinuxino_disable(struct drm_panel *panel) in lcd_olinuxino_disable() argument
83 struct lcd_olinuxino *lcd = to_lcd_olinuxino(panel); in lcd_olinuxino_disable()
93 static int lcd_olinuxino_unprepare(struct drm_panel *panel) in lcd_olinuxino_unprepare() argument
95 struct lcd_olinuxino *lcd = to_lcd_olinuxino(panel); in lcd_olinuxino_unprepare()
108 static int lcd_olinuxino_prepare(struct drm_panel *panel) in lcd_olinuxino_prepare() argument
110 struct lcd_olinuxino *lcd = to_lcd_olinuxino(panel); in lcd_olinuxino_prepare()
126 static int lcd_olinuxino_enable(struct drm_panel *panel) in lcd_olinuxino_enable() argument
128 struct lcd_olinuxino *lcd = to_lcd_olinuxino(panel); in lcd_olinuxino_enable()
138 static int lcd_olinuxino_get_modes(struct drm_panel *panel, in lcd_olinuxino_get_modes() argument
141 struct lcd_olinuxino *lcd = to_lcd_olinuxino(panel); in lcd_olinuxino_get_modes()
153 dev_err(panel->dev, "failed to add mode %ux%u@%u\n", in lcd_olinuxino_get_modes()
278 drm_panel_init(&lcd->panel, dev, &lcd_olinuxino_funcs, in lcd_olinuxino_probe()
281 ret = drm_panel_of_backlight(&lcd->panel); in lcd_olinuxino_probe()
285 drm_panel_add(&lcd->panel); in lcd_olinuxino_probe()
292 struct lcd_olinuxino *panel = i2c_get_clientdata(client); in lcd_olinuxino_remove() local
294 drm_panel_remove(&panel->panel); in lcd_olinuxino_remove()
296 drm_panel_disable(&panel->panel); in lcd_olinuxino_remove()
297 drm_panel_unprepare(&panel->panel); in lcd_olinuxino_remove()