/linux-6.3-rc2/drivers/gpu/drm/bridge/synopsys/ |
A D | dw-hdmi.c | 834 hdmi_set_cts_n(hdmi, hdmi->audio_cts, hdmi->audio_n); in dw_hdmi_gp_audio_enable() 880 hdmi_set_cts_n(hdmi, hdmi->audio_cts, hdmi->audio_n); in dw_hdmi_ahb_audio_enable() 890 hdmi_set_cts_n(hdmi, hdmi->audio_cts, hdmi->audio_n); in dw_hdmi_i2s_audio_enable() 2307 ret = hdmi->phy.ops->init(hdmi, hdmi->phy.data, in dw_hdmi_setup() 2412 hdmi->phy.ops->disable(hdmi, hdmi->phy.data); in dw_hdmi_poweroff() 2456 hdmi->phy.ops->update_hpd(hdmi, hdmi->phy.data, in dw_hdmi_update_phy_mask() 3297 hdmi->phy.ops->setup_hpd(hdmi, hdmi->phy.data); in dw_hdmi_init_hw() 3573 audio.hdmi = hdmi; in dw_hdmi_probe() 3586 audio.hdmi = hdmi; in dw_hdmi_probe() 3604 audio.hdmi = hdmi; in dw_hdmi_probe() [all …]
|
/linux-6.3-rc2/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 | 216 edid = drm_get_edid(connector, hdmi->ddc_i2c ?: hdmi->i2c); in sun4i_hdmi_get_modes() 496 hdmi = devm_kzalloc(dev, sizeof(*hdmi), GFP_KERNEL); in sun4i_hdmi_bind() 497 if (!hdmi) in sun4i_hdmi_bind() 500 hdmi->dev = dev; in sun4i_hdmi_bind() 501 hdmi->drv = drv; in sun4i_hdmi_bind() 504 if (!hdmi->variant) in sun4i_hdmi_bind() 557 hdmi->regmap = devm_regmap_init_mmio(dev, hdmi->base, in sun4i_hdmi_bind() 579 hdmi->ddc_parent_clk = hdmi->tmds_clk; in sun4i_hdmi_bind() 602 hdmi->ddc_i2c = NULL; in sun4i_hdmi_bind() 638 hdmi->ddc_i2c); 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-6.3-rc2/drivers/gpu/drm/msm/hdmi/ |
A D | hdmi.c | 44 struct hdmi *hdmi = dev_id; in msm_hdmi_irq() local 61 static void msm_hdmi_destroy(struct hdmi *hdmi) in msm_hdmi_destroy() argument 75 static void msm_hdmi_put_phy(struct hdmi *hdmi) in msm_hdmi_put_phy() argument 84 static int msm_hdmi_get_phy(struct hdmi *hdmi) in msm_hdmi_get_phy() argument 117 static int msm_hdmi_init(struct hdmi *hdmi) in msm_hdmi_init() argument 128 hdmi->i2c = msm_hdmi_i2c_init(hdmi); in msm_hdmi_init() 136 hdmi->hdcp_ctrl = msm_hdmi_hdcp_init(hdmi); in msm_hdmi_init() 174 hdmi->bridge = msm_hdmi_bridge_init(hdmi); in msm_hdmi_modeset_init() 183 ret = drm_bridge_attach(hdmi->encoder, hdmi->next_bridge, hdmi->bridge, in msm_hdmi_modeset_init() 376 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() 152 struct hdmi *hdmi = hdmi_bridge->hdmi; in msm_hdmi_hpd_disable() local 177 struct hdmi *hdmi = hdmi_bridge->hdmi; in msm_hdmi_hpd_irq() local 204 static enum drm_connector_status detect_reg(struct hdmi *hdmi) in detect_reg() argument 221 static enum drm_connector_status detect_gpio(struct hdmi *hdmi) in detect_gpio() argument 232 struct hdmi *hdmi = hdmi_bridge->hdmi; in msm_hdmi_bridge_detect() local [all …]
|
A D | hdmi_bridge.c | 26 struct hdmi *hdmi = hdmi_bridge->hdmi; in msm_hdmi_power_on() local 38 ret = clk_set_rate(hdmi->pwr_clks[0], hdmi->pixclock); in msm_hdmi_power_on() 58 struct hdmi *hdmi = hdmi_bridge->hdmi; in power_off() local 79 static void msm_hdmi_config_avi_infoframe(struct hdmi *hdmi) in msm_hdmi_config_avi_infoframe() argument 140 struct hdmi *hdmi = hdmi_bridge->hdmi; in msm_hdmi_bridge_pre_enable() local 166 struct hdmi *hdmi = hdmi_bridge->hdmi; in msm_hdmi_bridge_post_disable() local 191 struct hdmi *hdmi = hdmi_bridge->hdmi; in msm_hdmi_bridge_mode_set() local 251 struct hdmi *hdmi = hdmi_bridge->hdmi; in msm_hdmi_bridge_get_edid() local 272 struct hdmi *hdmi = hdmi_bridge->hdmi; in msm_hdmi_bridge_mode_valid() local 320 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 | 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 216 int msm_hdmi_audio_update(struct hdmi *hdmi); 217 int msm_hdmi_audio_info_setup(struct hdmi *hdmi, bool enabled, 227 struct drm_bridge *msm_hdmi_bridge_init(struct hdmi *hdmi); 242 struct i2c_adapter *msm_hdmi_i2c_init(struct hdmi *hdmi); 248 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-6.3-rc2/drivers/gpu/drm/rockchip/ |
A D | rk3066_hdmi.c | 232 if (hdmi->hdmi_data.vic == 2 || hdmi->hdmi_data.vic == 3) in rk3066_hdmi_config_video_timing() 335 if (hdmi->hdmi_data.vic == 6 || hdmi->hdmi_data.vic == 7 || in rk3066_hdmi_setup() 336 hdmi->hdmi_data.vic == 21 || hdmi->hdmi_data.vic == 22 || in rk3066_hdmi_setup() 337 hdmi->hdmi_data.vic == 2 || hdmi->hdmi_data.vic == 3 || in rk3066_hdmi_setup() 338 hdmi->hdmi_data.vic == 17 || hdmi->hdmi_data.vic == 18) in rk3066_hdmi_setup() 417 rk3066_hdmi_setup(hdmi, &hdmi->previous_mode); in rk3066_hdmi_encoder_enable() 760 hdmi = devm_kzalloc(dev, sizeof(*hdmi), GFP_KERNEL); in rk3066_hdmi_bind() 761 if (!hdmi) in rk3066_hdmi_bind() 797 hdmi->ddc = rk3066_hdmi_i2c_adapter(hdmi); in rk3066_hdmi_bind() 829 hdmi->connector.funcs->destroy(&hdmi->connector); in rk3066_hdmi_bind() [all …]
|
A D | inno_hdmi.c | 562 if (!hdmi->ddc) in inno_hdmi_connector_get_modes() 666 if (hdmi->i2c) in inno_hdmi_hardirq() 725 hdmi_writeb(hdmi, HDMI_EDID_WORD_ADDR, hdmi->i2c->ddc_addr); in inno_hdmi_i2c_write() 826 hdmi = devm_kzalloc(dev, sizeof(*hdmi), GFP_KERNEL); in inno_hdmi_bind() 827 if (!hdmi) in inno_hdmi_bind() 837 hdmi->pclk = devm_clk_get(hdmi->dev, "pclk"); in inno_hdmi_bind() 858 hdmi->ddc = inno_hdmi_i2c_adapter(hdmi); in inno_hdmi_bind() 871 hdmi->tmds_rate = clk_get_rate(hdmi->pclk); in inno_hdmi_bind() 891 hdmi->connector.funcs->destroy(&hdmi->connector); in inno_hdmi_bind() 892 hdmi->encoder.encoder.funcs->destroy(&hdmi->encoder.encoder); in inno_hdmi_bind() [all …]
|
A D | dw_hdmi-rockchip.c | 211 hdmi->ref_clk = devm_clk_get_optional(hdmi->dev, "ref"); in rockchip_hdmi_parse_dt() 213 hdmi->ref_clk = devm_clk_get_optional(hdmi->dev, "vpll"); in rockchip_hdmi_parse_dt() 222 hdmi->grf_clk = devm_clk_get(hdmi->dev, "grf"); in rockchip_hdmi_parse_dt() 232 hdmi->avdd_0v9 = devm_regulator_get(hdmi->dev, "avdd-0v9"); in rockchip_hdmi_parse_dt() 236 hdmi->avdd_1v8 = devm_regulator_get(hdmi->dev, "avdd-1v8"); in rockchip_hdmi_parse_dt() 539 if (!hdmi) in dw_hdmi_rockchip_bind() 613 hdmi->hdmi = dw_hdmi_bind(pdev, encoder, plat_data); in dw_hdmi_rockchip_bind() 619 if (IS_ERR(hdmi->hdmi)) { in dw_hdmi_rockchip_bind() 620 ret = PTR_ERR(hdmi->hdmi); in dw_hdmi_rockchip_bind() 642 dw_hdmi_unbind(hdmi->hdmi); in dw_hdmi_rockchip_unbind() [all …]
|
/linux-6.3-rc2/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() 501 hdmi->bridge.of_node = hdmi->pdev->dev.of_node; in hdmi4_bridge_init() 647 r = hdmi_pll_init(dss, hdmi->pdev, &hdmi->pll, &hdmi->wp); in hdmi4_bind() 651 r = hdmi4_cec_init(hdmi->pdev, &hdmi->core, &hdmi->wp); in hdmi4_bind() 756 hdmi = kzalloc(sizeof(*hdmi), GFP_KERNEL); in hdmi4_probe() 757 if (!hdmi) in hdmi4_probe() 823 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-6.3-rc2/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() 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-6.3-rc2/drivers/gpu/drm/sti/ |
A D | sti_hdmi.c | 230 hdmi->irq_status = hdmi_read(hdmi, HDMI_INT_STA); in hdmi_irq() 767 hdmi->phy_ops->stop(hdmi); in sti_hdmi_disable() 901 if (!hdmi->phy_ops->start(hdmi)) { in sti_hdmi_pre_enable() 978 struct sti_hdmi *hdmi = hdmi_connector->hdmi; in sti_hdmi_connector_get_modes() local 1017 struct sti_hdmi *hdmi = hdmi_connector->hdmi; in sti_hdmi_connector_mode_valid() local 1045 struct sti_hdmi *hdmi = hdmi_connector->hdmi; in sti_hdmi_connector_detect() local 1064 struct sti_hdmi *hdmi = hdmi_connector->hdmi; in sti_hdmi_connector_init_property() local 1088 struct sti_hdmi *hdmi = hdmi_connector->hdmi; in sti_hdmi_connector_set_property() local 1107 struct sti_hdmi *hdmi = hdmi_connector->hdmi; in sti_hdmi_connector_get_property() local 1122 struct sti_hdmi *hdmi = hdmi_connector->hdmi; in sti_hdmi_late_register() local [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/tegra/ |
A D | hdmi.c | 566 hdmi->format.sample_rate, hdmi->pixel_clock); in tegra_hdmi_setup_audio() 1103 hdmi->debugfs_files[i].data = hdmi; in tegra_hdmi_late_register() 1470 if (hdmi->pixel_clock && !hdmi->dvi) in tegra_hdmi_hw_params() 1576 err = regulator_enable(hdmi->hdmi); in tegra_hdmi_init() 1608 regulator_disable(hdmi->hdmi); in tegra_hdmi_init() 1625 regulator_disable(hdmi->hdmi); in tegra_hdmi_exit() 1776 if (!hdmi) in tegra_hdmi_probe() 1804 err = clk_set_parent(hdmi->clk, hdmi->clk_parent); in tegra_hdmi_probe() 1810 hdmi->hdmi = devm_regulator_get(&pdev->dev, "hdmi"); in tegra_hdmi_probe() 1811 err = PTR_ERR_OR_ZERO(hdmi->hdmi); in tegra_hdmi_probe() [all …]
|
/linux-6.3-rc2/drivers/video/fbdev/omap2/omapfb/dss/ |
A D | hdmi5.c | 121 hdmi.vdda_reg = reg; in hdmi_init_regulator() 170 p = &hdmi.cfg.timings; in hdmi_power_on_full() 204 hdmi5_configure(&hdmi.core, &hdmi.wp, &hdmi.cfg); in hdmi_power_on_full() 273 mutex_lock(&hdmi.lock); in hdmi_display_set_timing() 367 r = hdmi5_audio_config(&hdmi.core, &hdmi.wp, &hdmi.audio_config, in hdmi_display_enable() 371 hdmi.audio_abort_cb(&hdmi.pdev->dev); in hdmi_display_enable() 377 if (hdmi.audio_configured && hdmi.audio_playing) in hdmi_display_enable() 699 hdmi.wp_idlemode = in hdmi_audio_register() 713 hdmi.pdev = pdev; in hdmi5_bind() 729 r = hdmi_pll_init(pdev, &hdmi.pll, &hdmi.wp); in hdmi5_bind() [all …]
|
A D | hdmi4.c | 104 hdmi.vdda_reg = reg; in hdmi_init_regulator() 158 p = &hdmi.cfg.timings; in hdmi_power_on_full() 187 hdmi4_configure(&hdmi.core, &hdmi.wp, &hdmi.cfg); in hdmi_power_on_full() 252 mutex_lock(&hdmi.lock); in hdmi_display_set_timing() 269 mutex_lock(&hdmi.lock); in hdmi_dump_regs() 337 r = hdmi4_audio_config(&hdmi.core, &hdmi.wp, &hdmi.audio_config, in hdmi_display_enable() 341 hdmi.audio_abort_cb(&hdmi.pdev->dev); in hdmi_display_enable() 347 if (hdmi.audio_configured && hdmi.audio_playing) in hdmi_display_enable() 672 hdmi.pdev = pdev; in hdmi4_bind() 688 r = hdmi_pll_init(pdev, &hdmi.pll, &hdmi.wp); in hdmi4_bind() [all …]
|
/linux-6.3-rc2/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, 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); [all …]
|
/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/sound/pci/oxygen/ |
A D | xonar_hdmi.c | 37 struct xonar_hdmi *hdmi) in xonar_hdmi_init_commands() argument 51 hdmi->params[1] = IEC958_AES3_CON_FS_48000; in xonar_hdmi_init() 52 hdmi->params[4] = 1; in xonar_hdmi_init() 53 xonar_hdmi_init_commands(chip, hdmi); in xonar_hdmi_init() 65 xonar_hdmi_init_commands(chip, hdmi); in xonar_hdmi_resume() 83 hdmi->params[0] = 0; /* 1 = non-audio */ in xonar_set_hdmi_params() 86 hdmi->params[1] = IEC958_AES3_CON_FS_44100; in xonar_set_hdmi_params() 89 hdmi->params[1] = IEC958_AES3_CON_FS_48000; in xonar_set_hdmi_params() 100 hdmi->params[3] = 0; in xonar_set_hdmi_params() 102 hdmi->params[3] = 0xc0; in xonar_set_hdmi_params() [all …]
|