Lines Matching refs:drm_encoder

220 bool drm_helper_encoder_in_use(struct drm_encoder *encoder)
244 struct drm_encoder *encoder;
247 list_for_each_entry(encoder, struct drm_encoder, &dev->mode_config.encoder_list, head)
253 drm_encoder_disable(struct drm_encoder *encoder)
275 struct drm_encoder *encoder;
286 list_for_each_entry(encoder, struct drm_encoder, &dev->mode_config.encoder_list, head) {
315 static bool drm_encoder_crtc_ok(struct drm_encoder *encoder,
347 struct drm_encoder *encoder;
349 list_for_each_entry(encoder, struct drm_encoder, &dev->mode_config.encoder_list, head) {
394 struct drm_encoder *encoder;
421 list_for_each_entry(encoder, struct drm_encoder, &dev->mode_config.encoder_list, head) {
440 list_for_each_entry(encoder, struct drm_encoder, &dev->mode_config.encoder_list, head) {
460 list_for_each_entry(encoder, struct drm_encoder, &dev->mode_config.encoder_list, head) {
475 list_for_each_entry(encoder, struct drm_encoder, &dev->mode_config.encoder_list, head) {
512 struct drm_encoder *encoder;
515 list_for_each_entry(encoder, struct drm_encoder, &dev->mode_config.encoder_list, head) {
551 struct drm_encoder *save_encoders, *new_encoder, *encoder;
596 sizeof(struct drm_encoder), GFP_KERNEL);
606 kfree(save_encoders, dev->mode_config.num_encoder * sizeof(struct drm_encoder));
620 list_for_each_entry(encoder, struct drm_encoder, &dev->mode_config.encoder_list, head) {
783 kfree(save_encoders, dev->mode_config.num_encoder * sizeof(struct drm_encoder));
795 list_for_each_entry(encoder, struct drm_encoder, &dev->mode_config.encoder_list, head) {
811 kfree(save_encoders, dev->mode_config.num_encoder * sizeof(struct drm_encoder));
817 static int drm_helper_choose_encoder_dpms(struct drm_encoder *encoder)
855 struct drm_encoder *encoder = connector->encoder;
922 struct drm_encoder *encoder;
940 list_for_each_entry(encoder, struct drm_encoder, &dev->mode_config.encoder_list, head) {