• Home
  • Raw
  • Download

Lines Matching refs:win

322 static void mixer_cfg_layer(struct mixer_context *ctx, int win, bool enable)  in mixer_cfg_layer()  argument
327 switch (win) { in mixer_cfg_layer()
350 static void vp_video_buffer(struct mixer_context *ctx, int win) in vp_video_buffer() argument
365 win_data = &ctx->win_data[win]; in vp_video_buffer()
473 mixer_cfg_layer(ctx, win, true); in vp_video_buffer()
482 static void mixer_graph_buffer(struct mixer_context *ctx, int win) in mixer_graph_buffer() argument
495 win_data = &ctx->win_data[win]; in mixer_graph_buffer()
545 mixer_reg_writemask(res, MXR_GRAPHIC_CFG(win), in mixer_graph_buffer()
549 mixer_reg_write(res, MXR_GRAPHIC_SPAN(win), full_width); in mixer_graph_buffer()
555 mixer_reg_write(res, MXR_GRAPHIC_WH(win), val); in mixer_graph_buffer()
560 mixer_reg_write(res, MXR_GRAPHIC_SXY(win), val); in mixer_graph_buffer()
565 mixer_reg_write(res, MXR_GRAPHIC_DXY(win), val); in mixer_graph_buffer()
568 mixer_reg_write(res, MXR_GRAPHIC_BASE(win), dma_addr); in mixer_graph_buffer()
572 mixer_cfg_layer(ctx, win, true); in mixer_graph_buffer()
626 int win; in mixer_win_mode_set() local
641 win = overlay->zpos; in mixer_win_mode_set()
642 if (win == DEFAULT_ZPOS) in mixer_win_mode_set()
643 win = MIXER_DEFAULT_WIN; in mixer_win_mode_set()
645 if (win < 0 || win > MIXER_WIN_NR) { in mixer_win_mode_set()
646 DRM_ERROR("overlay plane[%d] is wrong\n", win); in mixer_win_mode_set()
650 win_data = &mixer_ctx->win_data[win]; in mixer_win_mode_set()
678 int win = zpos; in mixer_win_commit() local
680 DRM_DEBUG_KMS("[%d] %s, win: %d\n", __LINE__, __func__, win); in mixer_win_commit()
682 if (win == DEFAULT_ZPOS) in mixer_win_commit()
683 win = MIXER_DEFAULT_WIN; in mixer_win_commit()
685 if (win < 0 || win > MIXER_WIN_NR) { in mixer_win_commit()
686 DRM_ERROR("overlay plane[%d] is wrong\n", win); in mixer_win_commit()
690 if (win > 1) in mixer_win_commit()
691 vp_video_buffer(mixer_ctx, win); in mixer_win_commit()
693 mixer_graph_buffer(mixer_ctx, win); in mixer_win_commit()
701 int win = zpos; in mixer_win_disable() local
703 DRM_DEBUG_KMS("[%d] %s, win: %d\n", __LINE__, __func__, win); in mixer_win_disable()
705 if (win == DEFAULT_ZPOS) in mixer_win_disable()
706 win = MIXER_DEFAULT_WIN; in mixer_win_disable()
708 if (win < 0 || win > MIXER_WIN_NR) { in mixer_win_disable()
709 DRM_ERROR("overlay plane[%d] is wrong\n", win); in mixer_win_disable()
716 mixer_cfg_layer(mixer_ctx, win, false); in mixer_win_disable()