Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/ti/icssg/
Dicssg_config.c110 u32 rxcfg, txcfg, rxcfg_reg, txcfg_reg, pcnt_reg; in icssg_config_mii_init() local
124 rxcfg = MII_RXCFG_DEFAULT; in icssg_config_mii_init()
128 rxcfg |= PRUSS_MII_RT_RXCFG_RX_MUX_SEL; in icssg_config_mii_init()
138 regmap_write(mii_rt, rxcfg_reg, rxcfg); in icssg_config_mii_init()
/linux-6.6.21/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.6.21/drivers/net/ethernet/sun/
Dsungem.c1781 u32 rxcfg = 0; in gem_setup_multicast() local
1788 rxcfg |= MAC_RXCFG_HFE; in gem_setup_multicast()
1790 rxcfg |= MAC_RXCFG_PROM; in gem_setup_multicast()
1805 rxcfg |= MAC_RXCFG_HFE; in gem_setup_multicast()
1808 return rxcfg; in gem_setup_multicast()
2460 u32 rxcfg, rxcfg_new; in gem_set_multicast() local
2470 rxcfg = readl(gp->regs + MAC_RXCFG); in gem_set_multicast()
2477 writel(rxcfg & ~MAC_RXCFG_ENAB, gp->regs + MAC_RXCFG); in gem_set_multicast()
2484 rxcfg &= ~(MAC_RXCFG_PROM | MAC_RXCFG_HFE); in gem_set_multicast()
2485 rxcfg |= rxcfg_new; in gem_set_multicast()
[all …]
Dcassini.c2924 u32 rxcfg = 0; in cas_setup_multicast() local
2928 rxcfg |= MAC_RX_CFG_PROMISC_EN; in cas_setup_multicast()
2933 rxcfg |= MAC_RX_CFG_HASH_FILTER_EN; in cas_setup_multicast()
2937 rxcfg |= MAC_RX_CFG_HASH_FILTER_EN; in cas_setup_multicast()
2940 return rxcfg; in cas_setup_multicast()
4427 u32 rxcfg, rxcfg_new; in cas_set_multicast() local
4435 rxcfg = readl(cp->regs + REG_MAC_RX_CFG); in cas_set_multicast()
4438 writel(rxcfg & ~MAC_RX_CFG_EN, cp->regs + REG_MAC_RX_CFG); in cas_set_multicast()
4447 rxcfg &= ~(MAC_RX_CFG_PROMISC_EN | MAC_RX_CFG_HASH_FILTER_EN); in cas_set_multicast()
4448 writel(rxcfg & ~MAC_RX_CFG_EN, cp->regs + REG_MAC_RX_CFG); in cas_set_multicast()
[all …]
Dsunhme.c1265 u32 regtmp, rxcfg; in happy_meal_init() local
1474 rxcfg = BIGMAC_RXCFG_HENABLE | BIGMAC_RXCFG_REJME; in happy_meal_init()
1476 rxcfg |= BIGMAC_RXCFG_PMISC; in happy_meal_init()
1477 hme_write32(hp, bregs + BMAC_RXCFG, rxcfg); in happy_meal_init()
/linux-6.6.21/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.6.21/drivers/net/phy/
Dmicrel.c2389 int txcfg = 0, rxcfg = 0; in lan8814_hwtstamp() local
2426 rxcfg = PTP_RX_PARSE_CONFIG_LAYER2_EN_; in lan8814_hwtstamp()
2429 rxcfg |= PTP_RX_PARSE_CONFIG_IPV4_EN_ | PTP_RX_PARSE_CONFIG_IPV6_EN_; in lan8814_hwtstamp()
2432 lanphy_write_page_reg(ptp_priv->phydev, 5, PTP_RX_PARSE_CONFIG, rxcfg); in lan8814_hwtstamp()
3704 int txcfg = 0, rxcfg = 0; in lan8841_hwtstamp() local
3744 rxcfg |= PTP_RX_PARSE_CONFIG_LAYER2_EN_; in lan8841_hwtstamp()
3747 rxcfg |= PTP_RX_PARSE_CONFIG_IPV4_EN_ | PTP_RX_PARSE_CONFIG_IPV6_EN_; in lan8841_hwtstamp()
3751 phy_write_mmd(phydev, 2, LAN8841_PTP_RX_PARSE_CONFIG, rxcfg); in lan8841_hwtstamp()