Lines Matching refs:encoder
175 int drm_bridge_attach(struct drm_encoder *encoder, struct drm_bridge *bridge, in drm_bridge_attach() argument
181 if (!encoder || !bridge) in drm_bridge_attach()
184 if (previous && (!previous->dev || previous->encoder != encoder)) in drm_bridge_attach()
190 bridge->dev = encoder->dev; in drm_bridge_attach()
191 bridge->encoder = encoder; in drm_bridge_attach()
196 list_add(&bridge->chain_node, &encoder->bridge_chain); in drm_bridge_attach()
226 bridge->encoder = NULL; in drm_bridge_attach()
358 struct drm_encoder *encoder; in drm_bridge_chain_mode_fixup() local
363 encoder = bridge->encoder; in drm_bridge_chain_mode_fixup()
364 list_for_each_entry_from(bridge, &encoder->bridge_chain, chain_node) { in drm_bridge_chain_mode_fixup()
397 struct drm_encoder *encoder; in drm_bridge_chain_mode_valid() local
402 encoder = bridge->encoder; in drm_bridge_chain_mode_valid()
403 list_for_each_entry_from(bridge, &encoder->bridge_chain, chain_node) { in drm_bridge_chain_mode_valid()
430 struct drm_encoder *encoder; in drm_bridge_chain_disable() local
436 encoder = bridge->encoder; in drm_bridge_chain_disable()
437 list_for_each_entry_reverse(iter, &encoder->bridge_chain, chain_node) { in drm_bridge_chain_disable()
460 struct drm_encoder *encoder; in drm_bridge_chain_post_disable() local
465 encoder = bridge->encoder; in drm_bridge_chain_post_disable()
466 list_for_each_entry_from(bridge, &encoder->bridge_chain, chain_node) { in drm_bridge_chain_post_disable()
489 struct drm_encoder *encoder; in drm_bridge_chain_mode_set() local
494 encoder = bridge->encoder; in drm_bridge_chain_mode_set()
495 list_for_each_entry_from(bridge, &encoder->bridge_chain, chain_node) { in drm_bridge_chain_mode_set()
515 struct drm_encoder *encoder; in drm_bridge_chain_pre_enable() local
521 encoder = bridge->encoder; in drm_bridge_chain_pre_enable()
522 list_for_each_entry_reverse(iter, &encoder->bridge_chain, chain_node) { in drm_bridge_chain_pre_enable()
544 struct drm_encoder *encoder; in drm_bridge_chain_enable() local
549 encoder = bridge->encoder; in drm_bridge_chain_enable()
550 list_for_each_entry_from(bridge, &encoder->bridge_chain, chain_node) { in drm_bridge_chain_enable()
572 struct drm_encoder *encoder; in drm_atomic_bridge_chain_disable() local
578 encoder = bridge->encoder; in drm_atomic_bridge_chain_disable()
579 list_for_each_entry_reverse(iter, &encoder->bridge_chain, chain_node) { in drm_atomic_bridge_chain_disable()
616 struct drm_encoder *encoder; in drm_atomic_bridge_chain_post_disable() local
621 encoder = bridge->encoder; in drm_atomic_bridge_chain_post_disable()
622 list_for_each_entry_from(bridge, &encoder->bridge_chain, chain_node) { in drm_atomic_bridge_chain_post_disable()
657 struct drm_encoder *encoder; in drm_atomic_bridge_chain_pre_enable() local
663 encoder = bridge->encoder; in drm_atomic_bridge_chain_pre_enable()
664 list_for_each_entry_reverse(iter, &encoder->bridge_chain, chain_node) { in drm_atomic_bridge_chain_pre_enable()
700 struct drm_encoder *encoder; in drm_atomic_bridge_chain_enable() local
705 encoder = bridge->encoder; in drm_atomic_bridge_chain_enable()
706 list_for_each_entry_from(bridge, &encoder->bridge_chain, chain_node) { in drm_atomic_bridge_chain_enable()
876 struct drm_encoder *encoder = bridge->encoder; in drm_atomic_bridge_chain_select_bus_fmts() local
883 last_bridge = list_last_entry(&encoder->bridge_chain, in drm_atomic_bridge_chain_select_bus_fmts()
1003 struct drm_encoder *encoder; in drm_atomic_bridge_chain_check() local
1015 encoder = bridge->encoder; in drm_atomic_bridge_chain_check()
1016 list_for_each_entry_reverse(iter, &encoder->bridge_chain, chain_node) { in drm_atomic_bridge_chain_check()