Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/net/ethernet/amd/xgbe/
Dxgbe-drv.c1039 XGMAC_SET_BITS(mac_tscr, MAC_TSCR, TSENA, 1); in xgbe_set_hwtstamp_settings()
1051 XGMAC_SET_BITS(mac_tscr, MAC_TSCR, TSENALL, 1); in xgbe_set_hwtstamp_settings()
1052 XGMAC_SET_BITS(mac_tscr, MAC_TSCR, TSENA, 1); in xgbe_set_hwtstamp_settings()
1057 XGMAC_SET_BITS(mac_tscr, MAC_TSCR, TSVER2ENA, 1); in xgbe_set_hwtstamp_settings()
1060 XGMAC_SET_BITS(mac_tscr, MAC_TSCR, TSIPV4ENA, 1); in xgbe_set_hwtstamp_settings()
1061 XGMAC_SET_BITS(mac_tscr, MAC_TSCR, TSIPV6ENA, 1); in xgbe_set_hwtstamp_settings()
1062 XGMAC_SET_BITS(mac_tscr, MAC_TSCR, SNAPTYPSEL, 1); in xgbe_set_hwtstamp_settings()
1063 XGMAC_SET_BITS(mac_tscr, MAC_TSCR, TSENA, 1); in xgbe_set_hwtstamp_settings()
1068 XGMAC_SET_BITS(mac_tscr, MAC_TSCR, TSVER2ENA, 1); in xgbe_set_hwtstamp_settings()
1071 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.c699 XGMAC_SET_BITS(pdata->rss_table[i], MAC_RSSDR, DMCH, in xgbe_probe()
702 XGMAC_SET_BITS(pdata->rss_options, MAC_RSSCR, IP2TE, 1); in xgbe_probe()
703 XGMAC_SET_BITS(pdata->rss_options, MAC_RSSCR, TCP4TE, 1); in xgbe_probe()
704 XGMAC_SET_BITS(pdata->rss_options, MAC_RSSCR, UDP4TE, 1); in xgbe_probe()
Dxgbe-common.h1099 #define XGMAC_SET_BITS(_var, _prefix, _field, _val) \ macro