Lines Matching defs:link
131 * Used for checking PHY (link state, speed)
421 bfe->bfe_chip.link = LINK_STATE_UNKNOWN;
428 * Report the link status to MAC layer.
461 * This timeout function fires at BFE_TIMEOUT_INTERVAL to check the link
507 * Report the link status to MAC layer if link status changed.
511 if (bfe->bfe_chip.link == LINK_STATE_UP) {
667 "No valid link mode selected. Powering down PHY");
718 * Reports link status back to MAC Layer.
723 mac_link_update(bfe->bfe_machdl, bfe->bfe_chip.link);
727 * Reads PHY/MII registers and get the link status for us.
733 int speed, duplex, link;
737 link = bfe->bfe_chip.link;
760 bfe->bfe_chip.link = LINK_STATE_DOWN;
766 bfe->bfe_chip.link = LINK_STATE_UP;
806 * If speed or link status or duplex mode changed then report to
811 link != bfe->bfe_chip.link) {
1144 bfe->bfe_chip.link = LINK_STATE_UNKNOWN;
1250 /* Check link, speed and duplex mode */