Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/gpu/drm/bridge/
Ddw_hdmi.c134 void (*write)(struct dw_hdmi *hdmi, u8 val, int offset);
135 u8 (*read)(struct dw_hdmi *hdmi, int offset);
138 static void dw_hdmi_writel(struct dw_hdmi *hdmi, u8 val, int offset) in dw_hdmi_writel() argument
140 writel(val, hdmi->regs + (offset << 2)); in dw_hdmi_writel()
143 static u8 dw_hdmi_readl(struct dw_hdmi *hdmi, int offset) in dw_hdmi_readl() argument
145 return readl(hdmi->regs + (offset << 2)); in dw_hdmi_readl()
148 static void dw_hdmi_writeb(struct dw_hdmi *hdmi, u8 val, int offset) in dw_hdmi_writeb() argument
150 writeb(val, hdmi->regs + offset); in dw_hdmi_writeb()
153 static u8 dw_hdmi_readb(struct dw_hdmi *hdmi, int offset) in dw_hdmi_readb() argument
155 return readb(hdmi->regs + offset); in dw_hdmi_readb()
[all …]
/linux-4.1.27/drivers/video/fbdev/
Dsh_mobile_hdmi.c292 void (*write)(struct sh_hdmi *hdmi, u8 data, u8 reg);
293 u8 (*read)(struct sh_hdmi *hdmi, u8 reg);
298 static void __hdmi_write8(struct sh_hdmi *hdmi, u8 data, u8 reg) in __hdmi_write8() argument
300 iowrite8(data, hdmi->base + reg); in __hdmi_write8()
303 static u8 __hdmi_read8(struct sh_hdmi *hdmi, u8 reg) in __hdmi_read8() argument
305 return ioread8(hdmi->base + reg); in __hdmi_read8()
308 static void __hdmi_write32(struct sh_hdmi *hdmi, u8 data, u8 reg) in __hdmi_write32() argument
310 iowrite32((u32)data, hdmi->base + (reg * 4)); in __hdmi_write32()
314 static u8 __hdmi_read32(struct sh_hdmi *hdmi, u8 reg) in __hdmi_read32() argument
316 return (u8)ioread32(hdmi->base + (reg * 4)); in __hdmi_read32()
[all …]
/linux-4.1.27/drivers/gpu/drm/sti/
Dsti_hdmi.c119 struct sti_hdmi *hdmi; member
125 u32 hdmi_read(struct sti_hdmi *hdmi, int offset) in hdmi_read() argument
127 return readl(hdmi->regs + offset); in hdmi_read()
130 void hdmi_write(struct sti_hdmi *hdmi, u32 val, int offset) in hdmi_write() argument
132 writel(val, hdmi->regs + offset); in hdmi_write()
143 struct sti_hdmi *hdmi = arg; in hdmi_irq_thread() local
146 if (hdmi->irq_status & HDMI_INT_HOT_PLUG) { in hdmi_irq_thread()
147 hdmi->hpd = readl(hdmi->regs + HDMI_STA) & HDMI_STA_HOT_PLUG; in hdmi_irq_thread()
148 if (hdmi->drm_dev) in hdmi_irq_thread()
149 drm_helper_hpd_irq_event(hdmi->drm_dev); in hdmi_irq_thread()
[all …]
Dsti_hdmi_tx3g0c55phy.c110 static bool disable_pll_rejection(struct sti_hdmi *hdmi) in disable_pll_rejection() argument
116 val = readl(hdmi->syscfg + HDMI_REJECTION_PLL_CONFIGURATION); in disable_pll_rejection()
118 writel(val, hdmi->syscfg + HDMI_REJECTION_PLL_CONFIGURATION); in disable_pll_rejection()
121 val = readl(hdmi->syscfg + HDMI_REJECTION_PLL_STATUS); in disable_pll_rejection()
136 static bool enable_pll_rejection(struct sti_hdmi *hdmi) in enable_pll_rejection() argument
143 if (!disable_pll_rejection(hdmi)) in enable_pll_rejection()
146 inputclock = hdmi->mode.clock * 1000; in enable_pll_rejection()
175 val = readl(hdmi->syscfg + HDMI_REJECTION_PLL_CONFIGURATION); in enable_pll_rejection()
187 writel(val, hdmi->syscfg + HDMI_REJECTION_PLL_CONFIGURATION); in enable_pll_rejection()
190 val = readl(hdmi->syscfg + HDMI_REJECTION_PLL_STATUS); in enable_pll_rejection()
[all …]
Dsti_hdmi_tx3g4c28phy.c74 static bool sti_hdmi_tx3g4c28phy_start(struct sti_hdmi *hdmi) in sti_hdmi_tx3g4c28phy_start() argument
76 u32 ckpxpll = hdmi->mode.clock * 1000; in sti_hdmi_tx3g4c28phy_start()
114 hdmi->event_received = false; in sti_hdmi_tx3g4c28phy_start()
116 hdmi_write(hdmi, (pllctrl | PLL_CFG_EN), HDMI_SRZ_PLL_CFG); in sti_hdmi_tx3g4c28phy_start()
119 wait_event_interruptible_timeout(hdmi->wait_event, in sti_hdmi_tx3g4c28phy_start()
120 hdmi->event_received == true, in sti_hdmi_tx3g4c28phy_start()
124 if ((hdmi_read(hdmi, HDMI_STA) & HDMI_STA_DLL_LCK) == 0) { in sti_hdmi_tx3g4c28phy_start()
149 hdmi_write(hdmi, val, HDMI_SRZ_CFG); in sti_hdmi_tx3g4c28phy_start()
152 hdmi_write(hdmi, val, HDMI_SRZ_ICNTL); in sti_hdmi_tx3g4c28phy_start()
155 hdmi_write(hdmi, val, HDMI_SRZ_CALCODE_EXT); in sti_hdmi_tx3g4c28phy_start()
[all …]
Dsti_hdmi.h23 bool (*start)(struct sti_hdmi *hdmi);
24 void (*stop)(struct sti_hdmi *hdmi);
69 u32 hdmi_read(struct sti_hdmi *hdmi, int offset);
70 void hdmi_write(struct sti_hdmi *hdmi, u32 val, int offset);
Dsti_tvout.c120 struct drm_encoder *hdmi; member
626 tvout->hdmi = sti_tvout_create_hdmi_encoder(dev, tvout); in sti_tvout_create_encoders()
633 if (tvout->hdmi) in sti_tvout_destroy_encoders()
634 drm_encoder_cleanup(tvout->hdmi); in sti_tvout_destroy_encoders()
635 tvout->hdmi = NULL; in sti_tvout_destroy_encoders()
/linux-4.1.27/drivers/gpu/drm/msm/hdmi/
Dhdmi_phy_8x60.c22 struct hdmi *hdmi; member
35 struct hdmi *hdmi = phy_8x60->hdmi; in hdmi_phy_8x60_reset() local
38 val = hdmi_read(hdmi, REG_HDMI_PHY_CTRL); in hdmi_phy_8x60_reset()
42 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in hdmi_phy_8x60_reset()
46 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in hdmi_phy_8x60_reset()
54 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in hdmi_phy_8x60_reset()
58 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in hdmi_phy_8x60_reset()
67 struct hdmi *hdmi = phy_8x60->hdmi; in hdmi_phy_8x60_powerup() local
70 hdmi_write(hdmi, REG_HDMI_8x60_PHY_REG0, in hdmi_phy_8x60_powerup()
75 hdmi_write(hdmi, REG_HDMI_8x60_PHY_REG1, in hdmi_phy_8x60_powerup()
[all …]
Dhdmi.c22 void hdmi_set_mode(struct hdmi *hdmi, bool power_on) in hdmi_set_mode() argument
28 if (!hdmi->hdmi_mode) { in hdmi_set_mode()
30 hdmi_write(hdmi, REG_HDMI_CTRL, ctrl); in hdmi_set_mode()
39 hdmi_write(hdmi, REG_HDMI_CTRL, ctrl); in hdmi_set_mode()
46 struct hdmi *hdmi = dev_id; in hdmi_irq() local
49 hdmi_connector_irq(hdmi->connector); in hdmi_irq()
52 hdmi_i2c_irq(hdmi->i2c); in hdmi_irq()
59 static void hdmi_destroy(struct hdmi *hdmi) in hdmi_destroy() argument
61 struct hdmi_phy *phy = hdmi->phy; in hdmi_destroy()
66 if (hdmi->i2c) in hdmi_destroy()
[all …]
Dhdmi_bridge.c22 struct hdmi *hdmi; member
34 struct hdmi *hdmi = hdmi_bridge->hdmi; in power_on() local
35 const struct hdmi_platform_config *config = hdmi->config; in power_on()
39 ret = regulator_enable(hdmi->pwr_regs[i]); in power_on()
47 DBG("pixclock: %lu", hdmi->pixclock); in power_on()
48 ret = clk_set_rate(hdmi->pwr_clks[0], hdmi->pixclock); in power_on()
56 ret = clk_prepare_enable(hdmi->pwr_clks[i]); in power_on()
68 struct hdmi *hdmi = hdmi_bridge->hdmi; in power_off() local
69 const struct hdmi_platform_config *config = hdmi->config; in power_off()
78 clk_disable_unprepare(hdmi->pwr_clks[i]); in power_off()
[all …]
Dhdmi_phy_8960.c27 struct hdmi *hdmi; member
255 struct hdmi *hdmi = phy_8960->hdmi; in hdmi_pll_enable() local
262 hdmi_write(hdmi, REG_HDMI_8960_PHY_PLL_LOCKDET_CFG2, 0x8d); in hdmi_pll_enable()
263 hdmi_write(hdmi, REG_HDMI_8960_PHY_PLL_LOCKDET_CFG0, 0x10); in hdmi_pll_enable()
264 hdmi_write(hdmi, REG_HDMI_8960_PHY_PLL_LOCKDET_CFG1, 0x1a); in hdmi_pll_enable()
274 hdmi_write(hdmi, REG_HDMI_8960_PHY_PLL_LOCKDET_CFG2, 0x0d); in hdmi_pll_enable()
276 val = hdmi_read(hdmi, REG_HDMI_8960_PHY_REG12); in hdmi_pll_enable()
279 hdmi_write(hdmi, REG_HDMI_8960_PHY_REG12, val); in hdmi_pll_enable()
287 hdmi_write(hdmi, REG_HDMI_8960_PHY_REG12, val); in hdmi_pll_enable()
288 hdmi_write(hdmi, REG_HDMI_8960_PHY_REG2, 0x3f); in hdmi_pll_enable()
[all …]
Dhdmi.h40 struct hdmi { struct
75 struct hdmi_phy *(*phy_init)(struct hdmi *hdmi); argument
100 void hdmi_set_mode(struct hdmi *hdmi, bool power_on);
102 static inline void hdmi_write(struct hdmi *hdmi, u32 reg, u32 data) in hdmi_write() argument
104 msm_writel(data, hdmi->mmio + reg); in hdmi_write()
107 static inline u32 hdmi_read(struct hdmi *hdmi, u32 reg) in hdmi_read() argument
109 return msm_readl(hdmi->mmio + reg); in hdmi_read()
129 struct hdmi_phy *hdmi_phy_8960_init(struct hdmi *hdmi);
130 struct hdmi_phy *hdmi_phy_8x60_init(struct hdmi *hdmi);
131 struct hdmi_phy *hdmi_phy_8x74_init(struct hdmi *hdmi);
[all …]
Dhdmi_connector.c25 struct hdmi *hdmi; member
30 static int gpio_config(struct hdmi *hdmi, bool on) in gpio_config() argument
32 struct drm_device *dev = hdmi->dev; in gpio_config()
33 const struct hdmi_platform_config *config = hdmi->config; in gpio_config()
137 struct hdmi *hdmi = hdmi_connector->hdmi; in hpd_enable() local
138 const struct hdmi_platform_config *config = hdmi->config; in hpd_enable()
140 struct hdmi_phy *phy = hdmi->phy; in hpd_enable()
145 ret = regulator_enable(hdmi->hpd_regs[i]); in hpd_enable()
153 ret = gpio_config(hdmi, true); in hpd_enable()
161 ret = clk_set_rate(hdmi->hpd_clks[i], in hpd_enable()
[all …]
Dhdmi_i2c.c22 struct hdmi *hdmi; member
30 struct hdmi *hdmi = hdmi_i2c->hdmi; in init_ddc() local
32 hdmi_write(hdmi, REG_HDMI_DDC_CTRL, in init_ddc()
34 hdmi_write(hdmi, REG_HDMI_DDC_CTRL, in init_ddc()
37 hdmi_write(hdmi, REG_HDMI_DDC_SPEED, in init_ddc()
41 hdmi_write(hdmi, REG_HDMI_DDC_SETUP, in init_ddc()
45 hdmi_write(hdmi, REG_HDMI_DDC_REF, in init_ddc()
52 struct hdmi *hdmi = hdmi_i2c->hdmi; in ddc_clear_irq() local
53 struct drm_device *dev = hdmi->dev; in ddc_clear_irq()
60 hdmi_write(hdmi, REG_HDMI_DDC_INT_CTRL, in ddc_clear_irq()
[all …]
Dhdmi_audio.c92 int hdmi_audio_update(struct hdmi *hdmi) in hdmi_audio_update() argument
94 struct hdmi_audio *audio = &hdmi->audio; in hdmi_audio_update()
105 DBG("video: power_on=%d, pixclock=%lu", hdmi->power_on, hdmi->pixclock); in hdmi_audio_update()
107 if (enabled && !(hdmi->power_on && hdmi->pixclock)) { in hdmi_audio_update()
113 arcs = get_arcs(hdmi->pixclock); in hdmi_audio_update()
116 hdmi->pixclock); in hdmi_audio_update()
122 acr_pkt_ctrl = hdmi_read(hdmi, REG_HDMI_ACR_PKT_CTRL); in hdmi_audio_update()
123 vbi_pkt_ctrl = hdmi_read(hdmi, REG_HDMI_VBI_PKT_CTRL); in hdmi_audio_update()
124 aud_pkt_ctrl = hdmi_read(hdmi, REG_HDMI_AUDIO_PKT_CTRL1); in hdmi_audio_update()
125 infofrm_ctrl = hdmi_read(hdmi, REG_HDMI_INFOFRAME_CTRL0); in hdmi_audio_update()
[all …]
Dhdmi_phy_8x74.c22 struct hdmi *hdmi; member
47 struct hdmi *hdmi = phy_8x74->hdmi; in hdmi_phy_8x74_reset() local
52 val = hdmi_read(hdmi, REG_HDMI_PHY_CTRL); in hdmi_phy_8x74_reset()
56 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in hdmi_phy_8x74_reset()
60 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in hdmi_phy_8x74_reset()
66 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in hdmi_phy_8x74_reset()
70 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in hdmi_phy_8x74_reset()
78 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in hdmi_phy_8x74_reset()
82 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in hdmi_phy_8x74_reset()
88 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in hdmi_phy_8x74_reset()
[all …]
/linux-4.1.27/drivers/gpu/drm/tegra/
Dhdmi.c49 struct regulator *hdmi; member
92 static inline u32 tegra_hdmi_readl(struct tegra_hdmi *hdmi, in tegra_hdmi_readl() argument
95 return readl(hdmi->regs + (offset << 2)); in tegra_hdmi_readl()
98 static inline void tegra_hdmi_writel(struct tegra_hdmi *hdmi, u32 value, in tegra_hdmi_writel() argument
101 writel(value, hdmi->regs + (offset << 2)); in tegra_hdmi_writel()
452 static void tegra_hdmi_setup_audio_fs_tables(struct tegra_hdmi *hdmi) in tegra_hdmi_setup_audio_fs_tables() argument
475 tegra_hdmi_writel(hdmi, value, HDMI_NV_PDISP_AUDIO_FS(i)); in tegra_hdmi_setup_audio_fs_tables()
479 static int tegra_hdmi_setup_audio(struct tegra_hdmi *hdmi, unsigned int pclk) in tegra_hdmi_setup_audio() argument
481 struct device_node *node = hdmi->dev->of_node; in tegra_hdmi_setup_audio()
486 switch (hdmi->audio_source) { in tegra_hdmi_setup_audio()
[all …]
DMakefile10 hdmi.o \
/linux-4.1.27/drivers/video/fbdev/omap2/dss/
Dhdmi5.c47 static struct omap_hdmi hdmi; variable
55 r = pm_runtime_get_sync(&hdmi.pdev->dev); in hdmi_runtime_get()
69 r = pm_runtime_put_sync(&hdmi.pdev->dev); in hdmi_runtime_put()
98 v = hdmi_read_reg(hdmi.phy.base, HDMI_TXPHY_PAD_CFG_CTRL); in hdmi_irq_handler()
101 hdmi_write_reg(hdmi.phy.base, HDMI_TXPHY_PAD_CFG_CTRL, v); in hdmi_irq_handler()
108 REG_FLD_MOD(hdmi.phy.base, HDMI_TXPHY_PAD_CFG_CTRL, 0, 15, 15); in hdmi_irq_handler()
124 if (hdmi.vdda_reg != NULL) in hdmi_init_regulator()
127 reg = devm_regulator_get(&hdmi.pdev->dev, "vdda"); in hdmi_init_regulator()
142 hdmi.vdda_reg = reg; in hdmi_init_regulator()
151 r = regulator_enable(hdmi.vdda_reg); in hdmi_power_on_core()
[all …]
Dhdmi4.c43 static struct omap_hdmi hdmi; variable
51 r = pm_runtime_get_sync(&hdmi.pdev->dev); in hdmi_runtime_get()
65 r = pm_runtime_put_sync(&hdmi.pdev->dev); in hdmi_runtime_put()
105 if (hdmi.vdda_reg != NULL) in hdmi_init_regulator()
108 reg = devm_regulator_get(&hdmi.pdev->dev, "vdda"); in hdmi_init_regulator()
125 hdmi.vdda_reg = reg; in hdmi_init_regulator()
134 r = regulator_enable(hdmi.vdda_reg); in hdmi_power_on_core()
145 hdmi.core_enabled = true; in hdmi_power_on_core()
150 regulator_disable(hdmi.vdda_reg); in hdmi_power_on_core()
157 hdmi.core_enabled = false; in hdmi_power_off_core()
[all …]
DKconfig29 dispc, dsi, hdmi and rfbi.
83 Definition Multimedia Interface. See http://www.hdmi.org/ for HDMI
/linux-4.1.27/Documentation/devicetree/bindings/drm/msm/
Dhdmi.txt1 Qualcomm adreno/snapdragon hdmi output
5 * "qcom,hdmi-tx-8084"
6 * "qcom,hdmi-tx-8074"
7 * "qcom,hdmi-tx-8660"
8 * "qcom,hdmi-tx-8960"
11 - interrupts: The interrupt signal from the hdmi block.
14 - qcom,hdmi-tx-ddc-clk-gpio: ddc clk pin
15 - qcom,hdmi-tx-ddc-data-gpio: ddc data pin
16 - qcom,hdmi-tx-hpd-gpio: hpd pin
18 - hdmi-mux-supply: phandle to mux regulator
[all …]
Dmdp.txt31 connectors = <&hdmi>;
/linux-4.1.27/sound/pci/oxygen/
Dxonar_hdmi.c48 struct xonar_hdmi *hdmi) in xonar_hdmi_init_commands() argument
57 hdmi_write_command(chip, 0x54, 5, hdmi->params); in xonar_hdmi_init_commands()
60 void xonar_hdmi_init(struct oxygen *chip, struct xonar_hdmi *hdmi) in xonar_hdmi_init() argument
62 hdmi->params[1] = IEC958_AES3_CON_FS_48000; in xonar_hdmi_init()
63 hdmi->params[4] = 1; in xonar_hdmi_init()
64 xonar_hdmi_init_commands(chip, hdmi); in xonar_hdmi_init()
74 void xonar_hdmi_resume(struct oxygen *chip, struct xonar_hdmi *hdmi) in xonar_hdmi_resume() argument
76 xonar_hdmi_init_commands(chip, hdmi); in xonar_hdmi_resume()
91 void xonar_set_hdmi_params(struct oxygen *chip, struct xonar_hdmi *hdmi, in xonar_set_hdmi_params() argument
94 hdmi->params[0] = 0; /* 1 = non-audio */ in xonar_set_hdmi_params()
[all …]
Dxonar.h47 void xonar_hdmi_resume(struct oxygen *chip, struct xonar_hdmi *hdmi);
50 void xonar_set_hdmi_params(struct oxygen *chip, struct xonar_hdmi *hdmi,
Dxonar_pcm179x.c239 struct xonar_hdmi hdmi; member
404 xonar_hdmi_init(chip, &data->hdmi); in xonar_hdav_init()
594 xonar_hdmi_resume(chip, &data->hdmi); in xonar_hdav_resume()
713 xonar_set_hdmi_params(chip, &data->hdmi, params); in set_hdav_params()
Dxonar_wm87x6.c98 struct xonar_hdmi hdmi; member
310 xonar_hdmi_init(chip, &data->hdmi); in xonar_hdav_slim_init()
353 xonar_hdmi_resume(chip, &data->hdmi); in xonar_hdav_slim_resume()
399 xonar_set_hdmi_params(chip, &data->hdmi, params); in set_hdav_slim_dac_params()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/disp/
Dhdmigk104.c35 const u32 hdmi = (head * 0x400); in gk104_hdmi_ctrl() local
58 nv_mask(priv, 0x6900c0 + hdmi, 0x00000001, 0x00000000); in gk104_hdmi_ctrl()
59 nv_mask(priv, 0x690000 + hdmi, 0x00000001, 0x00000000); in gk104_hdmi_ctrl()
64 nv_mask(priv, 0x690000 + hdmi, 0x00000001, 0x00000000); in gk104_hdmi_ctrl()
65 nv_wr32(priv, 0x690008 + hdmi, 0x000d0282); in gk104_hdmi_ctrl()
66 nv_wr32(priv, 0x69000c + hdmi, 0x0000006f); in gk104_hdmi_ctrl()
67 nv_wr32(priv, 0x690010 + hdmi, 0x00000000); in gk104_hdmi_ctrl()
68 nv_wr32(priv, 0x690014 + hdmi, 0x00000000); in gk104_hdmi_ctrl()
69 nv_wr32(priv, 0x690018 + hdmi, 0x00000000); in gk104_hdmi_ctrl()
70 nv_mask(priv, 0x690000 + hdmi, 0x00000001, 0x00000001); in gk104_hdmi_ctrl()
[all …]
Dgm107.c83 priv->sor.hdmi = gk104_hdmi_ctrl; in gm107_disp_ctor()
Dgt215.c83 priv->sor.hdmi = gt215_hdmi_ctrl; in gt215_disp_ctor()
Dgk110.c83 priv->sor.hdmi = gk104_hdmi_ctrl; in gk110_disp_ctor()
Dgt200.c127 priv->sor.hdmi = g84_hdmi_ctrl; in gt200_disp_ctor()
Dgm204.c84 priv->sor.hdmi = gf110_hdmi_ctrl; in gm204_disp_ctor()
Dg94.c111 priv->sor.hdmi = g84_hdmi_ctrl; in g94_disp_ctor()
Dgk104.c248 priv->sor.hdmi = gk104_hdmi_ctrl; in gk104_disp_ctor()
Dg84.c251 priv->sor.hdmi = g84_hdmi_ctrl; in g84_disp_ctor()
Dnv50.h33 int (*hdmi)(NV50_DISP_MTHD_V1); member
Dnv50.c1051 if (!priv->sor.hdmi) in nv50_disp_main_mthd()
1053 return priv->sor.hdmi(object, priv, data, size, head, outp); in nv50_disp_main_mthd()
Dgf110.c1284 priv->sor.hdmi = gf110_hdmi_ctrl; in gf110_disp_ctor()
/linux-4.1.27/drivers/gpu/drm/rockchip/
Ddw_hdmi-rockchip.c144 static int rockchip_hdmi_parse_dt(struct rockchip_hdmi *hdmi) in rockchip_hdmi_parse_dt() argument
146 struct device_node *np = hdmi->dev->of_node; in rockchip_hdmi_parse_dt()
148 hdmi->regmap = syscon_regmap_lookup_by_phandle(np, "rockchip,grf"); in rockchip_hdmi_parse_dt()
149 if (IS_ERR(hdmi->regmap)) { in rockchip_hdmi_parse_dt()
150 dev_err(hdmi->dev, "Unable to get rockchip,grf\n"); in rockchip_hdmi_parse_dt()
151 return PTR_ERR(hdmi->regmap); in rockchip_hdmi_parse_dt()
200 struct rockchip_hdmi *hdmi = to_rockchip_hdmi(encoder); in dw_hdmi_rockchip_encoder_commit() local
204 mux = rockchip_drm_encoder_get_mux_id(hdmi->dev->of_node, encoder); in dw_hdmi_rockchip_encoder_commit()
210 regmap_write(hdmi->regmap, GRF_SOC_CON6, val); in dw_hdmi_rockchip_encoder_commit()
211 dev_dbg(hdmi->dev, "vop %s output to hdmi\n", in dw_hdmi_rockchip_encoder_commit()
[all …]
/linux-4.1.27/drivers/gpu/drm/imx/
Ddw_hdmi-imx.c84 static int dw_hdmi_imx_parse_dt(struct imx_hdmi *hdmi) in dw_hdmi_imx_parse_dt() argument
86 struct device_node *np = hdmi->dev->of_node; in dw_hdmi_imx_parse_dt()
88 hdmi->regmap = syscon_regmap_lookup_by_phandle(np, "gpr"); in dw_hdmi_imx_parse_dt()
89 if (IS_ERR(hdmi->regmap)) { in dw_hdmi_imx_parse_dt()
90 dev_err(hdmi->dev, "Unable to get gpr\n"); in dw_hdmi_imx_parse_dt()
91 return PTR_ERR(hdmi->regmap); in dw_hdmi_imx_parse_dt()
116 struct imx_hdmi *hdmi = container_of(encoder, struct imx_hdmi, encoder); in dw_hdmi_imx_encoder_commit() local
117 int mux = imx_drm_encoder_get_mux_id(hdmi->dev->of_node, encoder); in dw_hdmi_imx_encoder_commit()
119 regmap_update_bits(hdmi->regmap, IOMUXC_GPR3, in dw_hdmi_imx_encoder_commit()
198 struct imx_hdmi *hdmi; in dw_hdmi_imx_bind() local
[all …]
/linux-4.1.27/Documentation/devicetree/bindings/video/
Dexynos_hdmi.txt1 Device-Tree bindings for drm hdmi driver
5 1) "samsung,exynos5-hdmi" <DEPRECATED>
6 2) "samsung,exynos4210-hdmi"
7 3) "samsung,exynos4212-hdmi"
8 4) "samsung,exynos5420-hdmi"
9 - reg: physical base address of the hdmi and length of memory mapped
17 a) hdmi: Gate of HDMI IP bus clock.
28 "hdmi", "sclk_hdmi", "sclk_pixel", "sclk_hdmiphy" and "mout_hdmi".
29 - ddc: phandle to the hdmi ddc node
30 - phy: phandle to the hdmi phy node
[all …]
Ddw_hdmi-rockchip.txt5 - compatible: "rockchip,rk3288-dw-hdmi";
7 - clocks: phandle to hdmi iahb and isfr clocks.
22 hdmi: hdmi@ff980000 {
23 compatible = "rockchip,rk3288-dw-hdmi";
Dhdmi-connector.txt5 - compatible: "hdmi-connector"
19 compatible = "hdmi-connector";
20 label = "hdmi";
Dsimple-framebuffer-sunxi.txt16 "de_be0-lcd0-hdmi"
17 "de_be1-lcd1-hdmi"
28 allwinner,pipeline = "de_be0-lcd0-hdmi";
Dti,omap-dss.txt68 hdmi: encoder@58006000 {
69 compatible = "ti,omap4-hdmi";
174 compatible = "hdmi-connector";
175 label = "hdmi";
199 &hdmi {
Dexynos_mixer.txt18 c) hdmi: Gate of HDMI IP bus clock, needed together with sclk_hdmi.
Dti,dra7-dss.txt54 - compatible: "ti,dra7-hdmi"
Dti,omap5-dss.txt81 - compatible: "ti,omap5-hdmi"
Dti,omap4-dss.txt100 - compatible: "ti,omap4-hdmi"
Dadi,adv7511.txt58 adv7511w: hdmi@39 {
/linux-4.1.27/drivers/gpu/drm/msm/
DMakefile8 hdmi/hdmi.o \
9 hdmi/hdmi_audio.o \
10 hdmi/hdmi_bridge.o \
11 hdmi/hdmi_connector.o \
12 hdmi/hdmi_i2c.o \
13 hdmi/hdmi_phy_8960.o \
14 hdmi/hdmi_phy_8x60.o \
15 hdmi/hdmi_phy_8x74.o \
Dmsm_drv.h77 struct hdmi *hdmi; member
230 struct hdmi;
231 int hdmi_modeset_init(struct hdmi *hdmi, struct drm_device *dev,
DNOTES82 (the mdp4/hdmi/dsi directories)
/linux-4.1.27/Documentation/devicetree/bindings/drm/bridge/
Ddw_hdmi.txt5 * "snps,dw-hdmi-tx"
6 * "fsl,imx6q-hdmi"
7 * "fsl,imx6dl-hdmi"
8 * "rockchip,rk3288-dw-hdmi"
17 * Documentation/devicetree/bindings/drm/imx/hdmi.txt
26 hdmi: hdmi@0120000 {
27 compatible = "fsl,imx6q-hdmi";
/linux-4.1.27/drivers/video/fbdev/omap2/displays-new/
Dconnector-hdmi.c64 r = in->ops.hdmi->connect(in, dssdev); in hdmic_connect()
81 in->ops.hdmi->disconnect(in, dssdev); in hdmic_disconnect()
98 in->ops.hdmi->set_timings(in, &ddata->timings); in hdmic_enable()
100 r = in->ops.hdmi->enable(in); in hdmic_enable()
119 in->ops.hdmi->disable(in); in hdmic_disable()
133 in->ops.hdmi->set_timings(in, timings); in hdmic_set_timings()
150 return in->ops.hdmi->check_timings(in, timings); in hdmic_check_timings()
159 return in->ops.hdmi->read_edid(in, edid, len); in hdmic_read_edid()
170 return in->ops.hdmi->detect(in); in hdmic_detect()
178 return in->ops.hdmi->set_hdmi_mode(in, hdmi_mode); in hdmic_set_hdmi_mode()
[all …]
Dencoder-tpd12s015.c43 r = in->ops.hdmi->connect(in, dssdev); in tpd_connect()
73 in->ops.hdmi->disconnect(in, &ddata->dssdev); in tpd_disconnect()
85 in->ops.hdmi->set_timings(in, &ddata->timings); in tpd_enable()
87 r = in->ops.hdmi->enable(in); in tpd_enable()
104 in->ops.hdmi->disable(in); in tpd_disable()
118 in->ops.hdmi->set_timings(in, timings); in tpd_set_timings()
136 r = in->ops.hdmi->check_timings(in, timings); in tpd_check_timings()
154 r = in->ops.hdmi->read_edid(in, edid, len); in tpd_read_edid()
175 return in->ops.hdmi->set_infoframe(in, avi); in tpd_set_infoframe()
184 return in->ops.hdmi->set_hdmi_mode(in, hdmi_mode); in tpd_set_hdmi_mode()
[all …]
DMakefile5 obj-$(CONFIG_DISPLAY_CONNECTOR_HDMI) += connector-hdmi.o
/linux-4.1.27/Documentation/devicetree/bindings/drm/imx/
Dhdmi.txt12 - compatible : should be "fsl,imx6q-hdmi" or "fsl,imx6dl-hdmi".
32 hdmi: hdmi@0120000 {
35 compatible = "fsl,imx6q-hdmi";
/linux-4.1.27/arch/arm/boot/dts/
Dstih407.dtsi108 sti-hdmi@8d04000 {
109 compatible = "st,stih407-hdmi";
111 reg-names = "hdmi-reg";
128 hdmi,hpd-gpio = <&pio5 3>;
129 reset-names = "hdmi";
Dstih410.dtsi179 sti-hdmi@8d04000 {
180 compatible = "st,stih407-hdmi";
182 reg-names = "hdmi-reg";
199 hdmi,hpd-gpio = <&pio5 3>;
200 reset-names = "hdmi";
Domap4-duovero-parlor.dts44 compatible = "hdmi-connector";
45 label = "hdmi";
178 &hdmi {
Dimx6dl.dtsi109 &hdmi {
110 compatible = "fsl,imx6dl-hdmi";
Dexynos4x12.dtsi302 hdmi: hdmi@12D00000 { label
303 compatible = "samsung,exynos4212-hdmi";
308 clock-names = "mixer", "hdmi", "sclk_hdmi", "vp";
Domap4-var-om44customboard.dtsi49 compatible = "hdmi-connector";
52 label = "hdmi";
224 &hdmi {
Dstih418-clock.dtsi262 clk_tmdsout_hdmi: clk-tmdsout-hdmi {
289 "clk-tmds-hdmi-div2",
297 "clk-pix-hdmi",
298 "clk-tmds-hdmi",
Domap5-uevm.dts110 compatible = "hdmi-connector";
111 label = "hdmi";
485 /* VDDAPHY_DISP: vdda_dsiport/hdmi */
492 /* VDDA_1V8_PHY: usb/sata/hdmi.. */
666 &hdmi {
Dstih407-clock.dtsi247 clk_tmdsout_hdmi: clk-tmdsout-hdmi {
282 "clk-pix-hdmi",
283 "clk-tmds-hdmi",
Dexynos4210-universal_c210.dts509 hdmi_en: voltage-regulator-hdmi-5v {
534 hdmi@12D00000 {
538 hdmi-en-supply = <&hdmi_en>;
552 hdmi_hpd: hdmi-hpd {
Domap5-cm-t54.dts116 compatible = "hdmi-connector";
117 label = "hdmi";
538 /* VDDAPHY_DISP: vdda_dsiport/hdmi */
545 /* VDDA_1V8_PHY: usb/sata/hdmi.. */
666 &hdmi {
Dstih410-clock.dtsi259 clk_tmdsout_hdmi: clk-tmdsout-hdmi {
294 "clk-pix-hdmi",
295 "clk-tmds-hdmi",
Dtegra20-iris-512.dts15 hdmi@54280000 {
Dimx6q.dtsi230 &hdmi {
231 compatible = "fsl,imx6q-hdmi";
Dexynos5260-xyref5260.dts43 hdmi_hpd_irq: hdmi-hpd-irq {
Dtegra20-plutux.dts10 hdmi@54280000 {
Dexynos5250.dtsi752 hdmi: hdmi { label
753 compatible = "samsung,exynos4212-hdmi";
760 clock-names = "hdmi", "sclk_hdmi", "sclk_pixel",
772 clock-names = "mixer", "hdmi", "sclk_hdmi";
Dimx6qdl-udoo.dtsi46 &hdmi {
Dtegra20-tec.dts10 hdmi@54280000 {
Dr8a7790-lager.dts226 hdmi-out {
227 compatible = "hdmi-connector";
547 hdmi@39 {
Domap4-panda-common.dtsi177 compatible = "hdmi-connector";
178 label = "hdmi";
534 &hdmi {
Dam335x-base0033.dts17 hdmi {
Dimx6qdl-cubox-i.dtsi123 &hdmi {
151 pinctrl_cubox_i_hdmi: cubox-i-hdmi {
Dimx6qdl-hummingboard.dtsi124 &hdmi {
176 pinctrl_hummingboard_hdmi: hummingboard-hdmi {
Dexynos5420.dtsi726 hdmi: hdmi@14530000 { label
727 compatible = "samsung,exynos5420-hdmi";
733 clock-names = "hdmi", "sclk_hdmi", "sclk_pixel",
751 clock-names = "mixer", "hdmi", "sclk_hdmi";
Dr8a7791-koelsch.dts262 hdmi-out {
263 compatible = "hdmi-connector";
544 hdmi@39 {
Dexynos5250-spring.dts90 &hdmi {
96 hdmi-en-supply = <&ldo8_reg>;
519 hdmi_hpd_irq: hdmi-hpd-irq {
Dam335x-boneblack.dts74 hdmi {
Dexynos5422-odroidxu3.dts290 &hdmi {
333 hdmi_hpd_irq: hdmi-hpd-irq {
Dimx6q-gk802.dts52 &hdmi {
Domap4-sdp.dts193 compatible = "hdmi-connector";
194 label = "hdmi";
690 &hdmi {
Dtegra114.dtsi82 hdmi@54280000 {
83 compatible = "nvidia,tegra114-hdmi";
88 clock-names = "hdmi", "parent";
90 reset-names = "hdmi";
Dexynos4.dtsi692 hdmi: hdmi@12D00000 { label
693 compatible = "samsung,exynos4210-hdmi";
696 clock-names = "hdmi", "sclk_hdmi", "sclk_pixel", "sclk_hdmiphy",
Dtegra20.dtsi113 hdmi@54280000 {
114 compatible = "nvidia,tegra20-hdmi";
119 clock-names = "hdmi", "parent";
121 reset-names = "hdmi";
Dimx6qdl-phytec-pbab01.dtsi112 &hdmi {
Dexynos5420-smdk5420.dts135 hdmi_hpd_irq: hdmi-hpd-irq {
159 hdmi@14530000 {
Dtegra30-colibri-eval-v3.dts25 hdmi@54280000 {
Dexynos5250-snow.dts292 &hdmi {
298 hdmi-en-supply = <&tps65090_fet7>;
646 hdmi_hpd_irq: hdmi-hpd-irq {
Dtegra20-trimslice.dts21 hdmi@54280000 {
116 nvidia,function = "hdmi";
Dtegra30.dtsi198 hdmi@54280000 {
199 compatible = "nvidia,tegra30-hdmi";
204 clock-names = "hdmi", "parent";
206 reset-names = "hdmi";
Dexynos4412-odroid-common.dtsi464 hdmi@12D00000 {
505 hdmi_hpd: hdmi-hpd {
Dimx6qdl-gw552x.dtsi98 &hdmi {
Dimx6qdl-wandboard.dtsi67 &hdmi {
Dtegra20-tamonten.dtsi18 hdmi@54280000 {
108 nvidia,function = "hdmi";
Dexynos5250-arndale.dts100 regulator-name = "hdmi-en";
151 &hdmi {
Dtegra30-apalis-eval.dts43 hdmi@54280000 {
Drk3288-evb.dtsi129 &hdmi {
Dtegra20-harmony.dts29 hdmi@54280000 {
32 hdmi-supply = <&vdd_5v0_hdmi>;
126 nvidia,function = "hdmi";
Dtegra20-colibri-512.dtsi17 hdmi@54280000 {
88 nvidia,function = "hdmi";
Dtegra20-paz00.dts30 hdmi@54280000 {
111 nvidia,function = "hdmi";
Dtegra124.dtsi127 hdmi@0,54280000 {
128 compatible = "nvidia,tegra124-hdmi";
133 clock-names = "hdmi", "parent";
135 reset-names = "hdmi";
Dsun5i-a10s-r7-tv-dongle.dts56 model = "R7 A10s hdmi tv-stick";
Dimx6qdl-gw51xx.dtsi108 &hdmi {
Dstih416-clock.dtsi602 clock-output-names = "clk-s-pix-hdmi",
614 "clk-s-tmds-hdmi",
615 "clk-s-hdmi-reject-pll",
Dimx6qdl-rex.dtsi115 &hdmi {
Dexynos4210.dtsi233 clock-names = "mixer", "hdmi", "sclk_hdmi", "vp", "mout_mixer",
Dtegra124-nyan.dtsi16 hdmi@0,54280000 {
21 hdmi-supply = <&vdd_5v0_hdmi>;
Dtegra20-whistler.dts21 hdmi@54280000 {
109 nvidia,function = "hdmi";
Dexynos5420-peach-pit.dts172 &hdmi {
179 hdmi-en-supply = <&tps65090_fet7>;
827 hdmi_hpd_irq: hdmi-hpd-irq {
Dexynos5800-peach-pi.dts159 &hdmi {
166 hdmi-en-supply = <&tps65090_fet7>;
790 hdmi_hpd_irq: hdmi-hpd-irq {
Dtegra20-ventana.dts29 hdmi@54280000 {
125 nvidia,function = "hdmi";
Dtegra114-tn7.dts223 regulator-name = "va-hdmi";
Dtegra30-colibri.dtsi17 hdmi@54280000 {
Dimx6qdl-gw52xx.dtsi168 &hdmi {
Dimx6qdl-sabrelite.dtsi176 &hdmi {
Dimx6qdl-nitrogen6x.dtsi177 &hdmi {
Drk3288.dtsi668 hdmi: hdmi@ff980000 { label
669 compatible = "rockchip,rk3288-dw-hdmi";
Dimx6qdl-gw53xx.dtsi169 &hdmi {
Dexynos5250-smdk5250.dts115 &hdmi {
Dimx6q-tbs2910.dts157 &hdmi {
Dimx6q-gw5400-a.dts162 &hdmi {
Dimx6qdl-gw54xx.dtsi159 &hdmi {
Dimx6dl-riotboard.dts103 &hdmi {
Dsun4i-a10.dtsi34 allwinner,pipeline = "de_be0-lcd0-hdmi";
42 allwinner,pipeline = "de_fe0-de_be0-lcd0-hdmi";
Dtegra20-seaboard.dts29 hdmi@54280000 {
126 nvidia,function = "hdmi";
Drk3288-popmetal.dts142 &hdmi {
Dimx6qdl-sabresd.dtsi168 &hdmi {
Drk3288-firefly.dtsi198 &hdmi {
Domap4.dtsi991 hdmi: encoder@58006000 { label
992 compatible = "ti,omap4-hdmi";
Dtegra114-roth.dts899 regulator-name = "avdd-hdmi-pll";
926 regulator-name = "avdd-usb-hdmi";
Dtegra124-venice2.dts21 hdmi@0,54280000 {
26 hdmi-supply = <&vdd_5v0_hdmi>;
Dimx6qdl.dtsi781 hdmi: hdmi@0120000 { label
Dtegra114-dalmore.dts26 hdmi@54280000 {
29 hdmi-supply = <&vdd_5v0_hdmi>;
Domap5.dtsi1054 hdmi: encoder@58060000 { label
1055 compatible = "ti,omap5-hdmi";
Dtegra30-apalis.dtsi35 hdmi@54280000 {
Dsun5i-a10s.dtsi33 allwinner,pipeline = "de_be0-lcd0-hdmi";
Dtegra124-jetson-tk1.dts43 hdmi@0,54280000 {
46 hdmi-supply = <&vdd_5v0_hdmi>;
Dtegra30-beaver.dts47 hdmi@54280000 {
50 hdmi-supply = <&vdd_5v0_hdmi>;
Dsun6i-a31.dtsi70 allwinner,pipeline = "de_be0-lcd0-hdmi";
Dsun7i-a20.dtsi72 allwinner,pipeline = "de_be0-lcd0-hdmi";
/linux-4.1.27/Documentation/devicetree/bindings/sound/
Dhdmi.txt4 - compatible: should be "linux,hdmi-audio".
15 compatible = "linux,hdmi-audio";
/linux-4.1.27/drivers/media/platform/s5p-tv/
DMakefile13 obj-$(CONFIG_VIDEO_SAMSUNG_S5P_HDMI) += s5p-hdmi.o
14 s5p-hdmi-y += hdmi_drv.o
Dhdmi_drv.c65 struct clk *hdmi; member
777 res->hdmi = ERR_PTR(-EINVAL); in hdmi_resource_clear_clocks()
802 if (!IS_ERR(res->hdmi)) in hdmi_resources_cleanup()
803 clk_put(res->hdmi); in hdmi_resources_cleanup()
826 res->hdmi = clk_get(dev, "hdmi"); in hdmi_resources_init()
827 if (IS_ERR(res->hdmi)) { in hdmi_resources_init()
993 clk_enable(hdmi_dev->res.hdmi); in hdmi_probe()
1034 clk_disable(hdmi_dev->res.hdmi); in hdmi_remove()
/linux-4.1.27/sound/soc/omap/
DMakefile6 snd-soc-omap-hdmi-audio-objs := omap-hdmi-audio.o
12 obj-$(CONFIG_SND_OMAP_SOC_HDMI_AUDIO) += snd-soc-omap-hdmi-audio.o
DKconfig21 The hdmi audio driver implements cpu-dai component using the
25 as codec component. The hdmi audio driver implements also
27 The device for the dirver is registered by OMAPDSS hdmi
/linux-4.1.27/drivers/gpu/drm/radeon/
Dr600_hdmi.c475 u32 hdmi = HDMI0_ERROR_ACK; in r600_hdmi_enable() local
483 hdmi |= HDMI0_ENABLE; in r600_hdmi_enable()
488 hdmi |= HDMI0_STREAM(HDMI0_STREAM_TMDSA); in r600_hdmi_enable()
496 hdmi |= HDMI0_STREAM(HDMI0_STREAM_LVTMA); in r600_hdmi_enable()
504 hdmi |= HDMI0_STREAM(HDMI0_STREAM_DDIA); in r600_hdmi_enable()
511 hdmi |= HDMI0_STREAM(HDMI0_STREAM_DVOA); in r600_hdmi_enable()
518 WREG32(HDMI0_CONTROL + dig->afmt->offset, hdmi); in r600_hdmi_enable()
/linux-4.1.27/Documentation/devicetree/bindings/clock/st/
Dst,clkgen-vcc.txt45 clock-output-names = "clk-s-pix-hdmi",
57 "clk-s-tmds-hdmi",
58 "clk-s-hdmi-reject-pll",
/linux-4.1.27/Documentation/devicetree/bindings/clock/
Dexynos5260-clock.txt37 - "phyclk_hdmi_phy_tmds_clko" - hdmi phy tmds clock
38 - "phyclk_hdmi_phy_pixel_clko" - hdmi phy pixel clock
39 - "phyclk_hdmi_link_o_tmds_clkhi" - hdmi phy for hdmi link
/linux-4.1.27/drivers/gpu/drm/i2c/
Dtda998x_drv.c35 struct i2c_client *hdmi; member
385 struct i2c_client *client = priv->hdmi; in set_page()
404 struct i2c_client *client = priv->hdmi; in reg_read_range()
433 struct i2c_client *client = priv->hdmi; in reg_write_range()
467 struct i2c_client *client = priv->hdmi; in reg_write()
486 struct i2c_client *client = priv->hdmi; in reg_write16()
1061 if (priv->hdmi->irq) { in read_edid_block()
1066 dev_err(&priv->hdmi->dev, "read edid wait err %d\n", i); in read_edid_block()
1081 dev_err(&priv->hdmi->dev, "read edid timeout\n"); in read_edid_block()
1087 dev_err(&priv->hdmi->dev, "failed to read edid block %d: %d\n", in read_edid_block()
[all …]
/linux-4.1.27/Documentation/devicetree/bindings/gpu/
Dst,stih4xx.txt57 - sti-hdmi: hdmi output block
60 - compatible: "st,stih<chip>-hdmi";
200 sti-hdmi@fe85c000 {
201 compatible = "st,stih416-hdmi";
203 reg-names = "hdmi-reg", "syscfg";
Dnvidia,tegra20-host1x.txt133 - 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
345 hdmi {
346 compatible = "nvidia,tegra20-hdmi";
351 clock-names = "hdmi", "parent";
353 reset-names = "hdmi";
/linux-4.1.27/sound/pci/hda/
DMakefile26 snd-hda-codec-hdmi-objs := patch_hdmi.o hda_eld.o
44 obj-$(CONFIG_SND_HDA_CODEC_HDMI) += snd-hda-codec-hdmi.o
Dhda_auto_parser.c716 bool hdmi; in snd_hda_get_pin_label() local
735 hdmi = is_hdmi_cfg(def_conf); in snd_hda_get_pin_label()
736 name = hdmi ? "HDMI" : "SPDIF"; in snd_hda_get_pin_label()
744 if (hdmi == is_hdmi_cfg(c)) in snd_hda_get_pin_label()
Dpatch_hdmi.c178 struct hdmi_audio_infoframe hdmi; member
1075 struct hdmi_audio_infoframe *hdmi_ai = &ai.hdmi; in hdmi_pin_setup_infoframe()
/linux-4.1.27/drivers/gpu/drm/rcar-du/
Drcar_du_hdmienc.c32 #define to_rcar_hdmienc(e) (to_rcar_encoder(e)->hdmi)
160 renc->hdmi = hdmienc; in rcar_du_hdmienc_init()
Drcar_du_encoder.h35 struct rcar_du_hdmienc *hdmi; member
/linux-4.1.27/drivers/video/
DMakefile2 obj-$(CONFIG_HDMI) += hdmi.o
Dhdmi.c402 return hdmi_vendor_infoframe_pack(&frame->hdmi, buffer, size); in hdmi_vendor_any_infoframe_pack()
942 struct hdmi_vendor_infoframe *hvf = &frame->hdmi; in hdmi_vendor_any_infoframe_log()
1160 struct hdmi_vendor_infoframe *hvf = &frame->hdmi; in hdmi_vendor_any_infoframe_unpack()
/linux-4.1.27/Documentation/devicetree/bindings/drm/tilcdc/
Dslave.txt13 hdmi {
/linux-4.1.27/Documentation/devicetree/bindings/drm/i2c/
Dtda998x.txt22 tda998x: hdmi-encoder {
/linux-4.1.27/drivers/gpu/drm/i915/
Dintel_hdmi.c63 return &intel_dig_port->hdmi; in enc_to_intel_hdmi()
474 ret = drm_hdmi_vendor_infoframe_from_display_mode(&frame.vendor.hdmi, in intel_hdmi_set_hdmi_infoframe()
488 struct intel_hdmi *intel_hdmi = &intel_dig_port->hdmi; in g4x_set_infoframes()
543 struct intel_hdmi *intel_hdmi = &intel_dig_port->hdmi; in ibx_set_infoframes()
921 static int hdmi_portclock_limit(struct intel_hdmi *hdmi, bool respect_dvi_limit) in hdmi_portclock_limit() argument
923 struct drm_device *dev = intel_hdmi_to_dev(hdmi); in hdmi_portclock_limit()
925 if ((respect_dvi_limit && !hdmi->has_hdmi_sink) || IS_G4X(dev)) in hdmi_portclock_limit()
1279 struct intel_hdmi *intel_hdmi = &dport->hdmi; in vlv_hdmi_pre_enable()
1476 struct intel_hdmi *intel_hdmi = &dport->hdmi; in chv_hdmi_pre_enable()
1663 struct intel_hdmi *intel_hdmi = &intel_dig_port->hdmi; in intel_hdmi_init_connector()
[all …]
Dintel_drv.h680 struct intel_hdmi hdmi; member
798 return container_of(intel_hdmi, struct intel_digital_port, hdmi); in hdmi_to_dig_port()
Dintel_ddi.c2221 intel_dig_port->hdmi.hdmi_reg = DDI_BUF_CTL(port); in intel_ddi_init_hdmi_connector()
/linux-4.1.27/drivers/pinctrl/qcom/
Dpinctrl-apq8064.c474 FUNCTION(hdmi),
559 PINGROUP(69, hdmi, NA, NA, NA, NA, NA, NA, NA, NA, NA),
560 PINGROUP(70, hdmi, NA, NA, NA, NA, NA, NA, NA, NA, NA),
561 PINGROUP(71, hdmi, NA, NA, NA, NA, NA, NA, NA, NA, NA),
562 PINGROUP(72, hdmi, NA, NA, NA, NA, NA, NA, NA, NA, NA),
/linux-4.1.27/drivers/gpu/drm/exynos/
Dexynos_mixer.c60 struct clk *hdmi; member
773 mixer_res->hdmi = devm_clk_get(dev, "hdmi"); in mixer_resources_init()
774 if (IS_ERR(mixer_res->hdmi)) { in mixer_resources_init()
776 return PTR_ERR(mixer_res->hdmi); in mixer_resources_init()
1045 clk_prepare_enable(res->hdmi); in mixer_poweron()
1085 clk_disable_unprepare(res->hdmi); in mixer_poweroff()
Dexynos_hdmi.c80 struct clk *hdmi; member
2058 clk_prepare_enable(res->hdmi); in hdmi_poweron()
2082 clk_disable_unprepare(res->hdmi); in hdmi_poweroff()
2183 res->hdmi = devm_clk_get(dev, "hdmi"); in hdmi_resources_init()
2184 if (IS_ERR(res->hdmi)) { in hdmi_resources_init()
2186 ret = PTR_ERR(res->hdmi); in hdmi_resources_init()
/linux-4.1.27/Documentation/DocBook/
D.drm.xml.cmd2 …m/drm_flip_work.h drivers/gpu/drm/drm_flip_work.c include/linux/hdmi.h drivers/video/hdmi.c driver…
/linux-4.1.27/drivers/gpu/drm/
Ddrm_edid.c3017 const u8 *db, *hdmi = NULL, *video = NULL; in add_cea_modes() local
3037 hdmi = db; in add_cea_modes()
3047 if (hdmi) in add_cea_modes()
3048 modes += do_hdmi_vsdb_modes(connector, hdmi, hdmi_len, video, in add_cea_modes()
3502 u8 *edid_ext, *hdmi; in drm_assign_hdmi_deep_color_info() local
3523 hdmi = &edid_ext[i]; in drm_assign_hdmi_deep_color_info()
3524 if (cea_db_payload_len(hdmi) < 6) in drm_assign_hdmi_deep_color_info()
3527 if (hdmi[6] & DRM_EDID_HDMI_DC_30) { in drm_assign_hdmi_deep_color_info()
3534 if (hdmi[6] & DRM_EDID_HDMI_DC_36) { in drm_assign_hdmi_deep_color_info()
3541 if (hdmi[6] & DRM_EDID_HDMI_DC_48) { in drm_assign_hdmi_deep_color_info()
[all …]
/linux-4.1.27/include/linux/
Dhdmi.h307 struct hdmi_vendor_infoframe hdmi; member
/linux-4.1.27/Documentation/devicetree/bindings/regulator/
Das3722-regulator.txt77 regulator-name = "avdd-hdmi-pex";
/linux-4.1.27/drivers/gpu/drm/msm/mdp/mdp4/
Dmdp4_kms.c362 if (priv->hdmi) { in modeset_init()
364 ret = hdmi_modeset_init(priv->hdmi, dev, encoder); in modeset_init()
/linux-4.1.27/drivers/gpu/drm/msm/mdp/mdp5/
Dmdp5_kms.c252 if (!priv->hdmi) in modeset_init_intf()
262 ret = hdmi_modeset_init(priv->hdmi, dev, encoder); in modeset_init_intf()
/linux-4.1.27/Documentation/devicetree/bindings/pinctrl/
Dqcom,apq8064-pinctrl.txt52 gsbi7_spi_cs2, gsbi7_spi_cs3, gsbi_cam_i2c, hdmi, mi2s, riva_bt, riva_fm,
Dnvidia,tegra30-pinmux.txt98 extperiph3, gmi, gmi_alt, hda, hdcp, hdmi, hsi, i2c1, i2c2, i2c3,
Dnvidia,tegra20-pinmux.txt110 hdmi, i2cp, i2c1, i2c2, i2c3, ide, irda, kbc, mio, mipi_hs, nand,
/linux-4.1.27/sound/soc/codecs/
DMakefile72 snd-soc-hdmi-codec-objs := hdmi.o
257 obj-$(CONFIG_SND_SOC_HDMI_CODEC) += snd-soc-hdmi-codec.o
/linux-4.1.27/Documentation/devicetree/bindings/mfd/
Das3722.txt199 regulator-name = "avdd-hdmi-pex";
Dqcom-rpm.txt156 l29, lvs1, lvs2, lvs3, lvs4, lvs5, lvs6, lvs7, usb-switch, hdmi-switch,
/linux-4.1.27/drivers/pinctrl/bcm/
Dpinctrl-bcm281xx.c424 BCM281XX_PIN_DESC(BCM281XX_PIN_HDMI_SCL, "hdmi_scl", hdmi),
425 BCM281XX_PIN_DESC(BCM281XX_PIN_HDMI_SDA, "hdmi_sda", hdmi),
/linux-4.1.27/include/video/
Domapdss.h753 const struct omapdss_hdmi_ops *hdmi; member
/linux-4.1.27/drivers/pinctrl/meson/
Dpinctrl-meson8b.c829 FUNCTION(hdmi),
Dpinctrl-meson8.c891 FUNCTION(hdmi),
/linux-4.1.27/drivers/pinctrl/sh-pfc/
Dpfc-r8a7740.c2815 SH_PFC_PIN_GROUP(hdmi),
3219 SH_PFC_FUNCTION(hdmi),
/linux-4.1.27/drivers/pinctrl/
Dpinctrl-tegra20.c1918 FUNCTION(hdmi),
Dpinctrl-tegra30.c2045 FUNCTION(hdmi),
/linux-4.1.27/Documentation/sound/alsa/
DHD-Audio.txt567 options snd-hda-intel patch=on-board-patch,hdmi-patch