Home
last modified time | relevance | path

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

/linux-5.19.10/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-5.19.10/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-5.19.10/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.c138 int (*configure)(struct dw_hdmi *hdmi,
143 struct dw_hdmi { struct
204 void (*enable_audio)(struct dw_hdmi *hdmi); argument
205 void (*disable_audio)(struct dw_hdmi *hdmi); argument
223 static inline void hdmi_writeb(struct dw_hdmi *hdmi, u8 val, int offset) in hdmi_writeb() argument
228 static inline u8 hdmi_readb(struct dw_hdmi *hdmi, int offset) in hdmi_readb()
237 static void handle_plugged_change(struct dw_hdmi *hdmi, bool plugged) in handle_plugged_change()
243 int dw_hdmi_set_plugged_cb(struct dw_hdmi *hdmi, hdmi_codec_plugged_cb fn, in dw_hdmi_set_plugged_cb()
259 static void hdmi_modb(struct dw_hdmi *hdmi, u8 data, u8 mask, unsigned reg) in hdmi_modb()
264 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-5.19.10/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-5.19.10/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-5.19.10/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-5.19.10/drivers/gpu/drm/sun4i/
Dsun8i_dw_hdmi.h158 void (*phy_disable)(struct dw_hdmi *hdmi,
160 int (*phy_config)(struct dw_hdmi *hdmi,
179 enum drm_mode_status (*mode_valid)(struct dw_hdmi *hdmi, void *data,
188 struct dw_hdmi *hdmi;
Dsun8i_hdmi_phy.c126 static int sun8i_hdmi_phy_config_a83t(struct dw_hdmi *hdmi, in sun8i_hdmi_phy_config_a83t()
188 static int sun8i_hdmi_phy_config_h3(struct dw_hdmi *hdmi, in sun8i_hdmi_phy_config_h3()
336 static int sun8i_hdmi_phy_config(struct dw_hdmi *hdmi, void *data, in sun8i_hdmi_phy_config()
358 static void sun8i_hdmi_phy_disable_a83t(struct dw_hdmi *hdmi, in sun8i_hdmi_phy_disable_a83t()
368 static void sun8i_hdmi_phy_disable_h3(struct dw_hdmi *hdmi, in sun8i_hdmi_phy_disable_h3()
378 static void sun8i_hdmi_phy_disable(struct dw_hdmi *hdmi, void *data) in sun8i_hdmi_phy_disable()
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-5.19.10/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-5.19.10/Documentation/gpu/bridge/
Ddw-hdmi.rst14 .. kernel-doc:: include/drm/bridge/dw_hdmi.h