Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/8390/
Dpcnet_cs.c887 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()
[all …]
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()
/linux-6.1.9/drivers/net/ethernet/agere/
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()
/linux-6.1.9/drivers/net/ethernet/via/
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()