Lines Matching full:bridge
42 * This callback is invoked whenever our bridge is being attached to a
51 int (*attach)(struct drm_bridge *bridge);
56 * This callback is invoked whenever our bridge is being detached from a
61 void (*detach)(struct drm_bridge *bridge);
67 * bridge. This should be implemented if the bridge has some sort of
68 * restriction in the modes it can display. For example, a given bridge
94 enum drm_mode_status (*mode_valid)(struct drm_bridge *bridge,
103 * &drm_bridge. The parameter adjusted_mode is the input mode the bridge
107 * This is the only hook that allows a bridge to reject a modeset. If
124 * that modes are filtered consistently put any bridge constraints and
132 bool (*mode_fixup)(struct drm_bridge *bridge,
138 * This callback should disable the bridge. It is called right before
140 * preceding element is a bridge this means it's called before that
141 * bridge's @disable vfunc. If the preceding element is a &drm_encoder
146 * The bridge can assume that the display pipe (i.e. clocks and timing
151 void (*disable)(struct drm_bridge *bridge);
156 * This callback should disable the bridge. It is called right after the
158 * element is a bridge this means it's called after that bridge's
164 * The bridge must assume that the display pipe (i.e. clocks and timing
170 void (*post_disable)(struct drm_bridge *bridge);
175 * This callback should set the given mode on the bridge. It is called
177 * pipeline has been called already. If the bridge is the first element
183 * first bridge in the chain. It can be different from the mode
185 * of the bridges chain, for instance when the first bridge in the chain
187 * bridge in the chain and is likely irrelevant for the other bridges.
195 * locations than the connection between the CRTC and the first bridge,
196 * the DRM framework will have to be extended with DRM bridge states.
198 void (*mode_set)(struct drm_bridge *bridge,
204 * This callback should enable the bridge. It is called right before
206 * preceding element is a bridge this means it's called before that
207 * bridge's @pre_enable function. If the preceding element is a
212 * The display pipe (i.e. clocks and timing signals) feeding this bridge
213 * will not yet be running when this callback is called. The bridge must
214 * not enable the display link feeding the next bridge in the chain (if
219 void (*pre_enable)(struct drm_bridge *bridge);
224 * This callback should enable the bridge. It is called right after
226 * preceding element is a bridge this means it's called after that
227 * bridge's @enable function. If the preceding element is a
232 * The bridge can assume that the display pipe (i.e. clocks and timing
234 * callback must enable the display link feeding the next bridge in the
239 void (*enable)(struct drm_bridge *bridge);
243 * struct drm_bridge_timings - timing information for the bridge
249 * Tells whether the bridge samples the digital input signal
265 * Defines the time in picoseconds taken for the bridge to sample the
272 * struct drm_bridge - central DRM bridge control structure
275 /** @dev: DRM device this bridge belongs to */
277 /** @encoder: encoder to which this bridge is connected */
279 /** @next: the next bridge in the encoder chain */
282 /** @of_node: device node pointer to the bridge */
290 * the timing specification for the bridge, if any (may be NULL)
295 /** @driver_private: pointer to the bridge driver's internal context */
299 void drm_bridge_add(struct drm_bridge *bridge);
300 void drm_bridge_remove(struct drm_bridge *bridge);
302 int drm_bridge_attach(struct drm_encoder *encoder, struct drm_bridge *bridge,
305 bool drm_bridge_mode_fixup(struct drm_bridge *bridge,
308 enum drm_mode_status drm_bridge_mode_valid(struct drm_bridge *bridge,
310 void drm_bridge_disable(struct drm_bridge *bridge);
311 void drm_bridge_post_disable(struct drm_bridge *bridge);
312 void drm_bridge_mode_set(struct drm_bridge *bridge,
315 void drm_bridge_pre_enable(struct drm_bridge *bridge);
316 void drm_bridge_enable(struct drm_bridge *bridge);
321 void drm_panel_bridge_remove(struct drm_bridge *bridge);