Home
last modified time | relevance | path

Searched refs:miphy_phy (Results 1 – 2 of 2) sorted by relevance

/linux-4.1.27/drivers/phy/
Dphy-miphy365x.c177 static int miphy365x_set_path(struct miphy365x_phy *miphy_phy, in miphy365x_set_path() argument
180 bool sata = (miphy_phy->type == PHY_TYPE_SATA); in miphy365x_set_path()
183 miphy_phy->ctrlreg, in miphy365x_set_path()
188 static int miphy365x_init_pcie_port(struct miphy365x_phy *miphy_phy, in miphy365x_init_pcie_port() argument
193 if (miphy_phy->pcie_tx_pol_inv) { in miphy365x_init_pcie_port()
196 writeb_relaxed(val, miphy_phy->base + CTRL_REG); in miphy365x_init_pcie_port()
197 writeb_relaxed(0x00, miphy_phy->base + PCIE_REG); in miphy365x_init_pcie_port()
203 static inline int miphy365x_hfc_not_rdy(struct miphy365x_phy *miphy_phy, in miphy365x_hfc_not_rdy() argument
211 regval = readb_relaxed(miphy_phy->base + STATUS_REG); in miphy365x_hfc_not_rdy()
222 static inline int miphy365x_rdy(struct miphy365x_phy *miphy_phy, in miphy365x_rdy() argument
[all …]
Dphy-miphy28lp.c368 static inline void miphy28lp_set_reset(struct miphy28lp_phy *miphy_phy) in miphy28lp_set_reset() argument
370 void *base = miphy_phy->base; in miphy28lp_set_reset()
382 if (miphy_phy->type == PHY_TYPE_PCIE) { in miphy28lp_set_reset()
391 static inline void miphy28lp_pll_calibration(struct miphy28lp_phy *miphy_phy, in miphy28lp_pll_calibration() argument
394 void *base = miphy_phy->base; in miphy28lp_pll_calibration()
415 if (miphy_phy->type != PHY_TYPE_SATA) in miphy28lp_pll_calibration()
420 if (miphy_phy->type == PHY_TYPE_USB3) { in miphy28lp_pll_calibration()
433 static inline void miphy28lp_sata_config_gen(struct miphy28lp_phy *miphy_phy) in miphy28lp_sata_config_gen() argument
435 void __iomem *base = miphy_phy->base; in miphy28lp_sata_config_gen()
460 static inline void miphy28lp_pcie_config_gen(struct miphy28lp_phy *miphy_phy) in miphy28lp_pcie_config_gen() argument
[all …]