Home
last modified time | relevance | path

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

/drivers/phy/mediatek/
A Dphy-mtk-hdmi.c34 hdmi_phy->conf->hdmi_phy_enable_tmds(hdmi_phy); in mtk_hdmi_phy_power_on()
42 hdmi_phy->conf->hdmi_phy_disable_tmds(hdmi_phy); in mtk_hdmi_phy_power_off()
61 if (hdmi_phy && hdmi_phy->conf && in mtk_hdmi_phy_dev_get_ops()
66 if (hdmi_phy) in mtk_hdmi_phy_dev_get_ops()
87 .dev = hdmi_phy->dev, in mtk_hdmi_phy_register_regulators()
115 hdmi_phy = devm_kzalloc(dev, sizeof(*hdmi_phy), GFP_KERNEL); in mtk_hdmi_phy_probe()
116 if (!hdmi_phy) in mtk_hdmi_phy_probe()
135 hdmi_phy->dev = dev; in mtk_hdmi_phy_probe()
136 hdmi_phy->conf = in mtk_hdmi_phy_probe()
140 hdmi_phy->pll = devm_clk_register(dev, &hdmi_phy->pll_hw); in mtk_hdmi_phy_probe()
[all …]
A Dphy-mtk-hdmi-mt8195.c31 void __iomem *regs = hdmi_phy->regs; in mtk_phy_tmds_clk_ratio()
33 mtk_hdmi_ana_fifo_en(hdmi_phy); in mtk_phy_tmds_clk_ratio()
47 void __iomem *regs = hdmi_phy->regs; in mtk_hdmi_pll_sel_src()
59 void __iomem *regs = hdmi_phy->regs; in mtk_hdmi_pll_perf()
227 hdmi_phy->tmds_over_340M = true; in mtk_hdmi_pll_calc()
229 hdmi_phy->tmds_over_340M = false; in mtk_hdmi_pll_calc()
426 hdmi_phy->pll_rate = rate; in mtk_hdmi_pll_round_rate()
435 return hdmi_phy->pll_rate; in mtk_hdmi_pll_recalc_rate()
458 vtx_signal_en(hdmi_phy, true); in mtk_hdmi_phy_enable_tmds()
464 vtx_signal_en(hdmi_phy, false); in mtk_hdmi_phy_disable_tmds()
[all …]
A 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()
126 hdmi_phy->pll_rate = rate; in mtk_hdmi_pll_round_rate()
139 void __iomem *base = hdmi_phy->regs; in mtk_hdmi_pll_set_rate()
182 hdmi_ibias = hdmi_phy->ibias; in mtk_hdmi_pll_set_rate()
187 hdmi_ibias = hdmi_phy->ibias_up; in mtk_hdmi_pll_set_rate()
219 return hdmi_phy->pll_rate; in mtk_hdmi_pll_recalc_rate()
232 mtk_phy_set_bits(hdmi_phy->regs + HDMI_CON3, in mtk_hdmi_phy_enable_tmds()
[all …]
A 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()
179 void __iomem *base = hdmi_phy->regs; in mtk_hdmi_phy_enable_tmds()
[all …]
A Dphy-mtk-hdmi.h27 void (*hdmi_phy_enable_tmds)(struct mtk_hdmi_phy *hdmi_phy);
28 void (*hdmi_phy_disable_tmds)(struct mtk_hdmi_phy *hdmi_phy);
/drivers/gpu/drm/msm/hdmi/
A Dhdmi.h22 struct hdmi_phy;
58 struct hdmi_phy *phy;
135 void (*powerup)(struct hdmi_phy *phy, unsigned long int pixclock);
136 void (*powerdown)(struct hdmi_phy *phy);
149 struct hdmi_phy { struct
158 static inline void hdmi_phy_write(struct hdmi_phy *phy, u32 reg, u32 data) in hdmi_phy_write() argument
163 static inline u32 hdmi_phy_read(struct hdmi_phy *phy, u32 reg) in hdmi_phy_read()
168 int msm_hdmi_phy_resource_enable(struct hdmi_phy *phy);
169 void msm_hdmi_phy_resource_disable(struct hdmi_phy *phy);
170 void msm_hdmi_phy_powerup(struct hdmi_phy *phy, unsigned long int pixclock);
[all …]
A 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()
83 void msm_hdmi_phy_resource_disable(struct hdmi_phy *phy) in msm_hdmi_phy_resource_disable()
97 void msm_hdmi_phy_powerup(struct hdmi_phy *phy, unsigned long int pixclock) in msm_hdmi_phy_powerup()
105 void msm_hdmi_phy_powerdown(struct hdmi_phy *phy) in msm_hdmi_phy_powerdown()
144 struct hdmi_phy *phy; in msm_hdmi_phy_probe()
A 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()
A 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()
A 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()
A 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()
A 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()
A Dhdmi_phy_8998.c80 static inline struct hdmi_phy *pll_get_phy(struct hdmi_pll_8998 *pll) in pll_get_phy()
448 struct hdmi_phy *phy = pll_get_phy(pll); in hdmi_8998_pll_set_clk_rate()
569 static int hdmi_8998_phy_ready_status(struct hdmi_phy *phy) in hdmi_8998_phy_ready_status()
613 struct hdmi_phy *phy = pll_get_phy(pll); in hdmi_8998_pll_prepare()
671 struct hdmi_phy *phy = pll_get_phy(pll); in hdmi_8998_pll_unprepare()
A Dhdmi_bridge.c289 struct hdmi_phy *phy = hdmi->phy; in msm_hdmi_bridge_atomic_pre_enable()
331 struct hdmi_phy *phy = hdmi->phy; in msm_hdmi_bridge_atomic_post_disable()
/drivers/video/fbdev/omap2/omapfb/dss/
A DMakefile15 hdmi_phy.o
/drivers/gpu/drm/omapdrm/
A DMakefile29 dss/hdmi_pll.o dss/hdmi_phy.o
/drivers/gpu/drm/msm/
A DMakefile38 hdmi/hdmi_phy.o \

Completed in 37 milliseconds