Home
last modified time | relevance | path

Searched refs:meson_drm (Results 1 – 19 of 19) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/meson/
Dmeson_venc.h60 void meson_venci_cvbs_mode_set(struct meson_drm *priv,
62 void meson_venc_hdmi_mode_set(struct meson_drm *priv, int vic,
64 unsigned int meson_venci_get_field(struct meson_drm *priv);
66 void meson_venc_enable_vsync(struct meson_drm *priv);
67 void meson_venc_disable_vsync(struct meson_drm *priv);
69 void meson_venc_init(struct meson_drm *priv);
Dmeson_vpp.h13 struct meson_drm;
20 void meson_vpp_setup_mux(struct meson_drm *priv, unsigned int mux);
22 void meson_vpp_setup_interlace_vscaler_osd1(struct meson_drm *priv,
24 void meson_vpp_disable_interlace_vscaler_osd1(struct meson_drm *priv);
26 void meson_vpp_init(struct meson_drm *priv);
Dmeson_vclk.h14 struct meson_drm;
26 meson_vclk_dmt_supported_freq(struct meson_drm *priv, unsigned int freq);
30 void meson_vclk_setup(struct meson_drm *priv, unsigned int target,
Dmeson_venc_cvbs.c34 struct meson_drm *priv;
155 struct meson_drm *priv = meson_venc_cvbs->priv; in meson_venc_cvbs_encoder_disable()
171 struct meson_drm *priv = meson_venc_cvbs->priv; in meson_venc_cvbs_encoder_enable()
196 struct meson_drm *priv = meson_venc_cvbs->priv; in meson_venc_cvbs_encoder_mode_set()
223 static bool meson_venc_cvbs_connector_is_available(struct meson_drm *priv) in meson_venc_cvbs_connector_is_available()
235 int meson_venc_cvbs_create(struct meson_drm *priv) in meson_venc_cvbs_create()
Dmeson_crtc.c35 struct meson_drm *priv;
36 void (*enable_osd1)(struct meson_drm *priv);
37 void (*enable_vd1)(struct meson_drm *priv);
47 struct meson_drm *priv = meson_crtc->priv; in meson_crtc_enable_vblank()
57 struct meson_drm *priv = meson_crtc->priv; in meson_crtc_disable_vblank()
79 struct meson_drm *priv = meson_crtc->priv; in meson_g12a_crtc_atomic_enable()
115 struct meson_drm *priv = meson_crtc->priv; in meson_crtc_atomic_enable()
142 struct meson_drm *priv = meson_crtc->priv; in meson_g12a_crtc_atomic_disable()
167 struct meson_drm *priv = meson_crtc->priv; in meson_crtc_atomic_disable()
213 struct meson_drm *priv = meson_crtc->priv; in meson_crtc_atomic_flush()
[all …]
Dmeson_vpp.c36 void meson_vpp_setup_mux(struct meson_drm *priv, unsigned int mux) in meson_vpp_setup_mux()
53 static void meson_vpp_write_scaling_filter_coefs(struct meson_drm *priv, in meson_vpp_write_scaling_filter_coefs()
78 static void meson_vpp_write_vd_scaling_filter_coefs(struct meson_drm *priv, in meson_vpp_write_vd_scaling_filter_coefs()
91 void meson_vpp_init(struct meson_drm *priv) in meson_vpp_init()
Dmeson_crtc.h16 int meson_crtc_create(struct meson_drm *priv);
18 void meson_crtc_irq(struct meson_drm *priv);
Dmeson_viu.h50 void meson_viu_osd1_reset(struct meson_drm *priv);
51 void meson_viu_init(struct meson_drm *priv);
Dmeson_drv.h18 struct meson_drm;
27 struct meson_drm { struct
127 static inline int meson_vpu_is_compatible(struct meson_drm *priv, in meson_vpu_is_compatible() argument
Dmeson_vclk.c134 void meson_vid_pll_set(struct meson_drm *priv, unsigned int div) in meson_vid_pll_set()
240 static void meson_venci_cvbs_clock_config(struct meson_drm *priv) in meson_venci_cvbs_clock_config()
452 void meson_hdmi_pll_set_params(struct meson_drm *priv, unsigned int m, in meson_hdmi_pll_set_params()
584 static unsigned int meson_hdmi_pll_get_m(struct meson_drm *priv, in meson_hdmi_pll_get_m()
598 static unsigned int meson_hdmi_pll_get_frac(struct meson_drm *priv, in meson_hdmi_pll_get_frac()
630 static bool meson_hdmi_pll_validate_params(struct meson_drm *priv, in meson_hdmi_pll_validate_params()
653 static bool meson_hdmi_pll_find_params(struct meson_drm *priv, in meson_hdmi_pll_find_params()
678 meson_vclk_dmt_supported_freq(struct meson_drm *priv, unsigned int freq) in meson_vclk_dmt_supported_freq()
693 static void meson_hdmi_pll_generic_set(struct meson_drm *priv, in meson_hdmi_pll_generic_set()
743 static void meson_vclk_set(struct meson_drm *priv, unsigned int pll_base_freq, in meson_vclk_set()
[all …]
Dmeson_viu.c78 static void meson_viu_set_g12a_osd1_matrix(struct meson_drm *priv, in meson_viu_set_g12a_osd1_matrix()
106 static void meson_viu_set_osd_matrix(struct meson_drm *priv, in meson_viu_set_osd_matrix()
176 meson_viu_set_osd_lut(struct meson_drm *priv, enum viu_lut_sel_e lut_sel, in meson_viu_set_osd_lut()
284 static void meson_viu_load_matrix(struct meson_drm *priv) in meson_viu_load_matrix()
312 void meson_viu_osd1_reset(struct meson_drm *priv) in meson_viu_osd1_reset()
345 void meson_viu_init(struct meson_drm *priv) in meson_viu_init()
Dmeson_dw_hdmi.c139 struct meson_drm *priv;
297 struct meson_drm *priv = dw_hdmi->priv; in meson_hdmi_phy_setup_mode()
357 struct meson_drm *priv = dw_hdmi->priv; in meson_dw_hdmi_phy_reset()
373 struct meson_drm *priv = dw_hdmi->priv; in dw_hdmi_set_vclk()
413 struct meson_drm *priv = dw_hdmi->priv; in dw_hdmi_phy_init()
524 struct meson_drm *priv = dw_hdmi->priv; in dw_hdmi_phy_disable()
615 struct meson_drm *priv = connector->dev->dev_private; in dw_hdmi_mode_valid()
685 struct meson_drm *priv = dw_hdmi->priv; in meson_venc_hdmi_encoder_disable()
699 struct meson_drm *priv = dw_hdmi->priv; in meson_venc_hdmi_encoder_enable()
714 struct meson_drm *priv = dw_hdmi->priv; in meson_venc_hdmi_encoder_mode_set()
[all …]
Dmeson_drv.c67 struct meson_drm *priv = dev->dev_private; in meson_irq()
141 static void meson_vpu_init(struct meson_drm *priv) in meson_vpu_init()
187 struct meson_drm *priv; in meson_drv_bind_master()
352 struct meson_drm *priv = dev_get_drvdata(dev); in meson_drv_unbind()
Dmeson_plane.c65 struct meson_drm *priv;
107 struct meson_drm *priv = meson_plane->priv; in meson_plane_atomic_update()
327 struct meson_drm *priv = meson_plane->priv; in meson_plane_atomic_disable()
366 int meson_plane_create(struct meson_drm *priv) in meson_plane_create()
Dmeson_overlay.h12 int meson_overlay_create(struct meson_drm *priv);
Dmeson_plane.h16 int meson_plane_create(struct meson_drm *priv);
Dmeson_venc_cvbs.h27 int meson_venc_cvbs_create(struct meson_drm *priv);
Dmeson_overlay.c81 struct meson_drm *priv;
143 static void meson_overlay_setup_scaler_params(struct meson_drm *priv, in meson_overlay_setup_scaler_params()
342 struct meson_drm *priv = meson_overlay->priv; in meson_overlay_atomic_update()
509 struct meson_drm *priv = meson_overlay->priv; in meson_overlay_atomic_disable()
554 int meson_overlay_create(struct meson_drm *priv) in meson_overlay_create()
Dmeson_venc.c948 void meson_venc_hdmi_mode_set(struct meson_drm *priv, int vic, in meson_venc_hdmi_mode_set()
1558 void meson_venci_cvbs_mode_set(struct meson_drm *priv, in meson_venci_cvbs_mode_set()
1741 unsigned int meson_venci_get_field(struct meson_drm *priv) in meson_venci_get_field()
1746 void meson_venc_enable_vsync(struct meson_drm *priv) in meson_venc_enable_vsync()
1753 void meson_venc_disable_vsync(struct meson_drm *priv) in meson_venc_disable_vsync()
1759 void meson_venc_init(struct meson_drm *priv) in meson_venc_init()