Home
last modified time | relevance | path

Searched full:fmreg (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/Documentation/devicetree/bindings/phy/
Dmediatek,tphy.yaml23 0x0100 FMREG
40 0x0100 FMREG
49 0x1100 FMREG
60 SPLLC shared by u3 ports and FMREG shared by u2 ports on V1 are put back
62 added on V2; the FMREG bank for slew rate calibration is not used anymore
Dmediatek,xsphy.yaml21 0x0100 FMREG
24 0x1100 FMREG
/linux-6.12.1/drivers/phy/mediatek/
Dphy-mtk-tphy.c299 void __iomem *fmreg; member
703 void __iomem *fmreg = u2_banks->fmreg; in hs_slew_rate_calibrate() local
722 mtk_phy_set_bits(fmreg + U3P_U2FREQ_FMMONR1, P2F_RG_FRCK_EN); in hs_slew_rate_calibrate()
725 tmp = readl(fmreg + U3P_U2FREQ_FMCR0); in hs_slew_rate_calibrate()
731 writel(tmp, fmreg + U3P_U2FREQ_FMCR0); in hs_slew_rate_calibrate()
734 mtk_phy_set_bits(fmreg + U3P_U2FREQ_FMCR0, P2F_RG_FREQDET_EN); in hs_slew_rate_calibrate()
737 readl_poll_timeout(fmreg + U3P_U2FREQ_FMMONR1, tmp, in hs_slew_rate_calibrate()
740 fm_out = readl(fmreg + U3P_U2FREQ_VALUE); in hs_slew_rate_calibrate()
743 mtk_phy_clear_bits(fmreg + U3P_U2FREQ_FMCR0, P2F_RG_FREQDET_EN); in hs_slew_rate_calibrate()
746 mtk_phy_clear_bits(fmreg + U3P_U2FREQ_FMMONR1, P2F_RG_FRCK_EN); in hs_slew_rate_calibrate()
[all …]