Home
last modified time | relevance | path

Searched refs:hdmi (Results 1 – 25 of 892) sorted by relevance

12345678910>>...36

/linux-6.15/drivers/gpu/drm/sun4i/
H A Dsun4i_hdmi_i2c.c201 devm_regmap_field_alloc(hdmi->dev, hdmi->regmap, in sun4i_hdmi_init_regmap_fields()
207 devm_regmap_field_alloc(hdmi->dev, hdmi->regmap, in sun4i_hdmi_init_regmap_fields()
213 devm_regmap_field_alloc(hdmi->dev, hdmi->regmap, in sun4i_hdmi_init_regmap_fields()
219 devm_regmap_field_alloc(hdmi->dev, hdmi->regmap, in sun4i_hdmi_init_regmap_fields()
225 devm_regmap_field_alloc(hdmi->dev, hdmi->regmap, in sun4i_hdmi_init_regmap_fields()
231 devm_regmap_field_alloc(hdmi->dev, hdmi->regmap, in sun4i_hdmi_init_regmap_fields()
237 devm_regmap_field_alloc(hdmi->dev, hdmi->regmap, in sun4i_hdmi_init_regmap_fields()
243 devm_regmap_field_alloc(hdmi->dev, hdmi->regmap, in sun4i_hdmi_init_regmap_fields()
249 devm_regmap_field_alloc(hdmi->dev, hdmi->regmap, in sun4i_hdmi_init_regmap_fields()
255 devm_regmap_field_alloc(hdmi->dev, hdmi->regmap, in sun4i_hdmi_init_regmap_fields()
[all …]
H A Dsun4i_hdmi_enc.c196 drm_edid = drm_edid_read_ddc(connector, hdmi->ddc_i2c ?: hdmi->i2c); in sun4i_hdmi_get_modes()
488 struct sun4i_hdmi *hdmi; in sun4i_hdmi_bind() local
492 hdmi = devm_kzalloc(dev, sizeof(*hdmi), GFP_KERNEL); in sun4i_hdmi_bind()
493 if (!hdmi) in sun4i_hdmi_bind()
496 hdmi->dev = dev; in sun4i_hdmi_bind()
497 hdmi->drv = drv; in sun4i_hdmi_bind()
500 if (!hdmi->variant) in sun4i_hdmi_bind()
553 hdmi->regmap = devm_regmap_init_mmio(dev, hdmi->base, in sun4i_hdmi_bind()
575 hdmi->ddc_parent_clk = hdmi->tmds_clk; in sun4i_hdmi_bind()
598 hdmi->ddc_i2c = NULL; in sun4i_hdmi_bind()
[all …]
H A Dsun8i_dw_hdmi.c104 struct sun8i_dw_hdmi *hdmi; in sun8i_dw_hdmi_bind() local
110 hdmi = devm_kzalloc(&pdev->dev, sizeof(*hdmi), GFP_KERNEL); in sun8i_dw_hdmi_bind()
111 if (!hdmi) in sun8i_dw_hdmi_bind()
115 hdmi->dev = &pdev->dev; in sun8i_dw_hdmi_bind()
116 encoder = &hdmi->encoder; in sun8i_dw_hdmi_bind()
132 if (IS_ERR(hdmi->rst_ctrl)) in sun8i_dw_hdmi_bind()
137 if (IS_ERR(hdmi->clk_tmds)) in sun8i_dw_hdmi_bind()
191 hdmi->hdmi = dw_hdmi_bind(pdev, encoder, plat_data); in sun8i_dw_hdmi_bind()
197 if (IS_ERR(hdmi->hdmi)) { in sun8i_dw_hdmi_bind()
198 ret = PTR_ERR(hdmi->hdmi); in sun8i_dw_hdmi_bind()
[all …]
/linux-6.15/drivers/gpu/drm/bridge/synopsys/
H A Ddw-hdmi.c817 hdmi_set_cts_n(hdmi, hdmi->audio_cts, hdmi->audio_n); in dw_hdmi_gp_audio_enable()
863 hdmi_set_cts_n(hdmi, hdmi->audio_cts, hdmi->audio_n); in dw_hdmi_ahb_audio_enable()
873 hdmi_set_cts_n(hdmi, hdmi->audio_cts, hdmi->audio_n); in dw_hdmi_i2s_audio_enable()
2290 ret = hdmi->phy.ops->init(hdmi, hdmi->phy.data, in dw_hdmi_setup()
2395 hdmi->phy.ops->disable(hdmi, hdmi->phy.data); in dw_hdmi_poweroff()
2439 hdmi->phy.ops->update_hpd(hdmi, hdmi->phy.data, in dw_hdmi_update_phy_mask()
3281 hdmi->phy.ops->setup_hpd(hdmi, hdmi->phy.data); in dw_hdmi_init_hw()
3521 audio.hdmi = hdmi; in dw_hdmi_probe()
3534 audio.hdmi = hdmi; in dw_hdmi_probe()
3552 audio.hdmi = hdmi; in dw_hdmi_probe()
[all …]
H A Ddw-hdmi-qp.c713 hdmi->i2c = i2c; in dw_hdmi_qp_i2c_adapter()
853 hdmi->tmds_char_rate = conn_state->hdmi.tmds_char_rate; in dw_hdmi_qp_bridge_atomic_enable()
859 hdmi->phy.ops->init(hdmi, hdmi->phy.data); in dw_hdmi_qp_bridge_atomic_enable()
874 hdmi->phy.ops->disable(hdmi, hdmi->phy.data); in dw_hdmi_qp_bridge_atomic_disable()
882 return hdmi->phy.ops->read_hpd(hdmi, hdmi->phy.data); in dw_hdmi_qp_bridge_detect()
1030 hdmi->phy.ops->setup_hpd(hdmi, hdmi->phy.data); in dw_hdmi_qp_init_hw()
1048 hdmi = devm_kzalloc(dev, sizeof(*hdmi), GFP_KERNEL); in dw_hdmi_qp_bind()
1049 if (!hdmi) in dw_hdmi_qp_bind()
1075 hdmi->bridge.driver_private = hdmi; in dw_hdmi_qp_bind()
1086 hdmi->bridge.ddc = dw_hdmi_qp_i2c_adapter(hdmi); in dw_hdmi_qp_bind()
[all …]
/linux-6.15/drivers/gpu/drm/msm/hdmi/
H A Dhdmi.c46 struct hdmi *hdmi = dev_id; in msm_hdmi_irq() local
63 static void msm_hdmi_destroy(struct hdmi *hdmi) in msm_hdmi_destroy() argument
86 static int msm_hdmi_get_phy(struct hdmi *hdmi) in msm_hdmi_get_phy() argument
119 static int msm_hdmi_init(struct hdmi *hdmi) in msm_hdmi_init() argument
130 hdmi->i2c = msm_hdmi_i2c_init(hdmi); in msm_hdmi_init()
138 hdmi->hdcp_ctrl = msm_hdmi_hdcp_init(hdmi); in msm_hdmi_init()
160 int msm_hdmi_modeset_init(struct hdmi *hdmi, in msm_hdmi_modeset_init() argument
175 ret = drm_bridge_attach(hdmi->encoder, hdmi->next_bridge, hdmi->bridge, in msm_hdmi_modeset_init()
250 struct hdmi *hdmi = dev_get_drvdata(dev); in msm_hdmi_bind() local
256 priv->hdmi = hdmi; in msm_hdmi_bind()
[all …]
H A Dhdmi_hpd.c14 static void msm_hdmi_phy_reset(struct hdmi *hdmi) in msm_hdmi_phy_reset() argument
63 static void enable_hpd_clocks(struct hdmi *hdmi, bool enable) in enable_hpd_clocks() argument
96 struct hdmi *hdmi = hdmi_bridge->hdmi; in msm_hdmi_hpd_enable() local
115 if (hdmi->hpd_gpiod) in msm_hdmi_hpd_enable()
122 msm_hdmi_phy_reset(hdmi); in msm_hdmi_hpd_enable()
150 void msm_hdmi_hpd_disable(struct hdmi *hdmi) in msm_hdmi_hpd_disable() argument
176 struct hdmi *hdmi = hdmi_bridge->hdmi; in msm_hdmi_hpd_irq() local
203 static enum drm_connector_status detect_reg(struct hdmi *hdmi) in detect_reg() argument
220 static enum drm_connector_status detect_gpio(struct hdmi *hdmi) in detect_gpio() argument
231 struct hdmi *hdmi = hdmi_bridge->hdmi; in msm_hdmi_bridge_detect() local
[all …]
H A Dhdmi_bridge.c20 struct hdmi *hdmi = hdmi_bridge->hdmi; in msm_hdmi_power_on() local
32 ret = clk_set_rate(hdmi->pwr_clks[0], hdmi->pixclock); in msm_hdmi_power_on()
52 struct hdmi *hdmi = hdmi_bridge->hdmi; in power_off() local
219 struct hdmi *hdmi = hdmi_bridge->hdmi; in msm_hdmi_bridge_clear_infoframe() local
280 struct hdmi *hdmi = hdmi_bridge->hdmi; in msm_hdmi_bridge_write_infoframe() local
306 struct hdmi *hdmi = hdmi_bridge->hdmi; in msm_hdmi_bridge_atomic_pre_enable() local
345 struct hdmi *hdmi = hdmi_bridge->hdmi; in msm_hdmi_bridge_atomic_post_disable() local
423 struct hdmi *hdmi = hdmi_bridge->hdmi; in msm_hdmi_bridge_edid_read() local
442 struct hdmi *hdmi = hdmi_bridge->hdmi; in msm_hdmi_bridge_tmds_char_rate_valid() local
495 int msm_hdmi_bridge_init(struct hdmi *hdmi) in msm_hdmi_bridge_init() argument
[all …]
H A Dhdmi_hdcp.c49 struct hdmi *hdmi; member
159 struct hdmi *hdmi = hdcp_ctrl->hdmi; in msm_hdmi_hdcp_scm_wr() local
198 struct hdmi *hdmi = hdcp_ctrl->hdmi; in msm_hdmi_hdcp_irq() local
260 struct hdmi *hdmi = hdcp_ctrl->hdmi; in msm_hdmi_hdcp_read_validate_aksv() local
283 struct hdmi *hdmi = hdcp_ctrl->hdmi; in msm_reset_hdcp_ddc_failures() local
363 struct hdmi *hdmi = hdcp_ctrl->hdmi; in msm_hdmi_hdcp_hw_ddc_clean() local
400 struct hdmi *hdmi = hdcp_ctrl->hdmi; in msm_hdmi_hdcp_reauth_work() local
457 struct hdmi *hdmi = hdcp_ctrl->hdmi; in msm_hdmi_hdcp_auth_prepare() local
539 struct hdmi *hdmi = hdcp_ctrl->hdmi; in msm_hdmi_hdcp_auth_fail() local
557 struct hdmi *hdmi = hdcp_ctrl->hdmi; in msm_hdmi_hdcp_auth_done() local
[all …]
H A Dhdmi_i2c.c11 struct hdmi *hdmi; member
19 struct hdmi *hdmi = hdmi_i2c->hdmi; in init_ddc() local
21 hdmi_write(hdmi, REG_HDMI_DDC_CTRL, in init_ddc()
23 hdmi_write(hdmi, REG_HDMI_DDC_CTRL, in init_ddc()
26 hdmi_write(hdmi, REG_HDMI_DDC_SPEED, in init_ddc()
34 hdmi_write(hdmi, REG_HDMI_DDC_REF, in init_ddc()
41 struct hdmi *hdmi = hdmi_i2c->hdmi; in ddc_clear_irq() local
71 struct hdmi *hdmi = hdmi_i2c->hdmi; in sw_done() local
93 struct hdmi *hdmi = hdmi_i2c->hdmi; in msm_hdmi_i2c_xfer() local
233 struct i2c_adapter *msm_hdmi_i2c_init(struct hdmi *hdmi) in msm_hdmi_i2c_init() argument
[all …]
H A Dhdmi_audio.c76 int msm_hdmi_audio_update(struct hdmi *hdmi) in msm_hdmi_audio_update() argument
90 DBG("video: power_on=%d, pixclock=%lu", hdmi->power_on, hdmi->pixclock); in msm_hdmi_audio_update()
92 if (enabled && !(hdmi->power_on && hdmi->pixclock)) { in msm_hdmi_audio_update()
101 hdmi->pixclock); in msm_hdmi_audio_update()
206 struct hdmi *hdmi = hdmi_bridge->hdmi; in msm_hdmi_bridge_audio_prepare() local
248 hdmi->audio.rate = rate; in msm_hdmi_bridge_audio_prepare()
250 hdmi->audio.enabled = true; in msm_hdmi_bridge_audio_prepare()
259 struct hdmi *hdmi = hdmi_bridge->hdmi; in msm_hdmi_bridge_audio_shutdown() local
263 hdmi->audio.rate = 0; in msm_hdmi_bridge_audio_shutdown()
264 hdmi->audio.channels = 2; in msm_hdmi_bridge_audio_shutdown()
[all …]
/linux-6.15/drivers/gpu/drm/rockchip/
H A Drk3066_hdmi.c231 if (hdmi->hdmi_data.vic == 2 || hdmi->hdmi_data.vic == 3) in rk3066_hdmi_config_video_timing()
334 if (hdmi->hdmi_data.vic == 6 || hdmi->hdmi_data.vic == 7 || in rk3066_hdmi_setup()
335 hdmi->hdmi_data.vic == 21 || hdmi->hdmi_data.vic == 22 || in rk3066_hdmi_setup()
336 hdmi->hdmi_data.vic == 2 || hdmi->hdmi_data.vic == 3 || in rk3066_hdmi_setup()
337 hdmi->hdmi_data.vic == 17 || hdmi->hdmi_data.vic == 18) in rk3066_hdmi_setup()
643 hdmi_writeb(hdmi, HDMI_EDID_WORD_ADDR, hdmi->i2c->ddc_addr); in rk3066_hdmi_i2c_write()
747 hdmi = devm_kzalloc(dev, sizeof(*hdmi), GFP_KERNEL); in rk3066_hdmi_bind()
748 if (!hdmi) in rk3066_hdmi_bind()
784 hdmi->ddc = rk3066_hdmi_i2c_adapter(hdmi); in rk3066_hdmi_bind()
816 hdmi->connector.funcs->destroy(&hdmi->connector); in rk3066_hdmi_bind()
[all …]
H A Dinno_hdmi.c679 hdmi->ddc, in inno_hdmi_register()
711 if (hdmi->i2c) in inno_hdmi_hardirq()
871 hdmi = devm_kzalloc(dev, sizeof(*hdmi), GFP_KERNEL); in inno_hdmi_bind()
872 if (!hdmi) in inno_hdmi_bind()
887 hdmi->pclk = devm_clk_get(hdmi->dev, "pclk"); in inno_hdmi_bind()
900 hdmi->refclk = devm_clk_get_optional(hdmi->dev, "ref"); in inno_hdmi_bind()
922 hdmi->ddc = inno_hdmi_i2c_adapter(hdmi); in inno_hdmi_bind()
937 inno_hdmi_i2c_init(hdmi, clk_get_rate(hdmi->refclk)); in inno_hdmi_bind()
939 inno_hdmi_i2c_init(hdmi, clk_get_rate(hdmi->pclk)); in inno_hdmi_bind()
958 hdmi->connector.funcs->destroy(&hdmi->connector); in inno_hdmi_bind()
[all …]
H A Ddw_hdmi_qp-rockchip.c187 if (hdmi->port_id) in dw_hdmi_qp_rk3588_setup_hpd()
317 if (hdmi->port_id) in dw_hdmi_qp_rk3588_irq()
447 hdmi = devm_kzalloc(&pdev->dev, sizeof(*hdmi), GFP_KERNEL); in dw_hdmi_qp_rockchip_bind()
448 if (!hdmi) in dw_hdmi_qp_rockchip_bind()
518 hdmi->enable_gpio = devm_gpiod_get_optional(hdmi->dev, "enable", in dw_hdmi_qp_rockchip_bind()
550 hdmi); in dw_hdmi_qp_rockchip_bind()
559 hdmi->hdmi = dw_hdmi_qp_bind(pdev, encoder, &plat_data); in dw_hdmi_qp_rockchip_bind()
560 if (IS_ERR(hdmi->hdmi)) { in dw_hdmi_qp_rockchip_bind()
561 ret = PTR_ERR(hdmi->hdmi); in dw_hdmi_qp_rockchip_bind()
606 hdmi->ctrl_ops->io_init(hdmi); in dw_hdmi_qp_rockchip_resume()
[all …]
H A Ddw_hdmi-rockchip.c210 hdmi->ref_clk = devm_clk_get_optional_enabled(hdmi->dev, "ref"); in rockchip_hdmi_parse_dt()
212 hdmi->ref_clk = devm_clk_get_optional_enabled(hdmi->dev, "vpll"); in rockchip_hdmi_parse_dt()
221 hdmi->grf_clk = devm_clk_get_optional(hdmi->dev, "grf"); in rockchip_hdmi_parse_dt()
544 hdmi = devm_kzalloc(&pdev->dev, sizeof(*hdmi), GFP_KERNEL); in dw_hdmi_rockchip_bind()
545 if (!hdmi) in dw_hdmi_rockchip_bind()
589 if (hdmi->phy) { in dw_hdmi_rockchip_bind()
611 hdmi->hdmi = dw_hdmi_bind(pdev, encoder, plat_data); in dw_hdmi_rockchip_bind()
617 if (IS_ERR(hdmi->hdmi)) { in dw_hdmi_rockchip_bind()
618 ret = PTR_ERR(hdmi->hdmi); in dw_hdmi_rockchip_bind()
635 dw_hdmi_unbind(hdmi->hdmi); in dw_hdmi_rockchip_unbind()
[all …]
/linux-6.15/drivers/gpu/drm/mediatek/
H A Dmtk_hdmi.c240 if (hdmi->conf && hdmi->conf->tz_disabled) in mtk_hdmi_hw_make_reg_writable()
862 mtk_hdmi_hw_enable_dvi_mode(hdmi, hdmi->dvi_mode); in mtk_hdmi_video_set_display_mode()
921 mtk_hdmi_hw_aud_set_mclk(hdmi, hdmi->aud_param.aud_mclk); in mtk_hdmi_aud_set_src()
1101 return mtk_hdmi_aud_output_config(hdmi, &hdmi->mode); in mtk_hdmi_audio_set_param()
1183 if (hdmi->plugged_cb && hdmi->codec_dev) in mtk_hdmi_update_plugged_status()
1184 hdmi->plugged_cb(hdmi->codec_dev, connected); in mtk_hdmi_update_plugged_status()
1228 if (hdmi && hdmi->bridge.encoder && hdmi->bridge.encoder->dev) { in mtk_hdmi_hpd_event()
1385 mtk_hdmi_output_set_display_mode(hdmi, &hdmi->mode); in mtk_hdmi_bridge_atomic_enable()
1389 mtk_hdmi_send_infoframe(hdmi, &hdmi->mode); in mtk_hdmi_bridge_atomic_enable()
1692 hdmi = devm_kzalloc(dev, sizeof(*hdmi), GFP_KERNEL); in mtk_hdmi_probe()
[all …]
/linux-6.15/drivers/gpu/drm/omapdrm/dss/
H A Dhdmi4.c200 hdmi4_configure(&hdmi->core, &hdmi->wp, &hdmi->cfg); in hdmi_power_on_full()
391 ret = hdmi4_audio_config(&hdmi->core, &hdmi->wp, in hdmi4_bridge_enable()
396 hdmi->audio_abort_cb(&hdmi->pdev->dev); in hdmi4_bridge_enable()
402 if (hdmi->audio_configured && hdmi->audio_playing) in hdmi4_bridge_enable()
508 hdmi->bridge.of_node = hdmi->pdev->dev.of_node; in hdmi4_bridge_init()
654 r = hdmi_pll_init(dss, hdmi->pdev, &hdmi->pll, &hdmi->wp); in hdmi4_bind()
658 r = hdmi4_cec_init(hdmi->pdev, &hdmi->core, &hdmi->wp); in hdmi4_bind()
763 hdmi = kzalloc(sizeof(*hdmi), GFP_KERNEL); in hdmi4_probe()
764 if (!hdmi) in hdmi4_probe()
830 kfree(hdmi); in hdmi4_probe()
[all …]
H A Dhdmi5.c199 hdmi5_configure(&hdmi->core, &hdmi->wp, &hdmi->cfg); in hdmi_power_on_full()
389 ret = hdmi5_audio_config(&hdmi->core, &hdmi->wp, in hdmi5_bridge_enable()
394 hdmi->audio_abort_cb(&hdmi->pdev->dev); in hdmi5_bridge_enable()
400 if (hdmi->audio_configured && hdmi->audio_playing) in hdmi5_bridge_enable()
483 hdmi->bridge.of_node = hdmi->pdev->dev.of_node; in hdmi5_bridge_init()
631 r = hdmi_pll_init(dss, hdmi->pdev, &hdmi->pll, &hdmi->wp); in hdmi5_bind()
642 hdmi); in hdmi5_bind()
729 hdmi = kzalloc(sizeof(*hdmi), GFP_KERNEL); in hdmi5_probe()
730 if (!hdmi) in hdmi5_probe()
796 kfree(hdmi); in hdmi5_probe()
[all …]
/linux-6.15/drivers/gpu/drm/tegra/
H A Dhdmi.c570 hdmi->format.sample_rate, hdmi->pixel_clock); in tegra_hdmi_setup_audio()
1107 hdmi->debugfs_files[i].data = hdmi; in tegra_hdmi_late_register()
1475 if (hdmi->pixel_clock && !hdmi->dvi) in tegra_hdmi_hw_params()
1602 err = regulator_enable(hdmi->hdmi); in tegra_hdmi_init()
1634 regulator_disable(hdmi->hdmi); in tegra_hdmi_init()
1651 regulator_disable(hdmi->hdmi); in tegra_hdmi_exit()
1801 if (!hdmi) in tegra_hdmi_probe()
1829 err = clk_set_parent(hdmi->clk, hdmi->clk_parent); in tegra_hdmi_probe()
1835 hdmi->hdmi = devm_regulator_get(&pdev->dev, "hdmi"); in tegra_hdmi_probe()
1836 err = PTR_ERR_OR_ZERO(hdmi->hdmi); in tegra_hdmi_probe()
[all …]
/linux-6.15/drivers/gpu/drm/sti/
H A Dsti_hdmi.c230 hdmi->irq_status = hdmi_read(hdmi, HDMI_INT_STA); in hdmi_irq()
768 hdmi->phy_ops->stop(hdmi); in sti_hdmi_disable()
902 if (!hdmi->phy_ops->start(hdmi)) { in sti_hdmi_pre_enable()
980 struct sti_hdmi *hdmi = hdmi_connector->hdmi; in sti_hdmi_connector_get_modes() local
1022 struct sti_hdmi *hdmi = hdmi_connector->hdmi; in sti_hdmi_connector_mode_valid() local
1050 struct sti_hdmi *hdmi = hdmi_connector->hdmi; in sti_hdmi_connector_detect() local
1069 struct sti_hdmi *hdmi = hdmi_connector->hdmi; in sti_hdmi_connector_init_property() local
1093 struct sti_hdmi *hdmi = hdmi_connector->hdmi; in sti_hdmi_connector_set_property() local
1112 struct sti_hdmi *hdmi = hdmi_connector->hdmi; in sti_hdmi_connector_get_property() local
1127 struct sti_hdmi *hdmi = hdmi_connector->hdmi; in sti_hdmi_late_register() local
[all …]
/linux-6.15/drivers/video/fbdev/omap2/omapfb/dss/
H A Dhdmi5.c122 hdmi.vdda_reg = reg; in hdmi_init_regulator()
171 p = &hdmi.cfg.timings; in hdmi_power_on_full()
205 hdmi5_configure(&hdmi.core, &hdmi.wp, &hdmi.cfg); in hdmi_power_on_full()
274 mutex_lock(&hdmi.lock); in hdmi_display_set_timing()
368 r = hdmi5_audio_config(&hdmi.core, &hdmi.wp, &hdmi.audio_config, in hdmi_display_enable()
372 hdmi.audio_abort_cb(&hdmi.pdev->dev); in hdmi_display_enable()
378 if (hdmi.audio_configured && hdmi.audio_playing) in hdmi_display_enable()
700 hdmi.wp_idlemode = in hdmi_audio_register()
714 hdmi.pdev = pdev; in hdmi5_bind()
730 r = hdmi_pll_init(pdev, &hdmi.pll, &hdmi.wp); in hdmi5_bind()
[all …]
H A Dhdmi4.c105 hdmi.vdda_reg = reg; in hdmi_init_regulator()
159 p = &hdmi.cfg.timings; in hdmi_power_on_full()
188 hdmi4_configure(&hdmi.core, &hdmi.wp, &hdmi.cfg); in hdmi_power_on_full()
253 mutex_lock(&hdmi.lock); in hdmi_display_set_timing()
270 mutex_lock(&hdmi.lock); in hdmi_dump_regs()
338 r = hdmi4_audio_config(&hdmi.core, &hdmi.wp, &hdmi.audio_config, in hdmi_display_enable()
342 hdmi.audio_abort_cb(&hdmi.pdev->dev); in hdmi_display_enable()
348 if (hdmi.audio_configured && hdmi.audio_playing) in hdmi_display_enable()
673 hdmi.pdev = pdev; in hdmi4_bind()
689 r = hdmi_pll_init(pdev, &hdmi.pll, &hdmi.wp); in hdmi4_bind()
[all …]
/linux-6.15/include/drm/bridge/
H A Ddw_hdmi.h116 int (*init)(struct dw_hdmi *hdmi, void *data,
119 void (*disable)(struct dw_hdmi *hdmi, void *data);
149 void (*disable_audio)(struct dw_hdmi *hdmi);
169 void dw_hdmi_remove(struct dw_hdmi *hdmi);
170 void dw_hdmi_unbind(struct dw_hdmi *hdmi);
175 void dw_hdmi_resume(struct dw_hdmi *hdmi);
187 void dw_hdmi_audio_enable(struct dw_hdmi *hdmi);
188 void dw_hdmi_audio_disable(struct dw_hdmi *hdmi);
197 void dw_hdmi_phy_gen1_reset(struct dw_hdmi *hdmi);
201 void dw_hdmi_phy_gen2_reset(struct dw_hdmi *hdmi);
[all …]
/linux-6.15/drivers/gpu/drm/imx/ipuv3/
H A Ddw_hdmi-imx.c31 struct imx_hdmi *hdmi; member
37 struct dw_hdmi *hdmi; member
227 hdmi = devm_kzalloc(&pdev->dev, sizeof(*hdmi), GFP_KERNEL); in dw_hdmi_imx_probe()
228 if (!hdmi) in dw_hdmi_imx_probe()
240 hdmi->hdmi = dw_hdmi_probe(pdev, match->data); in dw_hdmi_imx_probe()
241 if (IS_ERR(hdmi->hdmi)) in dw_hdmi_imx_probe()
242 return PTR_ERR(hdmi->hdmi); in dw_hdmi_imx_probe()
245 if (!hdmi->bridge) { in dw_hdmi_imx_probe()
247 dw_hdmi_remove(hdmi->hdmi); in dw_hdmi_imx_probe()
253 dw_hdmi_remove(hdmi->hdmi); in dw_hdmi_imx_probe()
[all …]
/linux-6.15/drivers/media/i2c/adv748x/
H A Dadv748x-hdmi.c242 hdmi->timings = *timings; in adv748x_hdmi_s_dv_timings()
265 *timings = hdmi->timings; in adv748x_hdmi_g_dv_timings()
292 *timings = hdmi->timings; in adv748x_hdmi_query_dv_timings()
344 hdmi->timings = *timings; in adv748x_hdmi_query_dv_timings()
476 if (!hdmi->edid.present) in adv748x_hdmi_get_edid()
532 hdmi->edid.blocks = 0; in adv748x_hdmi_set_edid()
533 hdmi->edid.present = 0; in adv748x_hdmi_set_edid()
555 hdmi->edid.present = true; in adv748x_hdmi_set_edid()
561 hdmi->edid.edid); in adv748x_hdmi_set_edid()
722 hdmi->sd.ctrl_handler = &hdmi->ctrl_hdl; in adv748x_hdmi_init_controls()
[all …]

12345678910>>...36