Searched refs:mdio_ctrl (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/drivers/net/pcs/ |
D | pcs-xpcs.c | 733 int ret, mdio_ctrl; in xpcs_config_aneg_c37_sgmii() local 751 mdio_ctrl = xpcs_read(xpcs, MDIO_MMD_VEND2, DW_VR_MII_MMD_CTRL); in xpcs_config_aneg_c37_sgmii() 752 if (mdio_ctrl < 0) in xpcs_config_aneg_c37_sgmii() 753 return mdio_ctrl; in xpcs_config_aneg_c37_sgmii() 755 if (mdio_ctrl & AN_CL37_EN) { in xpcs_config_aneg_c37_sgmii() 757 mdio_ctrl & ~AN_CL37_EN); in xpcs_config_aneg_c37_sgmii() 792 mdio_ctrl | AN_CL37_EN); in xpcs_config_aneg_c37_sgmii() 801 int ret, mdio_ctrl, adv; in xpcs_config_aneg_c37_1000basex() local 809 mdio_ctrl = xpcs_read(xpcs, MDIO_MMD_VEND2, DW_VR_MII_MMD_CTRL); in xpcs_config_aneg_c37_1000basex() 810 if (mdio_ctrl < 0) in xpcs_config_aneg_c37_1000basex() [all …]
|
/linux-6.1.9/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_link.c | 1451 params->phy[phy_index].mdio_ctrl); in bnx2x_set_mdio_emac_per_phy() 2596 mode = REG_RD(bp, phy->mdio_ctrl + EMAC_REG_EMAC_MDIO_MODE); in bnx2x_cl22_write() 2597 REG_WR(bp, phy->mdio_ctrl + EMAC_REG_EMAC_MDIO_MODE, in bnx2x_cl22_write() 2604 REG_WR(bp, phy->mdio_ctrl + EMAC_REG_EMAC_MDIO_COMM, tmp); in bnx2x_cl22_write() 2609 tmp = REG_RD(bp, phy->mdio_ctrl + EMAC_REG_EMAC_MDIO_COMM); in bnx2x_cl22_write() 2619 REG_WR(bp, phy->mdio_ctrl + EMAC_REG_EMAC_MDIO_MODE, mode); in bnx2x_cl22_write() 2632 mode = REG_RD(bp, phy->mdio_ctrl + EMAC_REG_EMAC_MDIO_MODE); in bnx2x_cl22_read() 2633 REG_WR(bp, phy->mdio_ctrl + EMAC_REG_EMAC_MDIO_MODE, in bnx2x_cl22_read() 2640 REG_WR(bp, phy->mdio_ctrl + EMAC_REG_EMAC_MDIO_COMM, val); in bnx2x_cl22_read() 2645 val = REG_RD(bp, phy->mdio_ctrl + EMAC_REG_EMAC_MDIO_COMM); in bnx2x_cl22_read() [all …]
|
D | bnx2x_link.h | 181 u32 mdio_ctrl; member
|
/linux-6.1.9/drivers/net/ethernet/intel/ |
D | e100.c | 542 u16 (*mdio_ctrl)(struct nic *nic, u32 addr, u32 dir, u32 reg, u16 data); member 905 return nic->mdio_ctrl(nic, addr, mdi_read, reg, 0); in mdio_read() 912 nic->mdio_ctrl(nic, addr, mdi_write, reg, data); in mdio_write() 1033 return (nic->mdio_ctrl != mdio_ctrl_phy_mii_emulated); in e100_phy_supports_mii() 1413 nic->mdio_ctrl = mdio_ctrl_phy_mii_emulated; in e100_phy_check_without_mii() 1505 nic->mdio_ctrl = mdio_ctrl_phy_82552_v; in e100_phy_init() 2851 nic->mdio_ctrl = mdio_ctrl_hw; in e100_probe()
|