/kernel/linux/linux-6.6/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 in mtk_hdmi_phy_configure() 59 mtk_hdmi_phy_dev_get_ops(const struct mtk_hdmi_phy *hdmi_phy) mtk_hdmi_phy_dev_get_ops() argument 71 mtk_hdmi_phy_clk_get_data(struct mtk_hdmi_phy *hdmi_phy, struct clk_init_data *clk_init) mtk_hdmi_phy_clk_get_data() argument 81 struct mtk_hdmi_phy *hdmi_phy; mtk_hdmi_phy_probe() local [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 in mtk_hdmi_pll_set_hw() local 209 mtk_hdmi_pll_calc(struct mtk_hdmi_phy *hdmi_phy, struct clk_hw *hw, unsigned long rate, unsigned long parent_rate) mtk_hdmi_pll_calc() argument 302 struct mtk_hdmi_phy *hdmi_phy = to_mtk_hdmi_phy(hw); mtk_hdmi_pll_drv_setting() local 359 struct mtk_hdmi_phy *hdmi_phy = to_mtk_hdmi_phy(hw); mtk_hdmi_pll_prepare() local 393 struct mtk_hdmi_phy *hdmi_phy = to_mtk_hdmi_phy(hw); mtk_hdmi_pll_unprepare() local 411 struct mtk_hdmi_phy *hdmi_phy = to_mtk_hdmi_phy(hw); mtk_hdmi_pll_set_rate() local 422 struct mtk_hdmi_phy *hdmi_phy = to_mtk_hdmi_phy(hw); mtk_hdmi_pll_round_rate() local 431 struct mtk_hdmi_phy *hdmi_phy = to_mtk_hdmi_phy(hw); mtk_hdmi_pll_recalc_rate() local 444 vtx_signal_en(struct mtk_hdmi_phy *hdmi_phy, bool on) vtx_signal_en() argument 454 mtk_hdmi_phy_enable_tmds(struct mtk_hdmi_phy *hdmi_phy) mtk_hdmi_phy_enable_tmds() argument 460 mtk_hdmi_phy_disable_tmds(struct mtk_hdmi_phy *hdmi_phy) mtk_hdmi_phy_disable_tmds() argument 468 struct mtk_hdmi_phy *hdmi_phy = phy_get_drvdata(phy); mtk_hdmi_phy_configure() 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 in mtk_hdmi_pll_set_rate() 217 struct mtk_hdmi_phy *hdmi_phy = to_mtk_hdmi_phy(hw); mtk_hdmi_pll_recalc_rate() local 230 mtk_hdmi_phy_enable_tmds(struct mtk_hdmi_phy *hdmi_phy) mtk_hdmi_phy_enable_tmds() argument 238 mtk_hdmi_phy_disable_tmds(struct mtk_hdmi_phy *hdmi_phy) mtk_hdmi_phy_disable_tmds() argument [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 197 mtk_hdmi_phy_disable_tmds(struct mtk_hdmi_phy *hdmi_phy) mtk_hdmi_phy_disable_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);
|
/kernel/linux/linux-5.10/drivers/phy/mediatek/ |
H A D | phy-mtk-hdmi-mt2701.c | 70 struct mtk_hdmi_phy *hdmi_phy = to_mtk_hdmi_phy(hw); in mtk_hdmi_pll_prepare() local 72 mtk_hdmi_phy_set_bits(hdmi_phy, HDMI_CON7, RG_HTPLL_AUTOK_EN); in mtk_hdmi_pll_prepare() 73 mtk_hdmi_phy_clear_bits(hdmi_phy, HDMI_CON6, RG_HTPLL_RLH_EN); in mtk_hdmi_pll_prepare() 74 mtk_hdmi_phy_set_bits(hdmi_phy, HDMI_CON6, RG_HTPLL_POSDIV_MASK); in mtk_hdmi_pll_prepare() 75 mtk_hdmi_phy_set_bits(hdmi_phy, HDMI_CON2, RG_HDMITX_EN_MBIAS); in mtk_hdmi_pll_prepare() 77 mtk_hdmi_phy_set_bits(hdmi_phy, HDMI_CON6, RG_HTPLL_EN); in mtk_hdmi_pll_prepare() 78 mtk_hdmi_phy_set_bits(hdmi_phy, HDMI_CON2, RG_HDMITX_EN_TX_CKLDO); in mtk_hdmi_pll_prepare() 79 mtk_hdmi_phy_set_bits(hdmi_phy, HDMI_CON0, RG_HDMITX_EN_SLDO_MASK); in mtk_hdmi_pll_prepare() 81 mtk_hdmi_phy_set_bits(hdmi_phy, HDMI_CON2, RG_HDMITX_MBIAS_LPF_EN); in mtk_hdmi_pll_prepare() 82 mtk_hdmi_phy_set_bits(hdmi_phy, HDMI_CON in mtk_hdmi_pll_prepare() 91 struct mtk_hdmi_phy *hdmi_phy = to_mtk_hdmi_phy(hw); mtk_hdmi_pll_unprepare() local 118 struct mtk_hdmi_phy *hdmi_phy = to_mtk_hdmi_phy(hw); mtk_hdmi_pll_set_rate() local 165 struct mtk_hdmi_phy *hdmi_phy = to_mtk_hdmi_phy(hw); mtk_hdmi_pll_recalc_rate() local 203 mtk_hdmi_phy_enable_tmds(struct mtk_hdmi_phy *hdmi_phy) mtk_hdmi_phy_enable_tmds() argument 221 mtk_hdmi_phy_disable_tmds(struct mtk_hdmi_phy *hdmi_phy) mtk_hdmi_phy_disable_tmds() argument [all...] |
H A D | phy-mtk-hdmi.c | 18 void mtk_hdmi_phy_clear_bits(struct mtk_hdmi_phy *hdmi_phy, u32 offset, in mtk_hdmi_phy_clear_bits() argument 21 void __iomem *reg = hdmi_phy->regs + offset; in mtk_hdmi_phy_clear_bits() 29 void mtk_hdmi_phy_set_bits(struct mtk_hdmi_phy *hdmi_phy, u32 offset, in mtk_hdmi_phy_set_bits() argument 32 void __iomem *reg = hdmi_phy->regs + offset; in mtk_hdmi_phy_set_bits() 40 void mtk_hdmi_phy_mask(struct mtk_hdmi_phy *hdmi_phy, u32 offset, in mtk_hdmi_phy_mask() argument 43 void __iomem *reg = hdmi_phy->regs + offset; in mtk_hdmi_phy_mask() 58 struct mtk_hdmi_phy *hdmi_phy = phy_get_drvdata(phy); in mtk_hdmi_phy_power_on() local 61 ret = clk_prepare_enable(hdmi_phy->pll); in mtk_hdmi_phy_power_on() 65 hdmi_phy->conf->hdmi_phy_enable_tmds(hdmi_phy); in mtk_hdmi_phy_power_on() 71 struct mtk_hdmi_phy *hdmi_phy = phy_get_drvdata(phy); mtk_hdmi_phy_power_off() local 80 mtk_hdmi_phy_dev_get_ops(const struct mtk_hdmi_phy *hdmi_phy) mtk_hdmi_phy_dev_get_ops() argument 92 mtk_hdmi_phy_clk_get_data(struct mtk_hdmi_phy *hdmi_phy, struct clk_init_data *clk_init) mtk_hdmi_phy_clk_get_data() argument 102 struct mtk_hdmi_phy *hdmi_phy; mtk_hdmi_phy_probe() local [all...] |
H A D | phy-mtk-hdmi-mt8173.c | 112 struct mtk_hdmi_phy *hdmi_phy = to_mtk_hdmi_phy(hw); in mtk_hdmi_pll_prepare() local 114 mtk_hdmi_phy_set_bits(hdmi_phy, HDMI_CON1, RG_HDMITX_PLL_AUTOK_EN); in mtk_hdmi_pll_prepare() 115 mtk_hdmi_phy_set_bits(hdmi_phy, HDMI_CON0, RG_HDMITX_PLL_POSDIV); in mtk_hdmi_pll_prepare() 116 mtk_hdmi_phy_clear_bits(hdmi_phy, HDMI_CON3, RG_HDMITX_MHLCK_EN); in mtk_hdmi_pll_prepare() 117 mtk_hdmi_phy_set_bits(hdmi_phy, HDMI_CON1, RG_HDMITX_PLL_BIAS_EN); in mtk_hdmi_pll_prepare() 119 mtk_hdmi_phy_set_bits(hdmi_phy, HDMI_CON0, RG_HDMITX_PLL_EN); in mtk_hdmi_pll_prepare() 121 mtk_hdmi_phy_set_bits(hdmi_phy, HDMI_CON1, RG_HDMITX_PLL_BIAS_LPF_EN); in mtk_hdmi_pll_prepare() 122 mtk_hdmi_phy_set_bits(hdmi_phy, HDMI_CON1, RG_HDMITX_PLL_TXDIV_EN); in mtk_hdmi_pll_prepare() 129 struct mtk_hdmi_phy *hdmi_phy = to_mtk_hdmi_phy(hw); in mtk_hdmi_pll_unprepare() local 131 mtk_hdmi_phy_clear_bits(hdmi_phy, HDMI_CON in mtk_hdmi_pll_unprepare() 145 struct mtk_hdmi_phy *hdmi_phy = to_mtk_hdmi_phy(hw); mtk_hdmi_pll_round_rate() local 159 struct mtk_hdmi_phy *hdmi_phy = to_mtk_hdmi_phy(hw); mtk_hdmi_pll_set_rate() local 245 struct mtk_hdmi_phy *hdmi_phy = to_mtk_hdmi_phy(hw); mtk_hdmi_pll_recalc_rate() local 258 mtk_hdmi_phy_enable_tmds(struct mtk_hdmi_phy *hdmi_phy) mtk_hdmi_phy_enable_tmds() argument 266 mtk_hdmi_phy_disable_tmds(struct mtk_hdmi_phy *hdmi_phy) mtk_hdmi_phy_disable_tmds() argument [all...] |
H A D | phy-mtk-hdmi.h | 26 void (*hdmi_phy_enable_tmds)(struct mtk_hdmi_phy *hdmi_phy); 27 void (*hdmi_phy_disable_tmds)(struct mtk_hdmi_phy *hdmi_phy); 45 void mtk_hdmi_phy_clear_bits(struct mtk_hdmi_phy *hdmi_phy, u32 offset, 47 void mtk_hdmi_phy_set_bits(struct mtk_hdmi_phy *hdmi_phy, u32 offset, 49 void mtk_hdmi_phy_mask(struct mtk_hdmi_phy *hdmi_phy, u32 offset,
|
/kernel/linux/linux-5.10/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); 159 struct hdmi_phy { struct 168 static inline void hdmi_phy_write(struct hdmi_phy *phy, u32 reg, u32 data) in hdmi_phy_write() 173 static inline u32 hdmi_phy_read(struct hdmi_phy *phy, u32 reg) in hdmi_phy_read() 178 int msm_hdmi_phy_resource_enable(struct hdmi_phy *phy); 179 void msm_hdmi_phy_resource_disable(struct hdmi_phy *phy); 180 void msm_hdmi_phy_powerup(struct hdmi_phy *ph [all...] |
H A D | hdmi_phy.c | 10 static int msm_hdmi_phy_resource_init(struct hdmi_phy *phy) in msm_hdmi_phy_resource_init() 61 int msm_hdmi_phy_resource_enable(struct hdmi_phy *phy) in msm_hdmi_phy_resource_enable() 86 void msm_hdmi_phy_resource_disable(struct hdmi_phy *phy) in msm_hdmi_phy_resource_disable() 101 void msm_hdmi_phy_powerup(struct hdmi_phy *phy, unsigned long int pixclock) in msm_hdmi_phy_powerup() 109 void msm_hdmi_phy_powerdown(struct hdmi_phy *phy) in msm_hdmi_phy_powerdown() 145 struct hdmi_phy *phy; in msm_hdmi_phy_probe() 156 phy->mmio = msm_ioremap(pdev, "hdmi_phy", "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()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/hdmi/ |
H A D | hdmi.h | 22 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() 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 *ph [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() 137 struct hdmi_phy *phy; in msm_hdmi_phy_probe() 148 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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/dss/ |
H A D | Makefile | 16 hdmi_phy.o
|
/kernel/linux/linux-5.10/drivers/video/fbdev/omap2/omapfb/dss/ |
H A D | Makefile | 15 hdmi_phy.o
|
/kernel/linux/linux-6.6/drivers/video/fbdev/omap2/omapfb/dss/ |
H A D | Makefile | 15 hdmi_phy.o
|
/kernel/linux/linux-6.6/drivers/gpu/drm/omapdrm/ |
H A D | Makefile | 29 dss/hdmi_pll.o dss/hdmi_phy.o
|