Home
last modified time | relevance | path

Searched full:dw_hdmi (Results 1 – 25 of 33) sorted by relevance

12

/openbmc/linux/drivers/gpu/drm/meson/
H A Dmeson_dw_hdmi.c18 #include <drm/bridge/dw_hdmi.h>
127 unsigned int (*top_read)(struct meson_dw_hdmi *dw_hdmi,
129 void (*top_write)(struct meson_dw_hdmi *dw_hdmi,
131 unsigned int (*dwc_read)(struct meson_dw_hdmi *dw_hdmi,
133 void (*dwc_write)(struct meson_dw_hdmi *dw_hdmi,
149 struct dw_hdmi *hdmi;
153 static inline int dw_hdmi_is_compatible(struct meson_dw_hdmi *dw_hdmi, in dw_hdmi_is_compatible() argument
156 return of_device_is_compatible(dw_hdmi->dev->of_node, compat); in dw_hdmi_is_compatible()
161 static unsigned int dw_hdmi_top_read(struct meson_dw_hdmi *dw_hdmi, in dw_hdmi_top_read() argument
170 writel(addr & 0xffff, dw_hdmi->hdmitx + HDMITX_TOP_ADDR_REG); in dw_hdmi_top_read()
[all …]
/openbmc/linux/include/drm/bridge/
H A Ddw_hdmi.h14 struct dw_hdmi;
116 int (*init)(struct dw_hdmi *hdmi, void *data,
119 void (*disable)(struct dw_hdmi *hdmi, void *data);
120 enum drm_connector_status (*read_hpd)(struct dw_hdmi *hdmi, void *data);
121 void (*update_hpd)(struct dw_hdmi *hdmi, void *data,
123 void (*setup_hpd)(struct dw_hdmi *hdmi, void *data);
142 enum drm_mode_status (*mode_valid)(struct dw_hdmi *hdmi, void *data,
147 void (*enable_audio)(struct dw_hdmi *hdmi, int channel,
149 void (*disable_audio)(struct dw_hdmi *hdmi);
161 int (*configure_phy)(struct dw_hdmi *hdmi, void *data,
[all …]
/openbmc/linux/drivers/gpu/drm/bridge/synopsys/
H A Ddw-hdmi-audio.h5 struct dw_hdmi;
11 struct dw_hdmi *hdmi;
12 u8 *(*get_eld)(struct dw_hdmi *hdmi);
16 struct dw_hdmi *hdmi;
18 void (*write)(struct dw_hdmi *hdmi, u8 val, int offset);
19 u8 (*read)(struct dw_hdmi *hdmi, int offset);
20 u8 *(*get_eld)(struct dw_hdmi *hdmi);
H A Ddw-hdmi-cec.h4 struct dw_hdmi;
7 void (*write)(struct dw_hdmi *hdmi, u8 val, int offset);
8 u8 (*read)(struct dw_hdmi *hdmi, int offset);
9 void (*enable)(struct dw_hdmi *hdmi);
10 void (*disable)(struct dw_hdmi *hdmi);
14 struct dw_hdmi *hdmi;
H A Ddw-hdmi.c28 #include <drm/bridge/dw_hdmi.h>
125 int (*configure)(struct dw_hdmi *hdmi,
130 struct dw_hdmi { struct
191 void (*enable_audio)(struct dw_hdmi *hdmi); argument
192 void (*disable_audio)(struct dw_hdmi *hdmi); argument
210 static inline void hdmi_writeb(struct dw_hdmi *hdmi, u8 val, int offset) in hdmi_writeb() argument
215 static inline u8 hdmi_readb(struct dw_hdmi *hdmi, int offset) in hdmi_readb()
224 static void handle_plugged_change(struct dw_hdmi *hdmi, bool plugged) in handle_plugged_change()
230 int dw_hdmi_set_plugged_cb(struct dw_hdmi *hdmi, hdmi_codec_plugged_cb fn, in dw_hdmi_set_plugged_cb()
246 static void hdmi_modb(struct dw_hdmi *hdmi, u8 data, u8 mask, unsigned reg) in hdmi_modb()
[all …]
H A Ddw-hdmi-i2s-audio.c12 #include <drm/bridge/dw_hdmi.h>
25 struct dw_hdmi *hdmi = audio->hdmi; in hdmi_write()
32 struct dw_hdmi *hdmi = audio->hdmi; in hdmi_read()
42 struct dw_hdmi *hdmi = audio->hdmi; in dw_hdmi_i2s_hw_params()
119 struct dw_hdmi *hdmi = audio->hdmi; in dw_hdmi_i2s_audio_startup()
129 struct dw_hdmi *hdmi = audio->hdmi; in dw_hdmi_i2s_audio_shutdown()
175 struct dw_hdmi *hdmi = audio->hdmi; in dw_hdmi_i2s_hook_plugged_cb()
/openbmc/u-boot/drivers/video/
H A Ddw_hdmi.c12 #include "dw_hdmi.h"
74 static void dw_hdmi_write(struct dw_hdmi *hdmi, u8 val, int offset) in dw_hdmi_write()
89 static u8 dw_hdmi_read(struct dw_hdmi *hdmi, int offset) in dw_hdmi_read()
104 static u8 (*hdmi_read)(struct dw_hdmi *hdmi, int offset) = dw_hdmi_read;
105 static void (*hdmi_write)(struct dw_hdmi *hdmi, u8 val, int offset) =
108 static void hdmi_mod(struct dw_hdmi *hdmi, unsigned reg, u8 mask, u8 data) in hdmi_mod()
116 static void hdmi_set_clock_regenerator(struct dw_hdmi *hdmi, u32 n, u32 cts) in hdmi_set_clock_regenerator()
159 static void hdmi_audio_set_samplerate(struct dw_hdmi *hdmi, u32 pixel_clk) in hdmi_audio_set_samplerate()
182 static void hdmi_video_sample(struct dw_hdmi *hdmi) in hdmi_video_sample()
249 static void hdmi_video_packetize(struct dw_hdmi *hdmi) in hdmi_video_packetize()
[all …]
/openbmc/linux/drivers/gpu/drm/rockchip/
H A Ddw_hdmi-rockchip.c14 #include <drm/bridge/dw_hdmi.h>
80 struct dw_hdmi *hdmi;
253 dw_hdmi_rockchip_mode_valid(struct dw_hdmi *dw_hdmi, void *data, in dw_hdmi_rockchip_mode_valid() argument
360 static int dw_hdmi_rockchip_genphy_init(struct dw_hdmi *dw_hdmi, void *data, in dw_hdmi_rockchip_genphy_init() argument
369 static void dw_hdmi_rockchip_genphy_disable(struct dw_hdmi *dw_hdmi, void *data) in dw_hdmi_rockchip_genphy_disable() argument
376 static void dw_hdmi_rk3228_setup_hpd(struct dw_hdmi *dw_hdmi, void *data) in dw_hdmi_rk3228_setup_hpd() argument
380 dw_hdmi_phy_setup_hpd(dw_hdmi, data); in dw_hdmi_rk3228_setup_hpd()
396 dw_hdmi_rk3328_read_hpd(struct dw_hdmi *dw_hdmi, void *data) in dw_hdmi_rk3328_read_hpd() argument
401 status = dw_hdmi_phy_read_hpd(dw_hdmi, data); in dw_hdmi_rk3328_read_hpd()
416 static void dw_hdmi_rk3328_setup_hpd(struct dw_hdmi *dw_hdmi, void *data) in dw_hdmi_rk3328_setup_hpd() argument
[all …]
H A DMakefile13 rockchipdrm-$(CONFIG_ROCKCHIP_DW_HDMI) += dw_hdmi-rockchip.o
/openbmc/linux/drivers/gpu/drm/ingenic/
H A Dingenic-dw-hdmi.c5 * Derived from dw_hdmi-imx.c with i.MX portions removed.
12 #include <drm/bridge/dw_hdmi.h>
47 ingenic_dw_hdmi_mode_valid(struct dw_hdmi *hdmi, void *data, in ingenic_dw_hdmi_mode_valid()
76 struct dw_hdmi *hdmi = (struct dw_hdmi *)data; in ingenic_dw_hdmi_cleanup()
83 struct dw_hdmi *hdmi; in ingenic_dw_hdmi_probe()
/openbmc/linux/drivers/gpu/drm/renesas/rcar-du/
H A Drcar_dw_hdmi.c14 #include <drm/bridge/dw_hdmi.h>
41 rcar_hdmi_mode_valid(struct dw_hdmi *hdmi, void *data, in rcar_hdmi_mode_valid()
55 static int rcar_hdmi_phy_configure(struct dw_hdmi *hdmi, void *data, in rcar_hdmi_phy_configure()
85 struct dw_hdmi *hdmi; in rcar_dw_hdmi_probe()
98 struct dw_hdmi *hdmi = platform_get_drvdata(pdev); in rcar_dw_hdmi_remove()
/openbmc/u-boot/drivers/video/meson/
H A Dmeson_dw_hdmi.c12 #include <dw_hdmi.h>
43 struct dw_hdmi hdmi;
61 static unsigned int dw_hdmi_top_read(struct dw_hdmi *hdmi, unsigned int addr) in dw_hdmi_top_read()
76 static inline void dw_hdmi_top_write(struct dw_hdmi *hdmi, in dw_hdmi_top_write()
87 static inline void dw_hdmi_top_write_bits(struct dw_hdmi *hdmi, in dw_hdmi_top_write_bits()
99 static u8 dw_hdmi_dwc_read(struct dw_hdmi *hdmi, int addr) in dw_hdmi_dwc_read()
114 static inline void dw_hdmi_dwc_write(struct dw_hdmi *hdmi, u8 data, int addr) in dw_hdmi_dwc_write()
124 static inline void dw_hdmi_dwc_write_bits(struct dw_hdmi *hdmi, in dw_hdmi_dwc_write_bits()
257 static int meson_dw_hdmi_phy_init(struct dw_hdmi *hdmi, uint pixel_clock) in meson_dw_hdmi_phy_init()
323 static int meson_dw_hdmi_wait_hpd(struct dw_hdmi *hdmi) in meson_dw_hdmi_wait_hpd()
H A DMakefile9 obj-$(CONFIG_VIDEO_MESON) += meson_dw_hdmi.o simplefb_common.o ../dw_hdmi.o
/openbmc/u-boot/include/
H A Ddw_hdmi.h537 struct dw_hdmi { struct
546 int (*phy_set)(struct dw_hdmi *hdmi, uint mpixelclock); argument
547 void (*write_reg)(struct dw_hdmi *hdmi, u8 val, int offset); argument
548 u8 (*read_reg)(struct dw_hdmi *hdmi, int offset); argument
551 int dw_hdmi_phy_cfg(struct dw_hdmi *hdmi, uint mpixelclock);
552 int dw_hdmi_phy_wait_for_hpd(struct dw_hdmi *hdmi);
553 void dw_hdmi_phy_init(struct dw_hdmi *hdmi);
555 int dw_hdmi_enable(struct dw_hdmi *hdmi, const struct display_timing *edid);
556 int dw_hdmi_read_edid(struct dw_hdmi *hdmi, u8 *buf, int buf_size);
557 void dw_hdmi_init(struct dw_hdmi *hdmi);
/openbmc/linux/drivers/gpu/drm/imx/ipuv3/
H A Ddw_hdmi-imx.c4 * derived from imx-hdmi.c(renamed to bridge/dw_hdmi.c now)
16 #include <drm/bridge/dw_hdmi.h>
37 struct dw_hdmi *hdmi;
139 imx6q_hdmi_mode_valid(struct dw_hdmi *hdmi, void *data, in imx6q_hdmi_mode_valid()
153 imx6dl_hdmi_mode_valid(struct dw_hdmi *hdmi, void *data, in imx6dl_hdmi_mode_valid()
H A DMakefile11 obj-$(CONFIG_DRM_IMX_HDMI) += dw_hdmi-imx.o
/openbmc/u-boot/drivers/video/rockchip/
H A Drk_hdmi.c12 #include <dw_hdmi.h>
84 struct dw_hdmi *hdmi = &priv->hdmi; in rk_hdmi_ofdata_to_platdata()
109 struct dw_hdmi *hdmi = &priv->hdmi; in rk_hdmi_probe()
H A Drk3399_hdmi.c10 #include <dw_hdmi.h>
40 struct dw_hdmi *hdmi = &priv->hdmi; in rk3399_hdmi_ofdata_to_platdata()
H A Drk3288_hdmi.c10 #include <dw_hdmi.h>
42 struct dw_hdmi *hdmi = &priv->hdmi; in rk3288_hdmi_ofdata_to_platdata()
/openbmc/linux/drivers/gpu/drm/sun4i/
H A Dsun8i_dw_hdmi.h9 #include <drm/bridge/dw_hdmi.h>
174 enum drm_mode_status (*mode_valid)(struct dw_hdmi *hdmi, void *data,
183 struct dw_hdmi *hdmi;
H A Dsun8i_dw_hdmi.c33 sun8i_dw_hdmi_mode_valid_a83t(struct dw_hdmi *hdmi, void *data, in sun8i_dw_hdmi_mode_valid_a83t()
44 sun8i_dw_hdmi_mode_valid_h6(struct dw_hdmi *hdmi, void *data, in sun8i_dw_hdmi_mode_valid_h6()
H A Dsun8i_hdmi_phy.c142 static int sun8i_a83t_hdmi_phy_config(struct dw_hdmi *hdmi, void *data, in sun8i_a83t_hdmi_phy_config()
209 static void sun8i_a83t_hdmi_phy_disable(struct dw_hdmi *hdmi, void *data) in sun8i_a83t_hdmi_phy_disable()
228 static int sun8i_h3_hdmi_phy_config(struct dw_hdmi *hdmi, void *data, in sun8i_h3_hdmi_phy_config()
383 static void sun8i_h3_hdmi_phy_disable(struct dw_hdmi *hdmi, void *data) in sun8i_h3_hdmi_phy_disable()
/openbmc/u-boot/drivers/video/sunxi/
H A DMakefile7 obj-$(CONFIG_VIDEO_DE2) += sunxi_de2.o sunxi_dw_hdmi.o simplefb_common.o lcdc.o ../dw_hdmi.o sunxi_…
H A Dsunxi_dw_hdmi.c11 #include <dw_hdmi.h>
18 struct dw_hdmi hdmi;
287 static int sunxi_dw_hdmi_phy_cfg(struct dw_hdmi *hdmi, uint mpixelclock) in sunxi_dw_hdmi_phy_cfg()
/openbmc/linux/Documentation/gpu/bridge/
H A Ddw-hdmi.rst14 .. kernel-doc:: include/drm/bridge/dw_hdmi.h

12