Home
last modified time | relevance | path

Searched refs:rxcfg (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/tundra/
Dtsi108_eth.c1158 u32 rxcfg = TSI_READ(TSI108_EC_RXCFG); in tsi108_set_rx_mode() local
1161 rxcfg &= ~(TSI108_EC_RXCFG_UC_HASH | TSI108_EC_RXCFG_MC_HASH); in tsi108_set_rx_mode()
1162 rxcfg |= TSI108_EC_RXCFG_UFE | TSI108_EC_RXCFG_MFE; in tsi108_set_rx_mode()
1166 rxcfg &= ~(TSI108_EC_RXCFG_UFE | TSI108_EC_RXCFG_MFE); in tsi108_set_rx_mode()
1171 rxcfg |= TSI108_EC_RXCFG_MFE | TSI108_EC_RXCFG_MC_HASH; in tsi108_set_rx_mode()
1198 TSI_WRITE(TSI108_EC_RXCFG, rxcfg); in tsi108_set_rx_mode()
/linux-6.1.9/drivers/net/ethernet/sun/
Dsungem.c1780 u32 rxcfg = 0; in gem_setup_multicast() local
1787 rxcfg |= MAC_RXCFG_HFE; in gem_setup_multicast()
1789 rxcfg |= MAC_RXCFG_PROM; in gem_setup_multicast()
1804 rxcfg |= MAC_RXCFG_HFE; in gem_setup_multicast()
1807 return rxcfg; in gem_setup_multicast()
2459 u32 rxcfg, rxcfg_new; in gem_set_multicast() local
2469 rxcfg = readl(gp->regs + MAC_RXCFG); in gem_set_multicast()
2476 writel(rxcfg & ~MAC_RXCFG_ENAB, gp->regs + MAC_RXCFG); in gem_set_multicast()
2483 rxcfg &= ~(MAC_RXCFG_PROM | MAC_RXCFG_HFE); in gem_set_multicast()
2484 rxcfg |= rxcfg_new; in gem_set_multicast()
[all …]
Dcassini.c2946 u32 rxcfg = 0; in cas_setup_multicast() local
2950 rxcfg |= MAC_RX_CFG_PROMISC_EN; in cas_setup_multicast()
2955 rxcfg |= MAC_RX_CFG_HASH_FILTER_EN; in cas_setup_multicast()
2959 rxcfg |= MAC_RX_CFG_HASH_FILTER_EN; in cas_setup_multicast()
2962 return rxcfg; in cas_setup_multicast()
4449 u32 rxcfg, rxcfg_new; in cas_set_multicast() local
4457 rxcfg = readl(cp->regs + REG_MAC_RX_CFG); in cas_set_multicast()
4460 writel(rxcfg & ~MAC_RX_CFG_EN, cp->regs + REG_MAC_RX_CFG); in cas_set_multicast()
4469 rxcfg &= ~(MAC_RX_CFG_PROMISC_EN | MAC_RX_CFG_HASH_FILTER_EN); in cas_set_multicast()
4470 writel(rxcfg & ~MAC_RX_CFG_EN, cp->regs + REG_MAC_RX_CFG); in cas_set_multicast()
[all …]
Dsunhme.c1332 u32 regtmp, rxcfg; in happy_meal_init() local
1550 rxcfg = BIGMAC_RXCFG_HENABLE | BIGMAC_RXCFG_REJME; in happy_meal_init()
1552 rxcfg |= BIGMAC_RXCFG_PMISC; in happy_meal_init()
1553 hme_write32(hp, bregs + BMAC_RXCFG, rxcfg); in happy_meal_init()
/linux-6.1.9/drivers/net/ethernet/sis/
Dsis900.h34 rxcfg=0x34, //Receive Configuration Register enumerator
Dsis900.c1444 sw32(rxcfg, rx_flags); in sis900_set_mode()
2441 sw32(rxcfg, sr32(rxcfg) | RxATX); in set_rx_mode()
/linux-6.1.9/drivers/net/phy/
Dmicrel.c2184 int txcfg = 0, rxcfg = 0; in lan8814_hwtstamp() local
2221 rxcfg = PTP_RX_PARSE_CONFIG_LAYER2_EN_; in lan8814_hwtstamp()
2224 rxcfg |= PTP_RX_PARSE_CONFIG_IPV4_EN_ | PTP_RX_PARSE_CONFIG_IPV6_EN_; in lan8814_hwtstamp()
2227 lanphy_write_page_reg(ptp_priv->phydev, 5, PTP_RX_PARSE_CONFIG, rxcfg); in lan8814_hwtstamp()