Home
last modified time | relevance | path

Searched full:hdmi (Results 1 – 25 of 1773) sorted by relevance

12345678910>>...71

/OK3568_Linux_fs/kernel/drivers/gpu/drm/bridge/synopsys/
H A Ddw-hdmi.c3 * DesignWare High-Definition Multimedia Interface (HDMI) driver
14 #include <linux/hdmi.h>
40 #include "dw-hdmi-audio.h"
41 #include "dw-hdmi-cec.h"
42 #include "dw-hdmi-hdcp.h"
43 #include "dw-hdmi.h"
51 /* DW-HDMI Controller >= 0x200a are at least compliant with SCDC version 1 */
122 /* For 297 MHz+ HDMI spec have some other rule for setting N */
241 int (*configure)(struct dw_hdmi *hdmi,
319 void (*enable_audio)(struct dw_hdmi *hdmi);
[all …]
H A Ddw-hdmi-qp.c13 #include <linux/hdmi.h>
38 #include "dw-hdmi-qp-audio.h"
39 #include "dw-hdmi-qp.h"
40 #include "dw-hdmi-qp-cec.h"
49 /* DW-HDMI Controller >= 0x200a are at least compliant with SCDC version 1 */
62 * of HDMI Specification 2.1.
119 /* For 297 MHz+ HDMI spec have some other rule for setting N */
216 int (*configure)(struct dw_hdmi_qp *hdmi,
284 void (*enable_audio)(struct dw_hdmi_qp *hdmi);
285 void (*disable_audio)(struct dw_hdmi_qp *hdmi);
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/rockchip/
H A Drk3066_hdmi.c63 static inline u8 hdmi_readb(struct rk3066_hdmi *hdmi, u16 offset) in hdmi_readb() argument
65 return readl_relaxed(hdmi->regs + offset); in hdmi_readb()
68 static inline void hdmi_writeb(struct rk3066_hdmi *hdmi, u16 offset, u32 val) in hdmi_writeb() argument
70 writel_relaxed(val, hdmi->regs + offset); in hdmi_writeb()
73 static inline void hdmi_modb(struct rk3066_hdmi *hdmi, u16 offset, in hdmi_modb() argument
76 u8 temp = hdmi_readb(hdmi, offset) & ~msk; in hdmi_modb()
79 hdmi_writeb(hdmi, offset, temp); in hdmi_modb()
82 static void rk3066_hdmi_i2c_init(struct rk3066_hdmi *hdmi) in rk3066_hdmi_i2c_init() argument
86 ddc_bus_freq = (hdmi->tmdsclk >> 2) / HDMI_SCL_RATE; in rk3066_hdmi_i2c_init()
88 hdmi_writeb(hdmi, HDMI_DDC_BUS_FREQ_L, ddc_bus_freq & 0xFF); in rk3066_hdmi_i2c_init()
[all …]
H A Ddw_hdmi-rockchip.c52 /* need to be unset if hdmi or i2c should control voltage */
146 * @ddc_en_reg: grf register offset of hdmi ddc enable
147 * @lcdsel_big: reg value of selecting vop big for HDMI
148 * @lcdsel_lit: reg value of selecting vop little for HDMI
186 struct dw_hdmi *hdmi; member
803 hdmi_get_tmdsclock(struct rockchip_hdmi *hdmi, unsigned long pixelclock) in hdmi_get_tmdsclock() argument
807 hdmi_bus_fmt_color_depth(hdmi->output_bus_format); in hdmi_get_tmdsclock()
809 if (!hdmi_bus_fmt_is_yuv422(hdmi->output_bus_format)) { in hdmi_get_tmdsclock()
830 struct rockchip_hdmi *hdmi = dev_get_drvdata(dev); in rockchip_hdmi_match_by_id() local
833 return hdmi->id == *id; in rockchip_hdmi_match_by_id()
[all …]
H A Dinno_hdmi.c12 #include <linux/hdmi.h>
24 #include <sound/hdmi-codec.h>
177 static inline u8 hdmi_readb(struct inno_hdmi *hdmi, u16 offset) in hdmi_readb() argument
179 return readl_relaxed(hdmi->regs + (offset) * 0x04); in hdmi_readb()
182 static inline void hdmi_writeb(struct inno_hdmi *hdmi, u16 offset, u32 val) in hdmi_writeb() argument
184 writel_relaxed(val, hdmi->regs + (offset) * 0x04); in hdmi_writeb()
187 static inline void hdmi_modb(struct inno_hdmi *hdmi, u16 offset, in hdmi_modb() argument
190 u8 temp = hdmi_readb(hdmi, offset) & ~msk; in hdmi_modb()
193 hdmi_writeb(hdmi, offset, temp); in hdmi_modb()
196 static void inno_hdmi_i2c_init(struct inno_hdmi *hdmi) in inno_hdmi_i2c_init() argument
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/sun4i/
H A Dsun4i_hdmi_i2c.c25 static int fifo_transfer(struct sun4i_hdmi *hdmi, u8 *buf, int len, bool read) in fifo_transfer() argument
41 (hdmi->variant->ddc_fifo_thres_incl ? 0 : 1); in fifo_transfer()
50 if (regmap_field_read_poll_timeout(hdmi->field_ddc_int_status, reg, in fifo_transfer()
59 readsb(hdmi->base + hdmi->variant->ddc_fifo_reg, buf, len); in fifo_transfer()
61 writesb(hdmi->base + hdmi->variant->ddc_fifo_reg, buf, len); in fifo_transfer()
64 regmap_field_force_write(hdmi->field_ddc_int_status, in fifo_transfer()
70 static int xfer_msg(struct sun4i_hdmi *hdmi, struct i2c_msg *msg) in xfer_msg() argument
76 if (hdmi->variant->ddc_fifo_has_dir) { in xfer_msg()
77 reg = readl(hdmi->base + SUN4I_HDMI_DDC_CTRL_REG); in xfer_msg()
82 writel(reg, hdmi->base + SUN4I_HDMI_DDC_CTRL_REG); in xfer_msg()
[all …]
H A Dsun4i_hdmi_enc.c46 static int sun4i_hdmi_setup_avi_infoframes(struct sun4i_hdmi *hdmi, in sun4i_hdmi_setup_avi_infoframes() argument
54 &hdmi->connector, mode); in sun4i_hdmi_setup_avi_infoframes()
67 writeb(buffer[i], hdmi->base + SUN4I_HDMI_AVI_INFOFRAME_REG(i)); in sun4i_hdmi_setup_avi_infoframes()
86 struct sun4i_hdmi *hdmi = drm_encoder_to_sun4i_hdmi(encoder); in sun4i_hdmi_disable() local
89 DRM_DEBUG_DRIVER("Disabling the HDMI Output\n"); in sun4i_hdmi_disable()
91 val = readl(hdmi->base + SUN4I_HDMI_VID_CTRL_REG); in sun4i_hdmi_disable()
93 writel(val, hdmi->base + SUN4I_HDMI_VID_CTRL_REG); in sun4i_hdmi_disable()
95 clk_disable_unprepare(hdmi->tmds_clk); in sun4i_hdmi_disable()
101 struct sun4i_hdmi *hdmi = drm_encoder_to_sun4i_hdmi(encoder); in sun4i_hdmi_enable() local
104 DRM_DEBUG_DRIVER("Enabling the HDMI Output\n"); in sun4i_hdmi_enable()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/mediatek/
H A Dmtk_hdmi.c10 #include <linux/hdmi.h>
25 #include <sound/hdmi-codec.h>
194 static u32 mtk_hdmi_read(struct mtk_hdmi *hdmi, u32 offset) in mtk_hdmi_read() argument
196 return readl(hdmi->regs + offset); in mtk_hdmi_read()
199 static void mtk_hdmi_write(struct mtk_hdmi *hdmi, u32 offset, u32 val) in mtk_hdmi_write() argument
201 writel(val, hdmi->regs + offset); in mtk_hdmi_write()
204 static void mtk_hdmi_clear_bits(struct mtk_hdmi *hdmi, u32 offset, u32 bits) in mtk_hdmi_clear_bits() argument
206 void __iomem *reg = hdmi->regs + offset; in mtk_hdmi_clear_bits()
214 static void mtk_hdmi_set_bits(struct mtk_hdmi *hdmi, u32 offset, u32 bits) in mtk_hdmi_set_bits() argument
216 void __iomem *reg = hdmi->regs + offset; in mtk_hdmi_set_bits()
[all …]
/OK3568_Linux_fs/u-boot/drivers/video/drm/
H A Ddw_hdmi.c18 #include <linux/hdmi.h>
79 /* For 297 MHz+ HDMI spec have some other rule for setting N */
147 int (*configure)(struct dw_hdmi *hdmi,
204 void (*write)(struct dw_hdmi *hdmi, u8 val, int offset);
205 u8 (*read)(struct dw_hdmi *hdmi, int offset);
213 static void dw_hdmi_writel(struct dw_hdmi *hdmi, u8 val, int offset) in dw_hdmi_writel() argument
215 writel(val, hdmi->regs + (offset << 2)); in dw_hdmi_writel()
218 static u8 dw_hdmi_readl(struct dw_hdmi *hdmi, int offset) in dw_hdmi_readl() argument
220 return readl(hdmi->regs + (offset << 2)); in dw_hdmi_readl()
223 static void dw_hdmi_writeb(struct dw_hdmi *hdmi, u8 val, int offset) in dw_hdmi_writeb() argument
[all …]
H A Ddw_hdmi_qp.c17 #include <linux/hdmi.h>
41 /* DW-HDMI Controller >= 0x200a are at least compliant with SCDC version 1 */
70 int (*configure)(struct dw_hdmi *hdmi,
118 void (*write)(struct dw_hdmi_qp *hdmi, u32 val, int offset);
119 u8 (*read)(struct dw_hdmi_qp *hdmi, int offset);
125 static inline void hdmi_writel(struct dw_hdmi_qp *hdmi, u32 val, int offset) in hdmi_writel() argument
127 writel(val, hdmi->regs + offset); in hdmi_writel()
130 static inline u32 hdmi_readl(struct dw_hdmi_qp *hdmi, int offset) in hdmi_readl() argument
132 return readl(hdmi->regs + offset); in hdmi_readl()
136 hdmi_modb(struct dw_hdmi_qp *hdmi, u32 data, u32 mask, unsigned int reg) in hdmi_modb() argument
[all …]
H A Dinno_hdmi.c13 #include <linux/hdmi.h>
175 static void hdmi_writeb(struct inno_hdmi *hdmi, u16 offset, u32 val) in hdmi_writeb() argument
177 writel(val, hdmi->regs + (offset << 2)); in hdmi_writeb()
180 static u32 hdmi_readb(struct inno_hdmi *hdmi, u16 offset) in hdmi_readb() argument
182 return readl(hdmi->regs + (offset << 2)); in hdmi_readb()
185 static void hdmi_modb(struct inno_hdmi *hdmi, u16 offset, u32 msk, u32 val) in hdmi_modb() argument
187 u32 temp = hdmi_readb(hdmi, offset) & ~msk; in hdmi_modb()
190 hdmi_writeb(hdmi, offset, temp); in hdmi_modb()
193 static void inno_hdmi_sys_power(struct inno_hdmi *hdmi, bool enable) in inno_hdmi_sys_power() argument
196 hdmi_modb(hdmi, HDMI_SYS_CTRL, m_POWER, v_PWR_ON); in inno_hdmi_sys_power()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/omapdrm/dss/
H A Dhdmi4.c3 * HDMI interface DSS driver for TI's OMAP4 family of SoCs.
10 #define DSS_SUBSYS_NAME "HDMI"
27 #include <sound/omap-hdmi-audio.h>
37 #include "hdmi.h"
39 static int hdmi_runtime_get(struct omap_hdmi *hdmi) in hdmi_runtime_get() argument
45 r = pm_runtime_get_sync(&hdmi->pdev->dev); in hdmi_runtime_get()
53 static void hdmi_runtime_put(struct omap_hdmi *hdmi) in hdmi_runtime_put() argument
59 r = pm_runtime_put_sync(&hdmi->pdev->dev); in hdmi_runtime_put()
65 struct omap_hdmi *hdmi = data; in hdmi_irq_handler() local
66 struct hdmi_wp_data *wp = &hdmi->wp; in hdmi_irq_handler()
[all …]
H A Dhdmi5.c3 * HDMI driver for OMAP5
14 #define DSS_SUBSYS_NAME "HDMI"
31 #include <sound/omap-hdmi-audio.h>
40 static int hdmi_runtime_get(struct omap_hdmi *hdmi) in hdmi_runtime_get() argument
46 r = pm_runtime_get_sync(&hdmi->pdev->dev); in hdmi_runtime_get()
54 static void hdmi_runtime_put(struct omap_hdmi *hdmi) in hdmi_runtime_put() argument
60 r = pm_runtime_put_sync(&hdmi->pdev->dev); in hdmi_runtime_put()
66 struct omap_hdmi *hdmi = data; in hdmi_irq_handler() local
67 struct hdmi_wp_data *wp = &hdmi->wp; in hdmi_irq_handler()
90 v = hdmi_read_reg(hdmi->phy.base, HDMI_TXPHY_PAD_CFG_CTRL); in hdmi_irq_handler()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/zte/
H A Dzx_hdmi.c11 #include <linux/hdmi.h>
25 #include <sound/hdmi-codec.h>
55 static inline u8 hdmi_readb(struct zx_hdmi *hdmi, u16 offset) in hdmi_readb() argument
57 return readl_relaxed(hdmi->mmio + offset * 4); in hdmi_readb()
60 static inline void hdmi_writeb(struct zx_hdmi *hdmi, u16 offset, u8 val) in hdmi_writeb() argument
62 writel_relaxed(val, hdmi->mmio + offset * 4); in hdmi_writeb()
65 static inline void hdmi_writeb_mask(struct zx_hdmi *hdmi, u16 offset, in hdmi_writeb_mask() argument
70 tmp = hdmi_readb(hdmi, offset); in hdmi_writeb_mask()
72 hdmi_writeb(hdmi, offset, tmp); in hdmi_writeb_mask()
75 static int zx_hdmi_infoframe_trans(struct zx_hdmi *hdmi, in zx_hdmi_infoframe_trans() argument
[all …]
/OK3568_Linux_fs/u-boot/drivers/video/
H A Ddw_hdmi.c56 static void hdmi_write(struct dw_hdmi *hdmi, u8 val, int offset) in hdmi_write() argument
58 switch (hdmi->reg_io_width) { in hdmi_write()
60 writeb(val, hdmi->ioaddr + offset); in hdmi_write()
63 writel(val, hdmi->ioaddr + (offset << 2)); in hdmi_write()
71 static u8 hdmi_read(struct dw_hdmi *hdmi, int offset) in hdmi_read() argument
73 switch (hdmi->reg_io_width) { in hdmi_read()
75 return readb(hdmi->ioaddr + offset); in hdmi_read()
77 return readl(hdmi->ioaddr + (offset << 2)); in hdmi_read()
86 static void hdmi_mod(struct dw_hdmi *hdmi, unsigned reg, u8 mask, u8 data) in hdmi_mod() argument
88 u8 val = hdmi_read(hdmi, reg) & ~mask; in hdmi_mod()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/sti/
H A Dsti_hdmi.c10 #include <linux/hdmi.h>
25 #include <sound/hdmi-codec.h>
163 struct sti_hdmi *hdmi; member
170 u32 hdmi_read(struct sti_hdmi *hdmi, int offset) in hdmi_read() argument
172 return readl(hdmi->regs + offset); in hdmi_read()
175 void hdmi_write(struct sti_hdmi *hdmi, u32 val, int offset) in hdmi_write() argument
177 writel(val, hdmi->regs + offset); in hdmi_write()
181 * HDMI interrupt handler threaded
188 struct sti_hdmi *hdmi = arg; in hdmi_irq_thread() local
191 if (hdmi->irq_status & HDMI_INT_HOT_PLUG) { in hdmi_irq_thread()
[all …]
/OK3568_Linux_fs/kernel/drivers/misc/rk628/
H A Drk628_hdmitx.c15 #include <linux/hdmi.h>
28 #include <sound/hdmi-codec.h>
185 static u32 hdmi_readb(struct rk628_hdmi *hdmi, u32 reg) in hdmi_readb() argument
189 rk628_i2c_read(hdmi->rk628, reg, &val); in hdmi_readb()
194 static void hdmi_writeb(struct rk628_hdmi *hdmi, u32 reg, u32 val) in hdmi_writeb() argument
196 rk628_i2c_write(hdmi->rk628, reg, val); in hdmi_writeb()
199 static void hdmi_modb(struct rk628_hdmi *hdmi, u32 offset, in hdmi_modb() argument
202 u8 temp = hdmi_readb(hdmi, offset) & ~msk; in hdmi_modb()
205 hdmi_writeb(hdmi, offset, temp); in hdmi_modb()
208 static void rk628_hdmi_i2c_init(struct rk628_hdmi *hdmi) in rk628_hdmi_i2c_init() argument
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/msm/hdmi/
H A Dhdmi.c11 #include <sound/hdmi-codec.h>
12 #include "hdmi.h"
14 void msm_hdmi_set_mode(struct hdmi *hdmi, bool power_on) in msm_hdmi_set_mode() argument
19 spin_lock_irqsave(&hdmi->reg_lock, flags); in msm_hdmi_set_mode()
22 if (!hdmi->hdmi_mode) { in msm_hdmi_set_mode()
24 hdmi_write(hdmi, REG_HDMI_CTRL, ctrl); in msm_hdmi_set_mode()
33 hdmi_write(hdmi, REG_HDMI_CTRL, ctrl); in msm_hdmi_set_mode()
34 spin_unlock_irqrestore(&hdmi->reg_lock, flags); in msm_hdmi_set_mode()
35 DBG("HDMI Core: %s, HDMI_CTRL=0x%08x", in msm_hdmi_set_mode()
41 struct hdmi *hdmi = dev_id; in msm_hdmi_irq() local
[all …]
H A Dhdmi_connector.c12 #include "hdmi.h"
16 struct hdmi *hdmi; member
21 static void msm_hdmi_phy_reset(struct hdmi *hdmi) in msm_hdmi_phy_reset() argument
25 val = hdmi_read(hdmi, REG_HDMI_PHY_CTRL); in msm_hdmi_phy_reset()
29 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in msm_hdmi_phy_reset()
33 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in msm_hdmi_phy_reset()
39 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in msm_hdmi_phy_reset()
43 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in msm_hdmi_phy_reset()
51 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in msm_hdmi_phy_reset()
55 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in msm_hdmi_phy_reset()
[all …]
H A Dhdmi_bridge.c9 #include "hdmi.h"
13 struct hdmi *hdmi; member
25 struct hdmi *hdmi = hdmi_bridge->hdmi; in msm_hdmi_power_on() local
26 const struct hdmi_platform_config *config = hdmi->config; in msm_hdmi_power_on()
29 pm_runtime_get_sync(&hdmi->pdev->dev); in msm_hdmi_power_on()
32 ret = regulator_enable(hdmi->pwr_regs[i]); in msm_hdmi_power_on()
40 DBG("pixclock: %lu", hdmi->pixclock); in msm_hdmi_power_on()
41 ret = clk_set_rate(hdmi->pwr_clks[0], hdmi->pixclock); in msm_hdmi_power_on()
49 ret = clk_prepare_enable(hdmi->pwr_clks[i]); in msm_hdmi_power_on()
61 struct hdmi *hdmi = hdmi_bridge->hdmi; in power_off() local
[all …]
H A Dhdmi_hdcp.c5 #include "hdmi.h"
21 /* QFPROM Registers for HDMI/HDCP */
49 struct hdmi *hdmi; member
78 static int msm_hdmi_ddc_read(struct hdmi *hdmi, u16 addr, u8 offset, in msm_hdmi_ddc_read() argument
99 rc = i2c_transfer(hdmi->i2c, msgs, 2); in msm_hdmi_ddc_read()
116 static int msm_hdmi_ddc_write(struct hdmi *hdmi, u16 addr, u8 offset, in msm_hdmi_ddc_write() argument
141 rc = i2c_transfer(hdmi->i2c, msgs, 1); in msm_hdmi_ddc_write()
159 struct hdmi *hdmi = hdcp_ctrl->hdmi; in msm_hdmi_hdcp_scm_wr() local
167 phy_addr = (u32)hdmi->mmio_phy_addr; in msm_hdmi_hdcp_scm_wr()
190 hdmi_write(hdmi, preg[i], pdata[i]); in msm_hdmi_hdcp_scm_wr()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/tegra/
H A Dhdmi.c10 #include <linux/hdmi.h>
27 #include "hdmi.h"
60 struct regulator *hdmi; member
103 static inline u32 tegra_hdmi_readl(struct tegra_hdmi *hdmi, in tegra_hdmi_readl() argument
106 u32 value = readl(hdmi->regs + (offset << 2)); in tegra_hdmi_readl()
108 trace_hdmi_readl(hdmi->dev, offset, value); in tegra_hdmi_readl()
113 static inline void tegra_hdmi_writel(struct tegra_hdmi *hdmi, u32 value, in tegra_hdmi_writel() argument
116 trace_hdmi_writel(hdmi->dev, offset, value); in tegra_hdmi_writel()
117 writel(value, hdmi->regs + (offset << 2)); in tegra_hdmi_writel()
412 static void tegra_hdmi_setup_audio_fs_tables(struct tegra_hdmi *hdmi) in tegra_hdmi_setup_audio_fs_tables() argument
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/rockchip/rk618/
H A Drk618_hdmi.c12 #include <linux/hdmi.h>
30 #include <sound/hdmi-codec.h>
534 static inline u8 hdmi_readb(struct rk618_hdmi *hdmi, u16 offset) in hdmi_readb() argument
538 regmap_read(hdmi->regmap, (RK618_HDMI_BASE + ((offset) << 2)), &val); in hdmi_readb()
543 static inline void hdmi_writeb(struct rk618_hdmi *hdmi, u16 offset, u32 val) in hdmi_writeb() argument
545 regmap_write(hdmi->regmap, (RK618_HDMI_BASE + ((offset) << 2)), val); in hdmi_writeb()
548 static void rk618_hdmi_set_polarity(struct rk618_hdmi *hdmi, int vic) in rk618_hdmi_set_polarity() argument
558 regmap_update_bits(hdmi->parent->regmap, RK618_MISC_CON, mask, val); in rk618_hdmi_set_polarity()
561 static void rk618_hdmi_pol_init(struct rk618_hdmi *hdmi, int pol) in rk618_hdmi_pol_init() argument
569 regmap_update_bits(hdmi->parent->regmap, RK618_MISC_CON, in rk618_hdmi_pol_init()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/rockchip/rk628/
H A Drk628_hdmi.c14 #include <linux/hdmi.h>
26 #include <sound/hdmi-codec.h>
515 static inline u32 hdmi_readb(struct rk628_hdmi *hdmi, u32 offset) in hdmi_readb() argument
519 regmap_read(hdmi->regmap, (HDMI_BASE + ((offset) * HDMI_REG_STRIDE)), in hdmi_readb()
525 static inline void hdmi_writeb(struct rk628_hdmi *hdmi, u32 offset, u32 val) in hdmi_writeb() argument
527 regmap_write(hdmi->regmap, (HDMI_BASE + ((offset) * HDMI_REG_STRIDE)), in hdmi_writeb()
531 static inline void hdmi_modb(struct rk628_hdmi *hdmi, u32 offset, in hdmi_modb() argument
534 u8 temp = hdmi_readb(hdmi, offset) & ~msk; in hdmi_modb()
537 hdmi_writeb(hdmi, offset, temp); in hdmi_modb()
540 static void rk628_hdmi_i2c_init(struct rk628_hdmi *hdmi) in rk628_hdmi_i2c_init() argument
[all …]
/OK3568_Linux_fs/kernel/drivers/video/fbdev/omap2/omapfb/dss/
H A Dhdmi5.c3 * HDMI driver for OMAP5
14 #define DSS_SUBSYS_NAME "HDMI"
31 #include <sound/omap-hdmi-audio.h>
37 static struct omap_hdmi hdmi; variable
45 r = pm_runtime_get_sync(&hdmi.pdev->dev); in hdmi_runtime_get()
47 pm_runtime_put_sync(&hdmi.pdev->dev); in hdmi_runtime_get()
60 r = pm_runtime_put_sync(&hdmi.pdev->dev); in hdmi_runtime_put()
89 v = hdmi_read_reg(hdmi.phy.base, HDMI_TXPHY_PAD_CFG_CTRL); in hdmi_irq_handler()
92 hdmi_write_reg(hdmi.phy.base, HDMI_TXPHY_PAD_CFG_CTRL, v); in hdmi_irq_handler()
99 REG_FLD_MOD(hdmi.phy.base, HDMI_TXPHY_PAD_CFG_CTRL, 0, 15, 15); in hdmi_irq_handler()
[all …]

12345678910>>...71