Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/gpu/drm/vc4/
Dvc4_hdmi.c129 struct vc4_hdmi *vc4_hdmi = encoder_to_vc4_hdmi(encoder); in vc4_hdmi_supports_scrambling() local
130 struct drm_display_info *display = &vc4_hdmi->connector.display_info; in vc4_hdmi_supports_scrambling()
132 lockdep_assert_held(&vc4_hdmi->mutex); in vc4_hdmi_supports_scrambling()
153 static bool vc4_hdmi_is_full_range_rgb(struct vc4_hdmi *vc4_hdmi, in vc4_hdmi_is_full_range_rgb() argument
156 struct drm_display_info *display = &vc4_hdmi->connector.display_info; in vc4_hdmi_is_full_range_rgb()
165 struct vc4_hdmi *vc4_hdmi = node->info_ent->data; in vc4_hdmi_debugfs_regs() local
166 struct drm_device *drm = vc4_hdmi->connector.dev; in vc4_hdmi_debugfs_regs()
173 drm_print_regset32(&p, &vc4_hdmi->hdmi_regset); in vc4_hdmi_debugfs_regs()
174 drm_print_regset32(&p, &vc4_hdmi->hd_regset); in vc4_hdmi_debugfs_regs()
175 drm_print_regset32(&p, &vc4_hdmi->cec_regset); in vc4_hdmi_debugfs_regs()
[all …]
Dvc4_hdmi.h11 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 …]
Dvc4_hdmi_phy.c130 void vc4_hdmi_phy_init(struct vc4_hdmi *vc4_hdmi, in vc4_hdmi_phy_init() argument
139 spin_lock_irqsave(&vc4_hdmi->hw_lock, flags); in vc4_hdmi_phy_init()
144 spin_unlock_irqrestore(&vc4_hdmi->hw_lock, flags); in vc4_hdmi_phy_init()
147 void vc4_hdmi_phy_disable(struct vc4_hdmi *vc4_hdmi) in vc4_hdmi_phy_disable() argument
151 spin_lock_irqsave(&vc4_hdmi->hw_lock, flags); in vc4_hdmi_phy_disable()
153 spin_unlock_irqrestore(&vc4_hdmi->hw_lock, flags); in vc4_hdmi_phy_disable()
156 void vc4_hdmi_phy_rng_enable(struct vc4_hdmi *vc4_hdmi) in vc4_hdmi_phy_rng_enable() argument
160 spin_lock_irqsave(&vc4_hdmi->hw_lock, flags); in vc4_hdmi_phy_rng_enable()
164 spin_unlock_irqrestore(&vc4_hdmi->hw_lock, flags); in vc4_hdmi_phy_rng_enable()
167 void vc4_hdmi_phy_rng_disable(struct vc4_hdmi *vc4_hdmi) in vc4_hdmi_phy_rng_disable() argument
[all …]
Dvc4_hdmi_regs.h415 void __iomem *__vc4_hdmi_get_field_base(struct vc4_hdmi *hdmi, in __vc4_hdmi_get_field_base()
450 static inline u32 vc4_hdmi_read(struct vc4_hdmi *hdmi, in vc4_hdmi_read()
475 #define HDMI_READ(reg) vc4_hdmi_read(vc4_hdmi, reg)
477 static inline void vc4_hdmi_write(struct vc4_hdmi *hdmi, in vc4_hdmi_write()
502 #define HDMI_WRITE(reg, val) vc4_hdmi_write(vc4_hdmi, reg, val)
DMakefile14 vc4_hdmi.o \
Dvc4_crtc.c512 struct vc4_hdmi *vc4_hdmi; in vc4_crtc_disable_at_boot() local
543 vc4_hdmi = encoder_to_vc4_hdmi(encoder); in vc4_crtc_disable_at_boot()
544 ret = pm_runtime_resume_and_get(&vc4_hdmi->pdev->dev); in vc4_crtc_disable_at_boot()
/Linux-v6.1/Documentation/gpu/
Dvc4.rst36 .. kernel-doc:: drivers/gpu/drm/vc4/vc4_hdmi.c