Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/net/ethernet/chelsio/cxgb3/
Dvsc8211.c94 return t3_phy_reset(cphy, MDIO_DEVAD_NONE, 0); in vsc8211_reset()
99 return t3_mdio_write(cphy, MDIO_DEVAD_NONE, VSC8211_INTR_ENABLE, in vsc8211_intr_enable()
105 return t3_mdio_write(cphy, MDIO_DEVAD_NONE, VSC8211_INTR_ENABLE, 0); in vsc8211_intr_disable()
113 return t3_mdio_read(cphy, MDIO_DEVAD_NONE, VSC8211_INTR_STATUS, &val); in vsc8211_intr_clear()
118 return t3_mdio_change_bits(cphy, MDIO_DEVAD_NONE, MII_BMCR, in vsc8211_autoneg_enable()
125 return t3_mdio_change_bits(cphy, MDIO_DEVAD_NONE, MII_BMCR, in vsc8211_autoneg_restart()
136 err = t3_mdio_read(cphy, MDIO_DEVAD_NONE, MII_BMCR, &bmcr); in vsc8211_get_link_status()
138 err = t3_mdio_read(cphy, MDIO_DEVAD_NONE, MII_BMSR, &status); in vsc8211_get_link_status()
148 err = t3_mdio_read(cphy, MDIO_DEVAD_NONE, MII_BMSR, in vsc8211_get_link_status()
163 err = t3_mdio_read(cphy, MDIO_DEVAD_NONE, VSC8211_AUX_CTRL_STAT, in vsc8211_get_link_status()
[all …]
Dt3_hw.c387 err = t3_mdio_read(phy, MDIO_DEVAD_NONE, MII_CTRL1000, &val); in t3_phy_advertise()
397 err = t3_mdio_write(phy, MDIO_DEVAD_NONE, MII_CTRL1000, val); in t3_phy_advertise()
414 return t3_mdio_write(phy, MDIO_DEVAD_NONE, MII_ADVERTISE, val); in t3_phy_advertise()
437 return t3_mdio_write(phy, MDIO_DEVAD_NONE, MII_ADVERTISE, val); in t3_phy_advertise_fiber()
454 err = t3_mdio_read(phy, MDIO_DEVAD_NONE, MII_BMCR, &ctl); in t3_set_phy_speed_duplex()
472 return t3_mdio_write(phy, MDIO_DEVAD_NONE, MII_BMCR, ctl); in t3_set_phy_speed_duplex()
/Linux-v5.15/drivers/net/ethernet/chelsio/cxgb/
Dcphy.h129 return cphy_mdio_read(cphy, MDIO_DEVAD_NONE, reg, valp); in simple_mdio_read()
135 return cphy_mdio_write(cphy, MDIO_DEVAD_NONE, reg, val); in simple_mdio_write()
/Linux-v5.15/include/linux/
Dmdio.h157 #define MDIO_DEVAD_NONE (-1) macro
/Linux-v5.15/drivers/net/
Dmdio.c556 devad = MDIO_DEVAD_NONE; in mdio_mii_ioctl()
/Linux-v5.15/drivers/net/ethernet/atheros/alx/
Dmain.c1596 if (devad == MDIO_DEVAD_NONE) in alx_mdio_read()
1615 if (devad == MDIO_DEVAD_NONE) in alx_mdio_write()
/Linux-v5.15/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c8810 if (devad != MDIO_DEVAD_NONE) in ixgbe_mdio_read()
8833 if (devad != MDIO_DEVAD_NONE) in ixgbe_mdio_write()
/Linux-v5.15/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_main.c12757 devad = (devad == MDIO_DEVAD_NONE) ? DEFAULT_PHY_DEV_ADDR : devad; in bnx2x_mdio_read()
12781 devad = (devad == MDIO_DEVAD_NONE) ? DEFAULT_PHY_DEV_ADDR : devad; in bnx2x_mdio_write()