Lines Matching refs:link

1249 	/* Set the port mode (MII/GMII) to match the link speed. */
1261 /* Set MAC flow control behavior to match link flow control settings. */
2577 /* ack/clear link change events */
2584 * Enable attention when the link has changed state for
2601 * Clear any pending link state attention.
2602 * Otherwise some link state change events may be lost until attention
2604 * It's not necessary on newer BCM chips - perhaps enabling link
2611 /* Enable link state change attentions. */
4100 /* Prevent PCIE link training during global reset */
4134 DELAY(500000); /* wait for link training to complete */
4572 /* Note link event. It will be processed by POLL_AND_CHECK_STATUS. */
4712 * Do the mandatory PCI flush as well as get the link status.
4793 * Do not touch PHY if we have link up. This could break
4802 * link status manually. Here we register pending link event
4806 /* In polling mode we poll link state in bge_poll(). */
5695 * if needed and clear any pending link state attention.
5697 * for link state changes and thus will not UP the link and
5932 * If link partner has us in XOFF state then wait for
5941 * If link partner has us in XOFF state then wait for
6070 /* Clear MAC's link state (PHY may still have link UP). */
6072 if_printf(sc->bge_ifp, "link DOWN\n");
6131 uint32_t link, status;
6135 /* Clear 'pending link event' flag. */
6139 * Process link state changes.
6140 * Grrr. The link status word in the status block does
6144 * async link changes. Unfortunately, this also means that
6145 * we have to read the MAC status register to detect link
6149 * XXX: perhaps link state detection procedure used for
6164 if_printf(sc->bge_ifp, "link UP\n");
6170 if_printf(sc->bge_ifp, "link DOWN\n");
6196 if_printf(sc->bge_ifp, "link UP\n");
6203 if_printf(sc->bge_ifp, "link DOWN\n");
6210 * PHY link status directly.
6212 link = (CSR_READ_4(sc, BGE_MI_STS) & BGE_MISTS_LINK) ? 1 : 0;
6214 if (link != sc->bge_link ||
6223 if_printf(sc->bge_ifp, "link UP\n");
6229 if_printf(sc->bge_ifp, "link DOWN\n");
6235 * link status.
6242 /* Disable MAC attention when link is up. */