Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-drv.c1537 XGMAC_SET_BITS(mac_tscr, MAC_TSCR, TSENA, 1); in xgbe_set_hwtstamp_settings()
1550 XGMAC_SET_BITS(mac_tscr, MAC_TSCR, TSENALL, 1); in xgbe_set_hwtstamp_settings()
1551 XGMAC_SET_BITS(mac_tscr, MAC_TSCR, TSENA, 1); in xgbe_set_hwtstamp_settings()
1556 XGMAC_SET_BITS(mac_tscr, MAC_TSCR, TSVER2ENA, 1); in xgbe_set_hwtstamp_settings()
1559 XGMAC_SET_BITS(mac_tscr, MAC_TSCR, TSIPV4ENA, 1); in xgbe_set_hwtstamp_settings()
1560 XGMAC_SET_BITS(mac_tscr, MAC_TSCR, TSIPV6ENA, 1); in xgbe_set_hwtstamp_settings()
1561 XGMAC_SET_BITS(mac_tscr, MAC_TSCR, SNAPTYPSEL, 1); in xgbe_set_hwtstamp_settings()
1562 XGMAC_SET_BITS(mac_tscr, MAC_TSCR, TSENA, 1); in xgbe_set_hwtstamp_settings()
1567 XGMAC_SET_BITS(mac_tscr, MAC_TSCR, TSVER2ENA, 1); in xgbe_set_hwtstamp_settings()
1570 XGMAC_SET_BITS(mac_tscr, MAC_TSCR, TSIPV4ENA, 1); in xgbe_set_hwtstamp_settings()
[all …]
H A Dxgbe-ptp.c258 XGMAC_IOWRITE(pdata, MAC_TSCR, 0); in xgbe_ptp_register()
H A 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()
H A Dxgbe-common.h325 #define MAC_TSCR 0x0d00 macro