Home
last modified time | relevance | path

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

12345678910>>...87

/kernel/linux/linux-4.19/drivers/gpu/drm/bridge/synopsys/
Ddw-hdmi.c2 * DesignWare High-Definition Multimedia Interface (HDMI) driver
19 #include <linux/hdmi.h>
36 #include "dw-hdmi.h"
37 #include "dw-hdmi-audio.h"
38 #include "dw-hdmi-cec.h"
126 int (*configure)(struct dw_hdmi *hdmi,
183 void (*enable_audio)(struct dw_hdmi *hdmi);
184 void (*disable_audio)(struct dw_hdmi *hdmi);
197 static inline void hdmi_writeb(struct dw_hdmi *hdmi, u8 val, int offset) in hdmi_writeb() argument
199 regmap_write(hdmi->regm, offset << hdmi->reg_shift, val); in hdmi_writeb()
[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-4.19/drivers/gpu/drm/sun4i/
Dsun4i_hdmi_i2c.c29 static int fifo_transfer(struct sun4i_hdmi *hdmi, u8 *buf, int len, bool read) in fifo_transfer() argument
45 (hdmi->variant->ddc_fifo_thres_incl ? 0 : 1); in fifo_transfer()
54 if (regmap_field_read_poll_timeout(hdmi->field_ddc_int_status, reg, in fifo_transfer()
63 readsb(hdmi->base + hdmi->variant->ddc_fifo_reg, buf, len); in fifo_transfer()
65 writesb(hdmi->base + hdmi->variant->ddc_fifo_reg, buf, len); in fifo_transfer()
68 regmap_field_force_write(hdmi->field_ddc_int_status, in fifo_transfer()
74 static int xfer_msg(struct sun4i_hdmi *hdmi, struct i2c_msg *msg) in xfer_msg() argument
80 if (hdmi->variant->ddc_fifo_has_dir) { in xfer_msg()
81 reg = readl(hdmi->base + SUN4I_HDMI_DDC_CTRL_REG); in xfer_msg()
86 writel(reg, hdmi->base + SUN4I_HDMI_DDC_CTRL_REG); in xfer_msg()
[all …]
Dsun4i_hdmi_enc.c48 static int sun4i_hdmi_setup_avi_infoframes(struct sun4i_hdmi *hdmi, in sun4i_hdmi_setup_avi_infoframes() argument
68 writeb(buffer[i], hdmi->base + SUN4I_HDMI_AVI_INFOFRAME_REG(i)); in sun4i_hdmi_setup_avi_infoframes()
87 struct sun4i_hdmi *hdmi = drm_encoder_to_sun4i_hdmi(encoder); in sun4i_hdmi_disable() local
90 DRM_DEBUG_DRIVER("Disabling the HDMI Output\n"); in sun4i_hdmi_disable()
92 val = readl(hdmi->base + SUN4I_HDMI_VID_CTRL_REG); in sun4i_hdmi_disable()
94 writel(val, hdmi->base + SUN4I_HDMI_VID_CTRL_REG); in sun4i_hdmi_disable()
96 clk_disable_unprepare(hdmi->tmds_clk); in sun4i_hdmi_disable()
102 struct sun4i_hdmi *hdmi = drm_encoder_to_sun4i_hdmi(encoder); in sun4i_hdmi_enable() local
105 DRM_DEBUG_DRIVER("Enabling the HDMI Output\n"); in sun4i_hdmi_enable()
107 clk_prepare_enable(hdmi->tmds_clk); in sun4i_hdmi_enable()
[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-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-4.19/drivers/gpu/drm/mediatek/
Dmtk_hdmi.c22 #include <linux/hdmi.h>
34 #include <sound/hdmi-codec.h>
187 static u32 mtk_hdmi_read(struct mtk_hdmi *hdmi, u32 offset) in mtk_hdmi_read() argument
189 return readl(hdmi->regs + offset); in mtk_hdmi_read()
192 static void mtk_hdmi_write(struct mtk_hdmi *hdmi, u32 offset, u32 val) in mtk_hdmi_write() argument
194 writel(val, hdmi->regs + offset); in mtk_hdmi_write()
197 static void mtk_hdmi_clear_bits(struct mtk_hdmi *hdmi, u32 offset, u32 bits) in mtk_hdmi_clear_bits() argument
199 void __iomem *reg = hdmi->regs + offset; in mtk_hdmi_clear_bits()
207 static void mtk_hdmi_set_bits(struct mtk_hdmi *hdmi, u32 offset, u32 bits) in mtk_hdmi_set_bits() argument
209 void __iomem *reg = hdmi->regs + offset; in mtk_hdmi_set_bits()
[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-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-4.19/drivers/gpu/drm/omapdrm/dss/
Dhdmi4.c2 * HDMI interface DSS driver for TI's OMAP4 family of SoCs.
21 #define DSS_SUBSYS_NAME "HDMI"
39 #include <sound/omap-hdmi-audio.h>
46 #include "hdmi.h"
48 static int hdmi_runtime_get(struct omap_hdmi *hdmi) in hdmi_runtime_get() argument
54 r = pm_runtime_get_sync(&hdmi->pdev->dev); in hdmi_runtime_get()
62 static void hdmi_runtime_put(struct omap_hdmi *hdmi) in hdmi_runtime_put() argument
68 r = pm_runtime_put_sync(&hdmi->pdev->dev); in hdmi_runtime_put()
74 struct omap_hdmi *hdmi = data; in hdmi_irq_handler() local
75 struct hdmi_wp_data *wp = &hdmi->wp; in hdmi_irq_handler()
[all …]
Dhdmi5.c2 * HDMI driver for OMAP5
25 #define DSS_SUBSYS_NAME "HDMI"
43 #include <sound/omap-hdmi-audio.h>
49 static int hdmi_runtime_get(struct omap_hdmi *hdmi) in hdmi_runtime_get() argument
55 r = pm_runtime_get_sync(&hdmi->pdev->dev); in hdmi_runtime_get()
63 static void hdmi_runtime_put(struct omap_hdmi *hdmi) in hdmi_runtime_put() argument
69 r = pm_runtime_put_sync(&hdmi->pdev->dev); in hdmi_runtime_put()
75 struct omap_hdmi *hdmi = data; in hdmi_irq_handler() local
76 struct hdmi_wp_data *wp = &hdmi->wp; in hdmi_irq_handler()
99 v = hdmi_read_reg(hdmi->phy.base, HDMI_TXPHY_PAD_CFG_CTRL); in hdmi_irq_handler()
[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-4.19/drivers/gpu/drm/zte/
Dzx_hdmi.c15 #include <linux/hdmi.h>
28 #include <sound/hdmi-codec.h>
58 static inline u8 hdmi_readb(struct zx_hdmi *hdmi, u16 offset) in hdmi_readb() argument
60 return readl_relaxed(hdmi->mmio + offset * 4); in hdmi_readb()
63 static inline void hdmi_writeb(struct zx_hdmi *hdmi, u16 offset, u8 val) in hdmi_writeb() argument
65 writel_relaxed(val, hdmi->mmio + offset * 4); in hdmi_writeb()
68 static inline void hdmi_writeb_mask(struct zx_hdmi *hdmi, u16 offset, in hdmi_writeb_mask() argument
73 tmp = hdmi_readb(hdmi, offset); in hdmi_writeb_mask()
75 hdmi_writeb(hdmi, offset, tmp); in hdmi_writeb_mask()
78 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.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 …]
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 …]
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 …]
/kernel/linux/linux-4.19/drivers/gpu/drm/msm/hdmi/
Dhdmi.c22 #include <sound/hdmi-codec.h>
23 #include "hdmi.h"
25 void msm_hdmi_set_mode(struct hdmi *hdmi, bool power_on) in msm_hdmi_set_mode() argument
30 spin_lock_irqsave(&hdmi->reg_lock, flags); in msm_hdmi_set_mode()
33 if (!hdmi->hdmi_mode) { in msm_hdmi_set_mode()
35 hdmi_write(hdmi, REG_HDMI_CTRL, ctrl); in msm_hdmi_set_mode()
44 hdmi_write(hdmi, REG_HDMI_CTRL, ctrl); in msm_hdmi_set_mode()
45 spin_unlock_irqrestore(&hdmi->reg_lock, flags); in msm_hdmi_set_mode()
46 DBG("HDMI Core: %s, HDMI_CTRL=0x%08x", in msm_hdmi_set_mode()
52 struct hdmi *hdmi = dev_id; in msm_hdmi_irq() local
[all …]
/kernel/linux/linux-4.19/drivers/gpu/drm/rockchip/
Dinno_hdmi.c20 #include <linux/hdmi.h>
157 static inline u8 hdmi_readb(struct inno_hdmi *hdmi, u16 offset) in hdmi_readb() argument
159 return readl_relaxed(hdmi->regs + (offset) * 0x04); in hdmi_readb()
162 static inline void hdmi_writeb(struct inno_hdmi *hdmi, u16 offset, u32 val) in hdmi_writeb() argument
164 writel_relaxed(val, hdmi->regs + (offset) * 0x04); in hdmi_writeb()
167 static inline void hdmi_modb(struct inno_hdmi *hdmi, u16 offset, in hdmi_modb() argument
170 u8 temp = hdmi_readb(hdmi, offset) & ~msk; in hdmi_modb()
173 hdmi_writeb(hdmi, offset, temp); in hdmi_modb()
176 static void inno_hdmi_i2c_init(struct inno_hdmi *hdmi) in inno_hdmi_i2c_init() argument
180 ddc_bus_freq = (hdmi->tmds_rate >> 2) / HDMI_SCL_RATE; in inno_hdmi_i2c_init()
[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-4.19/drivers/gpu/drm/sti/
Dsti_hdmi.c10 #include <linux/hdmi.h>
21 #include <sound/hdmi-codec.h>
159 struct sti_hdmi *hdmi; member
166 u32 hdmi_read(struct sti_hdmi *hdmi, int offset) in hdmi_read() argument
168 return readl(hdmi->regs + offset); in hdmi_read()
171 void hdmi_write(struct sti_hdmi *hdmi, u32 val, int offset) in hdmi_write() argument
173 writel(val, hdmi->regs + offset); in hdmi_write()
177 * HDMI interrupt handler threaded
184 struct sti_hdmi *hdmi = arg; in hdmi_irq_thread() local
187 if (hdmi->irq_status & HDMI_INT_HOT_PLUG) { in hdmi_irq_thread()
[all …]
/kernel/linux/linux-4.19/drivers/gpu/drm/tegra/
Dhdmi.c13 #include <linux/hdmi.h>
27 #include "hdmi.h"
60 struct regulator *hdmi; member
104 static inline u32 tegra_hdmi_readl(struct tegra_hdmi *hdmi, in tegra_hdmi_readl() argument
107 u32 value = readl(hdmi->regs + (offset << 2)); in tegra_hdmi_readl()
109 trace_hdmi_readl(hdmi->dev, offset, value); in tegra_hdmi_readl()
114 static inline void tegra_hdmi_writel(struct tegra_hdmi *hdmi, u32 value, in tegra_hdmi_writel() argument
117 trace_hdmi_writel(hdmi->dev, offset, value); in tegra_hdmi_writel()
118 writel(value, hdmi->regs + (offset << 2)); in tegra_hdmi_writel()
469 static void tegra_hdmi_setup_audio_fs_tables(struct tegra_hdmi *hdmi) in tegra_hdmi_setup_audio_fs_tables() argument
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/tegra/
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 …]

12345678910>>...87