Home
last modified time | relevance | path

Searched refs:MDIO_CTRL2 (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/chelsio/cxgb/
Dmv88x201x.c55 cphy_mdio_read(cphy, MDIO_MMD_PMAPMD, MDIO_CTRL2, &led); in led_link()
59 cphy_mdio_write(cphy, MDIO_MMD_PMAPMD, MDIO_CTRL2, led); in led_link()
62 cphy_mdio_write(cphy, MDIO_MMD_PMAPMD, MDIO_CTRL2, led); in led_link()
/linux-6.12.1/drivers/net/ethernet/amd/xgbe/
Dxgbe-phy-v1.c373 reg = XMDIO_READ(pdata, MDIO_MMD_PCS, MDIO_CTRL2); in xgbe_phy_kr_mode()
376 XMDIO_WRITE(pdata, MDIO_MMD_PCS, MDIO_CTRL2, reg); in xgbe_phy_kr_mode()
416 reg = XMDIO_READ(pdata, MDIO_MMD_PCS, MDIO_CTRL2); in xgbe_phy_kx_2500_mode()
419 XMDIO_WRITE(pdata, MDIO_MMD_PCS, MDIO_CTRL2, reg); in xgbe_phy_kx_2500_mode()
459 reg = XMDIO_READ(pdata, MDIO_MMD_PCS, MDIO_CTRL2); in xgbe_phy_kx_1000_mode()
462 XMDIO_WRITE(pdata, MDIO_MMD_PCS, MDIO_CTRL2, reg); in xgbe_phy_kx_1000_mode()
502 reg = XMDIO_READ(pdata, MDIO_MMD_PCS, MDIO_CTRL2); in xgbe_phy_cur_mode()
/linux-6.12.1/drivers/net/pcs/
Dpcs-xpcs-wx.c163 ret = xpcs_read(xpcs, MDIO_MMD_PCS, MDIO_CTRL2); in txgbe_xpcs_mode_quirk()
196 xpcs_write(xpcs, MDIO_MMD_PCS, MDIO_CTRL2, MDIO_PCS_CTRL2_10GBR); in txgbe_xpcs_switch_mode()
202 xpcs_write(xpcs, MDIO_MMD_PCS, MDIO_CTRL2, MDIO_PCS_CTRL2_10GBX); in txgbe_xpcs_switch_mode()
/linux-6.12.1/drivers/net/
Dmdio.c199 MDIO_CTRL2); in mdio45_ethtool_gset_npage()
370 MDIO_CTRL2); in mdio45_ethtool_ksettings_get_npage()
/linux-6.12.1/include/uapi/linux/
Dmdio.h39 #define MDIO_CTRL2 7 /* 10G control 2 */ macro
/linux-6.12.1/drivers/net/phy/
Dphy-c45.c121 ctrl2 = phy_read_mmd(phydev, MDIO_MMD_PMAPMD, MDIO_CTRL2); in genphy_c45_pma_setup_forced()
171 ret = phy_write_mmd(phydev, MDIO_MMD_PMAPMD, MDIO_CTRL2, ctrl2); in genphy_c45_pma_setup_forced()