Home
last modified time | relevance | path

Searched refs:MAC_TSCR (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/amd/xgbe/
Dxgbe-drv.c1523 XGMAC_SET_BITS(mac_tscr, MAC_TSCR, TSENA, 1); in xgbe_set_hwtstamp_settings()
1536 XGMAC_SET_BITS(mac_tscr, MAC_TSCR, TSENALL, 1); in xgbe_set_hwtstamp_settings()
1537 XGMAC_SET_BITS(mac_tscr, MAC_TSCR, TSENA, 1); in xgbe_set_hwtstamp_settings()
1542 XGMAC_SET_BITS(mac_tscr, MAC_TSCR, TSVER2ENA, 1); in xgbe_set_hwtstamp_settings()
1545 XGMAC_SET_BITS(mac_tscr, MAC_TSCR, TSIPV4ENA, 1); in xgbe_set_hwtstamp_settings()
1546 XGMAC_SET_BITS(mac_tscr, MAC_TSCR, TSIPV6ENA, 1); in xgbe_set_hwtstamp_settings()
1547 XGMAC_SET_BITS(mac_tscr, MAC_TSCR, SNAPTYPSEL, 1); in xgbe_set_hwtstamp_settings()
1548 XGMAC_SET_BITS(mac_tscr, MAC_TSCR, TSENA, 1); in xgbe_set_hwtstamp_settings()
1553 XGMAC_SET_BITS(mac_tscr, MAC_TSCR, TSVER2ENA, 1); in xgbe_set_hwtstamp_settings()
1556 XGMAC_SET_BITS(mac_tscr, MAC_TSCR, TSIPV4ENA, 1); in xgbe_set_hwtstamp_settings()
[all …]
Dxgbe-ptp.c258 XGMAC_IOWRITE(pdata, MAC_TSCR, 0); in xgbe_ptp_register()
Dxgbe-dev.c1586 XGMAC_IOWRITE_BITS(pdata, MAC_TSCR, TSADDREG, 1); in xgbe_update_tstamp_addend()
1589 while (--count && XGMAC_IOREAD_BITS(pdata, MAC_TSCR, TSADDREG)) in xgbe_update_tstamp_addend()
1605 XGMAC_IOWRITE_BITS(pdata, MAC_TSCR, TSINIT, 1); in xgbe_set_tstamp_time()
1608 while (--count && XGMAC_IOREAD_BITS(pdata, MAC_TSCR, TSINIT)) in xgbe_set_tstamp_time()
1671 XGMAC_SET_BITS(mac_tscr, MAC_TSCR, TSCTRLSSR, 1); in xgbe_config_tstamp()
1674 XGMAC_SET_BITS(mac_tscr, MAC_TSCR, TSCFUPDT, 1); in xgbe_config_tstamp()
1677 XGMAC_SET_BITS(mac_tscr, MAC_TSCR, TXTSSTSM, 1); in xgbe_config_tstamp()
1679 XGMAC_IOWRITE(pdata, MAC_TSCR, mac_tscr); in xgbe_config_tstamp()
1682 if (!XGMAC_GET_BITS(mac_tscr, MAC_TSCR, TSENA)) in xgbe_config_tstamp()
Dxgbe-common.h325 #define MAC_TSCR 0x0d00 macro