Lines Matching refs:iter
525 struct drm_bridge *iter; in drm_bridge_chain_disable() local
531 list_for_each_entry_reverse(iter, &encoder->bridge_chain, chain_node) { in drm_bridge_chain_disable()
532 if (iter->funcs->disable) in drm_bridge_chain_disable()
533 iter->funcs->disable(iter); in drm_bridge_chain_disable()
535 if (iter == bridge) in drm_bridge_chain_disable()
610 struct drm_bridge *iter; in drm_bridge_chain_pre_enable() local
616 list_for_each_entry_reverse(iter, &encoder->bridge_chain, chain_node) { in drm_bridge_chain_pre_enable()
617 if (iter->funcs->pre_enable) in drm_bridge_chain_pre_enable()
618 iter->funcs->pre_enable(iter); in drm_bridge_chain_pre_enable()
620 if (iter == bridge) in drm_bridge_chain_pre_enable()
667 struct drm_bridge *iter; in drm_atomic_bridge_chain_disable() local
673 list_for_each_entry_reverse(iter, &encoder->bridge_chain, chain_node) { in drm_atomic_bridge_chain_disable()
674 if (iter->funcs->atomic_disable) { in drm_atomic_bridge_chain_disable()
679 iter); in drm_atomic_bridge_chain_disable()
683 iter->funcs->atomic_disable(iter, old_bridge_state); in drm_atomic_bridge_chain_disable()
684 } else if (iter->funcs->disable) { in drm_atomic_bridge_chain_disable()
685 iter->funcs->disable(iter); in drm_atomic_bridge_chain_disable()
688 if (iter == bridge) in drm_atomic_bridge_chain_disable()
752 struct drm_bridge *iter; in drm_atomic_bridge_chain_pre_enable() local
758 list_for_each_entry_reverse(iter, &encoder->bridge_chain, chain_node) { in drm_atomic_bridge_chain_pre_enable()
759 if (iter->funcs->atomic_pre_enable) { in drm_atomic_bridge_chain_pre_enable()
764 iter); in drm_atomic_bridge_chain_pre_enable()
768 iter->funcs->atomic_pre_enable(iter, old_bridge_state); in drm_atomic_bridge_chain_pre_enable()
769 } else if (iter->funcs->pre_enable) { in drm_atomic_bridge_chain_pre_enable()
770 iter->funcs->pre_enable(iter); in drm_atomic_bridge_chain_pre_enable()
773 if (iter == bridge) in drm_atomic_bridge_chain_pre_enable()
1098 struct drm_bridge *iter; in drm_atomic_bridge_chain_check() local
1110 list_for_each_entry_reverse(iter, &encoder->bridge_chain, chain_node) { in drm_atomic_bridge_chain_check()
1120 drm_atomic_bridge_propagate_bus_flags(iter, conn, in drm_atomic_bridge_chain_check()
1123 ret = drm_atomic_bridge_check(iter, crtc_state, conn_state); in drm_atomic_bridge_chain_check()
1127 if (iter == bridge) in drm_atomic_bridge_chain_check()