Home
last modified time | relevance | path

Searched refs:reg_maccr (Results 1 – 2 of 2) sorted by relevance

/linux-4.1.27/drivers/net/ethernet/moxa/
Dmoxart_ether.c94 priv->reg_maccr = RX_BROADPKT | FULLDUP | CRC_APD | RX_FTL; in moxart_mac_reset()
108 priv->reg_maccr |= (RCV_EN | XMT_EN | RDMA_EN | XDMA_EN); in moxart_mac_enable()
109 writel(priv->reg_maccr, priv->base + REG_MAC_CTRL); in moxart_mac_enable()
408 (ndev->flags & IFF_PROMISC) ? (priv->reg_maccr |= RCV_ALL) : in moxart_mac_set_rx_mode()
409 (priv->reg_maccr &= ~RCV_ALL); in moxart_mac_set_rx_mode()
411 (ndev->flags & IFF_ALLMULTI) ? (priv->reg_maccr |= RX_MULTIPKT) : in moxart_mac_set_rx_mode()
412 (priv->reg_maccr &= ~RX_MULTIPKT); in moxart_mac_set_rx_mode()
415 priv->reg_maccr |= HT_MULTI_EN; in moxart_mac_set_rx_mode()
418 priv->reg_maccr &= ~HT_MULTI_EN; in moxart_mac_set_rx_mode()
421 writel(priv->reg_maccr, priv->base + REG_MAC_CTRL); in moxart_mac_set_rx_mode()
Dmoxart_ether.h296 unsigned int reg_maccr; member