Home
last modified time | relevance | path

Searched refs:vc4_hdmi (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/gpu/drm/vc4/
H A Dvc4_hdmi.c118 static bool vc4_hdmi_supports_scrambling(struct vc4_hdmi *vc4_hdmi) in vc4_hdmi_supports_scrambling() argument
120 struct drm_display_info *display = &vc4_hdmi->connector.display_info; in vc4_hdmi_supports_scrambling()
122 lockdep_assert_held(&vc4_hdmi->mutex); in vc4_hdmi_supports_scrambling()
146 struct vc4_hdmi *vc4_hdmi = entry->file.data; in vc4_hdmi_debugfs_regs() local
147 struct drm_device *drm = vc4_hdmi->connector.dev; in vc4_hdmi_debugfs_regs()
154 WARN_ON(pm_runtime_resume_and_get(&vc4_hdmi->pdev->dev)); in vc4_hdmi_debugfs_regs()
156 drm_print_regset32(&p, &vc4_hdmi->hdmi_regset); in vc4_hdmi_debugfs_regs()
157 drm_print_regset32(&p, &vc4_hdmi->hd_regset); in vc4_hdmi_debugfs_regs()
158 drm_print_regset32(&p, &vc4_hdmi->cec_regset); in vc4_hdmi_debugfs_regs()
159 drm_print_regset32(&p, &vc4_hdmi->csc_regset); in vc4_hdmi_debugfs_regs()
[all …]
H A Dvc4_hdmi.h12 struct vc4_hdmi;
62 struct vc4_hdmi *vc4_hdmi);
65 void (*reset)(struct vc4_hdmi *vc4_hdmi);
68 void (*csc_setup)(struct vc4_hdmi *vc4_hdmi,
73 void (*set_timings)(struct vc4_hdmi *vc4_hdmi,
78 void (*phy_init)(struct vc4_hdmi *vc4_hdmi,
82 void (*phy_disable)(struct vc4_hdmi *vc4_hdmi);
85 void (*phy_rng_enable)(struct vc4_hdmi *vc4_hdmi);
88 void (*phy_rng_disable)(struct vc4_hdmi *vc4_hdmi);
91 u32 (*channel_map)(struct vc4_hdmi *vc4_hdmi, u32 channel_mask);
[all …]
H A Dvc4_hdmi_phy.c172 void vc4_hdmi_phy_init(struct vc4_hdmi *vc4_hdmi, in vc4_hdmi_phy_init() argument
181 spin_lock_irqsave(&vc4_hdmi->hw_lock, flags); in vc4_hdmi_phy_init()
186 spin_unlock_irqrestore(&vc4_hdmi->hw_lock, flags); in vc4_hdmi_phy_init()
189 void vc4_hdmi_phy_disable(struct vc4_hdmi *vc4_hdmi) in vc4_hdmi_phy_disable() argument
193 spin_lock_irqsave(&vc4_hdmi->hw_lock, flags); in vc4_hdmi_phy_disable()
195 spin_unlock_irqrestore(&vc4_hdmi->hw_lock, flags); in vc4_hdmi_phy_disable()
198 void vc4_hdmi_phy_rng_enable(struct vc4_hdmi *vc4_hdmi) in vc4_hdmi_phy_rng_enable() argument
202 spin_lock_irqsave(&vc4_hdmi->hw_lock, flags); in vc4_hdmi_phy_rng_enable()
206 spin_unlock_irqrestore(&vc4_hdmi->hw_lock, flags); in vc4_hdmi_phy_rng_enable()
209 void vc4_hdmi_phy_rng_disable(struct vc4_hdmi *vc4_hdmi) in vc4_hdmi_phy_rng_disable() argument
[all …]
H A Dvc4_hdmi_regs.h632 void __iomem *__vc4_hdmi_get_field_base(struct vc4_hdmi *hdmi, in __vc4_hdmi_get_field_base()
667 static inline u32 vc4_hdmi_read(struct vc4_hdmi *hdmi, in vc4_hdmi_read()
694 #define HDMI_READ(reg) vc4_hdmi_read(vc4_hdmi, reg)
696 static inline void vc4_hdmi_write(struct vc4_hdmi *hdmi, in vc4_hdmi_write()
726 #define HDMI_WRITE(reg, val) vc4_hdmi_write(vc4_hdmi, reg, val)
H A DMakefile14 vc4_hdmi.o \
H A Dvc4_crtc.c557 struct vc4_hdmi *vc4_hdmi; in vc4_crtc_disable_at_boot() local
592 vc4_hdmi = encoder_to_vc4_hdmi(encoder); in vc4_crtc_disable_at_boot()
593 ret = pm_runtime_resume_and_get(&vc4_hdmi->pdev->dev); in vc4_crtc_disable_at_boot()
/linux/Documentation/gpu/
H A Dvc4.rst36 .. kernel-doc:: drivers/gpu/drm/vc4/vc4_hdmi.c