Lines Matching refs:pipe
471 /* Check which pipe is connected to an active display plane. */
474 int pipe = -1;
478 pipe = (hw->disp_b_ctrl >> DISPPLANE_SEL_PIPE_SHIFT);
479 pipe &= PIPE_MASK;
480 if (unlikely(pipe == PIPE_A))
484 pipe = (hw->disp_a_ctrl >> DISPPLANE_SEL_PIPE_SHIFT);
485 pipe &= PIPE_MASK;
486 if (likely(pipe == PIPE_A))
489 /* Impossible that no pipe is selected - return PIPE_A */
490 WARN_ON(pipe == -1);
491 if (unlikely(pipe == -1))
492 pipe = PIPE_A;
494 return pipe;
501 u32 palette_reg = (dinfo->pipe == PIPE_A) ?
1042 int pipe = intelfbhw_active_pipe(hw);
1056 /* Set which pipe's registers will be set. */
1057 if (pipe == PIPE_B) {
1096 /* Connect correct pipe to the analog port DAC */
1098 hw->adpa |= (pipe << ADPA_PIPE_SELECT_SHIFT);
1168 hw->disp_a_ctrl |= (pipe << DISPPLANE_SEL_PIPE_SHIFT);
1287 /* Assume single pipe */
1298 dinfo->pipe = intelfbhw_active_pipe(hw);
1300 if (dinfo->pipe == PIPE_B) {
1350 /* turn off pipe */
1418 /* Set pipe parameters */
1438 /* Enable pipe */
2086 int intelfbhw_wait_for_vsync(struct intelfb_info *dinfo, u32 pipe)
2092 switch (pipe) {