Home
last modified time | relevance | path

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

12

/linux/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()
93 hdmi_phy = devm_kzalloc(dev, sizeof(*hdmi_phy), GFP_KERNEL); in mtk_hdmi_phy_probe()
94 if (!hdmi_phy) in mtk_hdmi_phy_probe()
113 hdmi_phy->dev = dev; in mtk_hdmi_phy_probe()
114 hdmi_phy->conf = in mtk_hdmi_phy_probe()
118 hdmi_phy->pll = devm_clk_register(dev, &hdmi_phy->pll_hw); in mtk_hdmi_phy_probe()
151 hdmi_phy->conf->hdmi_phy_disable_tmds(hdmi_phy); in mtk_hdmi_phy_probe()
[all …]
A Dphy-mtk-hdmi-mt8195.c29 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()
45 void __iomem *regs = hdmi_phy->regs; in mtk_hdmi_pll_sel_src()
57 void __iomem *regs = hdmi_phy->regs; in mtk_hdmi_pll_perf()
225 hdmi_phy->tmds_over_340M = true; in mtk_hdmi_pll_calc()
227 hdmi_phy->tmds_over_340M = false; in mtk_hdmi_pll_calc()
424 hdmi_phy->pll_rate = rate; in mtk_hdmi_pll_round_rate()
433 return hdmi_phy->pll_rate; in mtk_hdmi_pll_recalc_rate()
456 vtx_signal_en(hdmi_phy, true); in mtk_hdmi_phy_enable_tmds()
462 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.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/drivers/gpu/drm/msm/hdmi/
A Dhdmi.h22 struct hdmi_phy;
58 struct hdmi_phy *phy;
146 void (*powerup)(struct hdmi_phy *phy, unsigned long int pixclock);
147 void (*powerdown)(struct hdmi_phy *phy);
160 struct hdmi_phy { struct
169 static inline void hdmi_phy_write(struct hdmi_phy *phy, u32 reg, u32 data) in hdmi_phy_write() argument
174 static inline u32 hdmi_phy_read(struct hdmi_phy *phy, u32 reg) in hdmi_phy_read()
179 int msm_hdmi_phy_resource_enable(struct hdmi_phy *phy);
180 void msm_hdmi_phy_resource_disable(struct hdmi_phy *phy);
181 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()
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()
140 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()
449 struct hdmi_phy *phy = pll_get_phy(pll); in hdmi_8998_pll_set_clk_rate()
570 static int hdmi_8998_phy_ready_status(struct hdmi_phy *phy) in hdmi_8998_phy_ready_status()
614 struct hdmi_phy *phy = pll_get_phy(pll); in hdmi_8998_pll_prepare()
672 struct hdmi_phy *phy = pll_get_phy(pll); in hdmi_8998_pll_unprepare()
A Dhdmi_bridge.c133 struct hdmi_phy *phy = hdmi->phy; in msm_hdmi_bridge_pre_enable()
159 struct hdmi_phy *phy = hdmi->phy; in msm_hdmi_bridge_post_disable()
/linux/Documentation/devicetree/bindings/phy/
A Dphy-rockchip-inno-hdmi.txt24 hdmi_phy: hdmi-phy@12030000 {
31 clock-output-names = "hdmi_phy";
40 phys = <&hdmi_phy>;
A Dqcom,hdmi-phy-other.yaml26 - const: hdmi_phy
113 hdmi_phy: phy@4a00400 {
115 reg-names = "hdmi_phy",
A Dqcom,hdmi-phy-qmp.yaml29 - const: hdmi_phy
82 "hdmi_phy";
A Dmediatek,hdmi-phy.yaml84 hdmi_phy: hdmi-phy@10209100 {
/linux/Documentation/devicetree/bindings/display/msm/
A Dhdmi.yaml51 - hdmi_phy
203 phys = <&hdmi_phy>;
234 phys = <&hdmi_phy>;
/linux/drivers/video/fbdev/omap2/omapfb/dss/
A DMakefile15 hdmi_phy.o
/linux/drivers/gpu/drm/omapdrm/
A DMakefile29 dss/hdmi_pll.o dss/hdmi_phy.o
/linux/Documentation/devicetree/bindings/display/
A Dallwinner,sun8i-a83t-dw-hdmi.yaml173 phys = <&hdmi_phy>;
231 phys = <&hdmi_phy>;
A Dallwinner,sun8i-a83t-hdmi-phy.yaml105 hdmi_phy: hdmi-phy@1ef0000 {
/linux/arch/arm/boot/dts/mediatek/
A Dmt7623n.dtsi237 phys = <&hdmi_phy>;
263 hdmi_phy: hdmi-phy@10209100 { label
/linux/Documentation/devicetree/bindings/clock/
A Drockchip,rk3328-cru.txt35 - "hdmi_phy" - output clock of the hdmi phy pll - optional

Completed in 68 milliseconds

12