Lines Matching refs:vc4
55 #define HDMI_READ(offset) readl(vc4->hdmi->hdmicore_regs + offset)
56 #define HDMI_WRITE(offset, val) writel(val, vc4->hdmi->hdmicore_regs + offset)
57 #define HD_READ(offset) readl(vc4->hdmi->hd_regs + offset)
58 #define HD_WRITE(offset, val) writel(val, vc4->hdmi->hd_regs + offset)
125 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_hdmi_debugfs_regs() local
146 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_hdmi_dump_regs() local
165 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_hdmi_connector_detect() local
167 if (vc4->hdmi->hpd_gpio) { in vc4_hdmi_connector_detect()
168 if (gpio_get_value(vc4->hdmi->hpd_gpio)) in vc4_hdmi_connector_detect()
193 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_hdmi_connector_get_modes() local
197 edid = drm_get_edid(connector, vc4->hdmi->ddc); in vc4_hdmi_connector_get_modes()
283 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_hdmi_encoder_mode_set() local
305 clk_set_rate(vc4->hdmi->pixel_clock, mode->clock * 1000); in vc4_hdmi_encoder_mode_set()
350 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_hdmi_encoder_disable() local
361 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_hdmi_encoder_enable() local
438 struct vc4_dev *vc4 = drm->dev_private; in vc4_hdmi_bind() local
516 vc4->hdmi = hdmi; in vc4_hdmi_bind()
540 put_device(&vc4->hdmi->ddc->dev); in vc4_hdmi_bind()
549 struct vc4_dev *vc4 = drm->dev_private; in vc4_hdmi_unbind() local
550 struct vc4_hdmi *hdmi = vc4->hdmi; in vc4_hdmi_unbind()
559 vc4->hdmi = NULL; in vc4_hdmi_unbind()