Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/staging/netlogic/
Dplatform_net.c86 ndata1.mii_addr = gmac0_addr; in gmac_controller2_init()
126 ndata0.mii_addr = gmac0_addr; in xls_gmac_init()
191 ndata0.mii_addr = in xlr_gmac_init()
Dplatform_net.h11 u32 __iomem *mii_addr; member
Dxlr_net.c669 ret = xlr_phy_write(priv->mii_addr, phy_addr, regnum, val); in xlr_mii_write()
680 ret = xlr_phy_read(priv->mii_addr, phy_addr, regnum); in xlr_mii_read()
1000 priv->mii_addr = priv->nd->mii_addr; in xlr_net_probe()
Dxlr_net.h1060 u32 __iomem *mii_addr; member
/Linux-v5.4/drivers/net/ethernet/8390/
Dpcnet_cs.c877 unsigned int mii_addr = dev->base_addr + DLINK_GPIO; in mii_phy_probe() local
882 tmp = mdio_read(mii_addr, i, 1); in mii_phy_probe()
885 tmp = mdio_read(mii_addr, i, MII_PHYID_REG1); in mii_phy_probe()
887 phyid |= mdio_read(mii_addr, i, MII_PHYID_REG2); in mii_phy_probe()
1015 unsigned int mii_addr = nic_base + DLINK_GPIO; in ei_watchdog() local
1038 mdio_read(mii_addr, info->phy_id, 1); in ei_watchdog()
1039 link = mdio_read(mii_addr, info->phy_id, 1); in ei_watchdog()
1052 u_short p = mdio_read(mii_addr, info->phy_id, 5); in ei_watchdog()
1076 link = mdio_read(mii_addr, info->eth_phy, 1) & 0x0004; in ei_watchdog()
1080 mdio_write(mii_addr, info->phy_id, 0, 0x0400); in ei_watchdog()
[all …]
Daxnet_cs.c553 unsigned int mii_addr = nic_base + AXNET_MII_EEP; in ei_watchdog() local
575 link = mdio_read(mii_addr, info->phy_id, 1); in ei_watchdog()
584 u_short p = mdio_read(mii_addr, info->phy_id, 5); in ei_watchdog()
609 unsigned int mii_addr = dev->base_addr + AXNET_MII_EEP; in axnet_ioctl() local
615 data->val_out = mdio_read(mii_addr, data->phy_id, data->reg_num & 0x1f); in axnet_ioctl()
618 mdio_write(mii_addr, data->phy_id, data->reg_num & 0x1f, data->val_in); in axnet_ioctl()
/Linux-v5.4/drivers/net/ethernet/agere/
Det131x.c1179 u32 mii_addr; in et131x_phy_mii_read() local
1186 mii_addr = readl(&mac->mii_mgmt_addr); in et131x_phy_mii_read()
1226 writel(mii_addr, &mac->mii_mgmt_addr); in et131x_phy_mii_read()
1248 u32 mii_addr; in et131x_mii_write() local
1255 mii_addr = readl(&mac->mii_mgmt_addr); in et131x_mii_write()
1294 writel(mii_addr, &mac->mii_mgmt_addr); in et131x_mii_write()
/Linux-v5.4/drivers/net/ethernet/via/
Dvia-velocity.c745 static int velocity_mii_write(struct mac_regs __iomem *regs, u8 mii_addr, u16 data) in velocity_mii_write() argument
755 writeb(mii_addr, &regs->MIIADR); in velocity_mii_write()