Searched refs:MAC_TSCR (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.1/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-drv.c | 1520 XGMAC_SET_BITS(mac_tscr, MAC_TSCR, TSENA, 1); in xgbe_set_hwtstamp_settings() 1533 XGMAC_SET_BITS(mac_tscr, MAC_TSCR, TSENALL, 1); in xgbe_set_hwtstamp_settings() 1534 XGMAC_SET_BITS(mac_tscr, MAC_TSCR, TSENA, 1); in xgbe_set_hwtstamp_settings() 1539 XGMAC_SET_BITS(mac_tscr, MAC_TSCR, TSVER2ENA, 1); in xgbe_set_hwtstamp_settings() 1542 XGMAC_SET_BITS(mac_tscr, MAC_TSCR, TSIPV4ENA, 1); in xgbe_set_hwtstamp_settings() 1543 XGMAC_SET_BITS(mac_tscr, MAC_TSCR, TSIPV6ENA, 1); in xgbe_set_hwtstamp_settings() 1544 XGMAC_SET_BITS(mac_tscr, MAC_TSCR, SNAPTYPSEL, 1); in xgbe_set_hwtstamp_settings() 1545 XGMAC_SET_BITS(mac_tscr, MAC_TSCR, TSENA, 1); in xgbe_set_hwtstamp_settings() 1550 XGMAC_SET_BITS(mac_tscr, MAC_TSCR, TSVER2ENA, 1); in xgbe_set_hwtstamp_settings() 1553 XGMAC_SET_BITS(mac_tscr, MAC_TSCR, TSIPV4ENA, 1); in xgbe_set_hwtstamp_settings() [all …]
|
D | xgbe-ptp.c | 270 XGMAC_IOWRITE(pdata, MAC_TSCR, 0); in xgbe_ptp_register()
|
D | xgbe-dev.c | 1529 XGMAC_IOWRITE_BITS(pdata, MAC_TSCR, TSADDREG, 1); in xgbe_update_tstamp_addend() 1532 while (--count && XGMAC_IOREAD_BITS(pdata, MAC_TSCR, TSADDREG)) in xgbe_update_tstamp_addend() 1548 XGMAC_IOWRITE_BITS(pdata, MAC_TSCR, TSINIT, 1); in xgbe_set_tstamp_time() 1551 while (--count && XGMAC_IOREAD_BITS(pdata, MAC_TSCR, TSINIT)) in xgbe_set_tstamp_time() 1614 XGMAC_SET_BITS(mac_tscr, MAC_TSCR, TSCTRLSSR, 1); in xgbe_config_tstamp() 1617 XGMAC_SET_BITS(mac_tscr, MAC_TSCR, TSCFUPDT, 1); in xgbe_config_tstamp() 1620 XGMAC_SET_BITS(mac_tscr, MAC_TSCR, TXTSSTSM, 1); in xgbe_config_tstamp() 1622 XGMAC_IOWRITE(pdata, MAC_TSCR, mac_tscr); in xgbe_config_tstamp() 1625 if (!XGMAC_GET_BITS(mac_tscr, MAC_TSCR, TSENA)) in xgbe_config_tstamp()
|
D | xgbe-common.h | 325 #define MAC_TSCR 0x0d00 macro
|