Lines Matching refs:__i
476 #define for_each_old_intel_plane_in_state(__state, plane, old_plane_state, __i) \ argument
477 for ((__i) = 0; \
478 (__i) < (__state)->base.dev->mode_config.num_total_plane && \
479 ((plane) = to_intel_plane((__state)->base.planes[__i].ptr), \
480 (old_plane_state) = to_intel_plane_state((__state)->base.planes[__i].old_state), 1); \
481 (__i)++) \
484 #define for_each_new_intel_plane_in_state(__state, plane, new_plane_state, __i) \ argument
485 for ((__i) = 0; \
486 (__i) < (__state)->base.dev->mode_config.num_total_plane && \
487 ((plane) = to_intel_plane((__state)->base.planes[__i].ptr), \
488 (new_plane_state) = to_intel_plane_state((__state)->base.planes[__i].new_state), 1); \
489 (__i)++) \
492 #define for_each_new_intel_crtc_in_state(__state, crtc, new_crtc_state, __i) \ argument
493 for ((__i) = 0; \
494 (__i) < (__state)->base.dev->mode_config.num_crtc && \
495 ((crtc) = to_intel_crtc((__state)->base.crtcs[__i].ptr), \
496 (new_crtc_state) = to_intel_crtc_state((__state)->base.crtcs[__i].new_state), 1); \
497 (__i)++) \
500 #define for_each_oldnew_intel_plane_in_state(__state, plane, old_plane_state, new_plane_state, __i)… argument
501 for ((__i) = 0; \
502 (__i) < (__state)->base.dev->mode_config.num_total_plane && \
503 ((plane) = to_intel_plane((__state)->base.planes[__i].ptr), \
504 (old_plane_state) = to_intel_plane_state((__state)->base.planes[__i].old_state), \
505 (new_plane_state) = to_intel_plane_state((__state)->base.planes[__i].new_state), 1); \
506 (__i)++) \
509 #define for_each_oldnew_intel_crtc_in_state(__state, crtc, old_crtc_state, new_crtc_state, __i) \ argument
510 for ((__i) = 0; \
511 (__i) < (__state)->base.dev->mode_config.num_crtc && \
512 ((crtc) = to_intel_crtc((__state)->base.crtcs[__i].ptr), \
513 (old_crtc_state) = to_intel_crtc_state((__state)->base.crtcs[__i].old_state), \
514 (new_crtc_state) = to_intel_crtc_state((__state)->base.crtcs[__i].new_state), 1); \
515 (__i)++) \
518 …e for_each_oldnew_intel_crtc_in_state_reverse(__state, crtc, old_crtc_state, new_crtc_state, __i) \ argument
519 for ((__i) = (__state)->base.dev->mode_config.num_crtc - 1; \
520 (__i) >= 0 && \
521 ((crtc) = to_intel_crtc((__state)->base.crtcs[__i].ptr), \
522 (old_crtc_state) = to_intel_crtc_state((__state)->base.crtcs[__i].old_state), \
523 (new_crtc_state) = to_intel_crtc_state((__state)->base.crtcs[__i].new_state), 1); \
524 (__i)--) \
535 #define for_each_new_intel_connector_in_state(__state, connector, new_connector_state, __i) \ argument
536 for ((__i) = 0; \
537 (__i) < (__state)->base.num_connector; \
538 (__i)++) \
539 for_each_if ((__state)->base.connectors[__i].ptr && \
540 ((connector) = to_intel_connector((__state)->base.connectors[__i].ptr), \
541 …(new_connector_state) = to_intel_digital_connector_state((__state)->base.connectors[__i].new_state…