Lines Matching refs:mac_ctrl
70 u64 mac_ctrl; member
189 if ((priv->mac_ctrl & METH_PHY_FDX) ^ duplex) { in meth_check_link()
192 priv->mac_ctrl |= METH_PHY_FDX; in meth_check_link()
194 priv->mac_ctrl &= ~METH_PHY_FDX; in meth_check_link()
195 mace->eth.mac_ctrl = priv->mac_ctrl; in meth_check_link()
198 if ((priv->mac_ctrl & METH_100MBIT) ^ speed) { in meth_check_link()
201 priv->mac_ctrl |= METH_100MBIT; in meth_check_link()
203 priv->mac_ctrl &= ~METH_100MBIT; in meth_check_link()
204 mace->eth.mac_ctrl = priv->mac_ctrl; in meth_check_link()
276 mace->eth.mac_ctrl = SGI_MAC_RESET; in meth_reset()
278 mace->eth.mac_ctrl = 0; in meth_reset()
292 priv->mac_ctrl = METH_ACCEPT_MCAST | METH_DEFAULT_IPG; in meth_reset()
294 priv->mac_ctrl |= METH_PROMISC; in meth_reset()
295 mace->eth.mac_ctrl = priv->mac_ctrl; in meth_reset()
784 priv->mac_ctrl &= ~METH_PROMISC; in meth_set_rx_mode()
787 priv->mac_ctrl |= METH_PROMISC; in meth_set_rx_mode()
791 priv->mac_ctrl |= METH_ACCEPT_AMCAST; in meth_set_rx_mode()
795 priv->mac_ctrl |= METH_ACCEPT_MCAST; in meth_set_rx_mode()
803 mace->eth.mac_ctrl = priv->mac_ctrl; in meth_set_rx_mode()
853 dev->name, (unsigned int)(mace->eth.mac_ctrl >> 29)); in meth_probe()