/linux/drivers/phy/mediatek/ |
H A D | phy-mtk-hdmi.c | 27 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 …]
|
H A D | phy-mtk-hdmi-mt8195.c | 20 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 …]
|
H A D | phy-mtk-hdmi-mt8173.c | 89 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 …]
|
H A D | phy-mtk-hdmi-mt2701.c | 52 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 …]
|
H A D | phy-mtk-hdmi.h | 24 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/ |
H A D | hdmi.h | 22 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 …]
|
H A D | hdmi_phy.c | 11 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() 151 phy->mmio = msm_ioremap(pdev, "hdmi_phy"); in msm_hdmi_phy_probe()
|
H A D | hdmi_phy_8x74.c | 9 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()
|
H A D | hdmi_phy_8960.c | 9 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()
|
H A D | hdmi_phy_8x60.c | 11 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()
|
H A D | hdmi_phy_8996.c | 81 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()
|
H A D | hdmi_phy_8998.c | 80 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()
|
H A D | hdmi_pll_8960.c | 247 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()
|
H A D | hdmi_bridge.c | 133 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/ |
H A D | phy-rockchip-inno-hdmi.txt | 24 hdmi_phy: hdmi-phy@12030000 { 31 clock-output-names = "hdmi_phy"; 40 phys = <&hdmi_phy>;
|
H A D | qcom,hdmi-phy-other.yaml | 26 - const: hdmi_phy 113 hdmi_phy: phy@4a00400 { 115 reg-names = "hdmi_phy",
|
H A D | qcom,hdmi-phy-qmp.yaml | 29 - const: hdmi_phy 82 "hdmi_phy";
|
H A D | mediatek,hdmi-phy.yaml | 84 hdmi_phy: hdmi-phy@10209100 {
|
/linux/Documentation/devicetree/bindings/display/msm/ |
H A D | hdmi.yaml | 51 - hdmi_phy 203 phys = <&hdmi_phy>; 234 phys = <&hdmi_phy>;
|
/linux/Documentation/devicetree/bindings/display/ |
H A D | allwinner,sun8i-a83t-dw-hdmi.yaml | 173 phys = <&hdmi_phy>; 231 phys = <&hdmi_phy>;
|
H A D | allwinner,sun8i-a83t-hdmi-phy.yaml | 105 hdmi_phy: hdmi-phy@1ef0000 {
|
/linux/drivers/video/fbdev/omap2/omapfb/dss/ |
H A D | Makefile | 15 hdmi_phy.o
|
/linux/drivers/gpu/drm/omapdrm/ |
H A D | Makefile | 29 dss/hdmi_pll.o dss/hdmi_phy.o
|
/linux/Documentation/devicetree/bindings/clock/ |
H A D | rockchip,rk3328-cru.txt | 35 - "hdmi_phy" - output clock of the hdmi phy pll - optional
|
/linux/arch/arm/boot/dts/mediatek/ |
H A D | mt7623n.dtsi | 237 phys = <&hdmi_phy>; 263 hdmi_phy: hdmi-phy@10209100 { label
|