Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/gpu/drm/meson/
Dmeson_dw_hdmi.c127 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,
152 struct dw_hdmi *hdmi;
160 static inline int dw_hdmi_is_compatible(struct meson_dw_hdmi *dw_hdmi, in dw_hdmi_is_compatible() argument
163 return of_device_is_compatible(dw_hdmi->dev->of_node, compat); in dw_hdmi_is_compatible()
168 static unsigned int dw_hdmi_top_read(struct meson_dw_hdmi *dw_hdmi, in dw_hdmi_top_read() argument
177 writel(addr & 0xffff, dw_hdmi->hdmitx + HDMITX_TOP_ADDR_REG); in dw_hdmi_top_read()
178 writel(addr & 0xffff, dw_hdmi->hdmitx + HDMITX_TOP_ADDR_REG); in dw_hdmi_top_read()
[all …]
/Linux-v5.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);
140 enum drm_mode_status (*mode_valid)(struct dw_hdmi *hdmi, void *data,
154 int (*configure_phy)(struct dw_hdmi *hdmi, void *data,
158 struct dw_hdmi *dw_hdmi_probe(struct platform_device *pdev,
160 void dw_hdmi_remove(struct dw_hdmi *hdmi);
[all …]
/Linux-v5.10/drivers/gpu/drm/bridge/synopsys/
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
200 void (*enable_audio)(struct dw_hdmi *hdmi); argument
201 void (*disable_audio)(struct dw_hdmi *hdmi); argument
219 static inline void hdmi_writeb(struct dw_hdmi *hdmi, u8 val, int offset) in hdmi_writeb() argument
224 static inline u8 hdmi_readb(struct dw_hdmi *hdmi, int offset) in hdmi_readb()
233 static void handle_plugged_change(struct dw_hdmi *hdmi, bool plugged) in handle_plugged_change()
239 int dw_hdmi_set_plugged_cb(struct dw_hdmi *hdmi, hdmi_codec_plugged_cb fn, in dw_hdmi_set_plugged_cb()
255 static void hdmi_modb(struct dw_hdmi *hdmi, u8 data, u8 mask, unsigned reg) in hdmi_modb()
260 static void hdmi_mask_writeb(struct dw_hdmi *hdmi, u8 data, unsigned int reg, in hdmi_mask_writeb()
[all …]
Ddw-hdmi-audio.h5 struct dw_hdmi;
11 struct dw_hdmi *hdmi;
16 struct dw_hdmi *hdmi;
19 void (*write)(struct dw_hdmi *hdmi, u8 val, int offset);
20 u8 (*read)(struct dw_hdmi *hdmi, int offset);
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()
168 struct dw_hdmi *hdmi = audio->hdmi; in dw_hdmi_i2s_hook_plugged_cb()
Ddw-hdmi-cec.c55 struct dw_hdmi *hdmi;
/Linux-v5.10/Documentation/devicetree/bindings/display/rockchip/
Ddw_hdmi-rockchip.txt8 Documentation/devicetree/bindings/display/bridge/dw_hdmi.txt with the
19 - reg: See dw_hdmi.txt.
20 - reg-io-width: See dw_hdmi.txt. Shall be 4.
22 - clocks: See dw_hdmi.txt.
23 - clock-names: Shall contain "iahb" and "isfr" as defined in dw_hdmi.txt.
24 - ports: See dw_hdmi.txt. The DWC HDMI shall have a single port numbered 0
35 - clock-names: See dw_hdmi.txt. The "cec" clock is optional.
36 - clock-names: May contain "cec" as defined in dw_hdmi.txt.
43 - If you have both a "unwedge" and "default" pinctrl entry, dw_hdmi
/Linux-v5.10/drivers/gpu/drm/rockchip/
Ddw_hdmi-rockchip.c74 struct dw_hdmi *hdmi;
223 dw_hdmi_rockchip_mode_valid(struct dw_hdmi *hdmi, void *data, in dw_hdmi_rockchip_mode_valid()
314 static int dw_hdmi_rockchip_genphy_init(struct dw_hdmi *dw_hdmi, void *data, in dw_hdmi_rockchip_genphy_init() argument
323 static void dw_hdmi_rockchip_genphy_disable(struct dw_hdmi *dw_hdmi, void *data) in dw_hdmi_rockchip_genphy_disable() argument
330 static void dw_hdmi_rk3228_setup_hpd(struct dw_hdmi *dw_hdmi, void *data) in dw_hdmi_rk3228_setup_hpd() argument
334 dw_hdmi_phy_setup_hpd(dw_hdmi, data); in dw_hdmi_rk3228_setup_hpd()
350 dw_hdmi_rk3328_read_hpd(struct dw_hdmi *dw_hdmi, void *data) in dw_hdmi_rk3328_read_hpd() argument
355 status = dw_hdmi_phy_read_hpd(dw_hdmi, data); in dw_hdmi_rk3328_read_hpd()
370 static void dw_hdmi_rk3328_setup_hpd(struct dw_hdmi *dw_hdmi, void *data) in dw_hdmi_rk3328_setup_hpd() argument
374 dw_hdmi_phy_setup_hpd(dw_hdmi, data); in dw_hdmi_rk3328_setup_hpd()
DMakefile12 rockchipdrm-$(CONFIG_ROCKCHIP_DW_HDMI) += dw_hdmi-rockchip.o
/Linux-v5.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()
84 struct dw_hdmi *hdmi; in rcar_dw_hdmi_probe()
97 struct dw_hdmi *hdmi = platform_get_drvdata(pdev); in rcar_dw_hdmi_remove()
/Linux-v5.10/Documentation/devicetree/bindings/display/imx/
Dhdmi.txt8 Documentation/devicetree/bindings/display/bridge/dw_hdmi.txt with the
15 - reg: See dw_hdmi.txt.
17 - clocks: See dw_hdmi.txt.
18 - clock-names: Shall contain "iahb" and "isfr" as defined in dw_hdmi.txt.
19 - ports: See dw_hdmi.txt. The DWC HDMI shall have between one and four ports,
/Linux-v5.10/Documentation/devicetree/bindings/display/bridge/
Drenesas,dw-hdmi.txt8 Documentation/devicetree/bindings/display/bridge/dw_hdmi.txt with the
29 - reg: See dw_hdmi.txt.
31 - clocks: See dw_hdmi.txt.
32 - clock-names: Shall contain "iahb" and "isfr" as defined in dw_hdmi.txt.
33 - ports: See dw_hdmi.txt. The DWC HDMI shall have one port numbered 0
/Linux-v5.10/drivers/gpu/drm/sun4i/
Dsun8i_dw_hdmi.h159 void (*phy_disable)(struct dw_hdmi *hdmi,
161 int (*phy_config)(struct dw_hdmi *hdmi,
179 enum drm_mode_status (*mode_valid)(struct dw_hdmi *hdmi, void *data,
189 struct dw_hdmi *hdmi;
Dsun8i_hdmi_phy.c133 static int sun8i_hdmi_phy_config_a83t(struct dw_hdmi *hdmi, in sun8i_hdmi_phy_config_a83t()
195 static int sun8i_hdmi_phy_config_h3(struct dw_hdmi *hdmi, in sun8i_hdmi_phy_config_h3()
343 static int sun8i_hdmi_phy_config(struct dw_hdmi *hdmi, void *data, in sun8i_hdmi_phy_config()
365 static void sun8i_hdmi_phy_disable_a83t(struct dw_hdmi *hdmi, in sun8i_hdmi_phy_disable_a83t()
375 static void sun8i_hdmi_phy_disable_h3(struct dw_hdmi *hdmi, in sun8i_hdmi_phy_disable_h3()
385 static void sun8i_hdmi_phy_disable(struct dw_hdmi *hdmi, void *data) in sun8i_hdmi_phy_disable()
Dsun8i_dw_hdmi.c34 sun8i_dw_hdmi_mode_valid_a83t(struct dw_hdmi *hdmi, void *data, in sun8i_dw_hdmi_mode_valid_a83t()
45 sun8i_dw_hdmi_mode_valid_h6(struct dw_hdmi *hdmi, void *data, in sun8i_dw_hdmi_mode_valid_h6()
/Linux-v5.10/drivers/gpu/drm/imx/
Ddw_hdmi-imx.c28 struct dw_hdmi *hdmi;
143 imx6q_hdmi_mode_valid(struct dw_hdmi *hdmi, void *data, in imx6q_hdmi_mode_valid()
157 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-v5.10/Documentation/gpu/bridge/
Ddw-hdmi.rst14 .. kernel-doc:: include/drm/bridge/dw_hdmi.h