Lines Matching full:encoder
15 struct intel_encoder *encoder = in intel_encoder_link_check_work_fn() local
16 container_of(work, typeof(*encoder), link_check_work.work); in intel_encoder_link_check_work_fn()
18 encoder->link_check(encoder); in intel_encoder_link_check_work_fn()
21 void intel_encoder_link_check_init(struct intel_encoder *encoder, in intel_encoder_link_check_init() argument
22 void (*callback)(struct intel_encoder *encoder)) in intel_encoder_link_check_init() argument
24 INIT_DELAYED_WORK(&encoder->link_check_work, intel_encoder_link_check_work_fn); in intel_encoder_link_check_init()
25 encoder->link_check = callback; in intel_encoder_link_check_init()
28 void intel_encoder_link_check_flush_work(struct intel_encoder *encoder) in intel_encoder_link_check_flush_work() argument
30 cancel_delayed_work_sync(&encoder->link_check_work); in intel_encoder_link_check_flush_work()
33 void intel_encoder_link_check_queue_work(struct intel_encoder *encoder, int delay_ms) in intel_encoder_link_check_queue_work() argument
35 struct drm_i915_private *i915 = to_i915(encoder->base.dev); in intel_encoder_link_check_queue_work()
38 &encoder->link_check_work, msecs_to_jiffies(delay_ms)); in intel_encoder_link_check_queue_work()
43 struct intel_encoder *encoder; in intel_encoder_suspend_all() local
53 for_each_intel_encoder(display->drm, encoder) in intel_encoder_suspend_all()
54 if (encoder->suspend) in intel_encoder_suspend_all()
55 encoder->suspend(encoder); in intel_encoder_suspend_all()
58 for_each_intel_encoder(display->drm, encoder) in intel_encoder_suspend_all()
59 if (encoder->suspend_complete) in intel_encoder_suspend_all()
60 encoder->suspend_complete(encoder); in intel_encoder_suspend_all()
65 struct intel_encoder *encoder; in intel_encoder_shutdown_all() local
75 for_each_intel_encoder(display->drm, encoder) in intel_encoder_shutdown_all()
76 if (encoder->shutdown) in intel_encoder_shutdown_all()
77 encoder->shutdown(encoder); in intel_encoder_shutdown_all()
80 for_each_intel_encoder(display->drm, encoder) in intel_encoder_shutdown_all()
81 if (encoder->shutdown_complete) in intel_encoder_shutdown_all()
82 encoder->shutdown_complete(encoder); in intel_encoder_shutdown_all()