Home
last modified time | relevance | path

Searched refs:mii_addr (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/net/ethernet/8390/
H A Dpcnet_cs.c886 unsigned int mii_addr = dev->base_addr + DLINK_GPIO; in mii_phy_probe() local
891 tmp = mdio_read(mii_addr, i, 1); in mii_phy_probe()
894 tmp = mdio_read(mii_addr, i, MII_PHYID_REG1); in mii_phy_probe()
896 phyid |= mdio_read(mii_addr, i, MII_PHYID_REG2); in mii_phy_probe()
1024 unsigned int mii_addr = nic_base + DLINK_GPIO; in ei_watchdog() local
1047 mdio_read(mii_addr, info->phy_id, 1); in ei_watchdog()
1048 link = mdio_read(mii_addr, info->phy_id, 1); in ei_watchdog()
1061 u_short p = mdio_read(mii_addr, info->phy_id, 5); in ei_watchdog()
1085 link = mdio_read(mii_addr, info->eth_phy, 1) & 0x0004; in ei_watchdog()
1089 mdio_write(mii_addr, info->phy_id, 0, 0x0400); in ei_watchdog()
[all …]
H A Daxnet_cs.c556 unsigned int mii_addr = nic_base + AXNET_MII_EEP; in ei_watchdog() local
578 link = mdio_read(mii_addr, info->phy_id, 1); in ei_watchdog()
587 u_short p = mdio_read(mii_addr, info->phy_id, 5); in ei_watchdog()
612 unsigned int mii_addr = dev->base_addr + AXNET_MII_EEP; in axnet_ioctl() local
618 data->val_out = mdio_read(mii_addr, data->phy_id, data->reg_num & 0x1f); in axnet_ioctl()
621 mdio_write(mii_addr, data->phy_id, data->reg_num & 0x1f, data->val_in); in axnet_ioctl()
/openbmc/linux/drivers/net/ethernet/agere/
H A Det131x.c1175 u32 mii_addr; in et131x_phy_mii_read() local
1182 mii_addr = readl(&mac->mii_mgmt_addr); in et131x_phy_mii_read()
1222 writel(mii_addr, &mac->mii_mgmt_addr); in et131x_phy_mii_read()
1244 u32 mii_addr; in et131x_mii_write() local
1251 mii_addr = readl(&mac->mii_mgmt_addr); in et131x_mii_write()
1290 writel(mii_addr, &mac->mii_mgmt_addr); in et131x_mii_write()
/openbmc/linux/drivers/net/ethernet/via/
H A Dvia-velocity.c757 static int velocity_mii_write(struct mac_regs __iomem *regs, u8 mii_addr, u16 data) in velocity_mii_write() argument
767 writeb(mii_addr, &regs->MIIADR); in velocity_mii_write()