Lines Matching refs:cur_state
16 bool cur_state; in assert_fdi_tx() local
26 cur_state = intel_de_read(dev_priv, TRANS_DDI_FUNC_CTL(cpu_transcoder)) & TRANS_DDI_FUNC_ENABLE; in assert_fdi_tx()
28 cur_state = intel_de_read(dev_priv, FDI_TX_CTL(pipe)) & FDI_TX_ENABLE; in assert_fdi_tx()
30 I915_STATE_WARN(cur_state != state, in assert_fdi_tx()
32 onoff(state), onoff(cur_state)); in assert_fdi_tx()
48 bool cur_state; in assert_fdi_rx() local
50 cur_state = intel_de_read(dev_priv, FDI_RX_CTL(pipe)) & FDI_RX_ENABLE; in assert_fdi_rx()
51 I915_STATE_WARN(cur_state != state, in assert_fdi_rx()
53 onoff(state), onoff(cur_state)); in assert_fdi_rx()
69 bool cur_state; in assert_fdi_tx_pll_enabled() local
79 cur_state = intel_de_read(i915, FDI_TX_CTL(pipe)) & FDI_TX_PLL_ENABLE; in assert_fdi_tx_pll_enabled()
80 I915_STATE_WARN(!cur_state, "FDI TX PLL assertion failure, should be active but is disabled\n"); in assert_fdi_tx_pll_enabled()
86 bool cur_state; in assert_fdi_rx_pll() local
88 cur_state = intel_de_read(i915, FDI_RX_CTL(pipe)) & FDI_RX_PLL_ENABLE; in assert_fdi_rx_pll()
89 I915_STATE_WARN(cur_state != state, in assert_fdi_rx_pll()
91 onoff(state), onoff(cur_state)); in assert_fdi_rx_pll()