/linux/drivers/gpu/drm/meson/ |
A D | meson_rdma.h | 12 int meson_rdma_init(struct meson_drm *priv); 13 void meson_rdma_free(struct meson_drm *priv); 14 void meson_rdma_setup(struct meson_drm *priv); 15 void meson_rdma_reset(struct meson_drm *priv); 16 void meson_rdma_stop(struct meson_drm *priv); 18 void meson_rdma_writel_sync(struct meson_drm *priv, uint32_t val, uint32_t reg); 19 void meson_rdma_flush(struct meson_drm *priv);
|
A D | meson_venc.h | 60 void meson_venci_cvbs_mode_set(struct meson_drm *priv, 62 void meson_venc_hdmi_mode_set(struct meson_drm *priv, int vic, 66 unsigned int meson_venci_get_field(struct meson_drm *priv); 68 void meson_venc_enable_vsync(struct meson_drm *priv); 69 void meson_venc_disable_vsync(struct meson_drm *priv); 71 void meson_venc_init(struct meson_drm *priv);
|
A D | meson_rdma.c | 24 int meson_rdma_init(struct meson_drm *priv) in meson_rdma_init() 48 void meson_rdma_free(struct meson_drm *priv) in meson_rdma_free() 62 void meson_rdma_setup(struct meson_drm *priv) in meson_rdma_setup() 71 void meson_rdma_stop(struct meson_drm *priv) in meson_rdma_stop() 84 void meson_rdma_reset(struct meson_drm *priv) in meson_rdma_reset() 91 static void meson_rdma_writel(struct meson_drm *priv, uint32_t val, in meson_rdma_writel() 109 void meson_rdma_writel_sync(struct meson_drm *priv, uint32_t val, uint32_t reg) in meson_rdma_writel_sync() 116 void meson_rdma_flush(struct meson_drm *priv) in meson_rdma_flush()
|
A D | meson_viu.h | 65 void meson_viu_osd1_reset(struct meson_drm *priv); 66 void meson_viu_g12a_enable_osd1_afbc(struct meson_drm *priv); 67 void meson_viu_g12a_disable_osd1_afbc(struct meson_drm *priv); 68 void meson_viu_gxm_enable_osd1_afbc(struct meson_drm *priv); 69 void meson_viu_gxm_disable_osd1_afbc(struct meson_drm *priv); 70 void meson_viu_init(struct meson_drm *priv);
|
A D | meson_vpp.h | 13 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);
|
A D | meson_osd_afbcd.h | 16 int (*init)(struct meson_drm *priv); 17 int (*reset)(struct meson_drm *priv); 18 int (*enable)(struct meson_drm *priv); 19 int (*disable)(struct meson_drm *priv); 20 int (*setup)(struct meson_drm *priv);
|
A D | meson_osd_afbcd.c | 82 static int meson_gxm_afbcd_init(struct meson_drm *priv) in meson_gxm_afbcd_init() 87 static int meson_gxm_afbcd_reset(struct meson_drm *priv) in meson_gxm_afbcd_reset() 96 static int meson_gxm_afbcd_enable(struct meson_drm *priv) in meson_gxm_afbcd_enable() 105 static int meson_gxm_afbcd_disable(struct meson_drm *priv) in meson_gxm_afbcd_disable() 113 static int meson_gxm_afbcd_setup(struct meson_drm *priv) in meson_gxm_afbcd_setup() 272 static int meson_g12a_afbcd_init(struct meson_drm *priv) in meson_g12a_afbcd_init() 289 static int meson_g12a_afbcd_reset(struct meson_drm *priv) in meson_g12a_afbcd_reset() 301 static int meson_g12a_afbcd_enable(struct meson_drm *priv) in meson_g12a_afbcd_enable() 321 static int meson_g12a_afbcd_disable(struct meson_drm *priv) in meson_g12a_afbcd_disable() 329 static int meson_g12a_afbcd_setup(struct meson_drm *priv) in meson_g12a_afbcd_setup()
|
A D | meson_vclk.h | 14 struct meson_drm; 26 meson_vclk_dmt_supported_freq(struct meson_drm *priv, unsigned int freq); 28 meson_vclk_vic_supported_freq(struct meson_drm *priv, unsigned int phy_freq, 31 void meson_vclk_setup(struct meson_drm *priv, unsigned int target,
|
A D | meson_crtc.c | 37 struct meson_drm *priv; 38 void (*enable_osd1)(struct meson_drm *priv); 39 void (*enable_vd1)(struct meson_drm *priv); 53 struct meson_drm *priv = meson_crtc->priv; in meson_crtc_enable_vblank() 64 struct meson_drm *priv = meson_crtc->priv; in meson_crtc_disable_vblank() 89 struct meson_drm *priv = meson_crtc->priv; in meson_g12a_crtc_atomic_enable() 125 struct meson_drm *priv = meson_crtc->priv; in meson_crtc_atomic_enable() 152 struct meson_drm *priv = meson_crtc->priv; in meson_g12a_crtc_atomic_disable() 177 struct meson_drm *priv = meson_crtc->priv; in meson_crtc_atomic_disable() 223 struct meson_drm *priv = meson_crtc->priv; in meson_crtc_atomic_flush() [all …]
|
A D | meson_venc_cvbs.c | 34 struct meson_drm *priv; 166 struct meson_drm *priv = meson_venc_cvbs->priv; in meson_venc_cvbs_encoder_disable() 182 struct meson_drm *priv = meson_venc_cvbs->priv; in meson_venc_cvbs_encoder_enable() 208 struct meson_drm *priv = meson_venc_cvbs->priv; in meson_venc_cvbs_encoder_mode_set() 229 static bool meson_venc_cvbs_connector_is_available(struct meson_drm *priv) in meson_venc_cvbs_connector_is_available() 241 int meson_venc_cvbs_create(struct meson_drm *priv) in meson_venc_cvbs_create()
|
A D | meson_viu.c | 81 static void meson_viu_set_g12a_osd1_matrix(struct meson_drm *priv, in meson_viu_set_g12a_osd1_matrix() 109 static void meson_viu_set_osd_matrix(struct meson_drm *priv, in meson_viu_set_osd_matrix() 179 meson_viu_set_osd_lut(struct meson_drm *priv, enum viu_lut_sel_e lut_sel, in meson_viu_set_osd_lut() 287 static void meson_viu_load_matrix(struct meson_drm *priv) in meson_viu_load_matrix() 315 void meson_viu_osd1_reset(struct meson_drm *priv) in meson_viu_osd1_reset() 361 void meson_viu_g12a_enable_osd1_afbc(struct meson_drm *priv) in meson_viu_g12a_enable_osd1_afbc() 391 void meson_viu_g12a_disable_osd1_afbc(struct meson_drm *priv) in meson_viu_g12a_disable_osd1_afbc() 402 void meson_viu_gxm_enable_osd1_afbc(struct meson_drm *priv) in meson_viu_gxm_enable_osd1_afbc() 408 void meson_viu_gxm_disable_osd1_afbc(struct meson_drm *priv) in meson_viu_gxm_disable_osd1_afbc() 414 void meson_viu_init(struct meson_drm *priv) in meson_viu_init()
|
A D | meson_vpp.c | 36 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()
|
A D | meson_vclk.c | 134 static 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() 490 static void meson_hdmi_pll_set_params(struct meson_drm *priv, unsigned int m, in meson_hdmi_pll_set_params() 622 static unsigned int meson_hdmi_pll_get_m(struct meson_drm *priv, in meson_hdmi_pll_get_m() 636 static unsigned int meson_hdmi_pll_get_frac(struct meson_drm *priv, in meson_hdmi_pll_get_frac() 668 static bool meson_hdmi_pll_validate_params(struct meson_drm *priv, in meson_hdmi_pll_validate_params() 696 static bool meson_hdmi_pll_find_params(struct meson_drm *priv, in meson_hdmi_pll_find_params() 721 meson_vclk_dmt_supported_freq(struct meson_drm *priv, unsigned int freq) in meson_vclk_dmt_supported_freq() 743 static void meson_hdmi_pll_generic_set(struct meson_drm *priv, in meson_hdmi_pll_generic_set() 772 meson_vclk_vic_supported_freq(struct meson_drm *priv, unsigned int phy_freq, in meson_vclk_vic_supported_freq() [all …]
|
A D | meson_drv.c | 70 struct meson_drm *priv = dev->dev_private; in meson_irq() 130 static void meson_vpu_init(struct meson_drm *priv) in meson_vpu_init() 178 struct meson_drm *priv; in meson_drv_bind_master() 366 struct meson_drm *priv = dev_get_drvdata(dev); in meson_drv_unbind() 396 struct meson_drm *priv = dev_get_drvdata(dev); in meson_drv_pm_suspend() 406 struct meson_drm *priv = dev_get_drvdata(dev); in meson_drv_pm_resume() 471 struct meson_drm *priv = dev_get_drvdata(&pdev->dev); in meson_drv_shutdown()
|
A D | meson_crtc.h | 16 int meson_crtc_create(struct meson_drm *priv); 18 void meson_crtc_irq(struct meson_drm *priv);
|
A D | meson_dw_hdmi.c | 141 struct meson_drm *priv; 300 struct meson_drm *priv = dw_hdmi->priv; in meson_hdmi_phy_setup_mode() 364 struct meson_drm *priv = dw_hdmi->priv; in meson_dw_hdmi_phy_reset() 380 struct meson_drm *priv = dw_hdmi->priv; in dw_hdmi_set_vclk() 432 struct meson_drm *priv = dw_hdmi->priv; in dw_hdmi_phy_init() 544 struct meson_drm *priv = dw_hdmi->priv; in dw_hdmi_phy_disable() 637 struct meson_drm *priv = dw_hdmi->priv; in dw_hdmi_mode_valid() 766 struct meson_drm *priv = dw_hdmi->priv; in meson_venc_hdmi_encoder_disable() 780 struct meson_drm *priv = dw_hdmi->priv; in meson_venc_hdmi_encoder_enable() 795 struct meson_drm *priv = dw_hdmi->priv; in meson_venc_hdmi_encoder_mode_set() [all …]
|
A D | meson_drv.h | 18 struct meson_drm; 37 struct meson_drm { struct 172 static inline int meson_vpu_is_compatible(struct meson_drm *priv, in meson_vpu_is_compatible() argument
|
A D | meson_plane.c | 66 struct meson_drm *priv; 112 static u32 meson_g12a_afbcd_line_stride(struct meson_drm *priv) in meson_g12a_afbcd_line_stride() 139 struct meson_drm *priv = meson_plane->priv; in meson_plane_atomic_update() 402 struct meson_drm *priv = meson_plane->priv; in meson_plane_atomic_disable() 431 struct meson_drm *priv = meson_plane->priv; in meson_plane_format_mod_supported() 531 int meson_plane_create(struct meson_drm *priv) in meson_plane_create()
|
A D | meson_overlay.h | 12 int meson_overlay_create(struct meson_drm *priv);
|
A D | meson_plane.h | 16 int meson_plane_create(struct meson_drm *priv);
|
A D | meson_venc_cvbs.h | 27 int meson_venc_cvbs_create(struct meson_drm *priv);
|
A D | meson_overlay.c | 161 struct meson_drm *priv; 227 static void meson_overlay_setup_scaler_params(struct meson_drm *priv, in meson_overlay_setup_scaler_params() 477 struct meson_drm *priv = meson_overlay->priv; in meson_overlay_atomic_update() 728 struct meson_drm *priv = meson_overlay->priv; in meson_overlay_atomic_disable() 833 int meson_overlay_create(struct meson_drm *priv) in meson_overlay_create()
|
A D | meson_venc.c | 948 void meson_venc_hdmi_mode_set(struct meson_drm *priv, int vic, in meson_venc_hdmi_mode_set() 1560 void meson_venci_cvbs_mode_set(struct meson_drm *priv, in meson_venci_cvbs_mode_set() 1743 unsigned int meson_venci_get_field(struct meson_drm *priv) in meson_venci_get_field() 1748 void meson_venc_enable_vsync(struct meson_drm *priv) in meson_venc_enable_vsync() 1755 void meson_venc_disable_vsync(struct meson_drm *priv) in meson_venc_disable_vsync() 1761 void meson_venc_init(struct meson_drm *priv) in meson_venc_init()
|