Lines Matching refs:cur_state
1162 bool cur_state; in assert_pll() local
1165 cur_state = !!(val & DPLL_VCO_ENABLE); in assert_pll()
1166 I915_STATE_WARN(cur_state != state, in assert_pll()
1168 state_string(state), state_string(cur_state)); in assert_pll()
1175 bool cur_state; in assert_dsi_pll() local
1181 cur_state = val & DSI_PLL_VCO_EN; in assert_dsi_pll()
1182 I915_STATE_WARN(cur_state != state, in assert_dsi_pll()
1184 state_string(state), state_string(cur_state)); in assert_dsi_pll()
1205 bool cur_state; in assert_shared_dpll() local
1212 cur_state = pll->get_hw_state(dev_priv, pll, &hw_state); in assert_shared_dpll()
1213 I915_STATE_WARN(cur_state != state, in assert_shared_dpll()
1215 pll->name, state_string(state), state_string(cur_state)); in assert_shared_dpll()
1221 bool cur_state; in assert_fdi_tx() local
1228 cur_state = !!(val & TRANS_DDI_FUNC_ENABLE); in assert_fdi_tx()
1231 cur_state = !!(val & FDI_TX_ENABLE); in assert_fdi_tx()
1233 I915_STATE_WARN(cur_state != state, in assert_fdi_tx()
1235 state_string(state), state_string(cur_state)); in assert_fdi_tx()
1244 bool cur_state; in assert_fdi_rx() local
1247 cur_state = !!(val & FDI_RX_ENABLE); in assert_fdi_rx()
1248 I915_STATE_WARN(cur_state != state, in assert_fdi_rx()
1250 state_string(state), state_string(cur_state)); in assert_fdi_rx()
1276 bool cur_state; in assert_fdi_rx_pll() local
1279 cur_state = !!(val & FDI_RX_PLL_ENABLE); in assert_fdi_rx_pll()
1280 I915_STATE_WARN(cur_state != state, in assert_fdi_rx_pll()
1282 state_string(state), state_string(cur_state)); in assert_fdi_rx_pll()
1331 bool cur_state; in assert_cursor() local
1334 cur_state = I915_READ(CURCNTR(PIPE_A)) & CURSOR_ENABLE; in assert_cursor()
1336 cur_state = I915_READ(CURCNTR(pipe)) & CURSOR_MODE; in assert_cursor()
1338 I915_STATE_WARN(cur_state != state, in assert_cursor()
1340 pipe_name(pipe), state_string(state), state_string(cur_state)); in assert_cursor()
1348 bool cur_state; in assert_pipe() local
1359 cur_state = false; in assert_pipe()
1362 cur_state = !!(val & PIPECONF_ENABLE); in assert_pipe()
1365 I915_STATE_WARN(cur_state != state, in assert_pipe()
1367 pipe_name(pipe), state_string(state), state_string(cur_state)); in assert_pipe()
1374 bool cur_state; in assert_plane() local
1377 cur_state = !!(val & DISPLAY_PLANE_ENABLE); in assert_plane()
1378 I915_STATE_WARN(cur_state != state, in assert_plane()
1380 plane_name(plane), state_string(state), state_string(cur_state)); in assert_plane()