Home
last modified time | relevance | path

Searched refs:hdmi_phy (Results 1 – 25 of 35) sorted by relevance

12

/Linux-v6.6/drivers/phy/mediatek/
Dphy-mtk-hdmi.c27 struct mtk_hdmi_phy *hdmi_phy = phy_get_drvdata(phy); in mtk_hdmi_phy_power_on() local
30 ret = clk_prepare_enable(hdmi_phy->pll); in mtk_hdmi_phy_power_on()
34 hdmi_phy->conf->hdmi_phy_enable_tmds(hdmi_phy); in mtk_hdmi_phy_power_on()
40 struct mtk_hdmi_phy *hdmi_phy = phy_get_drvdata(phy); in mtk_hdmi_phy_power_off() local
42 hdmi_phy->conf->hdmi_phy_disable_tmds(hdmi_phy); in mtk_hdmi_phy_power_off()
43 clk_disable_unprepare(hdmi_phy->pll); in mtk_hdmi_phy_power_off()
50 struct mtk_hdmi_phy *hdmi_phy = phy_get_drvdata(phy); in mtk_hdmi_phy_configure() local
52 if (hdmi_phy->conf->hdmi_phy_configure) in mtk_hdmi_phy_configure()
53 return hdmi_phy->conf->hdmi_phy_configure(phy, opts); in mtk_hdmi_phy_configure()
59 mtk_hdmi_phy_dev_get_ops(const struct mtk_hdmi_phy *hdmi_phy) in mtk_hdmi_phy_dev_get_ops() argument
[all …]
Dphy-mtk-hdmi-mt8195.c20 static void mtk_hdmi_ana_fifo_en(struct mtk_hdmi_phy *hdmi_phy) in mtk_hdmi_ana_fifo_en() argument
23 mtk_phy_set_bits(hdmi_phy->regs + HDMI_ANA_CTL, REG_ANA_HDMI20_FIFO_EN); in mtk_hdmi_ana_fifo_en()
27 mtk_phy_tmds_clk_ratio(struct mtk_hdmi_phy *hdmi_phy, bool enable) in mtk_phy_tmds_clk_ratio() argument
29 void __iomem *regs = hdmi_phy->regs; in mtk_phy_tmds_clk_ratio()
31 mtk_hdmi_ana_fifo_en(hdmi_phy); in mtk_phy_tmds_clk_ratio()
44 struct mtk_hdmi_phy *hdmi_phy = to_mtk_hdmi_phy(hw); in mtk_hdmi_pll_sel_src() local
45 void __iomem *regs = hdmi_phy->regs; in mtk_hdmi_pll_sel_src()
56 struct mtk_hdmi_phy *hdmi_phy = to_mtk_hdmi_phy(hw); in mtk_hdmi_pll_perf() local
57 void __iomem *regs = hdmi_phy->regs; in mtk_hdmi_pll_perf()
89 struct mtk_hdmi_phy *hdmi_phy = to_mtk_hdmi_phy(hw); in mtk_hdmi_pll_set_hw() local
[all …]
Dphy-mtk-hdmi-mt8173.c89 struct mtk_hdmi_phy *hdmi_phy = to_mtk_hdmi_phy(hw); in mtk_hdmi_pll_prepare() local
90 void __iomem *base = hdmi_phy->regs; in mtk_hdmi_pll_prepare()
107 struct mtk_hdmi_phy *hdmi_phy = to_mtk_hdmi_phy(hw); in mtk_hdmi_pll_unprepare() local
108 void __iomem *base = hdmi_phy->regs; in mtk_hdmi_pll_unprepare()
124 struct mtk_hdmi_phy *hdmi_phy = to_mtk_hdmi_phy(hw); in mtk_hdmi_pll_round_rate() local
126 hdmi_phy->pll_rate = rate; in mtk_hdmi_pll_round_rate()
138 struct mtk_hdmi_phy *hdmi_phy = to_mtk_hdmi_phy(hw); in mtk_hdmi_pll_set_rate() local
139 void __iomem *base = hdmi_phy->regs; in mtk_hdmi_pll_set_rate()
146 dev_dbg(hdmi_phy->dev, "%s: %lu Hz, parent: %lu Hz\n", __func__, in mtk_hdmi_pll_set_rate()
182 hdmi_ibias = hdmi_phy->ibias; in mtk_hdmi_pll_set_rate()
[all …]
Dphy-mtk-hdmi-mt2701.c52 struct mtk_hdmi_phy *hdmi_phy = to_mtk_hdmi_phy(hw); in mtk_hdmi_pll_prepare() local
53 void __iomem *base = hdmi_phy->regs; in mtk_hdmi_pll_prepare()
74 struct mtk_hdmi_phy *hdmi_phy = to_mtk_hdmi_phy(hw); in mtk_hdmi_pll_unprepare() local
75 void __iomem *base = hdmi_phy->regs; in mtk_hdmi_pll_unprepare()
102 struct mtk_hdmi_phy *hdmi_phy = to_mtk_hdmi_phy(hw); in mtk_hdmi_pll_set_rate() local
103 void __iomem *base = hdmi_phy->regs; in mtk_hdmi_pll_set_rate()
138 struct mtk_hdmi_phy *hdmi_phy = to_mtk_hdmi_phy(hw); in mtk_hdmi_pll_recalc_rate() local
142 tmp = readl(hdmi_phy->regs + HDMI_CON6); in mtk_hdmi_pll_recalc_rate()
159 tmp = readl(hdmi_phy->regs + HDMI_CON2); in mtk_hdmi_pll_recalc_rate()
177 static void mtk_hdmi_phy_enable_tmds(struct mtk_hdmi_phy *hdmi_phy) in mtk_hdmi_phy_enable_tmds() argument
[all …]
Dphy-mtk-hdmi.h24 void (*hdmi_phy_enable_tmds)(struct mtk_hdmi_phy *hdmi_phy);
25 void (*hdmi_phy_disable_tmds)(struct mtk_hdmi_phy *hdmi_phy);
/Linux-v6.6/drivers/gpu/drm/msm/hdmi/
Dhdmi.h22 struct hdmi_phy;
58 struct hdmi_phy *phy;
145 void (*powerup)(struct hdmi_phy *phy, unsigned long int pixclock);
146 void (*powerdown)(struct hdmi_phy *phy);
158 struct hdmi_phy { struct
167 static inline void hdmi_phy_write(struct hdmi_phy *phy, u32 reg, u32 data) in hdmi_phy_write() argument
172 static inline u32 hdmi_phy_read(struct hdmi_phy *phy, u32 reg) in hdmi_phy_read()
177 int msm_hdmi_phy_resource_enable(struct hdmi_phy *phy);
178 void msm_hdmi_phy_resource_disable(struct hdmi_phy *phy);
179 void msm_hdmi_phy_powerup(struct hdmi_phy *phy, unsigned long int pixclock);
[all …]
Dhdmi_phy.c11 static int msm_hdmi_phy_resource_init(struct hdmi_phy *phy) in msm_hdmi_phy_resource_init()
55 int msm_hdmi_phy_resource_enable(struct hdmi_phy *phy) in msm_hdmi_phy_resource_enable()
79 void msm_hdmi_phy_resource_disable(struct hdmi_phy *phy) in msm_hdmi_phy_resource_disable()
93 void msm_hdmi_phy_powerup(struct hdmi_phy *phy, unsigned long int pixclock) in msm_hdmi_phy_powerup()
101 void msm_hdmi_phy_powerdown(struct hdmi_phy *phy) in msm_hdmi_phy_powerdown()
137 struct hdmi_phy *phy; in msm_hdmi_phy_probe()
Dhdmi_phy_8x74.c9 static void hdmi_phy_8x74_powerup(struct hdmi_phy *phy, in hdmi_phy_8x74_powerup()
22 static void hdmi_phy_8x74_powerdown(struct hdmi_phy *phy) in hdmi_phy_8x74_powerdown()
Dhdmi_phy_8960.c9 static void hdmi_phy_8960_powerup(struct hdmi_phy *phy, in hdmi_phy_8960_powerup()
28 static void hdmi_phy_8960_powerdown(struct hdmi_phy *phy) in hdmi_phy_8960_powerdown()
Dhdmi_phy_8x60.c11 static void hdmi_phy_8x60_powerup(struct hdmi_phy *phy, in hdmi_phy_8x60_powerup()
95 static void hdmi_phy_8x60_powerdown(struct hdmi_phy *phy) in hdmi_phy_8x60_powerdown()
Dhdmi_pll_8960.c247 static inline struct hdmi_phy *pll_get_phy(struct hdmi_pll_8960 *pll) in pll_get_phy()
255 struct hdmi_phy *phy = pll_get_phy(pll); in hdmi_pll_enable()
340 struct hdmi_phy *phy = pll_get_phy(pll); in hdmi_pll_disable()
Dhdmi_phy_8996.c81 static inline struct hdmi_phy *pll_get_phy(struct hdmi_pll_8996 *pll) in pll_get_phy()
399 struct hdmi_phy *phy = pll_get_phy(pll); in hdmi_8996_pll_set_clk_rate()
543 static int hdmi_8996_phy_ready_status(struct hdmi_phy *phy) in hdmi_8996_phy_ready_status()
595 struct hdmi_phy *phy = pll_get_phy(pll); in hdmi_8996_pll_prepare()
667 struct hdmi_phy *phy = pll_get_phy(pll); in hdmi_8996_pll_unprepare()
Dhdmi_bridge.c141 struct hdmi_phy *phy = hdmi->phy; in msm_hdmi_bridge_pre_enable()
167 struct hdmi_phy *phy = hdmi->phy; in msm_hdmi_bridge_post_disable()
/Linux-v6.6/Documentation/devicetree/bindings/phy/
Dphy-rockchip-inno-hdmi.txt24 hdmi_phy: hdmi-phy@12030000 {
31 clock-output-names = "hdmi_phy";
40 phys = <&hdmi_phy>;
/Linux-v6.6/drivers/video/fbdev/omap2/omapfb/dss/
DMakefile15 hdmi_phy.o
/Linux-v6.6/drivers/gpu/drm/omapdrm/
DMakefile29 dss/hdmi_pll.o dss/hdmi_phy.o
/Linux-v6.6/arch/arm/boot/dts/mediatek/
Dmt7623n.dtsi237 phys = <&hdmi_phy>;
263 hdmi_phy: hdmi-phy@10209100 { label
Dmt7623n-rfb-emmc.dts271 &hdmi_phy {
Dmt7623n-bananapi-bpi-r2.dts299 &hdmi_phy {
/Linux-v6.6/Documentation/devicetree/bindings/clock/
Drockchip,rk3328-cru.txt35 - "hdmi_phy" - output clock of the hdmi phy pll - optional
/Linux-v6.6/drivers/gpu/drm/msm/
DMakefile26 hdmi/hdmi_phy.o \
/Linux-v6.6/arch/arm/boot/dts/rockchip/
Drk3229-xms6.dts184 &hdmi_phy {
Drk322x.dtsi582 hdmi_phy: hdmi-phy@12030000 { label
722 assigned-clock-parents = <&hdmi_phy>;
729 phys = <&hdmi_phy>;
/Linux-v6.6/arch/arm/boot/dts/qcom/
Dqcom-apq8064-ifc6410.dts151 &hdmi_phy {
Dqcom-apq8064.dtsi859 <&hdmi_phy>;
1526 phys = <&hdmi_phy>;
1548 hdmi_phy: phy@4a00400 { label
1552 reg-names = "hdmi_phy",

12