Lines Matching refs:mii_addr
887 unsigned int mii_addr = dev->base_addr + DLINK_GPIO; in mii_phy_probe() local
892 tmp = mdio_read(mii_addr, i, 1); in mii_phy_probe()
895 tmp = mdio_read(mii_addr, i, MII_PHYID_REG1); in mii_phy_probe()
897 phyid |= mdio_read(mii_addr, i, MII_PHYID_REG2); in mii_phy_probe()
1025 unsigned int mii_addr = nic_base + DLINK_GPIO; in ei_watchdog() local
1048 mdio_read(mii_addr, info->phy_id, 1); in ei_watchdog()
1049 link = mdio_read(mii_addr, info->phy_id, 1); in ei_watchdog()
1062 u_short p = mdio_read(mii_addr, info->phy_id, 5); in ei_watchdog()
1086 link = mdio_read(mii_addr, info->eth_phy, 1) & 0x0004; in ei_watchdog()
1090 mdio_write(mii_addr, info->phy_id, 0, 0x0400); in ei_watchdog()
1094 mdio_write(mii_addr, info->phy_id, 0, in ei_watchdog()
1113 unsigned int mii_addr = dev->base_addr + DLINK_GPIO; in ei_ioctl() local
1123 data->val_out = mdio_read(mii_addr, data->phy_id, data->reg_num & 0x1f); in ei_ioctl()
1126 mdio_write(mii_addr, data->phy_id, data->reg_num & 0x1f, data->val_in); in ei_ioctl()