Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-drv.c524 XGMAC_SET_BITS(dma_ch_isr, DMA_CH_SR, TI, 0); in xgbe_isr_task()
525 XGMAC_SET_BITS(dma_ch_isr, DMA_CH_SR, RI, 0); in xgbe_isr_task()
637 XGMAC_SET_BITS(dma_status, DMA_CH_SR, TI, 1); in xgbe_dma_isr()
638 XGMAC_SET_BITS(dma_status, DMA_CH_SR, RI, 1); in xgbe_dma_isr()
1537 XGMAC_SET_BITS(mac_tscr, MAC_TSCR, TSENA, 1); in xgbe_set_hwtstamp_settings()
1551 XGMAC_SET_BITS(mac_tscr, MAC_TSCR, TSENA, 1); in xgbe_set_hwtstamp_settings()
1562 XGMAC_SET_BITS(mac_tscr, MAC_TSCR, TSENA, 1); in xgbe_set_hwtstamp_settings()
1573 XGMAC_SET_BITS(mac_tscr, MAC_TSCR, TSENA, 1); in xgbe_set_hwtstamp_settings()
1585 XGMAC_SET_BITS(mac_tscr, MAC_TSCR, TSENA, 1); in xgbe_set_hwtstamp_settings()
1592 XGMAC_SET_BITS(mac_tscr, MAC_TSCR, TSENA, 1); in xgbe_set_hwtstamp_settings()
[all …]
H A Dxgbe-dev.c552 XGMAC_SET_BITS(reg_val, MAC_Q0TFCR, TFE, 0); in xgbe_disable_tx_flow_control()
596 XGMAC_SET_BITS(reg_val, MAC_Q0TFCR, TFE, 1); in xgbe_enable_tx_flow_control()
598 XGMAC_SET_BITS(reg_val, MAC_Q0TFCR, PT, 0xffff); in xgbe_enable_tx_flow_control()
700 XGMAC_SET_BITS(channel->curr_ier, in xgbe_enable_dma_interrupts()
712 XGMAC_SET_BITS(channel->curr_ier, in xgbe_enable_dma_interrupts()
741 XGMAC_SET_BITS(mac_ier, MAC_IER, TSIE, 1); in xgbe_enable_mac_interrupts()
1302 XGMAC_SET_BITS(mdio_sca, MAC_MDIOSCAR, RA, reg); in xgbe_create_mdio_sca_c22()
1313 XGMAC_SET_BITS(mdio_sca, MAC_MDIOSCAR, RA, reg); in xgbe_create_mdio_sca_c45()
1315 XGMAC_SET_BITS(mdio_sca, MAC_MDIOSCAR, DA, da); in xgbe_create_mdio_sca_c45()
2283 XGMAC_SET_BITS(sbmr, DMA_SBMR, EAME, 1); in xgbe_config_dma_bus()
[all …]
H A Dxgbe-main.c327 XGMAC_SET_BITS(pdata->rss_options, MAC_RSSCR, IP2TE, 1); in xgbe_config_netdev()
328 XGMAC_SET_BITS(pdata->rss_options, MAC_RSSCR, TCP4TE, 1); in xgbe_config_netdev()
329 XGMAC_SET_BITS(pdata->rss_options, MAC_RSSCR, UDP4TE, 1); in xgbe_config_netdev()
H A Dxgbe-common.h1480 #define XGMAC_SET_BITS(_var, _prefix, _field, _val) \ macro