Home
last modified time | relevance | path

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

12345678910>>...107

/kernel/linux/linux-6.6/drivers/gpu/drm/bridge/synopsys/
Ddw-hdmi.c3 * DesignWare High-Definition Multimedia Interface (HDMI) driver
12 #include <linux/hdmi.h>
38 #include "dw-hdmi-audio.h"
39 #include "dw-hdmi-cec.h"
40 #include "dw-hdmi.h"
47 /* DW-HDMI Controller >= 0x200a are at least compliant with SCDC version 1 */
125 int (*configure)(struct dw_hdmi *hdmi,
191 void (*enable_audio)(struct dw_hdmi *hdmi);
192 void (*disable_audio)(struct dw_hdmi *hdmi);
210 static inline void hdmi_writeb(struct dw_hdmi *hdmi, u8 val, int offset) in hdmi_writeb() argument
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/sun4i/
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 …]
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 …]
/kernel/linux/linux-6.6/drivers/gpu/drm/sun4i/
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 ioread8_rep(hdmi->base + hdmi->variant->ddc_fifo_reg, buf, len); in fifo_transfer()
61 iowrite8_rep(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 …]
/kernel/linux/linux-5.10/drivers/gpu/drm/rockchip/
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 …]
Dinno_hdmi.c12 #include <linux/hdmi.h>
149 static inline u8 hdmi_readb(struct inno_hdmi *hdmi, u16 offset) in hdmi_readb() argument
151 return readl_relaxed(hdmi->regs + (offset) * 0x04); in hdmi_readb()
154 static inline void hdmi_writeb(struct inno_hdmi *hdmi, u16 offset, u32 val) in hdmi_writeb() argument
156 writel_relaxed(val, hdmi->regs + (offset) * 0x04); in hdmi_writeb()
159 static inline void hdmi_modb(struct inno_hdmi *hdmi, u16 offset, in hdmi_modb() argument
162 u8 temp = hdmi_readb(hdmi, offset) & ~msk; in hdmi_modb()
165 hdmi_writeb(hdmi, offset, temp); in hdmi_modb()
168 static void inno_hdmi_i2c_init(struct inno_hdmi *hdmi) in inno_hdmi_i2c_init() argument
172 ddc_bus_freq = (hdmi->tmds_rate >> 2) / HDMI_SCL_RATE; in inno_hdmi_i2c_init()
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/rockchip/
Drk3066_hdmi.c73 static inline u8 hdmi_readb(struct rk3066_hdmi *hdmi, u16 offset) in hdmi_readb() argument
75 return readl_relaxed(hdmi->regs + offset); in hdmi_readb()
78 static inline void hdmi_writeb(struct rk3066_hdmi *hdmi, u16 offset, u32 val) in hdmi_writeb() argument
80 writel_relaxed(val, hdmi->regs + offset); in hdmi_writeb()
83 static inline void hdmi_modb(struct rk3066_hdmi *hdmi, u16 offset, in hdmi_modb() argument
86 u8 temp = hdmi_readb(hdmi, offset) & ~msk; in hdmi_modb()
89 hdmi_writeb(hdmi, offset, temp); in hdmi_modb()
92 static void rk3066_hdmi_i2c_init(struct rk3066_hdmi *hdmi) in rk3066_hdmi_i2c_init() argument
96 ddc_bus_freq = (hdmi->tmdsclk >> 2) / HDMI_SCL_RATE; in rk3066_hdmi_i2c_init()
98 hdmi_writeb(hdmi, HDMI_DDC_BUS_FREQ_L, ddc_bus_freq & 0xFF); in rk3066_hdmi_i2c_init()
[all …]
Dinno_hdmi.c12 #include <linux/hdmi.h>
159 static inline u8 hdmi_readb(struct inno_hdmi *hdmi, u16 offset) in hdmi_readb() argument
161 return readl_relaxed(hdmi->regs + (offset) * 0x04); in hdmi_readb()
164 static inline void hdmi_writeb(struct inno_hdmi *hdmi, u16 offset, u32 val) in hdmi_writeb() argument
166 writel_relaxed(val, hdmi->regs + (offset) * 0x04); in hdmi_writeb()
169 static inline void hdmi_modb(struct inno_hdmi *hdmi, u16 offset, in hdmi_modb() argument
172 u8 temp = hdmi_readb(hdmi, offset) & ~msk; in hdmi_modb()
175 hdmi_writeb(hdmi, offset, temp); in hdmi_modb()
178 static void inno_hdmi_i2c_init(struct inno_hdmi *hdmi) in inno_hdmi_i2c_init() argument
182 ddc_bus_freq = (hdmi->tmds_rate >> 2) / HDMI_SCL_RATE; in inno_hdmi_i2c_init()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/synopsys/
Ddw-hdmi.c3 * DesignWare High-Definition Multimedia Interface (HDMI) driver
12 #include <linux/hdmi.h>
37 #include "dw-hdmi-audio.h"
38 #include "dw-hdmi-cec.h"
39 #include "dw-hdmi.h"
46 /* DW-HDMI Controller >= 0x200a are at least compliant with SCDC version 1 */
138 int (*configure)(struct dw_hdmi *hdmi,
200 void (*enable_audio)(struct dw_hdmi *hdmi);
201 void (*disable_audio)(struct dw_hdmi *hdmi);
219 static inline void hdmi_writeb(struct dw_hdmi *hdmi, u8 val, int offset) in hdmi_writeb() argument
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/hdmi/
Dhdmi.c16 #include <sound/hdmi-codec.h>
17 #include "hdmi.h"
19 void msm_hdmi_set_mode(struct hdmi *hdmi, bool power_on) in msm_hdmi_set_mode() argument
24 spin_lock_irqsave(&hdmi->reg_lock, flags); in msm_hdmi_set_mode()
27 if (!hdmi->hdmi_mode) { in msm_hdmi_set_mode()
29 hdmi_write(hdmi, REG_HDMI_CTRL, ctrl); in msm_hdmi_set_mode()
38 hdmi_write(hdmi, REG_HDMI_CTRL, ctrl); in msm_hdmi_set_mode()
39 spin_unlock_irqrestore(&hdmi->reg_lock, flags); in msm_hdmi_set_mode()
40 DBG("HDMI Core: %s, HDMI_CTRL=0x%08x", in msm_hdmi_set_mode()
46 struct hdmi *hdmi = dev_id; in msm_hdmi_irq() local
[all …]
Dhdmi_hpd.c12 #include "hdmi.h"
14 static void msm_hdmi_phy_reset(struct hdmi *hdmi) in msm_hdmi_phy_reset() argument
18 val = hdmi_read(hdmi, REG_HDMI_PHY_CTRL); in msm_hdmi_phy_reset()
22 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in msm_hdmi_phy_reset()
26 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in msm_hdmi_phy_reset()
32 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in msm_hdmi_phy_reset()
36 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in msm_hdmi_phy_reset()
44 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in msm_hdmi_phy_reset()
48 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in msm_hdmi_phy_reset()
54 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in msm_hdmi_phy_reset()
[all …]
Dhdmi_bridge.c12 #include "hdmi.h"
26 struct hdmi *hdmi = hdmi_bridge->hdmi; in msm_hdmi_power_on() local
27 const struct hdmi_platform_config *config = hdmi->config; in msm_hdmi_power_on()
30 pm_runtime_get_sync(&hdmi->pdev->dev); in msm_hdmi_power_on()
32 ret = regulator_bulk_enable(config->pwr_reg_cnt, hdmi->pwr_regs); in msm_hdmi_power_on()
37 DBG("pixclock: %lu", hdmi->pixclock); in msm_hdmi_power_on()
38 ret = clk_set_rate(hdmi->pwr_clks[0], hdmi->pixclock); in msm_hdmi_power_on()
46 ret = clk_prepare_enable(hdmi->pwr_clks[i]); in msm_hdmi_power_on()
58 struct hdmi *hdmi = hdmi_bridge->hdmi; in power_off() local
59 const struct hdmi_platform_config *config = hdmi->config; in power_off()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/mediatek/
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 …]
/kernel/linux/linux-6.6/drivers/gpu/drm/omapdrm/dss/
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>
38 #include "hdmi.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()
48 pm_runtime_put_noidle(&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
[all …]
Dhdmi5.c3 * HDMI driver for OMAP5
14 #define DSS_SUBSYS_NAME "HDMI"
31 #include <sound/omap-hdmi-audio.h>
41 static int hdmi_runtime_get(struct omap_hdmi *hdmi) in hdmi_runtime_get() argument
47 r = pm_runtime_get_sync(&hdmi->pdev->dev); in hdmi_runtime_get()
49 pm_runtime_put_noidle(&hdmi->pdev->dev); in hdmi_runtime_get()
55 static void hdmi_runtime_put(struct omap_hdmi *hdmi) in hdmi_runtime_put() argument
61 r = pm_runtime_put_sync(&hdmi->pdev->dev); in hdmi_runtime_put()
67 struct omap_hdmi *hdmi = data; in hdmi_irq_handler() local
68 struct hdmi_wp_data *wp = &hdmi->wp; in hdmi_irq_handler()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/dss/
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 …]
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 …]
/kernel/linux/linux-6.6/drivers/gpu/drm/mediatek/
Dmtk_hdmi.c10 #include <linux/hdmi.h>
24 #include <sound/hdmi-codec.h>
190 static u32 mtk_hdmi_read(struct mtk_hdmi *hdmi, u32 offset) in mtk_hdmi_read() argument
192 return readl(hdmi->regs + offset); in mtk_hdmi_read()
195 static void mtk_hdmi_write(struct mtk_hdmi *hdmi, u32 offset, u32 val) in mtk_hdmi_write() argument
197 writel(val, hdmi->regs + offset); in mtk_hdmi_write()
200 static void mtk_hdmi_clear_bits(struct mtk_hdmi *hdmi, u32 offset, u32 bits) in mtk_hdmi_clear_bits() argument
202 void __iomem *reg = hdmi->regs + offset; in mtk_hdmi_clear_bits()
210 static void mtk_hdmi_set_bits(struct mtk_hdmi *hdmi, u32 offset, u32 bits) in mtk_hdmi_set_bits() argument
212 void __iomem *reg = hdmi->regs + offset; in mtk_hdmi_set_bits()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/zte/
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 …]
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/hdmi/
Dhdmi.c13 #include <sound/hdmi-codec.h>
14 #include "hdmi.h"
16 void msm_hdmi_set_mode(struct hdmi *hdmi, bool power_on) in msm_hdmi_set_mode() argument
21 spin_lock_irqsave(&hdmi->reg_lock, flags); in msm_hdmi_set_mode()
24 if (!hdmi->hdmi_mode) { in msm_hdmi_set_mode()
26 hdmi_write(hdmi, REG_HDMI_CTRL, ctrl); in msm_hdmi_set_mode()
35 hdmi_write(hdmi, REG_HDMI_CTRL, ctrl); in msm_hdmi_set_mode()
36 spin_unlock_irqrestore(&hdmi->reg_lock, flags); in msm_hdmi_set_mode()
37 DBG("HDMI Core: %s, HDMI_CTRL=0x%08x", in msm_hdmi_set_mode()
43 struct hdmi *hdmi = dev_id; in msm_hdmi_irq() local
[all …]
Dhdmi_hpd.c12 #include "hdmi.h"
14 static void msm_hdmi_phy_reset(struct hdmi *hdmi) in msm_hdmi_phy_reset() argument
18 val = hdmi_read(hdmi, REG_HDMI_PHY_CTRL); in msm_hdmi_phy_reset()
22 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in msm_hdmi_phy_reset()
26 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in msm_hdmi_phy_reset()
32 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in msm_hdmi_phy_reset()
36 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in msm_hdmi_phy_reset()
44 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in msm_hdmi_phy_reset()
48 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in msm_hdmi_phy_reset()
54 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in msm_hdmi_phy_reset()
[all …]
Dhdmi_bridge.c11 #include "hdmi.h"
24 struct hdmi *hdmi = hdmi_bridge->hdmi; in msm_hdmi_power_on() local
25 const struct hdmi_platform_config *config = hdmi->config; in msm_hdmi_power_on()
28 pm_runtime_get_sync(&hdmi->pdev->dev); in msm_hdmi_power_on()
31 ret = regulator_enable(hdmi->pwr_regs[i]); in msm_hdmi_power_on()
39 DBG("pixclock: %lu", hdmi->pixclock); in msm_hdmi_power_on()
40 ret = clk_set_rate(hdmi->pwr_clks[0], hdmi->pixclock); in msm_hdmi_power_on()
48 ret = clk_prepare_enable(hdmi->pwr_clks[i]); in msm_hdmi_power_on()
60 struct hdmi *hdmi = hdmi_bridge->hdmi; in power_off() local
61 const struct hdmi_platform_config *config = hdmi->config; in power_off()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/sti/
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 …]
/kernel/linux/linux-6.6/drivers/gpu/drm/sti/
Dsti_hdmi.c10 #include <linux/hdmi.h>
26 #include <sound/hdmi-codec.h>
164 struct sti_hdmi *hdmi; member
177 u32 hdmi_read(struct sti_hdmi *hdmi, int offset) in hdmi_read() argument
179 return readl(hdmi->regs + offset); in hdmi_read()
182 void hdmi_write(struct sti_hdmi *hdmi, u32 val, int offset) in hdmi_write() argument
184 writel(val, hdmi->regs + offset); in hdmi_write()
188 * HDMI interrupt handler threaded
195 struct sti_hdmi *hdmi = arg; in hdmi_irq_thread() local
198 if (hdmi->irq_status & HDMI_INT_HOT_PLUG) { in hdmi_irq_thread()
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/tegra/
Dhdmi.c10 #include <linux/hdmi.h>
21 #include <sound/hdmi-codec.h>
33 #include "hdmi.h"
66 struct regulator *hdmi; member
112 static inline u32 tegra_hdmi_readl(struct tegra_hdmi *hdmi, in tegra_hdmi_readl() argument
115 u32 value = readl(hdmi->regs + (offset << 2)); in tegra_hdmi_readl()
117 trace_hdmi_readl(hdmi->dev, offset, value); in tegra_hdmi_readl()
122 static inline void tegra_hdmi_writel(struct tegra_hdmi *hdmi, u32 value, in tegra_hdmi_writel() argument
125 trace_hdmi_writel(hdmi->dev, offset, value); in tegra_hdmi_writel()
126 writel(value, hdmi->regs + (offset << 2)); in tegra_hdmi_writel()
[all …]

12345678910>>...107