| /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 | 224 drm_edid = drm_edid_read_ddc(connector, hdmi->ddc_i2c ?: hdmi->i2c); in sun4i_hdmi_get_modes() 516 struct sun4i_hdmi *hdmi; in sun4i_hdmi_bind() local 520 hdmi = devm_kzalloc(dev, sizeof(*hdmi), GFP_KERNEL); in sun4i_hdmi_bind() 521 if (!hdmi) in sun4i_hdmi_bind() 524 hdmi->dev = dev; in sun4i_hdmi_bind() 525 hdmi->drv = drv; in sun4i_hdmi_bind() 528 if (!hdmi->variant) in sun4i_hdmi_bind() 581 hdmi->regmap = devm_regmap_init_mmio(dev, hdmi->base, in sun4i_hdmi_bind() 603 hdmi->ddc_parent_clk = hdmi->tmds_clk; in sun4i_hdmi_bind() 626 hdmi->ddc_i2c = NULL; in sun4i_hdmi_bind() [all …]
|
| A D | sun8i_dw_hdmi.c | 104 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/drivers/gpu/drm/bridge/synopsys/ |
| A D | dw-hdmi.c | 817 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() 3282 hdmi->phy.ops->setup_hpd(hdmi, hdmi->phy.data); in dw_hdmi_init_hw() 3519 audio.hdmi = hdmi; in dw_hdmi_probe() 3532 audio.hdmi = hdmi; in dw_hdmi_probe() 3550 audio.hdmi = hdmi; in dw_hdmi_probe() [all …]
|
| /linux/drivers/gpu/drm/rockchip/ |
| A D | rk3066_hdmi.c | 231 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 …]
|
| A D | inno_hdmi.c | 679 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 …]
|
| A D | dw_hdmi-rockchip.c | 220 hdmi->ref_clk = devm_clk_get_optional_enabled(hdmi->dev, "ref"); in rockchip_hdmi_parse_dt() 221 if (!hdmi->ref_clk) in rockchip_hdmi_parse_dt() 222 hdmi->ref_clk = devm_clk_get_optional_enabled(hdmi->dev, "vpll"); in rockchip_hdmi_parse_dt() 231 hdmi->grf_clk = devm_clk_get_optional(hdmi->dev, "grf"); in rockchip_hdmi_parse_dt() 565 hdmi = devm_kzalloc(&pdev->dev, sizeof(*hdmi), GFP_KERNEL); in dw_hdmi_rockchip_bind() 566 if (!hdmi) in dw_hdmi_rockchip_bind() 623 hdmi->hdmi = dw_hdmi_bind(pdev, encoder, plat_data); in dw_hdmi_rockchip_bind() 629 if (IS_ERR(hdmi->hdmi)) { in dw_hdmi_rockchip_bind() 630 ret = PTR_ERR(hdmi->hdmi); in dw_hdmi_rockchip_bind() 647 dw_hdmi_unbind(hdmi->hdmi); in dw_hdmi_rockchip_unbind() [all …]
|
| /linux/drivers/gpu/drm/msm/hdmi/ |
| A D | hdmi.c | 46 struct hdmi *hdmi = dev_id; in msm_hdmi_irq() local 63 static void msm_hdmi_destroy(struct hdmi *hdmi) in msm_hdmi_destroy() argument 77 static void msm_hdmi_put_phy(struct hdmi *hdmi) in msm_hdmi_put_phy() 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() 177 ret = drm_bridge_attach(hdmi->encoder, hdmi->next_bridge, hdmi->bridge, in msm_hdmi_modeset_init() 256 struct hdmi *hdmi = dev_get_drvdata(dev); in msm_hdmi_audio_hw_params() local 363 priv->hdmi = hdmi; in msm_hdmi_bind() [all …]
|
| A D | hdmi_hpd.c | 14 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 …]
|
| A D | hdmi_bridge.c | 18 struct hdmi *hdmi = hdmi_bridge->hdmi; in msm_hdmi_power_on() local 30 ret = clk_set_rate(hdmi->pwr_clks[0], hdmi->pixclock); in msm_hdmi_power_on() 50 struct hdmi *hdmi = hdmi_bridge->hdmi; in power_off() local 71 static void msm_hdmi_config_avi_infoframe(struct hdmi *hdmi) in msm_hdmi_config_avi_infoframe() argument 132 struct hdmi *hdmi = hdmi_bridge->hdmi; in msm_hdmi_bridge_pre_enable() local 158 struct hdmi *hdmi = hdmi_bridge->hdmi; in msm_hdmi_bridge_post_disable() local 183 struct hdmi *hdmi = hdmi_bridge->hdmi; in msm_hdmi_bridge_mode_set() local 243 struct hdmi *hdmi = hdmi_bridge->hdmi; in msm_hdmi_bridge_edid_read() local 273 struct hdmi *hdmi = hdmi_bridge->hdmi; in msm_hdmi_bridge_mode_valid() local 321 int 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 | 33 struct hdmi { struct 109 struct hdmi *hdmi; member 114 void msm_hdmi_set_mode(struct hdmi *hdmi, bool power_on); 121 static inline u32 hdmi_read(struct hdmi *hdmi, u32 reg) in hdmi_read() argument 126 static inline u32 hdmi_qfprom_read(struct hdmi *hdmi, u32 reg) in hdmi_qfprom_read() argument 224 int msm_hdmi_audio_update(struct hdmi *hdmi); 235 int msm_hdmi_bridge_init(struct hdmi *hdmi); 241 void msm_hdmi_hpd_disable(struct hdmi *hdmi); 249 struct i2c_adapter *msm_hdmi_i2c_init(struct hdmi *hdmi); 255 struct hdmi_hdcp_ctrl *msm_hdmi_hdcp_init(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/omapdrm/dss/ |
| A D | hdmi4.c | 200 hdmi4_configure(&hdmi->core, &hdmi->wp, &hdmi->cfg); in hdmi_power_on_full() 392 ret = hdmi4_audio_config(&hdmi->core, &hdmi->wp, in hdmi4_bridge_enable() 397 hdmi->audio_abort_cb(&hdmi->pdev->dev); in hdmi4_bridge_enable() 403 if (hdmi->audio_configured && hdmi->audio_playing) in hdmi4_bridge_enable() 509 hdmi->bridge.of_node = hdmi->pdev->dev.of_node; in hdmi4_bridge_init() 655 r = hdmi_pll_init(dss, hdmi->pdev, &hdmi->pll, &hdmi->wp); in hdmi4_bind() 659 r = hdmi4_cec_init(hdmi->pdev, &hdmi->core, &hdmi->wp); in hdmi4_bind() 764 hdmi = kzalloc(sizeof(*hdmi), GFP_KERNEL); in hdmi4_probe() 765 if (!hdmi) in hdmi4_probe() 831 kfree(hdmi); in hdmi4_probe() [all …]
|
| A D | hdmi5.c | 199 hdmi5_configure(&hdmi->core, &hdmi->wp, &hdmi->cfg); in hdmi_power_on_full() 390 ret = hdmi5_audio_config(&hdmi->core, &hdmi->wp, in hdmi5_bridge_enable() 395 hdmi->audio_abort_cb(&hdmi->pdev->dev); in hdmi5_bridge_enable() 401 if (hdmi->audio_configured && hdmi->audio_playing) in hdmi5_bridge_enable() 484 hdmi->bridge.of_node = hdmi->pdev->dev.of_node; in hdmi5_bridge_init() 632 r = hdmi_pll_init(dss, hdmi->pdev, &hdmi->pll, &hdmi->wp); in hdmi5_bind() 643 hdmi); in hdmi5_bind() 730 hdmi = kzalloc(sizeof(*hdmi), GFP_KERNEL); in hdmi5_probe() 731 if (!hdmi) in hdmi5_probe() 797 kfree(hdmi); in hdmi5_probe() [all …]
|
| /linux/drivers/gpu/drm/mediatek/ |
| A D | mtk_hdmi.c | 246 if (hdmi->conf && hdmi->conf->tz_disabled) in mtk_hdmi_hw_make_reg_writable() 868 mtk_hdmi_hw_enable_dvi_mode(hdmi, hdmi->dvi_mode); in mtk_hdmi_video_set_display_mode() 927 mtk_hdmi_hw_aud_set_mclk(hdmi, hdmi->aud_param.aud_mclk); in mtk_hdmi_aud_set_src() 1109 return mtk_hdmi_aud_output_config(hdmi, &hdmi->mode); in mtk_hdmi_audio_set_param() 1192 if (hdmi->plugged_cb && hdmi->codec_dev) in mtk_hdmi_update_plugged_status() 1193 hdmi->plugged_cb(hdmi->codec_dev, connected); in mtk_hdmi_update_plugged_status() 1237 if (hdmi && hdmi->bridge.encoder && hdmi->bridge.encoder->dev) { in mtk_hdmi_hpd_event() 1395 mtk_hdmi_output_set_display_mode(hdmi, &hdmi->mode); in mtk_hdmi_bridge_atomic_enable() 1399 mtk_hdmi_send_infoframe(hdmi, &hdmi->mode); in mtk_hdmi_bridge_atomic_enable() 1693 hdmi = devm_kzalloc(dev, sizeof(*hdmi), GFP_KERNEL); in mtk_hdmi_probe() [all …]
|
| /linux/drivers/gpu/drm/tegra/ |
| A D | hdmi.c | 570 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/drivers/gpu/drm/sti/ |
| A D | sti_hdmi.c | 230 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/drivers/video/fbdev/omap2/omapfb/dss/ |
| A D | hdmi5.c | 122 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 …]
|
| A D | hdmi4.c | 105 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/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); 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/drivers/gpu/drm/imx/ipuv3/ |
| A D | dw_hdmi-imx.c | 31 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/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() 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 …]
|
| /linux/drivers/gpu/drm/bridge/imx/ |
| A D | imx8mp-hdmi-tx.c | 62 dw_hdmi_phy_gen1_reset(hdmi); in im8mp_hdmi_phy_setup_hpd() 79 struct imx8mp_hdmi *hdmi; in imx8mp_dw_hdmi_probe() local 81 hdmi = devm_kzalloc(dev, sizeof(*hdmi), GFP_KERNEL); in imx8mp_dw_hdmi_probe() 82 if (!hdmi) in imx8mp_dw_hdmi_probe() 85 plat_data = &hdmi->plat_data; in imx8mp_dw_hdmi_probe() 88 if (IS_ERR(hdmi->pixclk)) in imx8mp_dw_hdmi_probe() 95 plat_data->priv_data = hdmi; in imx8mp_dw_hdmi_probe() 99 if (IS_ERR(hdmi->dw_hdmi)) in imx8mp_dw_hdmi_probe() 100 return PTR_ERR(hdmi->dw_hdmi); in imx8mp_dw_hdmi_probe() 111 dw_hdmi_remove(hdmi->dw_hdmi); in imx8mp_dw_hdmi_remove() [all …]
|