Lines Matching refs:read_status
398 int read_status;
450 read_status = __cvmx_spi4000_mdio_read(interface, port, 0x11);
451 if ((read_status & (1<<10)) == 0)
452 read_status = 0; /* If the link is down, force zero */
454 read_status &= 0xe400; /* Strip off all the don't care bits */
455 if (read_status != phy_status[port])
457 phy_status[port] = read_status;
458 if (read_status & (1<<10))
461 if (read_status & (1<<15))
473 if (read_status & (1<<10))
476 if (read_status & (1<<15))
486 link.s.duplex = ((read_status & (1<<13)) != 0);