/external/u-boot/drivers/video/ |
D | dw_hdmi.c | 55 static void hdmi_write(struct dw_hdmi *hdmi, u8 val, int offset) in hdmi_write() argument 57 switch (hdmi->reg_io_width) { in hdmi_write() 59 writeb(val, hdmi->ioaddr + offset); in hdmi_write() 62 writel(val, hdmi->ioaddr + (offset << 2)); in hdmi_write() 70 static u8 hdmi_read(struct dw_hdmi *hdmi, int offset) in hdmi_read() argument 72 switch (hdmi->reg_io_width) { in hdmi_read() 74 return readb(hdmi->ioaddr + offset); in hdmi_read() 76 return readl(hdmi->ioaddr + (offset << 2)); in hdmi_read() 85 static void hdmi_mod(struct dw_hdmi *hdmi, unsigned reg, u8 mask, u8 data) in hdmi_mod() argument 87 u8 val = hdmi_read(hdmi, reg) & ~mask; in hdmi_mod() [all …]
|
/external/u-boot/drivers/video/rockchip/ |
D | rk_hdmi.c | 78 return dw_hdmi_read_edid(&priv->hdmi, buf, buf_size); in rk_hdmi_read_edid() 84 struct dw_hdmi *hdmi = &priv->hdmi; in rk_hdmi_ofdata_to_platdata() local 86 hdmi->ioaddr = (ulong)dev_read_addr(dev); in rk_hdmi_ofdata_to_platdata() 87 hdmi->mpll_cfg = rockchip_mpll_cfg; in rk_hdmi_ofdata_to_platdata() 88 hdmi->phy_cfg = rockchip_phy_config; in rk_hdmi_ofdata_to_platdata() 92 hdmi->reg_io_width = 4; in rk_hdmi_ofdata_to_platdata() 93 hdmi->phy_set = dw_hdmi_phy_cfg; in rk_hdmi_ofdata_to_platdata() 109 struct dw_hdmi *hdmi = &priv->hdmi; in rk_hdmi_probe() local 112 ret = dw_hdmi_phy_wait_for_hpd(hdmi); in rk_hdmi_probe() 118 dw_hdmi_init(hdmi); in rk_hdmi_probe() [all …]
|
D | rk3288_hdmi.c | 42 struct dw_hdmi *hdmi = &priv->hdmi; in rk3288_hdmi_ofdata_to_platdata() local 44 hdmi->i2c_clk_high = 0x7a; in rk3288_hdmi_ofdata_to_platdata() 45 hdmi->i2c_clk_low = 0x8d; in rk3288_hdmi_ofdata_to_platdata() 51 hdmi->i2c_clk_high = 0x0d; in rk3288_hdmi_ofdata_to_platdata() 52 hdmi->i2c_clk_low = 0x0d; in rk3288_hdmi_ofdata_to_platdata()
|
D | rk3399_hdmi.c | 34 return dw_hdmi_enable(&priv->hdmi, edid); in rk3399_hdmi_enable() 40 struct dw_hdmi *hdmi = &priv->hdmi; in rk3399_hdmi_ofdata_to_platdata() local 42 hdmi->i2c_clk_high = 0x7a; in rk3399_hdmi_ofdata_to_platdata() 43 hdmi->i2c_clk_low = 0x8d; in rk3399_hdmi_ofdata_to_platdata()
|
D | Makefile | 12 obj-hdmi-$(CONFIG_ROCKCHIP_RK3288) += rk3288_hdmi.o 13 obj-hdmi-$(CONFIG_ROCKCHIP_RK3399) += rk3399_hdmi.o 14 obj-$(CONFIG_DISPLAY_ROCKCHIP_HDMI) += rk_hdmi.o $(obj-hdmi-y)
|
/external/u-boot/drivers/video/sunxi/ |
D | sunxi_display.c | 93 struct sunxi_hdmi_reg * const hdmi = in sunxi_hdmi_hpd_detect() local 113 writel(SUNXI_HDMI_CTRL_ENABLE, &hdmi->ctrl); in sunxi_hdmi_hpd_detect() 114 writel(SUNXI_HDMI_PAD_CTRL0_HDP, &hdmi->pad_ctrl0); in sunxi_hdmi_hpd_detect() 117 if (readl(&hdmi->hpd) & SUNXI_HDMI_HPD_DETECT) in sunxi_hdmi_hpd_detect() 128 struct sunxi_hdmi_reg * const hdmi = in sunxi_hdmi_shutdown() local 131 clrbits_le32(&hdmi->ctrl, SUNXI_HDMI_CTRL_ENABLE); in sunxi_hdmi_shutdown() 142 struct sunxi_hdmi_reg * const hdmi = in sunxi_hdmi_ddc_do_command() local 145 setbits_le32(&hdmi->ddc_fifo_ctrl, SUNXI_HDMI_DDC_FIFO_CTRL_CLEAR); in sunxi_hdmi_ddc_do_command() 149 SUNXI_HMDI_DDC_ADDR_SLAVE_ADDR, &hdmi->ddc_addr); in sunxi_hdmi_ddc_do_command() 151 writel(n, &hdmi->ddc_byte_count); in sunxi_hdmi_ddc_do_command() [all …]
|
D | sunxi_dw_hdmi.c | 18 struct dw_hdmi hdmi; member 277 static int sunxi_dw_hdmi_phy_cfg(struct dw_hdmi *hdmi, uint mpixelclock) in sunxi_dw_hdmi_phy_cfg() argument 289 return dw_hdmi_read_edid(&priv->hdmi, buf, buf_size); in sunxi_dw_hdmi_read_edid() 300 ret = dw_hdmi_enable(&priv->hdmi, edid); in sunxi_dw_hdmi_enable() 357 priv->hdmi.ioaddr = SUNXI_HDMI_BASE; in sunxi_dw_hdmi_probe() 358 priv->hdmi.i2c_clk_high = 0xd8; in sunxi_dw_hdmi_probe() 359 priv->hdmi.i2c_clk_low = 0xfe; in sunxi_dw_hdmi_probe() 360 priv->hdmi.reg_io_width = 1; in sunxi_dw_hdmi_probe() 361 priv->hdmi.phy_set = sunxi_dw_hdmi_phy_cfg; in sunxi_dw_hdmi_probe() 364 dw_hdmi_init(&priv->hdmi); in sunxi_dw_hdmi_probe()
|
/external/u-boot/arch/arm/mach-imx/mx6/ |
D | soc.c | 603 struct hdmi_regs *hdmi = (struct hdmi_regs *)HDMI_ARB_BASE_ADDR; in imx_enable_hdmi_phy() local 605 reg = readb(&hdmi->phy_conf0); in imx_enable_hdmi_phy() 607 writeb(reg, &hdmi->phy_conf0); in imx_enable_hdmi_phy() 610 writeb(reg, &hdmi->phy_conf0); in imx_enable_hdmi_phy() 613 writeb(reg, &hdmi->phy_conf0); in imx_enable_hdmi_phy() 614 writeb(HDMI_MC_PHYRSTZ_ASSERT, &hdmi->mc_phyrstz); in imx_enable_hdmi_phy() 620 struct hdmi_regs *hdmi = (struct hdmi_regs *)HDMI_ARB_BASE_ADDR; in imx_setup_hdmi() local 629 writeb(HDMI_MC_PHYRSTZ_DEASSERT, &hdmi->mc_phyrstz); in imx_setup_hdmi() 641 if (readb(&hdmi->ih_fc_stat2) & HDMI_IH_FC_STAT2_OVERFLOW_MASK) { in imx_setup_hdmi() 643 writeb((u8)~HDMI_MC_SWRSTZ_TMDSSWRST_REQ, &hdmi->mc_swrstz); in imx_setup_hdmi() [all …]
|
/external/u-boot/doc/ |
D | README.video | 37 U-Boot supports hdmi and lcd output on Allwinner sunxi SoCs, lcd output 42 - monitor=[none|dvi|hdmi|lcd|vga|composite-*] - Select the video output to use 44 dvi/hdmi: Selects output over the hdmi connector with dvi resp. hdmi output 53 - hpd=[0|1] - Enable use of the hdmi HotPlug Detect feature 54 0: Disabled. Configure dvi/hdmi output even if no cable is detected 58 - hpd_delay=<int> - How long to wait for the hdmi HPD signal in milliseconds 75 For example to always use the hdmi connector, even if no cable is inserted,
|
/external/u-boot/include/ |
D | dw_hdmi.h | 474 int (*phy_set)(struct dw_hdmi *hdmi, uint mpixelclock); 477 int dw_hdmi_phy_cfg(struct dw_hdmi *hdmi, uint mpixelclock); 478 int dw_hdmi_phy_wait_for_hpd(struct dw_hdmi *hdmi); 479 void dw_hdmi_phy_init(struct dw_hdmi *hdmi); 481 int dw_hdmi_enable(struct dw_hdmi *hdmi, const struct display_timing *edid); 482 int dw_hdmi_read_edid(struct dw_hdmi *hdmi, u8 *buf, int buf_size); 483 void dw_hdmi_init(struct dw_hdmi *hdmi);
|
/external/u-boot/arch/arm/dts/ |
D | meson-gxl-s905x-p212.dts | 25 hdmi-connector { 26 compatible = "hdmi-connector"; 41 hdmi-phandle = <&hdmi_tx>;
|
D | imx6q.dtsi | 160 ipu2_di0_hdmi: hdmi-endpoint { 182 ipu2_di1_hdmi: hdmi-endpoint { 212 &hdmi { 213 compatible = "fsl,imx6q-hdmi";
|
D | r8a7793-gose.dts | 257 hdmi-in { 258 compatible = "hdmi-connector"; 268 hdmi-out { 269 compatible = "hdmi-connector"; 327 i2c-bus-name = "i2c-hdmi"; 363 hdmi@39 { 395 hdmi-in@4c { 697 pinctrl-names = "i2c-hdmi";
|
D | r8a7791-porter.dts | 92 hdmi-out { 93 compatible = "hdmi-connector"; 154 i2c-bus-name = "i2c-hdmi"; 177 hdmi@39 { 370 pinctrl-names = "i2c-hdmi";
|
D | r8a7790-lager.dts | 236 hdmi-in { 237 compatible = "hdmi-connector"; 253 hdmi-out { 254 compatible = "hdmi-connector"; 335 i2c-bus-name = "i2c-hdmi"; 358 hdmi@39 { 392 hdmi-in@4c { 818 pinctrl-names = "i2c-hdmi"; 825 pinctrl-names = "i2c-hdmi";
|
D | rk3399-puma.dtsi | 57 dw_hdmi_audio: dw-hdmi-audio { 59 compatible = "rockchip,dw-hdmi-audio"; 63 hdmi_codec: hdmi-codec { 74 sound-dai = <&hdmi>; 78 hdmi_sound: hdmi-sound { 83 simple-audio-card,name = "rockchip,hdmi"; 89 sound-dai = <&hdmi>; 210 &hdmi {
|
D | r8a7791-koelsch.dts | 271 hdmi-in { 272 compatible = "hdmi-connector"; 288 hdmi-out { 289 compatible = "hdmi-connector"; 359 i2c-bus-name = "i2c-hdmi"; 382 hdmi@39 { 416 hdmi-in@4c { 765 pinctrl-names = "i2c-hdmi";
|
D | meson-gxl-s905x-libretech-cc.dts | 42 hdmi-connector { 43 compatible = "hdmi-connector"; 75 hdmi_5v: regulator-hdmi-5v { 130 hdmi-phandle = <&hdmi_tx>;
|
D | r8a7794-silk.dts | 155 hdmi-out { 156 compatible = "hdmi-connector"; 227 i2c-bus-name = "i2c-hdmi"; 250 hdmi@39 { 403 pinctrl-names = "i2c-hdmi";
|
/external/u-boot/arch/arm/mach-imx/ |
D | cmd_hdmidet.c | 12 struct hdmi_regs *hdmi = (struct hdmi_regs *)HDMI_ARB_BASE_ADDR; in do_hdmidet() local 13 return (readb(&hdmi->phy_stat0) & HDMI_DVI_STAT) ? 0 : 1; in do_hdmidet()
|
D | video.c | 61 struct hdmi_regs *hdmi = (struct hdmi_regs *)HDMI_ARB_BASE_ADDR; in detect_hdmi() local 62 return readb(&hdmi->phy_stat0) & HDMI_DVI_STAT; in detect_hdmi()
|
/external/u-boot/arch/arc/dts/ |
D | hsdk.dts | 44 "cpu-clk", "hdmi-pll", 45 "tun-clk", "hdmi-clk", 48 "sdio-clk", "hdmi-sys-clk",
|
/external/u-boot/doc/device-tree-bindings/gpu/ |
D | nvidia,tegra20-host1x.txt | 133 - hdmi: High Definition Multimedia Interface 136 - compatible: "nvidia,tegra<chip>-hdmi" 139 - hdmi-supply: supply for the +5V HDMI connector pin 145 - hdmi 151 - hdmi 339 hdmi { 340 compatible = "nvidia,tegra20-hdmi"; 345 clock-names = "hdmi", "parent"; 347 reset-names = "hdmi";
|
/external/autotest/server/site_tests/audio_AudioArtifacts/ |
D | control.hdmi | 10 NAME = "audio_AudioArtifacts.hdmi" 30 job.run_test("audio_AudioArtifacts", host=host, tag="hdmi",
|
/external/autotest/server/site_tests/audio_AudioVolume/ |
D | control.hdmi | 10 NAME = "audio_AudioVolume.hdmi" 30 job.run_test("audio_AudioVolume", host=host, tag="hdmi",
|