Lines Matching refs:encoder
48 void (*reset)(struct drm_encoder *encoder);
57 void (*destroy)(struct drm_encoder *encoder);
72 int (*late_register)(struct drm_encoder *encoder);
83 void (*early_unregister)(struct drm_encoder *encoder);
193 struct drm_encoder *encoder,
252 static inline unsigned int drm_encoder_index(const struct drm_encoder *encoder) in drm_encoder_index() argument
254 return encoder->index; in drm_encoder_index()
264 static inline u32 drm_encoder_mask(const struct drm_encoder *encoder) in drm_encoder_mask() argument
266 return 1 << drm_encoder_index(encoder); in drm_encoder_mask()
276 static inline bool drm_encoder_crtc_ok(struct drm_encoder *encoder, in drm_encoder_crtc_ok() argument
279 return !!(encoder->possible_crtcs & drm_crtc_mask(crtc)); in drm_encoder_crtc_ok()
302 void drm_encoder_cleanup(struct drm_encoder *encoder);
312 #define drm_for_each_encoder_mask(encoder, dev, encoder_mask) \ argument
313 list_for_each_entry((encoder), &(dev)->mode_config.encoder_list, head) \
314 for_each_if ((encoder_mask) & drm_encoder_mask(encoder))
323 #define drm_for_each_encoder(encoder, dev) \ argument
324 list_for_each_entry(encoder, &(dev)->mode_config.encoder_list, head)