mii_data 276 drivers/net/ethernet/amd/au1000_eth.c u32 *const mii_data_reg = &aup->mac->mii_data; mii_data 309 drivers/net/ethernet/amd/au1000_eth.c u32 *const mii_data_reg = &aup->mac->mii_data; mii_data 63 drivers/net/ethernet/amd/au1000_eth.h u32 mii_data; mii_data 619 drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c u8 mii_data[3]; mii_data 626 drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c mii_data[0] = reg & 0xff; mii_data 627 drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c mii_val = (__be16 *)&mii_data[1]; mii_data 631 drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c mii_data, sizeof(mii_data)); mii_data 47 drivers/net/ethernet/freescale/fec_mpc52xx.h u32 mii_data; /* FEC + 0x040 */ mii_data 38 drivers/net/ethernet/freescale/fec_mpc52xx_phy.c out_be32(&fec->mii_data, value); mii_data 48 drivers/net/ethernet/freescale/fec_mpc52xx_phy.c in_be32(&fec->mii_data) & FEC_MII_DATA_DATAMSK : 0; mii_data 2640 drivers/net/ethernet/jme.c struct mii_ioctl_data *mii_data = if_mii(rq); mii_data 2644 drivers/net/ethernet/jme.c u16 val = mii_data->val_in; mii_data 2651 drivers/net/ethernet/jme.c rc = generic_mii_ioctl(&jme->mii_if, mii_data, cmd, &duplex_chg); mii_data 29 drivers/net/ethernet/samsung/sxgbe/sxgbe_mdio.c static int sxgbe_mdio_busy_wait(void __iomem *ioaddr, unsigned int mii_data) mii_data 34 drivers/net/ethernet/samsung/sxgbe/sxgbe_mdio.c if (!(readl(ioaddr + mii_data) & SXGBE_MII_BUSY)) mii_data 48 drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c unsigned int mii_data = priv->hw->mii.data; mii_data 55 drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c if (readl_poll_timeout(priv->ioaddr + mii_data, tmp, mii_data 74 drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c unsigned int mii_data = priv->hw->mii.data; mii_data 91 drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c if (readl_poll_timeout(priv->ioaddr + mii_data, tmp, mii_data 97 drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c writel(value, priv->ioaddr + mii_data); mii_data 100 drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c if (readl_poll_timeout(priv->ioaddr + mii_data, tmp, mii_data 105 drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c return readl(priv->ioaddr + mii_data) & GENMASK(15, 0); mii_data 114 drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c unsigned int mii_data = priv->hw->mii.data; mii_data 132 drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c if (readl_poll_timeout(priv->ioaddr + mii_data, tmp, mii_data 138 drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c writel(value, priv->ioaddr + mii_data); mii_data 141 drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c return readl_poll_timeout(priv->ioaddr + mii_data, tmp, mii_data 160 drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c unsigned int mii_data = priv->hw->mii.data; mii_data 188 drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c writel(data, priv->ioaddr + mii_data); mii_data 196 drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c data = (int)readl(priv->ioaddr + mii_data) & MII_DATA_MASK; mii_data 215 drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c unsigned int mii_data = priv->hw->mii.data; mii_data 248 drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c writel(data, priv->ioaddr + mii_data); mii_data 528 drivers/net/mdio.c struct mii_ioctl_data *mii_data, int cmd) mii_data 531 drivers/net/mdio.c u16 addr = mii_data->reg_num; mii_data 538 drivers/net/mdio.c mii_data->phy_id = mdio->prtad; mii_data 550 drivers/net/mdio.c mdio_phy_id_is_c45(mii_data->phy_id)) { mii_data 551 drivers/net/mdio.c prtad = mdio_phy_id_prtad(mii_data->phy_id); mii_data 552 drivers/net/mdio.c devad = mdio_phy_id_devad(mii_data->phy_id); mii_data 554 drivers/net/mdio.c mii_data->phy_id < 0x20) { mii_data 555 drivers/net/mdio.c prtad = mii_data->phy_id; mii_data 560 drivers/net/mdio.c mii_data->phy_id == mdio->prtad) { mii_data 591 drivers/net/mdio.c mii_data->val_out = rc; mii_data 595 drivers/net/mdio.c mii_data->val_in); mii_data 585 drivers/net/mii.c struct mii_ioctl_data *mii_data, int cmd, mii_data 594 drivers/net/mii.c mii_data->phy_id &= mii_if->phy_id_mask; mii_data 595 drivers/net/mii.c mii_data->reg_num &= mii_if->reg_num_mask; mii_data 599 drivers/net/mii.c mii_data->phy_id = mii_if->phy_id; mii_data 603 drivers/net/mii.c mii_data->val_out = mii_data 604 drivers/net/mii.c mii_if->mdio_read(mii_if->dev, mii_data->phy_id, mii_data 605 drivers/net/mii.c mii_data->reg_num); mii_data 609 drivers/net/mii.c u16 val = mii_data->val_in; mii_data 611 drivers/net/mii.c if (mii_data->phy_id == mii_if->phy_id) { mii_data 612 drivers/net/mii.c switch(mii_data->reg_num) { mii_data 637 drivers/net/mii.c mii_if->mdio_write(mii_if->dev, mii_data->phy_id, mii_data 638 drivers/net/mii.c mii_data->reg_num, val); mii_data 400 drivers/net/phy/phy.c struct mii_ioctl_data *mii_data = if_mii(ifr); mii_data 401 drivers/net/phy/phy.c u16 val = mii_data->val_in; mii_data 407 drivers/net/phy/phy.c mii_data->phy_id = phydev->mdio.addr; mii_data 411 drivers/net/phy/phy.c if (mdio_phy_id_is_c45(mii_data->phy_id)) { mii_data 412 drivers/net/phy/phy.c prtad = mdio_phy_id_prtad(mii_data->phy_id); mii_data 413 drivers/net/phy/phy.c devad = mdio_phy_id_devad(mii_data->phy_id); mii_data 414 drivers/net/phy/phy.c devad = MII_ADDR_C45 | devad << 16 | mii_data->reg_num; mii_data 416 drivers/net/phy/phy.c prtad = mii_data->phy_id; mii_data 417 drivers/net/phy/phy.c devad = mii_data->reg_num; mii_data 419 drivers/net/phy/phy.c mii_data->val_out = mdiobus_read(phydev->mdio.bus, prtad, mii_data 424 drivers/net/phy/phy.c if (mdio_phy_id_is_c45(mii_data->phy_id)) { mii_data 425 drivers/net/phy/phy.c prtad = mdio_phy_id_prtad(mii_data->phy_id); mii_data 426 drivers/net/phy/phy.c devad = mdio_phy_id_devad(mii_data->phy_id); mii_data 427 drivers/net/phy/phy.c devad = MII_ADDR_C45 | devad << 16 | mii_data->reg_num; mii_data 429 drivers/net/phy/phy.c prtad = mii_data->phy_id; mii_data 430 drivers/net/phy/phy.c devad = mii_data->reg_num; mii_data 5861 drivers/s390/net/qeth_core_main.c struct mii_ioctl_data *mii_data; mii_data 5877 drivers/s390/net/qeth_core_main.c mii_data = if_mii(rq); mii_data 5878 drivers/s390/net/qeth_core_main.c mii_data->phy_id = 0; mii_data 5881 drivers/s390/net/qeth_core_main.c mii_data = if_mii(rq); mii_data 5882 drivers/s390/net/qeth_core_main.c if (mii_data->phy_id != 0) mii_data 5885 drivers/s390/net/qeth_core_main.c mii_data->val_out = qeth_mdio_read(dev, mii_data 5886 drivers/s390/net/qeth_core_main.c mii_data->phy_id, mii_data->reg_num); mii_data 188 include/linux/mdio.h struct mii_ioctl_data *mii_data, int cmd); mii_data 47 include/linux/mii.h struct mii_ioctl_data *mii_data, int cmd,