/linux-6.1.9/drivers/gpu/drm/meson/ |
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);
|
D | meson_osd_afbcd.h | 16 int (*init)(struct meson_drm *priv); 17 void (*exit)(struct meson_drm *priv); 18 int (*reset)(struct meson_drm *priv); 19 int (*enable)(struct meson_drm *priv); 20 int (*disable)(struct meson_drm *priv); 21 int (*setup)(struct meson_drm *priv);
|
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);
|
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);
|
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);
|
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()
|
D | meson_osd_afbcd.c | 82 static int meson_gxm_afbcd_reset(struct meson_drm *priv) in meson_gxm_afbcd_reset() 91 static int meson_gxm_afbcd_init(struct meson_drm *priv) in meson_gxm_afbcd_init() 96 static void meson_gxm_afbcd_exit(struct meson_drm *priv) in meson_gxm_afbcd_exit() 101 static int meson_gxm_afbcd_enable(struct meson_drm *priv) in meson_gxm_afbcd_enable() 110 static int meson_gxm_afbcd_disable(struct meson_drm *priv) in meson_gxm_afbcd_disable() 118 static int meson_gxm_afbcd_setup(struct meson_drm *priv) in meson_gxm_afbcd_setup() 278 static int meson_g12a_afbcd_reset(struct meson_drm *priv) in meson_g12a_afbcd_reset() 290 static int meson_g12a_afbcd_init(struct meson_drm *priv) in meson_g12a_afbcd_init() 307 static void meson_g12a_afbcd_exit(struct meson_drm *priv) in meson_g12a_afbcd_exit() 313 static int meson_g12a_afbcd_enable(struct meson_drm *priv) in meson_g12a_afbcd_enable() [all …]
|
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,
|
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); 40 void (*enable_osd1_afbc)(struct meson_drm *priv); 41 void (*disable_osd1_afbc)(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() [all …]
|
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()
|
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()
|
D | meson_encoder_cvbs.c | 37 struct meson_drm *priv; 100 struct meson_drm *priv = meson_encoder_cvbs->priv; in meson_encoder_cvbs_get_modes() 146 struct meson_drm *priv = encoder_cvbs->priv; in meson_encoder_cvbs_atomic_enable() 198 struct meson_drm *priv = meson_encoder_cvbs->priv; in meson_encoder_cvbs_atomic_disable() 222 int meson_encoder_cvbs_init(struct meson_drm *priv) in meson_encoder_cvbs_init() 290 void meson_encoder_cvbs_remove(struct meson_drm *priv) in meson_encoder_cvbs_remove()
|
D | meson_encoder_hdmi.c | 41 struct meson_drm *priv; 69 struct meson_drm *priv = encoder_hdmi->priv; in meson_encoder_hdmi_set_vclk() 121 struct meson_drm *priv = encoder_hdmi->priv; in meson_encoder_hdmi_mode_valid() 192 struct meson_drm *priv = encoder_hdmi->priv; in meson_encoder_hdmi_atomic_enable() 254 struct meson_drm *priv = encoder_hdmi->priv; in meson_encoder_hdmi_atomic_disable() 308 struct meson_drm *priv = encoder_hdmi->priv; in meson_encoder_hdmi_atomic_check() 353 int meson_encoder_hdmi_init(struct meson_drm *priv) in meson_encoder_hdmi_init() 466 void meson_encoder_hdmi_remove(struct meson_drm *priv) in meson_encoder_hdmi_remove()
|
D | meson_crtc.h | 16 int meson_crtc_create(struct meson_drm *priv); 18 void meson_crtc_irq(struct meson_drm *priv);
|
D | meson_encoder_hdmi.h | 10 int meson_encoder_hdmi_init(struct meson_drm *priv); 11 void meson_encoder_hdmi_remove(struct meson_drm *priv);
|
D | meson_encoder_cvbs.h | 27 int meson_encoder_cvbs_init(struct meson_drm *priv); 28 void meson_encoder_cvbs_remove(struct meson_drm *priv);
|
D | meson_drv.c | 72 struct meson_drm *priv = dev->dev_private; in meson_irq() 135 static void meson_vpu_init(struct meson_drm *priv) in meson_vpu_init() 183 struct meson_drm *priv; in meson_drv_bind_master() 378 struct meson_drm *priv = dev_get_drvdata(dev); in meson_drv_unbind() 410 struct meson_drm *priv = dev_get_drvdata(dev); in meson_drv_pm_suspend() 420 struct meson_drm *priv = dev_get_drvdata(dev); in meson_drv_pm_resume() 437 struct meson_drm *priv = dev_get_drvdata(&pdev->dev); in meson_drv_shutdown()
|
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 …]
|
D | meson_drv.h | 18 struct meson_drm; 43 struct meson_drm { struct 179 static inline int meson_vpu_is_compatible(struct meson_drm *priv, in meson_vpu_is_compatible() argument
|
D | meson_plane.c | 67 struct meson_drm *priv; 113 static u32 meson_g12a_afbcd_line_stride(struct meson_drm *priv) in meson_g12a_afbcd_line_stride() 140 struct meson_drm *priv = meson_plane->priv; in meson_plane_atomic_update() 403 struct meson_drm *priv = meson_plane->priv; in meson_plane_atomic_disable() 432 struct meson_drm *priv = meson_plane->priv; in meson_plane_format_mod_supported() 532 int meson_plane_create(struct meson_drm *priv) in meson_plane_create()
|
D | meson_dw_hdmi.c | 136 struct meson_drm *priv; 292 struct meson_drm *priv = dw_hdmi->priv; in meson_hdmi_phy_setup_mode() 355 struct meson_drm *priv = dw_hdmi->priv; in meson_dw_hdmi_phy_reset() 374 struct meson_drm *priv = dw_hdmi->priv; in dw_hdmi_phy_init() 491 struct meson_drm *priv = dw_hdmi->priv; in dw_hdmi_phy_disable() 629 struct meson_drm *priv = meson_dw_hdmi->priv; in meson_dw_hdmi_init() 703 struct meson_drm *priv = drm->dev_private; in meson_dw_hdmi_bind()
|
D | meson_overlay.h | 12 int meson_overlay_create(struct meson_drm *priv);
|
D | meson_plane.h | 16 int meson_plane_create(struct meson_drm *priv);
|
D | meson_overlay.c | 162 struct meson_drm *priv; 228 static void meson_overlay_setup_scaler_params(struct meson_drm *priv, in meson_overlay_setup_scaler_params() 478 struct meson_drm *priv = meson_overlay->priv; in meson_overlay_atomic_update() 729 struct meson_drm *priv = meson_overlay->priv; in meson_overlay_atomic_disable() 834 int meson_overlay_create(struct meson_drm *priv) in meson_overlay_create()
|
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()
|