Searched refs:XLGMAC_GET_REG_BITS (Results 1 – 6 of 6) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/synopsys/ |
D | dwc-xlgmac-common.c | 371 hw_feat->phyifsel = XLGMAC_GET_REG_BITS(mac_hfr0, in xlgmac_get_all_hw_features() 374 hw_feat->vlhash = XLGMAC_GET_REG_BITS(mac_hfr0, in xlgmac_get_all_hw_features() 377 hw_feat->sma = XLGMAC_GET_REG_BITS(mac_hfr0, in xlgmac_get_all_hw_features() 380 hw_feat->rwk = XLGMAC_GET_REG_BITS(mac_hfr0, in xlgmac_get_all_hw_features() 383 hw_feat->mgk = XLGMAC_GET_REG_BITS(mac_hfr0, in xlgmac_get_all_hw_features() 386 hw_feat->mmc = XLGMAC_GET_REG_BITS(mac_hfr0, in xlgmac_get_all_hw_features() 389 hw_feat->aoe = XLGMAC_GET_REG_BITS(mac_hfr0, in xlgmac_get_all_hw_features() 392 hw_feat->ts = XLGMAC_GET_REG_BITS(mac_hfr0, in xlgmac_get_all_hw_features() 395 hw_feat->eee = XLGMAC_GET_REG_BITS(mac_hfr0, in xlgmac_get_all_hw_features() 398 hw_feat->tx_coe = XLGMAC_GET_REG_BITS(mac_hfr0, in xlgmac_get_all_hw_features() [all …]
|
D | dwc-xlgmac-hw.c | 249 regval = XLGMAC_GET_REG_BITS(readl(pdata->mac_regs + MAC_PFR), in xlgmac_set_promiscuous_mode() 279 regval = XLGMAC_GET_REG_BITS(readl(pdata->mac_regs + MAC_PFR), in xlgmac_set_all_multicast_mode() 482 tx_status = XLGMAC_GET_REG_BITS(tx_status, tx_pos, in xlgmac_prepare_tx_stop() 586 prxq = XLGMAC_GET_REG_BITS(rx_status, MTL_Q_RQDR_PRXQ_POS, in xlgmac_prepare_rx_stop() 588 rxqsts = XLGMAC_GET_REG_BITS(rx_status, MTL_Q_RQDR_RXQSTS_POS, in xlgmac_prepare_rx_stop() 717 csum = XLGMAC_GET_REG_BITS(pkt_info->attributes, in xlgmac_dev_xmit() 720 tso = XLGMAC_GET_REG_BITS(pkt_info->attributes, in xlgmac_dev_xmit() 723 vlan = XLGMAC_GET_REG_BITS(pkt_info->attributes, in xlgmac_dev_xmit() 848 if (XLGMAC_GET_REG_BITS(pkt_info->attributes, in xlgmac_dev_xmit() 1783 regval = XLGMAC_GET_REG_BITS(regval, DMA_CH_TCR_PBL_POS, in xlgmac_get_tx_pbl_val() [all …]
|
D | dwc-xlgmac-net.c | 75 if (!XLGMAC_GET_REG_BITS(pkt_info->attributes, in xlgmac_prep_tso() 285 ti = XLGMAC_GET_REG_BITS(dma_ch_isr, DMA_CH_SR_TI_POS, in xlgmac_isr() 287 ri = XLGMAC_GET_REG_BITS(dma_ch_isr, DMA_CH_SR_RI_POS, in xlgmac_isr() 300 if (XLGMAC_GET_REG_BITS(dma_ch_isr, DMA_CH_SR_TPS_POS, in xlgmac_isr() 304 if (XLGMAC_GET_REG_BITS(dma_ch_isr, DMA_CH_SR_RPS_POS, in xlgmac_isr() 308 if (XLGMAC_GET_REG_BITS(dma_ch_isr, DMA_CH_SR_TBU_POS, in xlgmac_isr() 312 if (XLGMAC_GET_REG_BITS(dma_ch_isr, DMA_CH_SR_RBU_POS, in xlgmac_isr() 317 if (XLGMAC_GET_REG_BITS(dma_ch_isr, DMA_CH_SR_FBE_POS, in xlgmac_isr() 327 if (XLGMAC_GET_REG_BITS(dma_isr, DMA_ISR_MACIS_POS, in xlgmac_isr() 331 if (XLGMAC_GET_REG_BITS(mac_isr, MAC_ISR_MMCTXIS_POS, in xlgmac_isr() [all …]
|
D | dwc-xlgmac-ethtool.c | 113 snpsver = XLGMAC_GET_REG_BITS(ver, MAC_VR_SNPSVER_POS, in xlgmac_ethtool_get_drvinfo() 115 devid = XLGMAC_GET_REG_BITS(ver, MAC_VR_DEVID_POS, in xlgmac_ethtool_get_drvinfo() 117 userver = XLGMAC_GET_REG_BITS(ver, MAC_VR_USERVER_POS, in xlgmac_ethtool_get_drvinfo()
|
D | dwc-xlgmac-desc.c | 519 tso = XLGMAC_GET_REG_BITS(pkt_info->attributes, in xlgmac_map_tx_skb() 522 vlan = XLGMAC_GET_REG_BITS(pkt_info->attributes, in xlgmac_map_tx_skb()
|
D | dwc-xlgmac.h | 101 #define XLGMAC_GET_REG_BITS(var, pos, len) ({ \ macro
|