Lines Matching refs:panel

44  * struct drm_panel_funcs - perform operations on a given panel
47 * starts to transmit video data. Panel drivers can use this to turn the panel
60 * necessary to turn off the panel to avoid visual glitches. This is done in
63 * is visible on the panel. It is then safe for the display controller to
67 * the panel. This is the job of the .unprepare() function.
77 * Turn on panel and perform set up.
81 int (*prepare)(struct drm_panel *panel);
86 * Enable panel (turn on back light, etc.).
90 int (*enable)(struct drm_panel *panel);
95 * Disable panel (turn off back light, etc.).
99 int (*disable)(struct drm_panel *panel);
104 * Turn off panel.
108 int (*unprepare)(struct drm_panel *panel);
113 * Add modes to the connector that the panel is attached to
118 int (*get_modes)(struct drm_panel *panel,
124 * Return the panel orientation set by device tree or EDID.
128 enum drm_panel_orientation (*get_orientation)(struct drm_panel *panel);
138 int (*get_timings)(struct drm_panel *panel, unsigned int num_timings,
146 void (*debugfs_init)(struct drm_panel *panel, struct dentry *root);
153 * Called after the panel has been powered on.
160 * Called before the panel is powered off.
176 * Used for linking into panel's list; set by drm_panel_add_follower().
181 * @panel
183 * The panel we're dependent on; set by drm_panel_add_follower().
185 struct drm_panel *panel;
189 * struct drm_panel - DRM panel object
195 * Parent device of the panel.
213 * Operations that can be performed on the panel.
220 * Type of the panel as a DRM_MODE_CONNECTOR_* value. This is used to
221 * initialise the drm_connector corresponding to the panel with the
236 * A list of struct drm_panel_follower dependent on this panel.
251 * for the panel is called. This is largely required for DSI panels
253 * the panel is powered up.
260 * If true then the panel has been prepared.
267 * If true then the panel has been enabled.
272 void drm_panel_init(struct drm_panel *panel, struct device *dev,
276 void drm_panel_add(struct drm_panel *panel);
277 void drm_panel_remove(struct drm_panel *panel);
279 int drm_panel_prepare(struct drm_panel *panel);
280 int drm_panel_unprepare(struct drm_panel *panel);
282 int drm_panel_enable(struct drm_panel *panel);
283 int drm_panel_disable(struct drm_panel *panel);
285 int drm_panel_get_modes(struct drm_panel *panel, struct drm_connector *connector);
333 int drm_panel_of_backlight(struct drm_panel *panel);
335 static inline int drm_panel_of_backlight(struct drm_panel *panel)