Lines Matching refs:viu
158 priv->viu.osd1_enabled = false; in meson_g12a_crtc_atomic_disable()
159 priv->viu.osd1_commit = false; in meson_g12a_crtc_atomic_disable()
161 priv->viu.vd1_enabled = false; in meson_g12a_crtc_atomic_disable()
162 priv->viu.vd1_commit = false; in meson_g12a_crtc_atomic_disable()
183 priv->viu.osd1_enabled = false; in meson_crtc_atomic_disable()
184 priv->viu.osd1_commit = false; in meson_crtc_atomic_disable()
186 priv->viu.vd1_enabled = false; in meson_crtc_atomic_disable()
187 priv->viu.vd1_commit = false; in meson_crtc_atomic_disable()
225 priv->viu.osd1_commit = true; in meson_crtc_atomic_flush()
226 priv->viu.vd1_commit = true; in meson_crtc_atomic_flush()
251 writel_relaxed(priv->viu.osd1_blk2_cfg4, in meson_crtc_g12a_enable_osd1_afbc()
257 writel_relaxed(priv->viu.osd1_blk1_cfg4, in meson_crtc_g12a_enable_osd1_afbc()
271 writel_relaxed(priv->viu.osd_blend_din0_scope_h, in meson_g12a_crtc_enable_osd1()
274 writel_relaxed(priv->viu.osd_blend_din0_scope_v, in meson_g12a_crtc_enable_osd1()
277 writel_relaxed(priv->viu.osb_blend0_size, in meson_g12a_crtc_enable_osd1()
280 writel_relaxed(priv->viu.osb_blend1_size, in meson_g12a_crtc_enable_osd1()
296 priv->viu.vd1_afbc ? VIU_CTRL0_AFBC_TO_VD1 : 0, in meson_crtc_enable_vd1()
308 writel_relaxed(priv->viu.vd1_afbc ? in meson_g12a_crtc_enable_vd1()
319 if (priv->viu.osd1_enabled && priv->viu.osd1_commit) { in meson_crtc_irq()
320 writel_relaxed(priv->viu.osd1_ctrl_stat, in meson_crtc_irq()
322 writel_relaxed(priv->viu.osd1_ctrl_stat2, in meson_crtc_irq()
324 writel_relaxed(priv->viu.osd1_blk0_cfg[0], in meson_crtc_irq()
326 writel_relaxed(priv->viu.osd1_blk0_cfg[1], in meson_crtc_irq()
328 writel_relaxed(priv->viu.osd1_blk0_cfg[2], in meson_crtc_irq()
330 writel_relaxed(priv->viu.osd1_blk0_cfg[3], in meson_crtc_irq()
332 writel_relaxed(priv->viu.osd1_blk0_cfg[4], in meson_crtc_irq()
335 if (priv->viu.osd1_afbcd) { in meson_crtc_irq()
348 writel_relaxed(priv->viu.osd_sc_ctrl0, in meson_crtc_irq()
350 writel_relaxed(priv->viu.osd_sc_i_wh_m1, in meson_crtc_irq()
352 writel_relaxed(priv->viu.osd_sc_o_h_start_end, in meson_crtc_irq()
354 writel_relaxed(priv->viu.osd_sc_o_v_start_end, in meson_crtc_irq()
356 writel_relaxed(priv->viu.osd_sc_v_ini_phase, in meson_crtc_irq()
358 writel_relaxed(priv->viu.osd_sc_v_phase_step, in meson_crtc_irq()
360 writel_relaxed(priv->viu.osd_sc_h_ini_phase, in meson_crtc_irq()
362 writel_relaxed(priv->viu.osd_sc_h_phase_step, in meson_crtc_irq()
364 writel_relaxed(priv->viu.osd_sc_h_ctrl0, in meson_crtc_irq()
366 writel_relaxed(priv->viu.osd_sc_v_ctrl0, in meson_crtc_irq()
369 if (!priv->viu.osd1_afbcd) in meson_crtc_irq()
371 priv->viu.osd1_addr, in meson_crtc_irq()
372 priv->viu.osd1_stride, in meson_crtc_irq()
373 priv->viu.osd1_height, in meson_crtc_irq()
381 if (priv->viu.osd1_afbcd) { in meson_crtc_irq()
388 priv->viu.osd1_commit = false; in meson_crtc_irq()
392 if (priv->viu.vd1_enabled && priv->viu.vd1_commit) { in meson_crtc_irq()
394 if (priv->viu.vd1_afbc) { in meson_crtc_irq()
395 writel_relaxed(priv->viu.vd1_afbc_head_addr, in meson_crtc_irq()
398 writel_relaxed(priv->viu.vd1_afbc_body_addr, in meson_crtc_irq()
401 writel_relaxed(priv->viu.vd1_afbc_en, in meson_crtc_irq()
404 writel_relaxed(priv->viu.vd1_afbc_mode, in meson_crtc_irq()
407 writel_relaxed(priv->viu.vd1_afbc_size_in, in meson_crtc_irq()
410 writel_relaxed(priv->viu.vd1_afbc_dec_def_color, in meson_crtc_irq()
413 writel_relaxed(priv->viu.vd1_afbc_conv_ctrl, in meson_crtc_irq()
416 writel_relaxed(priv->viu.vd1_afbc_size_out, in meson_crtc_irq()
419 writel_relaxed(priv->viu.vd1_afbc_vd_cfmt_ctrl, in meson_crtc_irq()
422 writel_relaxed(priv->viu.vd1_afbc_vd_cfmt_w, in meson_crtc_irq()
425 writel_relaxed(priv->viu.vd1_afbc_mif_hor_scope, in meson_crtc_irq()
428 writel_relaxed(priv->viu.vd1_afbc_mif_ver_scope, in meson_crtc_irq()
431 writel_relaxed(priv->viu.vd1_afbc_pixel_hor_scope, in meson_crtc_irq()
434 writel_relaxed(priv->viu.vd1_afbc_pixel_ver_scope, in meson_crtc_irq()
437 writel_relaxed(priv->viu.vd1_afbc_vd_cfmt_h, in meson_crtc_irq()
441 switch (priv->viu.vd1_planes) { in meson_crtc_irq()
445 priv->viu.vd1_addr2, in meson_crtc_irq()
446 priv->viu.vd1_stride2, in meson_crtc_irq()
447 priv->viu.vd1_height2, in meson_crtc_irq()
455 priv->viu.vd1_addr1, in meson_crtc_irq()
456 priv->viu.vd1_stride1, in meson_crtc_irq()
457 priv->viu.vd1_height1, in meson_crtc_irq()
465 priv->viu.vd1_addr0, in meson_crtc_irq()
466 priv->viu.vd1_stride0, in meson_crtc_irq()
467 priv->viu.vd1_height0, in meson_crtc_irq()
476 writel_relaxed(priv->viu.vd1_if0_gen_reg, in meson_crtc_irq()
479 writel_relaxed(priv->viu.vd1_if0_gen_reg, in meson_crtc_irq()
482 writel_relaxed(priv->viu.vd1_if0_gen_reg2, in meson_crtc_irq()
485 writel_relaxed(priv->viu.viu_vd1_fmt_ctrl, in meson_crtc_irq()
488 writel_relaxed(priv->viu.viu_vd1_fmt_ctrl, in meson_crtc_irq()
491 writel_relaxed(priv->viu.viu_vd1_fmt_w, in meson_crtc_irq()
494 writel_relaxed(priv->viu.viu_vd1_fmt_w, in meson_crtc_irq()
497 writel_relaxed(priv->viu.vd1_if0_canvas0, in meson_crtc_irq()
500 writel_relaxed(priv->viu.vd1_if0_canvas0, in meson_crtc_irq()
503 writel_relaxed(priv->viu.vd1_if0_canvas0, in meson_crtc_irq()
506 writel_relaxed(priv->viu.vd1_if0_canvas0, in meson_crtc_irq()
509 writel_relaxed(priv->viu.vd1_if0_luma_x0, in meson_crtc_irq()
512 writel_relaxed(priv->viu.vd1_if0_luma_x0, in meson_crtc_irq()
515 writel_relaxed(priv->viu.vd1_if0_luma_x0, in meson_crtc_irq()
518 writel_relaxed(priv->viu.vd1_if0_luma_x0, in meson_crtc_irq()
521 writel_relaxed(priv->viu.vd1_if0_luma_y0, in meson_crtc_irq()
524 writel_relaxed(priv->viu.vd1_if0_luma_y0, in meson_crtc_irq()
527 writel_relaxed(priv->viu.vd1_if0_luma_y0, in meson_crtc_irq()
530 writel_relaxed(priv->viu.vd1_if0_luma_y0, in meson_crtc_irq()
533 writel_relaxed(priv->viu.vd1_if0_chroma_x0, in meson_crtc_irq()
536 writel_relaxed(priv->viu.vd1_if0_chroma_x0, in meson_crtc_irq()
539 writel_relaxed(priv->viu.vd1_if0_chroma_x0, in meson_crtc_irq()
542 writel_relaxed(priv->viu.vd1_if0_chroma_x0, in meson_crtc_irq()
545 writel_relaxed(priv->viu.vd1_if0_chroma_y0, in meson_crtc_irq()
548 writel_relaxed(priv->viu.vd1_if0_chroma_y0, in meson_crtc_irq()
551 writel_relaxed(priv->viu.vd1_if0_chroma_y0, in meson_crtc_irq()
554 writel_relaxed(priv->viu.vd1_if0_chroma_y0, in meson_crtc_irq()
557 writel_relaxed(priv->viu.vd1_if0_repeat_loop, in meson_crtc_irq()
560 writel_relaxed(priv->viu.vd1_if0_repeat_loop, in meson_crtc_irq()
563 writel_relaxed(priv->viu.vd1_if0_luma0_rpt_pat, in meson_crtc_irq()
566 writel_relaxed(priv->viu.vd1_if0_luma0_rpt_pat, in meson_crtc_irq()
569 writel_relaxed(priv->viu.vd1_if0_luma0_rpt_pat, in meson_crtc_irq()
572 writel_relaxed(priv->viu.vd1_if0_luma0_rpt_pat, in meson_crtc_irq()
575 writel_relaxed(priv->viu.vd1_if0_chroma0_rpt_pat, in meson_crtc_irq()
578 writel_relaxed(priv->viu.vd1_if0_chroma0_rpt_pat, in meson_crtc_irq()
581 writel_relaxed(priv->viu.vd1_if0_chroma0_rpt_pat, in meson_crtc_irq()
584 writel_relaxed(priv->viu.vd1_if0_chroma0_rpt_pat, in meson_crtc_irq()
595 writel_relaxed(priv->viu.vd1_range_map_y, in meson_crtc_irq()
598 writel_relaxed(priv->viu.vd1_range_map_cb, in meson_crtc_irq()
601 writel_relaxed(priv->viu.vd1_range_map_cr, in meson_crtc_irq()
611 writel_relaxed(priv->viu.vpp_pic_in_height, in meson_crtc_irq()
613 writel_relaxed(priv->viu.vpp_postblend_vd1_h_start_end, in meson_crtc_irq()
615 writel_relaxed(priv->viu.vpp_blend_vd2_h_start_end, in meson_crtc_irq()
617 writel_relaxed(priv->viu.vpp_postblend_vd1_v_start_end, in meson_crtc_irq()
619 writel_relaxed(priv->viu.vpp_blend_vd2_v_start_end, in meson_crtc_irq()
621 writel_relaxed(priv->viu.vpp_hsc_region12_startp, in meson_crtc_irq()
623 writel_relaxed(priv->viu.vpp_hsc_region34_startp, in meson_crtc_irq()
625 writel_relaxed(priv->viu.vpp_hsc_region4_endp, in meson_crtc_irq()
627 writel_relaxed(priv->viu.vpp_hsc_start_phase_step, in meson_crtc_irq()
629 writel_relaxed(priv->viu.vpp_hsc_region1_phase_slope, in meson_crtc_irq()
631 writel_relaxed(priv->viu.vpp_hsc_region3_phase_slope, in meson_crtc_irq()
633 writel_relaxed(priv->viu.vpp_line_in_length, in meson_crtc_irq()
635 writel_relaxed(priv->viu.vpp_preblend_h_size, in meson_crtc_irq()
637 writel_relaxed(priv->viu.vpp_vsc_region12_startp, in meson_crtc_irq()
639 writel_relaxed(priv->viu.vpp_vsc_region34_startp, in meson_crtc_irq()
641 writel_relaxed(priv->viu.vpp_vsc_region4_endp, in meson_crtc_irq()
643 writel_relaxed(priv->viu.vpp_vsc_start_phase_step, in meson_crtc_irq()
645 writel_relaxed(priv->viu.vpp_vsc_ini_phase, in meson_crtc_irq()
647 writel_relaxed(priv->viu.vpp_vsc_phase_ctrl, in meson_crtc_irq()
649 writel_relaxed(priv->viu.vpp_hsc_phase_ctrl, in meson_crtc_irq()
657 priv->viu.vd1_commit = false; in meson_crtc_irq()