Home | History | Annotate | Download | only in netboot

Lines Matching refs:phy_addr

83 static void sis900_read_mode(struct nic *nic, int phy_addr, int *speed, int *duplex);
84 static void amd79c901_read_mode(struct nic *nic, int phy_addr, int *speed, int *duplex);
85 static void ics1893_read_mode(struct nic *nic, int phy_addr, int *speed, int *duplex);
86 static void rtl8201_read_mode(struct nic *nic, int phy_addr, int *speed, int *duplex);
92 void (*read_mode) (struct nic *nic, int phy_addr, int *speed, int *duplex);
106 int phy_addr;
226 int phy_addr;
267 for (phy_addr = 0; phy_addr < 32; phy_addr++) {
271 mii_status = sis900_mdio_read(phy_addr, MII_STATUS);
276 phy_id0 = sis900_mdio_read(phy_addr, MII_PHY_ID0);
277 phy_id1 = sis900_mdio_read(phy_addr, MII_PHY_ID1);
285 mii_chip_table[i].name, phy_addr);
288 mii.phy_addr = phy_addr;
289 mii.status = sis900_mdio_read(phy_addr, MII_STATUS);
304 cur_phy = mii.phy_addr;
731 sis900_read_mode(struct nic *nic, int phy_addr, int *speed, int *duplex)
738 status = sis900_mdio_read(phy_addr, MII_STSOUT);
773 amd79c901_read_mode(struct nic *nic, int phy_addr, int *speed, int *duplex)
779 status = sis900_mdio_read(phy_addr, MII_STATUS);
784 status = sis900_mdio_read(phy_addr, MII_STATUS_SUMMARY);
819 * @phy_addr: mii phy address
827 static void ics1893_read_mode(struct nic *nic, int phy_addr, int *speed, int *duplex)
834 status = sis900_mdio_read(phy_addr, MII_QPDSTS);
859 * @phy_addr: mii phy address
867 static void rtl8201_read_mode(struct nic *nic, int phy_addr, int *speed, int *duplex)
871 status = sis900_mdio_read(phy_addr, MII_STATUS);