Lines Matching refs:pipe
473 /* Check which pipe is connected to an active display plane. */
476 int pipe = -1;
480 pipe = (hw->disp_b_ctrl >> DISPPLANE_SEL_PIPE_SHIFT);
481 pipe &= PIPE_MASK;
482 if (unlikely(pipe == PIPE_A))
486 pipe = (hw->disp_a_ctrl >> DISPPLANE_SEL_PIPE_SHIFT);
487 pipe &= PIPE_MASK;
488 if (likely(pipe == PIPE_A))
491 /* Impossible that no pipe is selected - return PIPE_A */
492 WARN_ON(pipe == -1);
493 if (unlikely(pipe == -1))
494 pipe = PIPE_A;
496 return pipe;
503 u32 palette_reg = (dinfo->pipe == PIPE_A) ?
1044 int pipe = intelfbhw_active_pipe(hw);
1058 /* Set which pipe's registers will be set. */
1059 if (pipe == PIPE_B) {
1098 /* Connect correct pipe to the analog port DAC */
1100 hw->adpa |= (pipe << ADPA_PIPE_SELECT_SHIFT);
1170 hw->disp_a_ctrl |= (pipe << DISPPLANE_SEL_PIPE_SHIFT);
1289 /* Assume single pipe */
1300 dinfo->pipe = intelfbhw_active_pipe(hw);
1302 if (dinfo->pipe == PIPE_B) {
1352 /* turn off pipe */
1420 /* Set pipe parameters */
1440 /* Enable pipe */
2088 int intelfbhw_wait_for_vsync(struct intelfb_info *dinfo, u32 pipe)
2094 switch (pipe) {