/linux/drivers/gpu/drm/bridge/synopsys/ |
A D | dw-hdmi.c | 762 hdmi_set_cts_n(hdmi, hdmi->audio_cts, hdmi->audio_n); in dw_hdmi_ahb_audio_enable() 772 hdmi_set_cts_n(hdmi, hdmi->audio_cts, hdmi->audio_n); in dw_hdmi_i2s_audio_enable() 788 hdmi->enable_audio(hdmi); in dw_hdmi_audio_enable() 800 hdmi->disable_audio(hdmi); in dw_hdmi_audio_disable() 2173 ret = hdmi->phy.ops->init(hdmi, hdmi->phy.data, in dw_hdmi_setup() 2278 hdmi->phy.ops->disable(hdmi, hdmi->phy.data); in dw_hdmi_poweroff() 2322 hdmi->phy.ops->update_hpd(hdmi, hdmi->phy.data, in dw_hdmi_update_phy_mask() 3159 hdmi->phy.ops->setup_hpd(hdmi, hdmi->phy.data); in dw_hdmi_init_hw() 3433 audio.hdmi = hdmi; in dw_hdmi_probe() 3446 audio.hdmi = hdmi; in dw_hdmi_probe() [all …]
|
/linux/drivers/gpu/drm/sun4i/ |
A D | sun4i_hdmi_i2c.c | 201 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 …]
|
A D | sun4i_hdmi_enc.c | 114 if (hdmi->hdmi_monitor) in sun4i_hdmi_enable() 214 edid = drm_get_edid(connector, hdmi->ddc_i2c ?: hdmi->i2c); in sun4i_hdmi_get_modes() 495 hdmi = devm_kzalloc(dev, sizeof(*hdmi), GFP_KERNEL); in sun4i_hdmi_bind() 496 if (!hdmi) in sun4i_hdmi_bind() 499 hdmi->dev = dev; in sun4i_hdmi_bind() 500 hdmi->drv = drv; in sun4i_hdmi_bind() 503 if (!hdmi->variant) in sun4i_hdmi_bind() 556 hdmi->regmap = devm_regmap_init_mmio(dev, hdmi->base, in sun4i_hdmi_bind() 578 hdmi->ddc_parent_clk = hdmi->tmds_clk; in sun4i_hdmi_bind() 637 hdmi->ddc_i2c); in sun4i_hdmi_bind() [all …]
|
A D | sun8i_dw_hdmi.c | 134 hdmi = devm_kzalloc(&pdev->dev, sizeof(*hdmi), GFP_KERNEL); in sun8i_dw_hdmi_bind() 135 if (!hdmi) in sun8i_dw_hdmi_bind() 139 hdmi->dev = &pdev->dev; in sun8i_dw_hdmi_bind() 140 encoder = &hdmi->encoder; in sun8i_dw_hdmi_bind() 229 hdmi->hdmi = dw_hdmi_bind(pdev, encoder, plat_data); in sun8i_dw_hdmi_bind() 235 if (IS_ERR(hdmi->hdmi)) { in sun8i_dw_hdmi_bind() 236 ret = PTR_ERR(hdmi->hdmi); in sun8i_dw_hdmi_bind() 252 if (hdmi->ddc_en) in sun8i_dw_hdmi_bind() 253 gpiod_put(hdmi->ddc_en); in sun8i_dw_hdmi_bind() 263 dw_hdmi_unbind(hdmi->hdmi); in sun8i_dw_hdmi_unbind() [all …]
|
/linux/drivers/gpu/drm/rockchip/ |
A D | rk3066_hdmi.c | 222 if (hdmi->hdmi_data.vic == 2 || hdmi->hdmi_data.vic == 3) in rk3066_hdmi_config_video_timing() 323 if (hdmi->hdmi_data.vic == 6 || hdmi->hdmi_data.vic == 7 || in rk3066_hdmi_setup() 325 hdmi->hdmi_data.vic == 2 || hdmi->hdmi_data.vic == 3 || in rk3066_hdmi_setup() 405 rk3066_hdmi_setup(hdmi, &hdmi->previous_mode); in rk3066_hdmi_encoder_enable() 749 hdmi = devm_kzalloc(dev, sizeof(*hdmi), GFP_KERNEL); in rk3066_hdmi_bind() 750 if (!hdmi) in rk3066_hdmi_bind() 786 hdmi->ddc = rk3066_hdmi_i2c_adapter(hdmi); in rk3066_hdmi_bind() 818 hdmi->connector.funcs->destroy(&hdmi->connector); in rk3066_hdmi_bind() 819 hdmi->encoder.funcs->destroy(&hdmi->encoder); in rk3066_hdmi_bind() 833 hdmi->connector.funcs->destroy(&hdmi->connector); in rk3066_hdmi_unbind() [all …]
|
A D | inno_hdmi.c | 656 if (hdmi->i2c) in inno_hdmi_hardirq() 715 hdmi_writeb(hdmi, HDMI_EDID_WORD_ADDR, hdmi->i2c->ddc_addr); in inno_hdmi_i2c_write() 816 hdmi = devm_kzalloc(dev, sizeof(*hdmi), GFP_KERNEL); in inno_hdmi_bind() 817 if (!hdmi) in inno_hdmi_bind() 827 hdmi->pclk = devm_clk_get(hdmi->dev, "pclk"); in inno_hdmi_bind() 848 hdmi->ddc = inno_hdmi_i2c_adapter(hdmi); in inno_hdmi_bind() 861 hdmi->tmds_rate = clk_get_rate(hdmi->pclk); in inno_hdmi_bind() 881 hdmi->connector.funcs->destroy(&hdmi->connector); in inno_hdmi_bind() 882 hdmi->encoder.funcs->destroy(&hdmi->encoder); in inno_hdmi_bind() 895 hdmi->connector.funcs->destroy(&hdmi->connector); in inno_hdmi_unbind() [all …]
|
A D | dw_hdmi-rockchip.c | 74 struct dw_hdmi *hdmi; member 199 hdmi->vpll_clk = devm_clk_get(hdmi->dev, "vpll"); in rockchip_hdmi_parse_dt() 209 hdmi->grf_clk = devm_clk_get(hdmi->dev, "grf"); in rockchip_hdmi_parse_dt() 284 ret = regmap_write(hdmi->regmap, hdmi->chip_data->lcdsel_grf_reg, val); in dw_hdmi_rockchip_encoder_enable() 501 hdmi = devm_kzalloc(&pdev->dev, sizeof(*hdmi), GFP_KERNEL); in dw_hdmi_rockchip_bind() 502 if (!hdmi) in dw_hdmi_rockchip_bind() 552 hdmi->hdmi = dw_hdmi_bind(pdev, encoder, plat_data); in dw_hdmi_rockchip_bind() 558 if (IS_ERR(hdmi->hdmi)) { in dw_hdmi_rockchip_bind() 559 ret = PTR_ERR(hdmi->hdmi); in dw_hdmi_rockchip_bind() 572 dw_hdmi_unbind(hdmi->hdmi); in dw_hdmi_rockchip_unbind() [all …]
|
/linux/drivers/gpu/drm/mediatek/ |
A D | mtk_hdmi.c | 247 if (hdmi->conf && hdmi->conf->tz_disabled) in mtk_hdmi_hw_make_reg_writable() 869 mtk_hdmi_hw_enable_dvi_mode(hdmi, hdmi->dvi_mode); in mtk_hdmi_video_set_display_mode() 928 mtk_hdmi_hw_aud_set_mclk(hdmi, hdmi->aud_param.aud_mclk); in mtk_hdmi_aud_set_src() 1110 return mtk_hdmi_aud_output_config(hdmi, &hdmi->mode); in mtk_hdmi_audio_set_param() 1193 if (hdmi->plugged_cb && hdmi->codec_dev) in mtk_hdmi_update_plugged_status() 1194 hdmi->plugged_cb(hdmi->codec_dev, connected); in mtk_hdmi_update_plugged_status() 1248 if (hdmi && hdmi->bridge.encoder && hdmi->bridge.encoder->dev) { in mtk_hdmi_hpd_event() 1398 mtk_hdmi_output_set_display_mode(hdmi, &hdmi->mode); in mtk_hdmi_bridge_atomic_enable() 1402 mtk_hdmi_send_infoframe(hdmi, &hdmi->mode); in mtk_hdmi_bridge_atomic_enable() 1696 hdmi = devm_kzalloc(dev, sizeof(*hdmi), GFP_KERNEL); in mtk_drm_hdmi_probe() [all …]
|
/linux/drivers/gpu/drm/omapdrm/dss/ |
A D | hdmi4.c | 199 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() 500 hdmi->bridge.of_node = hdmi->pdev->dev.of_node; in hdmi4_bridge_init() 646 r = hdmi_pll_init(dss, hdmi->pdev, &hdmi->pll, &hdmi->wp); in hdmi4_bind() 650 r = hdmi4_cec_init(hdmi->pdev, &hdmi->core, &hdmi->wp); in hdmi4_bind() 755 hdmi = kzalloc(sizeof(*hdmi), GFP_KERNEL); in hdmi4_probe() 756 if (!hdmi) in hdmi4_probe() 822 kfree(hdmi); in hdmi4_probe() [all …]
|
A D | hdmi5.c | 198 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/drivers/gpu/drm/msm/hdmi/ |
A D | hdmi.c | 14 void msm_hdmi_set_mode(struct hdmi *hdmi, bool power_on) in msm_hdmi_set_mode() argument 41 struct hdmi *hdmi = dev_id; in msm_hdmi_irq() local 58 static void msm_hdmi_destroy(struct hdmi *hdmi) in msm_hdmi_destroy() argument 80 static int msm_hdmi_get_phy(struct hdmi *hdmi) in msm_hdmi_get_phy() argument 115 struct hdmi *hdmi = NULL; in msm_hdmi_init() local 227 hdmi->i2c = msm_hdmi_i2c_init(hdmi); in msm_hdmi_init() 241 hdmi->hdcp_ctrl = msm_hdmi_hdcp_init(hdmi); in msm_hdmi_init() 276 hdmi->bridge = msm_hdmi_bridge_init(hdmi); in msm_hdmi_modeset_init() 417 struct hdmi *hdmi = dev_get_drvdata(dev); in msm_hdmi_audio_hw_params() local 520 struct hdmi *hdmi; in msm_hdmi_bind() local [all …]
|
A D | hdmi_connector.c | 16 struct hdmi *hdmi; member 21 static void msm_hdmi_phy_reset(struct hdmi *hdmi) in msm_hdmi_phy_reset() argument 70 static int gpio_config(struct hdmi *hdmi, bool on) in gpio_config() argument 112 static void enable_hpd_clocks(struct hdmi *hdmi, bool enable) in enable_hpd_clocks() argument 145 struct hdmi *hdmi = hdmi_connector->hdmi; in msm_hdmi_hpd_enable() local 204 struct hdmi *hdmi = hdmi_connector->hdmi; in hdp_disable() local 242 struct hdmi *hdmi = hdmi_connector->hdmi; in msm_hdmi_connector_irq() local 300 struct hdmi *hdmi = hdmi_connector->hdmi; in hdmi_connector_detect() local 349 struct hdmi *hdmi = hdmi_connector->hdmi; in msm_hdmi_connector_get_modes() local 376 struct hdmi *hdmi = hdmi_connector->hdmi; in msm_hdmi_connector_mode_valid() local [all …]
|
A D | hdmi_bridge.c | 13 struct hdmi *hdmi; member 25 struct hdmi *hdmi = hdmi_bridge->hdmi; in msm_hdmi_power_on() local 37 ret = clk_set_rate(hdmi->pwr_clks[0], hdmi->pixclock); in msm_hdmi_power_on() 57 struct hdmi *hdmi = hdmi_bridge->hdmi; in power_off() local 78 static void msm_hdmi_config_avi_infoframe(struct hdmi *hdmi) in msm_hdmi_config_avi_infoframe() argument 139 struct hdmi *hdmi = hdmi_bridge->hdmi; in msm_hdmi_bridge_pre_enable() local 158 if (hdmi->hdcp_ctrl) in msm_hdmi_bridge_pre_enable() 173 struct hdmi *hdmi = hdmi_bridge->hdmi; in msm_hdmi_bridge_post_disable() local 198 struct hdmi *hdmi = hdmi_bridge->hdmi; in msm_hdmi_bridge_mode_set() local 264 struct drm_bridge *msm_hdmi_bridge_init(struct hdmi *hdmi) in msm_hdmi_bridge_init() argument [all …]
|
A D | hdmi_hdcp.c | 49 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 …]
|
A D | hdmi_i2c.c | 11 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 …]
|
A D | hdmi.h | 41 struct hdmi { struct 117 void msm_hdmi_set_mode(struct hdmi *hdmi, bool power_on); 124 static inline u32 hdmi_read(struct hdmi *hdmi, u32 reg) in hdmi_read() argument 129 static inline u32 hdmi_qfprom_read(struct hdmi *hdmi, u32 reg) in hdmi_qfprom_read() argument 219 int msm_hdmi_audio_update(struct hdmi *hdmi); 220 int msm_hdmi_audio_info_setup(struct hdmi *hdmi, bool enabled, 230 struct drm_bridge *msm_hdmi_bridge_init(struct hdmi *hdmi); 247 struct i2c_adapter *msm_hdmi_i2c_init(struct hdmi *hdmi); 253 struct hdmi_hdcp_ctrl *msm_hdmi_hdcp_init(struct hdmi *hdmi); 254 void msm_hdmi_hdcp_destroy(struct hdmi *hdmi); [all …]
|
A D | hdmi_audio.c | 74 int msm_hdmi_audio_update(struct hdmi *hdmi) in msm_hdmi_audio_update() argument 87 DBG("video: power_on=%d, pixclock=%lu", hdmi->power_on, hdmi->pixclock); in msm_hdmi_audio_update() 89 if (enabled && !(hdmi->power_on && hdmi->pixclock)) { in msm_hdmi_audio_update() 98 hdmi->pixclock); in msm_hdmi_audio_update() 217 int msm_hdmi_audio_info_setup(struct hdmi *hdmi, bool enabled, in msm_hdmi_audio_info_setup() argument 223 if (!hdmi) in msm_hdmi_audio_info_setup() 226 audio = &hdmi->audio; in msm_hdmi_audio_info_setup() 240 void msm_hdmi_audio_set_sample_rate(struct hdmi *hdmi, int rate) in msm_hdmi_audio_set_sample_rate() argument 244 if (!hdmi) in msm_hdmi_audio_set_sample_rate() 247 audio = &hdmi->audio; in msm_hdmi_audio_set_sample_rate() [all …]
|
/linux/drivers/gpu/drm/sti/ |
A D | sti_hdmi.c | 229 hdmi->irq_status = hdmi_read(hdmi, HDMI_INT_STA); in hdmi_irq() 766 hdmi->phy_ops->stop(hdmi); in sti_hdmi_disable() 900 if (!hdmi->phy_ops->start(hdmi)) { in sti_hdmi_pre_enable() 977 struct sti_hdmi *hdmi = hdmi_connector->hdmi; in sti_hdmi_connector_get_modes() local 1015 struct sti_hdmi *hdmi = hdmi_connector->hdmi; in sti_hdmi_connector_mode_valid() local 1043 struct sti_hdmi *hdmi = hdmi_connector->hdmi; in sti_hdmi_connector_detect() local 1062 struct sti_hdmi *hdmi = hdmi_connector->hdmi; in sti_hdmi_connector_init_property() local 1086 struct sti_hdmi *hdmi = hdmi_connector->hdmi; in sti_hdmi_connector_set_property() local 1105 struct sti_hdmi *hdmi = hdmi_connector->hdmi; in sti_hdmi_connector_get_property() local 1120 struct sti_hdmi *hdmi = hdmi_connector->hdmi; in sti_hdmi_late_register() local [all …]
|
/linux/drivers/gpu/drm/tegra/ |
A D | hdmi.c | 547 hdmi->format.sample_rate, hdmi->pixel_clock); in tegra_hdmi_setup_audio() 1074 hdmi->debugfs_files[i].data = hdmi; in tegra_hdmi_late_register() 1198 err = clk_set_rate(hdmi->clk, hdmi->pixel_clock); in tegra_hdmi_encoder_enable() 1294 tegra_hdmi_setup_tmds(hdmi, &hdmi->config->tmds[i]); in tegra_hdmi_encoder_enable() 1452 err = regulator_enable(hdmi->hdmi); in tegra_hdmi_init() 1482 regulator_disable(hdmi->hdmi); in tegra_hdmi_exit() 1644 if (!hdmi) in tegra_hdmi_probe() 1670 err = clk_set_parent(hdmi->clk, hdmi->clk_parent); in tegra_hdmi_probe() 1676 hdmi->hdmi = devm_regulator_get(&pdev->dev, "hdmi"); in tegra_hdmi_probe() 1677 err = PTR_ERR_OR_ZERO(hdmi->hdmi); in tegra_hdmi_probe() [all …]
|
/linux/drivers/video/fbdev/omap2/omapfb/dss/ |
A D | hdmi5.c | 123 hdmi.vdda_reg = reg; in hdmi_init_regulator() 172 p = &hdmi.cfg.timings; in hdmi_power_on_full() 206 hdmi5_configure(&hdmi.core, &hdmi.wp, &hdmi.cfg); in hdmi_power_on_full() 275 mutex_lock(&hdmi.lock); in hdmi_display_set_timing() 369 r = hdmi5_audio_config(&hdmi.core, &hdmi.wp, &hdmi.audio_config, in hdmi_display_enable() 373 hdmi.audio_abort_cb(&hdmi.pdev->dev); in hdmi_display_enable() 379 if (hdmi.audio_configured && hdmi.audio_playing) in hdmi_display_enable() 701 hdmi.wp_idlemode = in hdmi_audio_register() 715 hdmi.pdev = pdev; in hdmi5_bind() 731 r = hdmi_pll_init(pdev, &hdmi.pll, &hdmi.wp); in hdmi5_bind() [all …]
|
A D | hdmi4.c | 106 hdmi.vdda_reg = reg; in hdmi_init_regulator() 160 p = &hdmi.cfg.timings; in hdmi_power_on_full() 189 hdmi4_configure(&hdmi.core, &hdmi.wp, &hdmi.cfg); in hdmi_power_on_full() 254 mutex_lock(&hdmi.lock); in hdmi_display_set_timing() 271 mutex_lock(&hdmi.lock); in hdmi_dump_regs() 339 r = hdmi4_audio_config(&hdmi.core, &hdmi.wp, &hdmi.audio_config, in hdmi_display_enable() 343 hdmi.audio_abort_cb(&hdmi.pdev->dev); in hdmi_display_enable() 349 if (hdmi.audio_configured && hdmi.audio_playing) in hdmi_display_enable() 674 hdmi.pdev = pdev; in hdmi4_bind() 690 r = hdmi_pll_init(pdev, &hdmi.pll, &hdmi.wp); in hdmi4_bind() [all …]
|
/linux/drivers/media/i2c/adv748x/ |
A D | adv748x-hdmi.c | 242 hdmi->timings = *timings; in adv748x_hdmi_s_dv_timings() 265 *timings = hdmi->timings; in adv748x_hdmi_g_dv_timings() 334 hdmi->timings = *timings; in adv748x_hdmi_query_dv_timings() 469 if (!hdmi->edid.present) in adv748x_hdmi_get_edid() 525 hdmi->edid.blocks = 0; in adv748x_hdmi_set_edid() 526 hdmi->edid.present = 0; in adv748x_hdmi_set_edid() 548 hdmi->edid.present = true; in adv748x_hdmi_set_edid() 554 hdmi->edid.edid); in adv748x_hdmi_set_edid() 712 hdmi->sd.ctrl_handler = &hdmi->ctrl_hdl; in adv748x_hdmi_init_controls() 713 if (hdmi->ctrl_hdl.error) { in adv748x_hdmi_init_controls() [all …]
|
/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
A D | hdmigv100.c | 33 const u32 hdmi = head * 0x400; in gv100_hdmi_ctrl() local 49 nvkm_mask(device, 0x6f0000 + hdmi, 0x00000001, 0x00000000); in gv100_hdmi_ctrl() 51 nvkm_wr32(device, 0x6f0008 + hdmi, avi_infoframe.header); in gv100_hdmi_ctrl() 60 nvkm_mask(device, 0x6f0100 + hdmi, 0x00010001, 0x00000000); in gv100_hdmi_ctrl() 65 nvkm_wr32(device, 0x6f0114 + hdmi, 0x00000000); in gv100_hdmi_ctrl() 66 nvkm_wr32(device, 0x6f0118 + hdmi, 0x00000000); in gv100_hdmi_ctrl() 67 nvkm_wr32(device, 0x6f011c + hdmi, 0x00000000); in gv100_hdmi_ctrl() 68 nvkm_wr32(device, 0x6f0120 + hdmi, 0x00000000); in gv100_hdmi_ctrl() 69 nvkm_wr32(device, 0x6f0124 + hdmi, 0x00000000); in gv100_hdmi_ctrl() 76 nvkm_wr32(device, 0x6f00cc + hdmi, 0x00000010); in gv100_hdmi_ctrl() [all …]
|
/linux/drivers/gpu/drm/imx/ |
A D | dw_hdmi-imx.c | 31 struct imx_hdmi *hdmi; member 37 struct dw_hdmi *hdmi; member 224 struct imx_hdmi *hdmi; in dw_hdmi_imx_probe() local 226 hdmi = devm_kzalloc(&pdev->dev, sizeof(*hdmi), GFP_KERNEL); in dw_hdmi_imx_probe() 227 if (!hdmi) in dw_hdmi_imx_probe() 231 hdmi->dev = &pdev->dev; in dw_hdmi_imx_probe() 239 hdmi->hdmi = dw_hdmi_probe(pdev, match->data); in dw_hdmi_imx_probe() 240 if (IS_ERR(hdmi->hdmi)) in dw_hdmi_imx_probe() 241 return PTR_ERR(hdmi->hdmi); in dw_hdmi_imx_probe() 244 if (!hdmi->bridge) { in dw_hdmi_imx_probe() [all …]
|
/linux/include/drm/bridge/ |
A D | dw_hdmi.h | 116 int (*init)(struct dw_hdmi *hdmi, void *data, 119 void (*disable)(struct dw_hdmi *hdmi, void *data); 121 void (*update_hpd)(struct dw_hdmi *hdmi, void *data, 123 void (*setup_hpd)(struct dw_hdmi *hdmi, void *data); 156 int (*configure_phy)(struct dw_hdmi *hdmi, void *data, 164 void dw_hdmi_remove(struct dw_hdmi *hdmi); 165 void dw_hdmi_unbind(struct dw_hdmi *hdmi); 170 void dw_hdmi_resume(struct dw_hdmi *hdmi); 180 void dw_hdmi_audio_enable(struct dw_hdmi *hdmi); 181 void dw_hdmi_audio_disable(struct dw_hdmi *hdmi); [all …]
|