Searched refs:PTP_CMD_CTL (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/net/ethernet/microchip/ |
H A D | lan743x_ptp.c | 65 (data = (lan743x_csr_read(adapter, PTP_CMD_CTL) & in lan743x_ptp_wait_till_cmd_done() 831 val = lan743x_csr_read(adapter, PTP_CMD_CTL); in lan743x_ptp_io_perout() 833 lan743x_csr_write(adapter, PTP_CMD_CTL, val); in lan743x_ptp_io_perout() 1204 lan743x_csr_write(adapter, PTP_CMD_CTL, PTP_CMD_CTL_PTP_CLOCK_READ_); in lan743x_ptp_clock_get() 1226 lan743x_csr_write(adapter, PTP_CMD_CTL, PTP_CMD_CTL_PTP_CLOCK_READ_); in lan743x_ptp_io_clock_get() 1347 lan743x_csr_write(adapter, PTP_CMD_CTL, in lan743x_ptp_clock_step() 1359 lan743x_csr_write(adapter, PTP_CMD_CTL, in lan743x_ptp_clock_step() 1631 if (lan743x_csr_read(adapter, PTP_CMD_CTL) & PTP_CMD_CTL_PTP_ENABLE_) in lan743x_ptp_is_enabled() 1647 lan743x_csr_write(adapter, PTP_CMD_CTL, PTP_CMD_CTL_PTP_ENABLE_); in lan743x_ptp_enable() 1662 lan743x_csr_write(adapter, PTP_CMD_CTL, PTP_CMD_CTL_PTP_DISABLE_); in lan743x_ptp_disable() [all …]
|
H A D | lan743x_main.h | 452 #define PTP_CMD_CTL (0x0A00) macro
|
/openbmc/linux/drivers/net/phy/ |
H A D | micrel.c | 149 #define PTP_CMD_CTL 0x0200 macro 2556 lanphy_write_page_reg(ptp_priv->phydev, 4, PTP_CMD_CTL, in lan8814_hwtstamp() 2559 lanphy_write_page_reg(ptp_priv->phydev, 4, PTP_CMD_CTL, in lan8814_hwtstamp() 2689 lanphy_write_page_reg(phydev, 4, PTP_CMD_CTL, PTP_CMD_CTL_PTP_CLOCK_LOAD_); in lan8814_ptp_clock_set() 2695 lanphy_write_page_reg(phydev, 4, PTP_CMD_CTL, PTP_CMD_CTL_PTP_CLOCK_READ_); in lan8814_ptp_clock_get() 2843 lanphy_write_page_reg(phydev, 4, PTP_CMD_CTL, in lan8814_ptp_clock_step() 2858 lanphy_write_page_reg(phydev, 4, PTP_CMD_CTL, in lan8814_ptp_clock_step()
|