Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/net/ethernet/amd/xgbe/
Dxgbe-drv.c1107 XGMAC_SET_BITS(mac_tscr, MAC_TSCR, TSENA, 1); in xgbe_set_hwtstamp_settings()
1119 XGMAC_SET_BITS(mac_tscr, MAC_TSCR, TSENALL, 1); in xgbe_set_hwtstamp_settings()
1120 XGMAC_SET_BITS(mac_tscr, MAC_TSCR, TSENA, 1); in xgbe_set_hwtstamp_settings()
1125 XGMAC_SET_BITS(mac_tscr, MAC_TSCR, TSVER2ENA, 1); in xgbe_set_hwtstamp_settings()
1128 XGMAC_SET_BITS(mac_tscr, MAC_TSCR, TSIPV4ENA, 1); in xgbe_set_hwtstamp_settings()
1129 XGMAC_SET_BITS(mac_tscr, MAC_TSCR, TSIPV6ENA, 1); in xgbe_set_hwtstamp_settings()
1130 XGMAC_SET_BITS(mac_tscr, MAC_TSCR, SNAPTYPSEL, 1); in xgbe_set_hwtstamp_settings()
1131 XGMAC_SET_BITS(mac_tscr, MAC_TSCR, TSENA, 1); in xgbe_set_hwtstamp_settings()
1136 XGMAC_SET_BITS(mac_tscr, MAC_TSCR, TSVER2ENA, 1); in xgbe_set_hwtstamp_settings()
1139 XGMAC_SET_BITS(mac_tscr, MAC_TSCR, TSIPV4ENA, 1); in xgbe_set_hwtstamp_settings()
[all …]
Dxgbe-dev.c436 XGMAC_SET_BITS(pdata->rss_table[i], MAC_RSSDR, DMCH, table[i]); in xgbe_set_rss_lookup_table()
510 XGMAC_SET_BITS(reg_val, MAC_Q0TFCR, TFE, 0); in xgbe_disable_tx_flow_control()
537 XGMAC_SET_BITS(reg_val, MAC_Q0TFCR, TFE, 1); in xgbe_enable_tx_flow_control()
539 XGMAC_SET_BITS(reg_val, MAC_Q0TFCR, PT, 0xffff); in xgbe_enable_tx_flow_control()
618 XGMAC_SET_BITS(dma_ch_ier, DMA_CH_IER, NIE, 1); in xgbe_enable_dma_interrupts()
619 XGMAC_SET_BITS(dma_ch_ier, DMA_CH_IER, AIE, 1); in xgbe_enable_dma_interrupts()
620 XGMAC_SET_BITS(dma_ch_ier, DMA_CH_IER, FBEE, 1); in xgbe_enable_dma_interrupts()
628 XGMAC_SET_BITS(dma_ch_ier, DMA_CH_IER, TIE, 1); in xgbe_enable_dma_interrupts()
636 XGMAC_SET_BITS(dma_ch_ier, DMA_CH_IER, RBUE, 1); in xgbe_enable_dma_interrupts()
638 XGMAC_SET_BITS(dma_ch_ier, DMA_CH_IER, RIE, 1); in xgbe_enable_dma_interrupts()
[all …]
Dxgbe-main.c443 XGMAC_SET_BITS(pdata->rss_table[i], MAC_RSSDR, DMCH, in xgbe_probe()
446 XGMAC_SET_BITS(pdata->rss_options, MAC_RSSCR, IP2TE, 1); in xgbe_probe()
447 XGMAC_SET_BITS(pdata->rss_options, MAC_RSSCR, TCP4TE, 1); in xgbe_probe()
448 XGMAC_SET_BITS(pdata->rss_options, MAC_RSSCR, UDP4TE, 1); in xgbe_probe()
Dxgbe-common.h1020 #define XGMAC_SET_BITS(_var, _prefix, _field, _val) \ macro