Lines Matching refs:pipe

25 	enum mdp5_pipe pipe;  member
63 enum mdp5_pipe pipe = mdp5_plane->pipe; in mdp5_plane_disable() local
69 mdp5_smp_release(mdp5_kms->smp, pipe); in mdp5_plane_disable()
259 enum mdp5_pipe pipe = mdp5_plane->pipe; in set_scanout_locked() local
261 mdp5_write(mdp5_kms, REG_MDP5_PIPE_SRC_STRIDE_A(pipe), in set_scanout_locked()
265 mdp5_write(mdp5_kms, REG_MDP5_PIPE_SRC_STRIDE_B(pipe), in set_scanout_locked()
269 mdp5_write(mdp5_kms, REG_MDP5_PIPE_SRC0_ADDR(pipe), in set_scanout_locked()
271 mdp5_write(mdp5_kms, REG_MDP5_PIPE_SRC1_ADDR(pipe), in set_scanout_locked()
273 mdp5_write(mdp5_kms, REG_MDP5_PIPE_SRC2_ADDR(pipe), in set_scanout_locked()
275 mdp5_write(mdp5_kms, REG_MDP5_PIPE_SRC3_ADDR(pipe), in set_scanout_locked()
282 static void csc_disable(struct mdp5_kms *mdp5_kms, enum mdp5_pipe pipe) in csc_disable() argument
284 uint32_t value = mdp5_read(mdp5_kms, REG_MDP5_PIPE_OP_MODE(pipe)) & in csc_disable()
287 mdp5_write(mdp5_kms, REG_MDP5_PIPE_OP_MODE(pipe), value); in csc_disable()
291 static void csc_enable(struct mdp5_kms *mdp5_kms, enum mdp5_pipe pipe, in csc_enable() argument
305 mdp5_write(mdp5_kms, REG_MDP5_PIPE_OP_MODE(pipe), mode); in csc_enable()
308 mdp5_write(mdp5_kms, REG_MDP5_PIPE_CSC_1_MATRIX_COEFF_0(pipe), in csc_enable()
311 mdp5_write(mdp5_kms, REG_MDP5_PIPE_CSC_1_MATRIX_COEFF_1(pipe), in csc_enable()
314 mdp5_write(mdp5_kms, REG_MDP5_PIPE_CSC_1_MATRIX_COEFF_2(pipe), in csc_enable()
317 mdp5_write(mdp5_kms, REG_MDP5_PIPE_CSC_1_MATRIX_COEFF_3(pipe), in csc_enable()
320 mdp5_write(mdp5_kms, REG_MDP5_PIPE_CSC_1_MATRIX_COEFF_4(pipe), in csc_enable()
327 mdp5_write(mdp5_kms, REG_MDP5_PIPE_CSC_1_PRE_CLAMP(pipe, i), in csc_enable()
331 mdp5_write(mdp5_kms, REG_MDP5_PIPE_CSC_1_POST_CLAMP(pipe, i), in csc_enable()
335 mdp5_write(mdp5_kms, REG_MDP5_PIPE_CSC_1_PRE_BIAS(pipe, i), in csc_enable()
338 mdp5_write(mdp5_kms, REG_MDP5_PIPE_CSC_1_POST_BIAS(pipe, i), in csc_enable()
440 enum mdp5_pipe pipe = mdp5_plane->pipe; in mdp5_plane_mode_set() local
453 if (WARN_ON(nplanes > pipe2nclients(pipe))) in mdp5_plane_mode_set()
471 mdp5_plane->pipe, fb->pixel_format, src_w); in mdp5_plane_mode_set()
481 mdp5_smp_configure(mdp5_kms->smp, pipe); in mdp5_plane_mode_set()
509 mdp5_write(mdp5_kms, REG_MDP5_PIPE_SRC_IMG_SIZE(pipe), in mdp5_plane_mode_set()
513 mdp5_write(mdp5_kms, REG_MDP5_PIPE_SRC_SIZE(pipe), in mdp5_plane_mode_set()
517 mdp5_write(mdp5_kms, REG_MDP5_PIPE_SRC_XY(pipe), in mdp5_plane_mode_set()
521 mdp5_write(mdp5_kms, REG_MDP5_PIPE_OUT_SIZE(pipe), in mdp5_plane_mode_set()
525 mdp5_write(mdp5_kms, REG_MDP5_PIPE_OUT_XY(pipe), in mdp5_plane_mode_set()
529 mdp5_write(mdp5_kms, REG_MDP5_PIPE_SRC_FORMAT(pipe), in mdp5_plane_mode_set()
541 mdp5_write(mdp5_kms, REG_MDP5_PIPE_SRC_UNPACK(pipe), in mdp5_plane_mode_set()
547 mdp5_write(mdp5_kms, REG_MDP5_PIPE_SRC_OP_MODE(pipe), in mdp5_plane_mode_set()
551 mdp5_write(mdp5_kms, REG_MDP5_PIPE_SRC_ADDR_SW_STATUS(pipe), 0); in mdp5_plane_mode_set()
553 mdp5_write(mdp5_kms, REG_MDP5_PIPE_SCALE_PHASE_STEP_X(pipe), in mdp5_plane_mode_set()
555 mdp5_write(mdp5_kms, REG_MDP5_PIPE_SCALE_PHASE_STEP_Y(pipe), in mdp5_plane_mode_set()
557 mdp5_write(mdp5_kms, REG_MDP5_PIPE_SCALE_CR_PHASE_STEP_X(pipe), in mdp5_plane_mode_set()
559 mdp5_write(mdp5_kms, REG_MDP5_PIPE_SCALE_CR_PHASE_STEP_Y(pipe), in mdp5_plane_mode_set()
561 mdp5_write(mdp5_kms, REG_MDP5_PIPE_DECIMATION(pipe), in mdp5_plane_mode_set()
564 mdp5_write(mdp5_kms, REG_MDP5_PIPE_SCALE_CONFIG(pipe), config); in mdp5_plane_mode_set()
567 csc_enable(mdp5_kms, pipe, in mdp5_plane_mode_set()
570 csc_disable(mdp5_kms, pipe); in mdp5_plane_mode_set()
583 enum mdp5_pipe pipe = mdp5_plane->pipe; in mdp5_plane_complete_flip() local
587 mdp5_smp_commit(mdp5_kms->smp, pipe); in mdp5_plane_complete_flip()
595 return mdp5_plane->pipe; in mdp5_plane_pipe()
607 enum mdp5_pipe pipe, bool private_plane, uint32_t reg_offset) in mdp5_plane_init() argument
622 mdp5_plane->pipe = pipe; in mdp5_plane_init()
623 mdp5_plane->name = pipe2name(pipe); in mdp5_plane_init()
625 mdp5_plane->nformats = mdp5_get_formats(pipe, mdp5_plane->formats, in mdp5_plane_init()
628 mdp5_plane->flush_mask = mdp_ctl_flush_mask_pipe(pipe); in mdp5_plane_init()