Lines Matching refs:cur_state
29 bool cur_state; in assert_fdi_tx() local
39 cur_state = intel_de_read(dev_priv, in assert_fdi_tx()
42 cur_state = intel_de_read(dev_priv, FDI_TX_CTL(pipe)) & FDI_TX_ENABLE; in assert_fdi_tx()
44 I915_STATE_WARN(dev_priv, cur_state != state, in assert_fdi_tx()
46 str_on_off(state), str_on_off(cur_state)); in assert_fdi_tx()
62 bool cur_state; in assert_fdi_rx() local
64 cur_state = intel_de_read(dev_priv, FDI_RX_CTL(pipe)) & FDI_RX_ENABLE; in assert_fdi_rx()
65 I915_STATE_WARN(dev_priv, cur_state != state, in assert_fdi_rx()
67 str_on_off(state), str_on_off(cur_state)); in assert_fdi_rx()
83 bool cur_state; in assert_fdi_tx_pll_enabled() local
93 cur_state = intel_de_read(i915, FDI_TX_CTL(pipe)) & FDI_TX_PLL_ENABLE; in assert_fdi_tx_pll_enabled()
94 I915_STATE_WARN(i915, !cur_state, in assert_fdi_tx_pll_enabled()
101 bool cur_state; in assert_fdi_rx_pll() local
103 cur_state = intel_de_read(i915, FDI_RX_CTL(pipe)) & FDI_RX_PLL_ENABLE; in assert_fdi_rx_pll()
104 I915_STATE_WARN(i915, cur_state != state, in assert_fdi_rx_pll()
106 str_on_off(state), str_on_off(cur_state)); in assert_fdi_rx_pll()