Lines Matching refs:__i

449 #define for_each_old_intel_plane_in_state(__state, plane, old_plane_state, __i) \  argument
450 for ((__i) = 0; \
451 (__i) < (__state)->base.dev->mode_config.num_total_plane && \
452 ((plane) = to_intel_plane((__state)->base.planes[__i].ptr), \
453 (old_plane_state) = to_intel_plane_state((__state)->base.planes[__i].old_state), 1); \
454 (__i)++) \
457 #define for_each_new_intel_plane_in_state(__state, plane, new_plane_state, __i) \ argument
458 for ((__i) = 0; \
459 (__i) < (__state)->base.dev->mode_config.num_total_plane && \
460 ((plane) = to_intel_plane((__state)->base.planes[__i].ptr), \
461 (new_plane_state) = to_intel_plane_state((__state)->base.planes[__i].new_state), 1); \
462 (__i)++) \
465 #define for_each_new_intel_crtc_in_state(__state, crtc, new_crtc_state, __i) \ argument
466 for ((__i) = 0; \
467 (__i) < (__state)->base.dev->mode_config.num_crtc && \
468 ((crtc) = to_intel_crtc((__state)->base.crtcs[__i].ptr), \
469 (new_crtc_state) = to_intel_crtc_state((__state)->base.crtcs[__i].new_state), 1); \
470 (__i)++) \
473 #define for_each_oldnew_intel_plane_in_state(__state, plane, old_plane_state, new_plane_state, __i)… argument
474 for ((__i) = 0; \
475 (__i) < (__state)->base.dev->mode_config.num_total_plane && \
476 ((plane) = to_intel_plane((__state)->base.planes[__i].ptr), \
477 (old_plane_state) = to_intel_plane_state((__state)->base.planes[__i].old_state), \
478 (new_plane_state) = to_intel_plane_state((__state)->base.planes[__i].new_state), 1); \
479 (__i)++) \
482 #define for_each_oldnew_intel_crtc_in_state(__state, crtc, old_crtc_state, new_crtc_state, __i) \ argument
483 for ((__i) = 0; \
484 (__i) < (__state)->base.dev->mode_config.num_crtc && \
485 ((crtc) = to_intel_crtc((__state)->base.crtcs[__i].ptr), \
486 (old_crtc_state) = to_intel_crtc_state((__state)->base.crtcs[__i].old_state), \
487 (new_crtc_state) = to_intel_crtc_state((__state)->base.crtcs[__i].new_state), 1); \
488 (__i)++) \
491 …e for_each_oldnew_intel_crtc_in_state_reverse(__state, crtc, old_crtc_state, new_crtc_state, __i) \ argument
492 for ((__i) = (__state)->base.dev->mode_config.num_crtc - 1; \
493 (__i) >= 0 && \
494 ((crtc) = to_intel_crtc((__state)->base.crtcs[__i].ptr), \
495 (old_crtc_state) = to_intel_crtc_state((__state)->base.crtcs[__i].old_state), \
496 (new_crtc_state) = to_intel_crtc_state((__state)->base.crtcs[__i].new_state), 1); \
497 (__i)--) \
508 #define for_each_new_intel_connector_in_state(__state, connector, new_connector_state, __i) \ argument
509 for ((__i) = 0; \
510 (__i) < (__state)->base.num_connector; \
511 (__i)++) \
512 for_each_if ((__state)->base.connectors[__i].ptr && \
513 ((connector) = to_intel_connector((__state)->base.connectors[__i].ptr), \
514 …(new_connector_state) = to_intel_digital_connector_state((__state)->base.connectors[__i].new_state…