Lines Matching refs:phy_ts_base_write
27 static int phy_ts_base_write(struct phy_device *phydev, u32 regnum, u16 val) in phy_ts_base_write() function
85 phy_ts_base_write(phydev, MSCC_EXT_PAGE_ACCESS, MSCC_PHY_PAGE_1588); in vsc85xx_ts_read_csr()
87 phy_ts_base_write(phydev, MSCC_PHY_TS_BIU_ADDR_CNTL, BIU_ADDR_EXE | in vsc85xx_ts_read_csr()
99 phy_ts_base_write(phydev, MSCC_EXT_PAGE_ACCESS, MSCC_PHY_PAGE_STANDARD); in vsc85xx_ts_read_csr()
137 phy_ts_base_write(phydev, MSCC_EXT_PAGE_ACCESS, MSCC_PHY_PAGE_1588); in vsc85xx_ts_write_csr()
140 phy_ts_base_write(phydev, MSCC_PHY_TS_CSR_DATA_MSB, upper); in vsc85xx_ts_write_csr()
142 phy_ts_base_write(phydev, MSCC_PHY_TS_CSR_DATA_LSB, lower); in vsc85xx_ts_write_csr()
144 phy_ts_base_write(phydev, MSCC_PHY_TS_BIU_ADDR_CNTL, BIU_ADDR_EXE | in vsc85xx_ts_write_csr()
152 phy_ts_base_write(phydev, MSCC_EXT_PAGE_ACCESS, MSCC_PHY_PAGE_STANDARD); in vsc85xx_ts_write_csr()
155 phy_ts_base_write(phydev, MSCC_PHY_BYPASS_CONTROL, bypass); in vsc85xx_ts_write_csr()
1276 phy_ts_base_write(phydev, MSCC_EXT_PAGE_ACCESS, in __vsc8584_init_ptp()
1278 phy_ts_base_write(phydev, 29, 0x7ae0); in __vsc8584_init_ptp()
1279 phy_ts_base_write(phydev, 30, 0xb71c); in __vsc8584_init_ptp()
1280 phy_ts_base_write(phydev, MSCC_EXT_PAGE_ACCESS, in __vsc8584_init_ptp()