Home
last modified time | relevance | path

Searched refs:MII_PHYSID2 (Results 1 – 25 of 63) sorted by relevance

123

/openbmc/u-boot/arch/arm/mach-davinci/
H A Dlxt972.c28 if (!davinci_eth_phy_read(phy_addr, MII_PHYSID2, &id2)) in lxt972_is_phy_connected()
/openbmc/linux/include/uapi/linux/
H A Dmii.h19 #define MII_PHYSID2 0x03 /* PHYS ID 2 */ macro
H A Dmdio.h34 #define MDIO_DEVID2 MII_PHYSID2
/openbmc/linux/drivers/net/phy/
H A Dswphy.c154 case MII_PHYSID2: in swphy_read_reg()
H A Dvitesse.c162 rev = phy_read(phydev, MII_PHYSID2); in vsc738x_config_init()
/openbmc/u-boot/include/linux/
H A Dmii.h16 #define MII_PHYSID2 0x03 /* PHYS ID 2 */ macro
H A Dmdio.h33 #define MDIO_DEVID2 MII_PHYSID2
/openbmc/linux/drivers/net/
H A Dsungem_phy.c230 rev = sungem_phy_read(phy, MII_PHYSID2) & 0x000f; in bcm5401_init()
423 id = (sungem_phy_read(phy, MII_PHYSID1) << 16 | sungem_phy_read(phy, MII_PHYSID2)); in bcm5421_init()
576 rev = sungem_phy_read(phy, MII_PHYSID2) & 0x000f; in marvell88e1111_init()
1175 id = (sungem_phy_read(phy, MII_PHYSID1) << 16 | sungem_phy_read(phy, MII_PHYSID2)); in sungem_phy_probe()
H A Dmdio.c567 case MII_PHYSID2: in mdio_mii_ioctl()
/openbmc/u-boot/board/freescale/lx2160a/
H A Deth_lx2160ardb.c31 phy_reg = bus->read(bus, addr, devad, MII_PHYSID2); in get_inphi_phy_id()
/openbmc/u-boot/drivers/net/
H A Dmcfmii.c166 mii_send(mk_mii_read(phyno, MII_PHYSID2)); in mii_discover_phy()
H A Ddnet.c257 dnet_mdio_read(dnet, MII_PHYSID2)); in dnet_phy_init()
H A Dax88180.c270 priv->PhyID1 = ax88180_mdio_read(dev, MII_PHYSID2); in ax88180_phy_initial()
H A Darmada100_fec.c387 if (miiphy_read(dev->name, addr, MII_PHYSID2, &tmp) != 0) in ethernet_phy_detect()
H A Dmpc8xx_fec.c768 phytype = mii_send(mk_mii_read(phyno, MII_PHYSID2)); in mii_discover_phy()
/openbmc/linux/drivers/net/dsa/sja1105/
H A Dsja1105_mdio.c25 if (mmd == MDIO_MMD_VEND2 && (reg & GENMASK(15, 0)) == MII_PHYSID2) in sja1105_pcs_mdio_read_c45()
69 if (mmd == MDIO_MMD_VEND2 && (reg & GENMASK(15, 0)) == MII_PHYSID2) in sja1110_pcs_mdio_read_c45()
/openbmc/linux/drivers/net/ethernet/micrel/
H A Dks8851_common.c909 case MII_PHYSID2: in ks8851_phy_reg()
988 reg = MII_PHYSID2; in ks8851_mdio_read()
989 else if (reg == MII_PHYSID2) in ks8851_mdio_read()
/openbmc/u-boot/drivers/net/phy/
H A Dcortina.c380 phy_reg = bus->read(bus, addr, devad, MII_PHYSID2); in get_phy_id()
/openbmc/linux/drivers/net/dsa/b53/
H A Db53_serdes.c224 lsb = b53_serdes_read(dev, lane, B53_SERDES_MII_REG(MII_PHYSID2), in b53_serdes_init()
/openbmc/u-boot/common/
H A Dmiiphyutil.c318 if (miiphy_read(devname, addr, MII_PHYSID2, &tmp) != 0) { in miiphy_info()
/openbmc/u-boot/cmd/
H A Dmii.c24 { MII_PHYSID2, "PHY ID 2 register" },
/openbmc/u-boot/drivers/usb/eth/
H A Dr8152.h486 #define MII_PHYSID2 0x03 /* PHYS ID 2 */ macro
/openbmc/linux/drivers/net/ethernet/ibm/emac/
H A Dphy.c528 id = (phy_read(phy, MII_PHYSID1) << 16) | phy_read(phy, MII_PHYSID2); in emac_mii_phy_probe()
/openbmc/linux/drivers/net/pcs/
H A Dpcs-xpcs.c1216 ret = xpcs_read(xpcs, MDIO_MMD_PCS, MII_PHYSID2); in xpcs_get_id()
1233 ret = xpcs_read(xpcs, MDIO_MMD_VEND2, MII_PHYSID2); in xpcs_get_id()
/openbmc/u-boot/drivers/net/ti/
H A Ddavinci_emac.c811 if (!davinci_eth_phy_read(active_phy_addr[i], MII_PHYSID2, in davinci_emac_initialize()

123