Home
last modified time | relevance | path

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

/drivers/video/
A Ddw_hdmi.c386 if (!hdmi->mpll_cfg || !hdmi->phy_cfg) in hdmi_phy_configure()
411 hdmi_phy_i2c_write(hdmi, hdmi->mpll_cfg[i].gmp, PHY_PLLGMPCTRL); in hdmi_phy_configure()
412 hdmi_phy_i2c_write(hdmi, hdmi->mpll_cfg[i].curr, PHY_PLLCURRCTRL); in hdmi_phy_configure()
426 hdmi_phy_i2c_write(hdmi, hdmi->phy_cfg[i].term, PHY_TXTERM); in hdmi_phy_configure()
428 hdmi_phy_i2c_write(hdmi, hdmi->phy_cfg[i].vlev_ctr, PHY_VLEVCTRL); in hdmi_phy_configure()
949 if (hdmi->ops && hdmi->ops->read_hpd) in dw_hdmi_detect_hpd()
950 hdmi->ops->read_hpd(hdmi, true); in dw_hdmi_detect_hpd()
1007 ret = hdmi->ops->phy_set(hdmi, edid->pixelclock.typ); in dw_hdmi_enable()
1037 if (!hdmi->ops) in dw_hdmi_init()
1065 if (hdmi->ops && hdmi->ops->setup_hpd) in dw_hdmi_init()
[all …]
/drivers/video/meson/
A Dmeson_dw_hdmi.c48 struct dw_hdmi hdmi; member
70 hdmi); in dw_hdmi_top_read()
74 return readl(hdmi->ioaddr + in dw_hdmi_top_read()
92 hdmi); in dw_hdmi_top_write()
95 writel(data, hdmi->ioaddr + in dw_hdmi_top_write()
298 hdmi); in meson_dw_hdmi_phy_init()
394 if (!priv->hdmi.ioaddr) in meson_dw_hdmi_probe()
405 priv->hdmi.reg_io_width = 1; in meson_dw_hdmi_probe()
411 priv->hdmi.i2c_clk_low = 0x78; in meson_dw_hdmi_probe()
428 &priv->hdmi.ddc_bus); in meson_dw_hdmi_probe()
[all …]
/drivers/video/rockchip/
A Drk3328_hdmi.c24 return dw_hdmi_enable(&priv->hdmi, edid); in rk3328_hdmi_enable()
27 static int rk3328_dw_hdmi_phy_cfg(struct dw_hdmi *hdmi, uint pixclock) in rk3328_dw_hdmi_phy_cfg() argument
29 struct rk_hdmi_priv *priv = container_of(hdmi, struct rk_hdmi_priv, hdmi); in rk3328_dw_hdmi_phy_cfg()
47 static void rk3328_dw_hdmi_setup_hpd(struct dw_hdmi *hdmi) in rk3328_dw_hdmi_setup_hpd() argument
49 struct rk_hdmi_priv *priv = container_of(hdmi, struct rk_hdmi_priv, hdmi); in rk3328_dw_hdmi_setup_hpd()
56 static void rk3328_dw_hdmi_read_hpd(struct dw_hdmi *hdmi, bool hpd_status) in rk3328_dw_hdmi_read_hpd() argument
58 struct rk_hdmi_priv *priv = container_of(hdmi, struct rk_hdmi_priv, hdmi); in rk3328_dw_hdmi_read_hpd()
76 struct dw_hdmi *hdmi = &priv->hdmi; in rk3328_hdmi_of_to_plat() local
78 hdmi->i2c_clk_high = 0x71; in rk3328_hdmi_of_to_plat()
79 hdmi->i2c_clk_low = 0x76; in rk3328_hdmi_of_to_plat()
[all …]
A Drk_hdmi.c76 return dw_hdmi_read_edid(&priv->hdmi, buf, buf_size); in rk_hdmi_read_edid()
82 struct dw_hdmi *hdmi = &priv->hdmi; in rk_hdmi_of_to_plat() local
84 hdmi->ioaddr = (ulong)dev_read_addr(dev); in rk_hdmi_of_to_plat()
85 hdmi->mpll_cfg = rockchip_mpll_cfg; in rk_hdmi_of_to_plat()
86 hdmi->phy_cfg = rockchip_phy_config; in rk_hdmi_of_to_plat()
90 hdmi->reg_io_width = 4; in rk_hdmi_of_to_plat()
95 &hdmi->ddc_bus); in rk_hdmi_of_to_plat()
109 struct dw_hdmi *hdmi = &priv->hdmi; in rk_hdmi_probe() local
112 dw_hdmi_init(hdmi); in rk_hdmi_probe()
113 dw_hdmi_phy_init(hdmi); in rk_hdmi_probe()
[all …]
A Drk3288_hdmi.c36 return dw_hdmi_enable(&priv->hdmi, edid); in rk3288_hdmi_enable()
42 struct dw_hdmi *hdmi = &priv->hdmi; in rk3288_hdmi_of_to_plat() local
44 hdmi->i2c_clk_high = 0x7a; in rk3288_hdmi_of_to_plat()
45 hdmi->i2c_clk_low = 0x8d; in rk3288_hdmi_of_to_plat()
51 hdmi->i2c_clk_high = 0x0d; in rk3288_hdmi_of_to_plat()
52 hdmi->i2c_clk_low = 0x0d; in rk3288_hdmi_of_to_plat()
A Drk3399_hdmi.c32 return dw_hdmi_enable(&priv->hdmi, edid); in rk3399_hdmi_enable()
38 struct dw_hdmi *hdmi = &priv->hdmi; in rk3399_hdmi_of_to_plat() local
40 hdmi->i2c_clk_high = 0x7a; in rk3399_hdmi_of_to_plat()
41 hdmi->i2c_clk_low = 0x8d; in rk3399_hdmi_of_to_plat()
A DMakefile13 obj-hdmi-$(CONFIG_ROCKCHIP_RK3288) += rk3288_hdmi.o
14 obj-hdmi-$(CONFIG_ROCKCHIP_RK3328) += rk3328_hdmi.o
15 obj-hdmi-$(CONFIG_ROCKCHIP_RK3399) += rk3399_hdmi.o
16 obj-$(CONFIG_DISPLAY_ROCKCHIP_HDMI) += rk_hdmi.o $(obj-hdmi-y)
A Drk_hdmi.h23 struct dw_hdmi hdmi; member
/drivers/video/tegra/
A Dhdmi.c212 value = readl(&hdmi->nv_pdisp_sor_pll0); in tegra_hdmi_encoder_enable()
214 writel(value, &hdmi->nv_pdisp_sor_pll0); in tegra_hdmi_encoder_enable()
218 value = readl(&hdmi->nv_pdisp_sor_pll0); in tegra_hdmi_encoder_enable()
220 writel(value, &hdmi->nv_pdisp_sor_pll0); in tegra_hdmi_encoder_enable()
250 &hdmi->nv_pdisp_input_control); in tegra_hdmi_encoder_enable()
253 &hdmi->nv_pdisp_input_control); in tegra_hdmi_encoder_enable()
298 &hdmi->nv_pdisp_sor_pwr); in tegra_hdmi_encoder_enable()
301 &hdmi->nv_pdisp_sor_pwr); in tegra_hdmi_encoder_enable()
333 writel(0, &hdmi->nv_pdisp_sor_state0); in tegra_hdmi_encoder_enable()
336 &hdmi->nv_pdisp_sor_state1); in tegra_hdmi_encoder_enable()
[all …]
A DMakefile6 obj-$(CONFIG_VIDEO_HDMI_TEGRA) += hdmi.o
/drivers/video/sunxi/
A Dsunxi_display.c104 struct sunxi_hdmi_reg * const hdmi = in sunxi_hdmi_hpd_detect() local
129 &hdmi->pad_ctrl1); in sunxi_hdmi_hpd_detect()
131 &hdmi->pll_ctrl); in sunxi_hdmi_hpd_detect()
146 struct sunxi_hdmi_reg * const hdmi = in sunxi_hdmi_shutdown() local
160 struct sunxi_hdmi_reg * const hdmi = in sunxi_hdmi_ddc_do_command() local
169 writel(n, &hdmi->ddc_byte_count); in sunxi_hdmi_ddc_do_command()
170 writel(cmnd, &hdmi->ddc_cmnd); in sunxi_hdmi_ddc_do_command()
181 struct sunxi_hdmi_reg * const hdmi = in sunxi_hdmi_ddc_read() local
232 struct sunxi_hdmi_reg * const hdmi = in sunxi_hdmi_edid_get_mode() local
693 struct sunxi_hdmi_reg * const hdmi = local
[all …]
A Dsunxi_dw_hdmi.c24 struct dw_hdmi hdmi; member
305 ret = dw_hdmi_enable(&priv->hdmi, edid); in sunxi_dw_hdmi_enable()
324 (void)readb(priv->hdmi.ioaddr); in sunxi_dw_hdmi_enable()
358 sunxi_dw_hdmi_phy_init(&priv->hdmi); in sunxi_dw_hdmi_probe()
360 ret = dw_hdmi_detect_hpd(&priv->hdmi); in sunxi_dw_hdmi_probe()
364 dw_hdmi_init(&priv->hdmi); in sunxi_dw_hdmi_probe()
376 struct dw_hdmi *hdmi = &priv->hdmi; in sunxi_dw_hdmi_of_to_plat() local
380 hdmi->i2c_clk_high = 0xd8; in sunxi_dw_hdmi_of_to_plat()
381 hdmi->i2c_clk_low = 0xfe; in sunxi_dw_hdmi_of_to_plat()
382 hdmi->reg_io_width = 1; in sunxi_dw_hdmi_of_to_plat()
[all …]
A Dsunxi_de2.c309 struct udevice *de2, *hdmi, *lcd; in sunxi_simplefb_setup() local
336 DM_DRIVER_GET(sunxi_dw_hdmi), &hdmi); in sunxi_simplefb_setup()
339 } else if (device_active(hdmi)) { in sunxi_simplefb_setup()
/drivers/video/nexell/
A DKconfig23 Support for hdmi output.
/drivers/phy/rockchip/
A DMakefile6 obj-$(CONFIG_PHY_ROCKCHIP_INNO_HDMI) += phy-rockchip-inno-hdmi.o

Completed in 28 milliseconds