Lines Matching refs:panel
41 * struct drm_panel_funcs - perform operations on a given panel
44 * starts to transmit video data. Panel drivers can use this to turn the panel
57 * necessary to turn off the panel to avoid visual glitches. This is done in
60 * is visible on the panel. It is then safe for the display controller to
64 * the panel. This is the job of the .unprepare() function.
74 * Turn on panel and perform set up.
78 int (*prepare)(struct drm_panel *panel);
83 * Enable panel (turn on back light, etc.).
87 int (*enable)(struct drm_panel *panel);
92 * Disable panel (turn off back light, etc.).
96 int (*disable)(struct drm_panel *panel);
101 * Turn off panel.
105 int (*unprepare)(struct drm_panel *panel);
110 * Add modes to the connector that the panel is attached to
115 int (*get_modes)(struct drm_panel *panel,
126 int (*get_timings)(struct drm_panel *panel, unsigned int num_timings,
131 * struct drm_panel - DRM panel object
137 * Parent device of the panel.
155 * Operations that can be performed on the panel.
162 * Type of the panel as a DRM_MODE_CONNECTOR_* value. This is used to
163 * initialise the drm_connector corresponding to the panel with the
171 * Panel entry in registry.
181 void drm_panel_init(struct drm_panel *panel, struct device *dev,
185 int drm_panel_add(struct drm_panel *panel);
186 void drm_panel_remove(struct drm_panel *panel);
188 int drm_panel_attach(struct drm_panel *panel, struct drm_connector *connector);
189 void drm_panel_detach(struct drm_panel *panel);
191 int drm_panel_prepare(struct drm_panel *panel);
192 int drm_panel_unprepare(struct drm_panel *panel);
194 int drm_panel_enable(struct drm_panel *panel);
195 int drm_panel_disable(struct drm_panel *panel);
197 int drm_panel_get_modes(struct drm_panel *panel, struct drm_connector *connector);
209 int drm_panel_of_backlight(struct drm_panel *panel);
211 static inline int drm_panel_of_backlight(struct drm_panel *panel)