Lines Matching refs:phy_addr_external
571 int phy_addr_external; member
740 if (target == np->phy_addr_external) in move_int_phy()
907 np->phy_addr_external = find_mii(dev); in natsemi_probe1()
910 if (!np->ignore_phy && np->phy_addr_external == PHY_ADDR_NONE) { in natsemi_probe1()
912 np->phy_addr_external = PHY_ADDR_INTERNAL; in natsemi_probe1()
915 np->phy_addr_external = PHY_ADDR_INTERNAL; in natsemi_probe1()
969 printk(", port MII, phy ad %d.\n", np->phy_addr_external); in natsemi_probe1()
1128 return miiport_read(dev, np->phy_addr_external, reg); in mdio_read()
1140 miiport_write(dev, np->phy_addr_external, reg, data); in mdio_write()
1283 move_int_phy(dev, np->phy_addr_external); in switch_port_external()
2854 ecmd->base.phy_address = np->phy_addr_external; in netdev_get_ecmd()
2970 np->phy_addr_external = ecmd->base.phy_address & PhyAddrMask; in netdev_set_ecmd()
3079 data->phy_id = np->phy_addr_external; in netdev_ioctl()
3088 if ((data->phy_id & 0x1f) == np->phy_addr_external) in netdev_ioctl()
3102 if ((data->phy_id & 0x1f) == np->phy_addr_external) { in netdev_ioctl()
3109 if ((data->phy_id & 0x1f) == np->phy_addr_external) { in netdev_ioctl()