Searched refs:phy_ts_base_write (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/drivers/net/phy/mscc/ |
D | mscc_ptp.c | 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() [all …]
|