Home
last modified time | relevance | path

Searched refs:dw_hdmi (Results 1 – 17 of 17) sorted by relevance

/Linux-v6.1/include/drm/bridge/
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 …]
/Linux-v6.1/drivers/gpu/drm/meson/
Dmeson_dw_hdmi.c124 unsigned int (*top_read)(struct meson_dw_hdmi *dw_hdmi,
126 void (*top_write)(struct meson_dw_hdmi *dw_hdmi,
128 unsigned int (*dwc_read)(struct meson_dw_hdmi *dw_hdmi,
130 void (*dwc_write)(struct meson_dw_hdmi *dw_hdmi,
145 struct dw_hdmi *hdmi;
149 static inline int dw_hdmi_is_compatible(struct meson_dw_hdmi *dw_hdmi, in dw_hdmi_is_compatible() argument
152 return of_device_is_compatible(dw_hdmi->dev->of_node, compat); in dw_hdmi_is_compatible()
157 static unsigned int dw_hdmi_top_read(struct meson_dw_hdmi *dw_hdmi, in dw_hdmi_top_read() argument
166 writel(addr & 0xffff, dw_hdmi->hdmitx + HDMITX_TOP_ADDR_REG); in dw_hdmi_top_read()
167 writel(addr & 0xffff, dw_hdmi->hdmitx + HDMITX_TOP_ADDR_REG); in dw_hdmi_top_read()
[all …]
/Linux-v6.1/drivers/gpu/drm/bridge/synopsys/
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);
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;
Ddw-hdmi.c139 int (*configure)(struct dw_hdmi *hdmi,
144 struct dw_hdmi { struct
205 void (*enable_audio)(struct dw_hdmi *hdmi); argument
206 void (*disable_audio)(struct dw_hdmi *hdmi); argument
224 static inline void hdmi_writeb(struct dw_hdmi *hdmi, u8 val, int offset) in hdmi_writeb() argument
229 static inline u8 hdmi_readb(struct dw_hdmi *hdmi, int offset) in hdmi_readb()
238 static void handle_plugged_change(struct dw_hdmi *hdmi, bool plugged) in handle_plugged_change()
244 int dw_hdmi_set_plugged_cb(struct dw_hdmi *hdmi, hdmi_codec_plugged_cb fn, in dw_hdmi_set_plugged_cb()
260 static void hdmi_modb(struct dw_hdmi *hdmi, u8 data, u8 mask, unsigned reg) in hdmi_modb()
265 static void hdmi_mask_writeb(struct dw_hdmi *hdmi, u8 data, unsigned int reg, in hdmi_mask_writeb()
[all …]
Ddw-hdmi-i2s-audio.c25 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()
Ddw-hdmi-cec.c55 struct dw_hdmi *hdmi;
/Linux-v6.1/drivers/gpu/drm/rockchip/
Ddw_hdmi-rockchip.c79 struct dw_hdmi *hdmi;
244 dw_hdmi_rockchip_mode_valid(struct dw_hdmi *hdmi, void *data, in dw_hdmi_rockchip_mode_valid()
335 static int dw_hdmi_rockchip_genphy_init(struct dw_hdmi *dw_hdmi, void *data, in dw_hdmi_rockchip_genphy_init() argument
344 static void dw_hdmi_rockchip_genphy_disable(struct dw_hdmi *dw_hdmi, void *data) in dw_hdmi_rockchip_genphy_disable() argument
351 static void dw_hdmi_rk3228_setup_hpd(struct dw_hdmi *dw_hdmi, void *data) in dw_hdmi_rk3228_setup_hpd() argument
355 dw_hdmi_phy_setup_hpd(dw_hdmi, data); in dw_hdmi_rk3228_setup_hpd()
371 dw_hdmi_rk3328_read_hpd(struct dw_hdmi *dw_hdmi, void *data) in dw_hdmi_rk3328_read_hpd() argument
376 status = dw_hdmi_phy_read_hpd(dw_hdmi, data); in dw_hdmi_rk3328_read_hpd()
391 static void dw_hdmi_rk3328_setup_hpd(struct dw_hdmi *dw_hdmi, void *data) in dw_hdmi_rk3328_setup_hpd() argument
395 dw_hdmi_phy_setup_hpd(dw_hdmi, data); in dw_hdmi_rk3328_setup_hpd()
DMakefile13 rockchipdrm-$(CONFIG_ROCKCHIP_DW_HDMI) += dw_hdmi-rockchip.o
/Linux-v6.1/drivers/gpu/drm/ingenic/
Dingenic-dw-hdmi.c47 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()
/Linux-v6.1/drivers/gpu/drm/rcar-du/
Drcar_dw_hdmi.c41 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()
/Linux-v6.1/drivers/gpu/drm/imx/
Ddw_hdmi-imx.c37 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()
DMakefile11 obj-$(CONFIG_DRM_IMX_HDMI) += dw_hdmi-imx.o
/Linux-v6.1/drivers/gpu/drm/sun4i/
Dsun8i_hdmi_phy.c141 static int sun8i_a83t_hdmi_phy_config(struct dw_hdmi *hdmi, void *data, in sun8i_a83t_hdmi_phy_config()
208 static void sun8i_a83t_hdmi_phy_disable(struct dw_hdmi *hdmi, void *data) in sun8i_a83t_hdmi_phy_disable()
227 static int sun8i_h3_hdmi_phy_config(struct dw_hdmi *hdmi, void *data, in sun8i_h3_hdmi_phy_config()
382 static void sun8i_h3_hdmi_phy_disable(struct dw_hdmi *hdmi, void *data) in sun8i_h3_hdmi_phy_disable()
Dsun8i_dw_hdmi.h174 enum drm_mode_status (*mode_valid)(struct dw_hdmi *hdmi, void *data,
183 struct dw_hdmi *hdmi;
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()
/Linux-v6.1/Documentation/gpu/bridge/
Ddw-hdmi.rst14 .. kernel-doc:: include/drm/bridge/dw_hdmi.h