Lines Matching refs:link
370 /* Update the link state before resets. It takes a while for the links to
397 cvmx_gmxx_rxx_rx_inbnd_t link;
400 link.u64 = 0;
403 return link;
405 return link;
452 read_status = 0; /* If the link is down, force zero */
460 /* If the link is up, we need to set the speed based on the PHY status */
468 /* If the link is down, force 1Gbps so TX traffic dumps fast */
475 link.s.status = 1; /* Link up */
477 link.s.speed = 2;
479 link.s.speed = 1;
483 link.s.speed = 2; /* Use 1Gbps when down */
484 link.s.status = 0; /* Link Down */
486 link.s.duplex = ((read_status & (1<<13)) != 0);
488 return link;