Lines Matching refs:__state
762 #define for_each_oldnew_connector_in_state(__state, connector, old_connector_state, new_connector_s… argument
764 (__i) < (__state)->num_connector; \
766 for_each_if ((__state)->connectors[__i].ptr && \
767 ((connector) = (__state)->connectors[__i].ptr, \
769 (old_connector_state) = (__state)->connectors[__i].old_state, \
770 (new_connector_state) = (__state)->connectors[__i].new_state, 1))
784 #define for_each_old_connector_in_state(__state, connector, old_connector_state, __i) \ argument
786 (__i) < (__state)->num_connector; \
788 for_each_if ((__state)->connectors[__i].ptr && \
789 ((connector) = (__state)->connectors[__i].ptr, \
791 (old_connector_state) = (__state)->connectors[__i].old_state, 1))
805 #define for_each_new_connector_in_state(__state, connector, new_connector_state, __i) \ argument
807 (__i) < (__state)->num_connector; \
809 for_each_if ((__state)->connectors[__i].ptr && \
810 ((connector) = (__state)->connectors[__i].ptr, \
812 (new_connector_state) = (__state)->connectors[__i].new_state, \
827 #define for_each_oldnew_crtc_in_state(__state, crtc, old_crtc_state, new_crtc_state, __i) \ argument
829 (__i) < (__state)->dev->mode_config.num_crtc; \
831 for_each_if ((__state)->crtcs[__i].ptr && \
832 ((crtc) = (__state)->crtcs[__i].ptr, \
834 (old_crtc_state) = (__state)->crtcs[__i].old_state, \
836 (new_crtc_state) = (__state)->crtcs[__i].new_state, \
850 #define for_each_old_crtc_in_state(__state, crtc, old_crtc_state, __i) \ argument
852 (__i) < (__state)->dev->mode_config.num_crtc; \
854 for_each_if ((__state)->crtcs[__i].ptr && \
855 ((crtc) = (__state)->crtcs[__i].ptr, \
857 (old_crtc_state) = (__state)->crtcs[__i].old_state, 1))
870 #define for_each_new_crtc_in_state(__state, crtc, new_crtc_state, __i) \ argument
872 (__i) < (__state)->dev->mode_config.num_crtc; \
874 for_each_if ((__state)->crtcs[__i].ptr && \
875 ((crtc) = (__state)->crtcs[__i].ptr, \
877 (new_crtc_state) = (__state)->crtcs[__i].new_state, \
892 #define for_each_oldnew_plane_in_state(__state, plane, old_plane_state, new_plane_state, __i) \ argument
894 (__i) < (__state)->dev->mode_config.num_total_plane; \
896 for_each_if ((__state)->planes[__i].ptr && \
897 ((plane) = (__state)->planes[__i].ptr, \
899 (old_plane_state) = (__state)->planes[__i].old_state,\
900 (new_plane_state) = (__state)->planes[__i].new_state, 1))
915 #define for_each_oldnew_plane_in_state_reverse(__state, plane, old_plane_state, new_plane_state, __… argument
916 for ((__i) = ((__state)->dev->mode_config.num_total_plane - 1); \
919 for_each_if ((__state)->planes[__i].ptr && \
920 ((plane) = (__state)->planes[__i].ptr, \
921 (old_plane_state) = (__state)->planes[__i].old_state,\
922 (new_plane_state) = (__state)->planes[__i].new_state, 1))
932 #define for_each_new_plane_in_state_reverse(__state, plane, new_plane_state, __i) \ argument
933 for ((__i) = ((__state)->dev->mode_config.num_total_plane - 1); \
936 for_each_if ((__state)->planes[__i].ptr && \
937 ((plane) = (__state)->planes[__i].ptr, \
938 (new_plane_state) = (__state)->planes[__i].new_state, 1))
951 #define for_each_old_plane_in_state(__state, plane, old_plane_state, __i) \ argument
953 (__i) < (__state)->dev->mode_config.num_total_plane; \
955 for_each_if ((__state)->planes[__i].ptr && \
956 ((plane) = (__state)->planes[__i].ptr, \
957 (old_plane_state) = (__state)->planes[__i].old_state, 1))
969 #define for_each_new_plane_in_state(__state, plane, new_plane_state, __i) \ argument
971 (__i) < (__state)->dev->mode_config.num_total_plane; \
973 for_each_if ((__state)->planes[__i].ptr && \
974 ((plane) = (__state)->planes[__i].ptr, \
976 (new_plane_state) = (__state)->planes[__i].new_state, \
991 #define for_each_oldnew_private_obj_in_state(__state, obj, old_obj_state, new_obj_state, __i) \ argument
993 (__i) < (__state)->num_private_objs && \
994 ((obj) = (__state)->private_objs[__i].ptr, \
995 (old_obj_state) = (__state)->private_objs[__i].old_state, \
996 (new_obj_state) = (__state)->private_objs[__i].new_state, 1); \
1010 #define for_each_old_private_obj_in_state(__state, obj, old_obj_state, __i) \ argument
1012 (__i) < (__state)->num_private_objs && \
1013 ((obj) = (__state)->private_objs[__i].ptr, \
1014 (old_obj_state) = (__state)->private_objs[__i].old_state, 1); \
1028 #define for_each_new_private_obj_in_state(__state, obj, new_obj_state, __i) \ argument
1030 (__i) < (__state)->num_private_objs && \
1031 ((obj) = (__state)->private_objs[__i].ptr, \
1033 (new_obj_state) = (__state)->private_objs[__i].new_state, 1); \