Lines Matching refs:hdmi_context
117 struct hdmi_context { struct
148 static inline struct hdmi_context *encoder_to_hdmi(struct drm_encoder *e) in encoder_to_hdmi() argument
150 return container_of(e, struct hdmi_context, encoder); in encoder_to_hdmi()
153 static inline struct hdmi_context *connector_to_hdmi(struct drm_connector *c) in connector_to_hdmi()
155 return container_of(c, struct hdmi_context, connector); in connector_to_hdmi()
677 static inline u32 hdmi_map_reg(struct hdmi_context *hdata, u32 reg_id) in hdmi_map_reg()
684 static inline u32 hdmi_reg_read(struct hdmi_context *hdata, u32 reg_id) in hdmi_reg_read()
689 static inline void hdmi_reg_writeb(struct hdmi_context *hdata, in hdmi_reg_writeb()
695 static inline void hdmi_reg_writev(struct hdmi_context *hdata, u32 reg_id, in hdmi_reg_writev()
707 static inline void hdmi_reg_write_buf(struct hdmi_context *hdata, u32 reg_id, in hdmi_reg_write_buf()
714 static inline void hdmi_reg_writemask(struct hdmi_context *hdata, in hdmi_reg_writemask()
725 static int hdmiphy_reg_write_buf(struct hdmi_context *hdata, in hdmiphy_reg_write_buf()
747 static int hdmi_clk_enable_gates(struct hdmi_context *hdata) in hdmi_clk_enable_gates()
766 static void hdmi_clk_disable_gates(struct hdmi_context *hdata) in hdmi_clk_disable_gates()
774 static int hdmi_clk_set_parents(struct hdmi_context *hdata, bool to_phy) in hdmi_clk_set_parents()
795 static int hdmi_audio_infoframe_apply(struct hdmi_context *hdata) in hdmi_audio_infoframe_apply()
811 static void hdmi_reg_infoframes(struct hdmi_context *hdata) in hdmi_reg_infoframes()
855 struct hdmi_context *hdata = connector_to_hdmi(connector); in hdmi_detect()
866 struct hdmi_context *hdata = connector_to_hdmi(connector); in hdmi_connector_destroy()
885 struct hdmi_context *hdata = connector_to_hdmi(connector); in hdmi_get_modes()
919 static int hdmi_find_phy_conf(struct hdmi_context *hdata, u32 pixel_clock) in hdmi_find_phy_conf()
936 struct hdmi_context *hdata = connector_to_hdmi(connector); in hdmi_mode_valid()
960 struct hdmi_context *hdata = encoder_to_hdmi(encoder); in hdmi_create_connector()
1051 static void hdmi_reg_acr(struct hdmi_context *hdata, u32 freq) in hdmi_reg_acr()
1064 static void hdmi_audio_config(struct hdmi_context *hdata) in hdmi_audio_config()
1127 static void hdmi_audio_control(struct hdmi_context *hdata) in hdmi_audio_control()
1140 static void hdmi_start(struct hdmi_context *hdata, bool start) in hdmi_start()
1152 static void hdmi_conf_init(struct hdmi_context *hdata) in hdmi_conf_init()
1196 static void hdmiphy_wait_for_pll(struct hdmi_context *hdata) in hdmiphy_wait_for_pll()
1215 static void hdmi_v13_mode_apply(struct hdmi_context *hdata) in hdmi_v13_mode_apply()
1294 static void hdmi_v14_mode_apply(struct hdmi_context *hdata) in hdmi_v14_mode_apply()
1410 static void hdmi_mode_apply(struct hdmi_context *hdata) in hdmi_mode_apply()
1420 static void hdmiphy_conf_reset(struct hdmi_context *hdata) in hdmiphy_conf_reset()
1432 static void hdmiphy_enable_mode_set(struct hdmi_context *hdata, bool enable) in hdmiphy_enable_mode_set()
1440 static void hdmiphy_conf_apply(struct hdmi_context *hdata) in hdmiphy_conf_apply()
1470 static void hdmi_conf_apply(struct hdmi_context *hdata) in hdmi_conf_apply()
1479 static void hdmi_set_refclk(struct hdmi_context *hdata, bool on) in hdmi_set_refclk()
1489 static void hdmiphy_enable(struct hdmi_context *hdata) in hdmiphy_enable()
1519 static void hdmiphy_disable(struct hdmi_context *hdata) in hdmiphy_disable()
1542 struct hdmi_context *hdata = encoder_to_hdmi(encoder); in hdmi_enable()
1554 struct hdmi_context *hdata = encoder_to_hdmi(encoder); in hdmi_disable()
1586 struct hdmi_context *hdata = dev_get_drvdata(dev); in hdmi_audio_shutdown()
1602 struct hdmi_context *hdata = dev_get_drvdata(dev); in hdmi_audio_hw_params()
1631 struct hdmi_context *hdata = dev_get_drvdata(dev); in hdmi_audio_mute()
1648 struct hdmi_context *hdata = dev_get_drvdata(dev); in hdmi_audio_get_eld()
1664 static int hdmi_register_audio_device(struct hdmi_context *hdata) in hdmi_register_audio_device()
1681 struct hdmi_context *hdata; in hdmi_hotplug_work_func()
1683 hdata = container_of(work, struct hdmi_context, hotplug_work.work); in hdmi_hotplug_work_func()
1691 struct hdmi_context *hdata = arg; in hdmi_irq_thread()
1699 static int hdmi_clks_get(struct hdmi_context *hdata, in hdmi_clks_get()
1724 static int hdmi_clk_init(struct hdmi_context *hdata) in hdmi_clk_init()
1752 struct hdmi_context *hdata = container_of(clk, struct hdmi_context, in hdmiphy_clk_enable()
1764 static int hdmi_bridge_init(struct hdmi_context *hdata) in hdmi_bridge_init()
1789 static int hdmi_resources_init(struct hdmi_context *hdata) in hdmi_resources_init()
1854 struct hdmi_context *hdata = dev_get_drvdata(dev); in hdmi_bind()
1896 static int hdmi_get_ddc_adapter(struct hdmi_context *hdata) in hdmi_get_ddc_adapter()
1927 static int hdmi_get_phy_io(struct hdmi_context *hdata) in hdmi_get_phy_io()
1964 struct hdmi_context *hdata; in hdmi_probe()
1967 hdata = devm_kzalloc(dev, sizeof(struct hdmi_context), GFP_KERNEL); in hdmi_probe()
2077 struct hdmi_context *hdata = platform_get_drvdata(pdev); in hdmi_remove()
2102 struct hdmi_context *hdata = dev_get_drvdata(dev); in exynos_hdmi_suspend()
2111 struct hdmi_context *hdata = dev_get_drvdata(dev); in exynos_hdmi_resume()