Searched refs:XGMAC_GET_BITS (Results 1 – 6 of 6) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-drv.c | 510 (XGMAC_GET_BITS(dma_ch_isr, DMA_CH_SR, TI) || in xgbe_isr_bh_work() 511 XGMAC_GET_BITS(dma_ch_isr, DMA_CH_SR, RI))) { in xgbe_isr_bh_work() 528 if (XGMAC_GET_BITS(dma_ch_isr, DMA_CH_SR, RBU)) in xgbe_isr_bh_work() 532 if (XGMAC_GET_BITS(dma_ch_isr, DMA_CH_SR, FBE)) in xgbe_isr_bh_work() 539 if (XGMAC_GET_BITS(dma_isr, DMA_ISR, MACIS)) { in xgbe_isr_bh_work() 545 if (XGMAC_GET_BITS(mac_isr, MAC_ISR, MMCTXIS)) in xgbe_isr_bh_work() 548 if (XGMAC_GET_BITS(mac_isr, MAC_ISR, MMCRXIS)) in xgbe_isr_bh_work() 551 if (XGMAC_GET_BITS(mac_isr, MAC_ISR, TSIS)) { in xgbe_isr_bh_work() 557 if (XGMAC_GET_BITS(mac_tssr, MAC_TSSR, TXTSC)) { in xgbe_isr_bh_work() 566 if (XGMAC_GET_BITS(mac_isr, MAC_ISR, SMI)) { in xgbe_isr_bh_work() [all …]
|
D | xgbe-dev.c | 532 if (XGMAC_GET_BITS(pdata->hw_feat.version, MAC_VR, SNPSVER) >= 0x30) in xgbe_get_fc_queue_count() 667 ver = XGMAC_GET_BITS(pdata->hw_feat.version, MAC_VR, SNPSVER); in xgbe_enable_dma_interrupts() 1639 if (XGMAC_GET_BITS(tx_snr, MAC_TXSNR, TXTSSTSMIS)) in xgbe_get_tx_tstamp() 1682 if (!XGMAC_GET_BITS(mac_tscr, MAC_TSCR, TSENA)) in xgbe_config_tstamp() 1743 csum = XGMAC_GET_BITS(packet->attributes, TX_PACKET_ATTRIBUTES, in xgbe_dev_xmit() 1745 tso = XGMAC_GET_BITS(packet->attributes, TX_PACKET_ATTRIBUTES, in xgbe_dev_xmit() 1747 vlan = XGMAC_GET_BITS(packet->attributes, TX_PACKET_ATTRIBUTES, in xgbe_dev_xmit() 1749 vxlan = XGMAC_GET_BITS(packet->attributes, TX_PACKET_ATTRIBUTES, in xgbe_dev_xmit() 1846 if (XGMAC_GET_BITS(packet->attributes, TX_PACKET_ATTRIBUTES, PTP)) in xgbe_dev_xmit() 2091 unsigned int tnp = XGMAC_GET_BITS(packet->attributes, in xgbe_dev_read() [all …]
|
D | xgbe-ethtool.c | 414 XGMAC_GET_BITS(hw_feat->version, MAC_VR, USERVER), in xgbe_get_drvinfo() 415 XGMAC_GET_BITS(hw_feat->version, MAC_VR, DEVID), in xgbe_get_drvinfo() 416 XGMAC_GET_BITS(hw_feat->version, MAC_VR, SNPSVER)); in xgbe_get_drvinfo() 538 rxfh->indir[i] = XGMAC_GET_BITS(pdata->rss_table[i], in xgbe_get_rxfh()
|
D | xgbe-desc.c | 545 tso = XGMAC_GET_BITS(packet->attributes, TX_PACKET_ATTRIBUTES, in xgbe_map_tx_skb() 547 vlan = XGMAC_GET_BITS(packet->attributes, TX_PACKET_ATTRIBUTES, in xgbe_map_tx_skb()
|
D | xgbe-phy-v2.c | 2255 ver = XGMAC_GET_BITS(pdata->hw_feat.version, MAC_VR, SNPSVER); in enable_rx_adap() 2786 ver = XGMAC_GET_BITS(pdata->hw_feat.version, MAC_VR, SNPSVER); in xgbe_phy_valid_speed_baset_mode() 2810 ver = XGMAC_GET_BITS(pdata->hw_feat.version, MAC_VR, SNPSVER); in xgbe_phy_valid_speed_sfp_mode() 3163 ver = XGMAC_GET_BITS(pdata->hw_feat.version, MAC_VR, SNPSVER); in xgbe_phy_port_mode_mismatch()
|
D | xgbe-common.h | 1475 #define XGMAC_GET_BITS(_var, _prefix, _field) \ macro
|