Home
last modified time | relevance | path

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

/kernel/linux/linux-5.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,
150 struct dw_hdmi *hdmi;
158 static inline int dw_hdmi_is_compatible(struct meson_dw_hdmi *dw_hdmi, in dw_hdmi_is_compatible() argument
161 return of_device_is_compatible(dw_hdmi->dev->of_node, compat); in dw_hdmi_is_compatible()
166 static unsigned int dw_hdmi_top_read(struct meson_dw_hdmi *dw_hdmi, in dw_hdmi_top_read() argument
175 writel(addr & 0xffff, dw_hdmi->hdmitx + HDMITX_TOP_ADDR_REG); in dw_hdmi_top_read()
176 writel(addr & 0xffff, dw_hdmi->hdmitx + HDMITX_TOP_ADDR_REG); in dw_hdmi_top_read()
[all …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.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
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-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;
/kernel/linux/linux-5.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
/kernel/linux/linux-5.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
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.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,
/kernel/linux/linux-5.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
/kernel/linux/linux-5.10/drivers/gpu/drm/sun4i/
Dsun8i_dw_hdmi.h159 void (*phy_disable)(struct dw_hdmi *hdmi,
161 int (*phy_config)(struct dw_hdmi *hdmi,
180 enum drm_mode_status (*mode_valid)(struct dw_hdmi *hdmi, void *data,
189 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()
/kernel/linux/linux-5.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
/kernel/linux/linux-5.10/Documentation/gpu/bridge/
Ddw-hdmi.rst14 .. kernel-doc:: include/drm/bridge/dw_hdmi.h
/kernel/linux/patches/linux-5.10/yangfan_patch/
Dinclude.patch60 diff --git a/include/drm/bridge/dw_hdmi.h b/include/drm/bridge/dw_hdmi.h
62 --- a/include/drm/bridge/dw_hdmi.h
63 +++ b/include/drm/bridge/dw_hdmi.h
75 struct dw_hdmi;
108 int (*init)(struct dw_hdmi *hdmi, void *data,
111 void (*setup_hpd)(struct dw_hdmi *hdmi, void *data);
123 + void (*set_mode)(struct dw_hdmi_qp *dw_hdmi, void *data,
163 - enum drm_mode_status (*mode_valid)(struct dw_hdmi *hdmi, void *data,
188 int (*configure_phy)(struct dw_hdmi *hdmi, void *data,
215 struct dw_hdmi *dw_hdmi_probe(struct platform_device *pdev,
[all …]
Ddrivers.patch107 drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c | 3202 ++++++++++-
11778 +#include <drm/bridge/dw_hdmi.h>
11963 struct dw_hdmi {
11971 @@ -156,8 +260,10 @@ struct dw_hdmi {
11982 @@ -174,6 +280,13 @@ struct dw_hdmi {
11996 @@ -190,10 +303,14 @@ struct dw_hdmi {
12011 @@ -202,10 +319,12 @@ struct dw_hdmi {
12024 @@ -263,6 +382,124 @@ static void hdmi_mask_writeb(struct dw_hdmi *hdmi, u8 data, unsigned int reg,
12028 +static bool dw_hdmi_check_output_type_changed(struct dw_hdmi *hdmi)
12049 + struct dw_hdmi *hdmi = container_of(p_work, struct dw_hdmi, work.work);
[all …]
/kernel/linux/patches/linux-5.10/unionpi_tiger_pacth/
Dlinux-5.10.patch3693 struct dw_hdmi *hdmi;
3695 + u8 *(*get_eld)(struct dw_hdmi *hdmi);
3699 struct dw_hdmi *hdmi;
3702 void (*write)(struct dw_hdmi *hdmi, u8 val, int offset);
3703 u8 (*read)(struct dw_hdmi *hdmi, int offset);
3704 + u8 *(*get_eld)(struct dw_hdmi *hdmi);
3712 struct dw_hdmi {
3730 +static u8 *hdmi_audio_get_eld(struct dw_hdmi *hdmi)
3738 static void dw_hdmi_ahb_audio_enable(struct dw_hdmi *hdmi)
3781 struct dw_hdmi *hdmi = bridge->driver_private;
[all …]
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0020_linux_drivers_gpu.patch9618 @@ -190,7 +190,10 @@ struct dw_hdmi {
9656 @@ -659,7 +668,7 @@ static void hdmi_set_clk_regenerator(struct dw_hdmi *hdmi,
9665 @@ -701,6 +710,22 @@ static void hdmi_clk_regenerator_update_pixel_clock(struct dw_hdmi *hdmi)
9669 +void dw_hdmi_set_sample_width(struct dw_hdmi *hdmi, unsigned int width)
9677 +void dw_hdmi_set_sample_non_pcm(struct dw_hdmi *hdmi, unsigned int non_pcm)
9685 void dw_hdmi_set_sample_rate(struct dw_hdmi *hdmi, unsigned int rate)
9688 @@ -716,6 +741,7 @@ void dw_hdmi_set_channel_count(struct dw_hdmi *hdmi, unsigned int cnt)
9696 @@ -756,6 +782,87 @@ static void hdmi_enable_audio_clk(struct dw_hdmi *hdmi, bool enable)
9700 +static void dw_hdmi_gp_audio_enable(struct dw_hdmi *hdmi)
9770 +static void dw_hdmi_gp_audio_disable(struct dw_hdmi *hdmi)
[all …]
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/
D0005_linux_include.patch936 diff --git a/include/drm/bridge/dw_hdmi.h b/include/drm/bridge/dw_hdmi.h
938 --- a/include/drm/bridge/dw_hdmi.h
939 +++ b/include/drm/bridge/dw_hdmi.h
941 void (*update_hpd)(struct dw_hdmi *hdmi, void *data,
943 void (*setup_hpd)(struct dw_hdmi *hdmi, void *data);
944 + void (*enable_audio)(struct dw_hdmi *hdmi, void *data, int channel,
946 + void (*disable_audio)(struct dw_hdmi *hdmi, void *data);
950 @@ -169,6 +172,8 @@ void dw_hdmi_setup_rx_sense(struct dw_hdmi *hdmi, bool hpd, bool rx_sense);
952 int dw_hdmi_set_plugged_cb(struct dw_hdmi *hdmi, hdmi_codec_plugged_cb fn,
954 +void dw_hdmi_set_sample_non_pcm(struct dw_hdmi *hdmi, unsigned int non_pcm);
[all …]