__state 372 drivers/gpu/drm/i915/display/intel_display.h #define for_each_old_intel_plane_in_state(__state, plane, old_plane_state, __i) \ __state 374 drivers/gpu/drm/i915/display/intel_display.h (__i) < (__state)->base.dev->mode_config.num_total_plane && \ __state 375 drivers/gpu/drm/i915/display/intel_display.h ((plane) = to_intel_plane((__state)->base.planes[__i].ptr), \ __state 376 drivers/gpu/drm/i915/display/intel_display.h (old_plane_state) = to_intel_plane_state((__state)->base.planes[__i].old_state), 1); \ __state 380 drivers/gpu/drm/i915/display/intel_display.h #define for_each_new_intel_plane_in_state(__state, plane, new_plane_state, __i) \ __state 382 drivers/gpu/drm/i915/display/intel_display.h (__i) < (__state)->base.dev->mode_config.num_total_plane && \ __state 383 drivers/gpu/drm/i915/display/intel_display.h ((plane) = to_intel_plane((__state)->base.planes[__i].ptr), \ __state 384 drivers/gpu/drm/i915/display/intel_display.h (new_plane_state) = to_intel_plane_state((__state)->base.planes[__i].new_state), 1); \ __state 388 drivers/gpu/drm/i915/display/intel_display.h #define for_each_new_intel_crtc_in_state(__state, crtc, new_crtc_state, __i) \ __state 390 drivers/gpu/drm/i915/display/intel_display.h (__i) < (__state)->base.dev->mode_config.num_crtc && \ __state 391 drivers/gpu/drm/i915/display/intel_display.h ((crtc) = to_intel_crtc((__state)->base.crtcs[__i].ptr), \ __state 392 drivers/gpu/drm/i915/display/intel_display.h (new_crtc_state) = to_intel_crtc_state((__state)->base.crtcs[__i].new_state), 1); \ __state 396 drivers/gpu/drm/i915/display/intel_display.h #define for_each_oldnew_intel_plane_in_state(__state, plane, old_plane_state, new_plane_state, __i) \ __state 398 drivers/gpu/drm/i915/display/intel_display.h (__i) < (__state)->base.dev->mode_config.num_total_plane && \ __state 399 drivers/gpu/drm/i915/display/intel_display.h ((plane) = to_intel_plane((__state)->base.planes[__i].ptr), \ __state 400 drivers/gpu/drm/i915/display/intel_display.h (old_plane_state) = to_intel_plane_state((__state)->base.planes[__i].old_state), \ __state 401 drivers/gpu/drm/i915/display/intel_display.h (new_plane_state) = to_intel_plane_state((__state)->base.planes[__i].new_state), 1); \ __state 405 drivers/gpu/drm/i915/display/intel_display.h #define for_each_oldnew_intel_crtc_in_state(__state, crtc, old_crtc_state, new_crtc_state, __i) \ __state 407 drivers/gpu/drm/i915/display/intel_display.h (__i) < (__state)->base.dev->mode_config.num_crtc && \ __state 408 drivers/gpu/drm/i915/display/intel_display.h ((crtc) = to_intel_crtc((__state)->base.crtcs[__i].ptr), \ __state 409 drivers/gpu/drm/i915/display/intel_display.h (old_crtc_state) = to_intel_crtc_state((__state)->base.crtcs[__i].old_state), \ __state 410 drivers/gpu/drm/i915/display/intel_display.h (new_crtc_state) = to_intel_crtc_state((__state)->base.crtcs[__i].new_state), 1); \ __state 37 drivers/media/dvb-frontends/stv090x_priv.h #define STV090x_READ_DEMOD(__state, __reg) (( \ __state 38 drivers/media/dvb-frontends/stv090x_priv.h (__state)->demod == STV090x_DEMODULATOR_1) ? \ __state 39 drivers/media/dvb-frontends/stv090x_priv.h stv090x_read_reg(__state, STV090x_P2_##__reg) : \ __state 40 drivers/media/dvb-frontends/stv090x_priv.h stv090x_read_reg(__state, STV090x_P1_##__reg)) __state 42 drivers/media/dvb-frontends/stv090x_priv.h #define STV090x_WRITE_DEMOD(__state, __reg, __data) (( \ __state 43 drivers/media/dvb-frontends/stv090x_priv.h (__state)->demod == STV090x_DEMODULATOR_1) ? \ __state 44 drivers/media/dvb-frontends/stv090x_priv.h stv090x_write_reg(__state, STV090x_P2_##__reg, __data) :\ __state 45 drivers/media/dvb-frontends/stv090x_priv.h stv090x_write_reg(__state, STV090x_P1_##__reg, __data)) __state 47 drivers/media/dvb-frontends/stv090x_priv.h #define STV090x_ADDR_OFFST(__state, __x) (( \ __state 48 drivers/media/dvb-frontends/stv090x_priv.h (__state->demod) == STV090x_DEMODULATOR_1) ? \ __state 1501 drivers/net/ethernet/broadcom/cnic_defs.h u8 __state; __state 1503 drivers/net/ethernet/broadcom/cnic_defs.h u8 __state; __state 65 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.h #define IS_IN_LOW_POWER_STATE_92E(__state) \ __state 66 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.h (FW_PS_STATE(__state) == FW_PS_CLOCK_OFF) __state 113 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h #define IS_IN_LOW_POWER_STATE_8821AE(__state) \ __state 114 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h (FW_PS_STATE(__state) == FW_PS_CLOCK_OFF) __state 207 drivers/s390/cio/qdio_main.c unsigned char __state = 0; __state 214 drivers/s390/cio/qdio_main.c __state = q->slsb.val[bufnr]; __state 217 drivers/s390/cio/qdio_main.c if (__state & SLSB_OWNER_CU) __state 220 drivers/s390/cio/qdio_main.c if (merge_pending && __state == SLSB_P_OUTPUT_PENDING) __state 221 drivers/s390/cio/qdio_main.c __state = SLSB_P_OUTPUT_EMPTY; __state 229 drivers/s390/cio/qdio_main.c __state == SLSB_P_OUTPUT_EMPTY) __state 233 drivers/s390/cio/qdio_main.c if (q->slsb.val[bufnr] != __state) __state 238 drivers/s390/cio/qdio_main.c *state = __state; __state 690 include/drm/drm_atomic.h #define for_each_oldnew_connector_in_state(__state, connector, old_connector_state, new_connector_state, __i) \ __state 692 include/drm/drm_atomic.h (__i) < (__state)->num_connector; \ __state 694 include/drm/drm_atomic.h for_each_if ((__state)->connectors[__i].ptr && \ __state 695 include/drm/drm_atomic.h ((connector) = (__state)->connectors[__i].ptr, \ __state 696 include/drm/drm_atomic.h (old_connector_state) = (__state)->connectors[__i].old_state, \ __state 697 include/drm/drm_atomic.h (new_connector_state) = (__state)->connectors[__i].new_state, 1)) __state 711 include/drm/drm_atomic.h #define for_each_old_connector_in_state(__state, connector, old_connector_state, __i) \ __state 713 include/drm/drm_atomic.h (__i) < (__state)->num_connector; \ __state 715 include/drm/drm_atomic.h for_each_if ((__state)->connectors[__i].ptr && \ __state 716 include/drm/drm_atomic.h ((connector) = (__state)->connectors[__i].ptr, \ __state 717 include/drm/drm_atomic.h (old_connector_state) = (__state)->connectors[__i].old_state, 1)) __state 731 include/drm/drm_atomic.h #define for_each_new_connector_in_state(__state, connector, new_connector_state, __i) \ __state 733 include/drm/drm_atomic.h (__i) < (__state)->num_connector; \ __state 735 include/drm/drm_atomic.h for_each_if ((__state)->connectors[__i].ptr && \ __state 736 include/drm/drm_atomic.h ((connector) = (__state)->connectors[__i].ptr, \ __state 737 include/drm/drm_atomic.h (new_connector_state) = (__state)->connectors[__i].new_state, 1)) __state 751 include/drm/drm_atomic.h #define for_each_oldnew_crtc_in_state(__state, crtc, old_crtc_state, new_crtc_state, __i) \ __state 753 include/drm/drm_atomic.h (__i) < (__state)->dev->mode_config.num_crtc; \ __state 755 include/drm/drm_atomic.h for_each_if ((__state)->crtcs[__i].ptr && \ __state 756 include/drm/drm_atomic.h ((crtc) = (__state)->crtcs[__i].ptr, \ __state 757 include/drm/drm_atomic.h (old_crtc_state) = (__state)->crtcs[__i].old_state, \ __state 758 include/drm/drm_atomic.h (new_crtc_state) = (__state)->crtcs[__i].new_state, 1)) __state 771 include/drm/drm_atomic.h #define for_each_old_crtc_in_state(__state, crtc, old_crtc_state, __i) \ __state 773 include/drm/drm_atomic.h (__i) < (__state)->dev->mode_config.num_crtc; \ __state 775 include/drm/drm_atomic.h for_each_if ((__state)->crtcs[__i].ptr && \ __state 776 include/drm/drm_atomic.h ((crtc) = (__state)->crtcs[__i].ptr, \ __state 777 include/drm/drm_atomic.h (old_crtc_state) = (__state)->crtcs[__i].old_state, 1)) __state 790 include/drm/drm_atomic.h #define for_each_new_crtc_in_state(__state, crtc, new_crtc_state, __i) \ __state 792 include/drm/drm_atomic.h (__i) < (__state)->dev->mode_config.num_crtc; \ __state 794 include/drm/drm_atomic.h for_each_if ((__state)->crtcs[__i].ptr && \ __state 795 include/drm/drm_atomic.h ((crtc) = (__state)->crtcs[__i].ptr, \ __state 796 include/drm/drm_atomic.h (new_crtc_state) = (__state)->crtcs[__i].new_state, 1)) __state 810 include/drm/drm_atomic.h #define for_each_oldnew_plane_in_state(__state, plane, old_plane_state, new_plane_state, __i) \ __state 812 include/drm/drm_atomic.h (__i) < (__state)->dev->mode_config.num_total_plane; \ __state 814 include/drm/drm_atomic.h for_each_if ((__state)->planes[__i].ptr && \ __state 815 include/drm/drm_atomic.h ((plane) = (__state)->planes[__i].ptr, \ __state 816 include/drm/drm_atomic.h (old_plane_state) = (__state)->planes[__i].old_state,\ __state 817 include/drm/drm_atomic.h (new_plane_state) = (__state)->planes[__i].new_state, 1)) __state 832 include/drm/drm_atomic.h #define for_each_oldnew_plane_in_state_reverse(__state, plane, old_plane_state, new_plane_state, __i) \ __state 833 include/drm/drm_atomic.h for ((__i) = ((__state)->dev->mode_config.num_total_plane - 1); \ __state 836 include/drm/drm_atomic.h for_each_if ((__state)->planes[__i].ptr && \ __state 837 include/drm/drm_atomic.h ((plane) = (__state)->planes[__i].ptr, \ __state 838 include/drm/drm_atomic.h (old_plane_state) = (__state)->planes[__i].old_state,\ __state 839 include/drm/drm_atomic.h (new_plane_state) = (__state)->planes[__i].new_state, 1)) __state 852 include/drm/drm_atomic.h #define for_each_old_plane_in_state(__state, plane, old_plane_state, __i) \ __state 854 include/drm/drm_atomic.h (__i) < (__state)->dev->mode_config.num_total_plane; \ __state 856 include/drm/drm_atomic.h for_each_if ((__state)->planes[__i].ptr && \ __state 857 include/drm/drm_atomic.h ((plane) = (__state)->planes[__i].ptr, \ __state 858 include/drm/drm_atomic.h (old_plane_state) = (__state)->planes[__i].old_state, 1)) __state 870 include/drm/drm_atomic.h #define for_each_new_plane_in_state(__state, plane, new_plane_state, __i) \ __state 872 include/drm/drm_atomic.h (__i) < (__state)->dev->mode_config.num_total_plane; \ __state 874 include/drm/drm_atomic.h for_each_if ((__state)->planes[__i].ptr && \ __state 875 include/drm/drm_atomic.h ((plane) = (__state)->planes[__i].ptr, \ __state 876 include/drm/drm_atomic.h (new_plane_state) = (__state)->planes[__i].new_state, 1)) __state 890 include/drm/drm_atomic.h #define for_each_oldnew_private_obj_in_state(__state, obj, old_obj_state, new_obj_state, __i) \ __state 892 include/drm/drm_atomic.h (__i) < (__state)->num_private_objs && \ __state 893 include/drm/drm_atomic.h ((obj) = (__state)->private_objs[__i].ptr, \ __state 894 include/drm/drm_atomic.h (old_obj_state) = (__state)->private_objs[__i].old_state, \ __state 895 include/drm/drm_atomic.h (new_obj_state) = (__state)->private_objs[__i].new_state, 1); \ __state 909 include/drm/drm_atomic.h #define for_each_old_private_obj_in_state(__state, obj, old_obj_state, __i) \ __state 911 include/drm/drm_atomic.h (__i) < (__state)->num_private_objs && \ __state 912 include/drm/drm_atomic.h ((obj) = (__state)->private_objs[__i].ptr, \ __state 913 include/drm/drm_atomic.h (old_obj_state) = (__state)->private_objs[__i].old_state, 1); \ __state 927 include/drm/drm_atomic.h #define for_each_new_private_obj_in_state(__state, obj, new_obj_state, __i) \ __state 929 include/drm/drm_atomic.h (__i) < (__state)->num_private_objs && \ __state 930 include/drm/drm_atomic.h ((obj) = (__state)->private_objs[__i].ptr, \ __state 931 include/drm/drm_atomic.h (new_obj_state) = (__state)->private_objs[__i].new_state, 1); \ __state 731 include/drm/drm_dp_mst_helper.h #define for_each_oldnew_mst_mgr_in_state(__state, mgr, old_state, new_state, __i) \ __state 732 include/drm/drm_dp_mst_helper.h for ((__i) = 0; (__i) < (__state)->num_private_objs; (__i)++) \ __state 733 include/drm/drm_dp_mst_helper.h for_each_if(__drm_dp_mst_state_iter_get((__state), &(mgr), &(old_state), &(new_state), (__i))) __state 748 include/drm/drm_dp_mst_helper.h #define for_each_old_mst_mgr_in_state(__state, mgr, old_state, __i) \ __state 749 include/drm/drm_dp_mst_helper.h for ((__i) = 0; (__i) < (__state)->num_private_objs; (__i)++) \ __state 750 include/drm/drm_dp_mst_helper.h for_each_if(__drm_dp_mst_state_iter_get((__state), &(mgr), &(old_state), NULL, (__i))) __state 766 include/drm/drm_dp_mst_helper.h #define for_each_new_mst_mgr_in_state(__state, mgr, new_state, __i) \ __state 767 include/drm/drm_dp_mst_helper.h for ((__i) = 0; (__i) < (__state)->num_private_objs; (__i)++) \ __state 768 include/drm/drm_dp_mst_helper.h for_each_if(__drm_dp_mst_state_iter_get((__state), &(mgr), NULL, &(new_state), (__i))) __state 433 include/linux/nodemask.h #define for_each_node_state(__node, __state) \ __state 434 include/linux/nodemask.h for_each_node_mask((__node), node_states[__state]) __state 482 include/linux/nodemask.h #define for_each_node_state(node, __state) \