Lines Matching refs:mac_ctrl
72 u64 mac_ctrl; member
191 if ((priv->mac_ctrl & METH_PHY_FDX) ^ duplex) { in meth_check_link()
194 priv->mac_ctrl |= METH_PHY_FDX; in meth_check_link()
196 priv->mac_ctrl &= ~METH_PHY_FDX; in meth_check_link()
197 mace->eth.mac_ctrl = priv->mac_ctrl; in meth_check_link()
200 if ((priv->mac_ctrl & METH_100MBIT) ^ speed) { in meth_check_link()
203 priv->mac_ctrl |= METH_100MBIT; in meth_check_link()
205 priv->mac_ctrl &= ~METH_100MBIT; in meth_check_link()
206 mace->eth.mac_ctrl = priv->mac_ctrl; in meth_check_link()
279 mace->eth.mac_ctrl = SGI_MAC_RESET; in meth_reset()
281 mace->eth.mac_ctrl = 0; in meth_reset()
295 priv->mac_ctrl = METH_ACCEPT_MCAST | METH_DEFAULT_IPG; in meth_reset()
297 priv->mac_ctrl |= METH_PROMISC; in meth_reset()
298 mace->eth.mac_ctrl = priv->mac_ctrl; in meth_reset()
785 priv->mac_ctrl &= ~METH_PROMISC; in meth_set_rx_mode()
788 priv->mac_ctrl |= METH_PROMISC; in meth_set_rx_mode()
792 priv->mac_ctrl |= METH_ACCEPT_AMCAST; in meth_set_rx_mode()
796 priv->mac_ctrl |= METH_ACCEPT_MCAST; in meth_set_rx_mode()
804 mace->eth.mac_ctrl = priv->mac_ctrl; in meth_set_rx_mode()
854 dev->name, (unsigned int)(mace->eth.mac_ctrl >> 29)); in meth_probe()