Home
last modified time | relevance | path

Searched refs:mdiobus_write (Results 1 – 16 of 16) sorted by relevance

/drivers/net/dsa/xrs700x/
Dxrs700x_mdio.c34 ret = mdiobus_write(mdiodev->bus, mdiodev->addr, XRS_MDIO_IBA1, uval); in xrs700x_mdio_reg_read()
42 ret = mdiobus_write(mdiodev->bus, mdiodev->addr, XRS_MDIO_IBA0, uval); in xrs700x_mdio_reg_read()
67 ret = mdiobus_write(mdiodev->bus, mdiodev->addr, XRS_MDIO_IBD, (u16)val); in xrs700x_mdio_reg_write()
75 ret = mdiobus_write(mdiodev->bus, mdiodev->addr, XRS_MDIO_IBA1, uval); in xrs700x_mdio_reg_write()
83 ret = mdiobus_write(mdiodev->bus, mdiodev->addr, XRS_MDIO_IBA0, uval); in xrs700x_mdio_reg_write()
/drivers/net/pcs/
Dpcs-lynx.c123 mdiobus_write(bus, addr, LINK_TIMER_LO, link_timer & 0xffff); in lynx_pcs_config_1000basex()
124 mdiobus_write(bus, addr, LINK_TIMER_HI, link_timer >> 16); in lynx_pcs_config_1000basex()
153 mdiobus_write(bus, addr, LINK_TIMER_LO, link_timer & 0xffff); in lynx_pcs_config_sgmii()
154 mdiobus_write(bus, addr, LINK_TIMER_HI, link_timer >> 16); in lynx_pcs_config_sgmii()
Dpcs-xpcs.c191 return mdiobus_write(bus, addr, reg_addr, val); in xpcs_write()
/drivers/phy/broadcom/
Dphy-bcm-ns2-pcie.c32 rc = mdiobus_write(mdiodev->bus, mdiodev->addr, in ns2_pci_phy_init()
38 rc = mdiobus_write(mdiodev->bus, mdiodev->addr, in ns2_pci_phy_init()
Dphy-bcm-ns-usb3.c186 return mdiobus_write(mdiodev->bus, mdiodev->addr, reg, value); in bcm_ns_usb3_mdio_phy_write()
/drivers/base/regmap/
Dregmap-mdio.c27 return mdiobus_write(mdio_dev->bus, mdio_dev->addr, reg, val); in regmap_mdio_write()
47 return mdiobus_write(mdio_dev->bus, mdio_dev->addr, reg, val); in regmap_mdio_c22_write()
/drivers/net/phy/
Dicplus.c102 err = mdiobus_write(phydev->mdio.bus, 30, 0, 0x175c); in ip175c_config_init()
113 err = mdiobus_write(phydev->mdio.bus, 29, 31, 0x175c); in ip175c_config_init()
118 err = mdiobus_write(phydev->mdio.bus, 29, 22, 0x420); in ip175c_config_init()
124 err = mdiobus_write(phydev->mdio.bus, i, in ip175c_config_init()
Dxilinx_gmii2rgmii.c46 mdiobus_write(bus, addr, XILINX_GMII2RGMII_REG, val); in xgmiitorgmii_configure()
Dmdio_bus.c911 int mdiobus_write(struct mii_bus *bus, int addr, u32 regnum, u16 val) in mdiobus_write() function
921 EXPORT_SYMBOL(mdiobus_write);
Dphylink.c1999 return mdiobus_write(phydev->mdio.bus, prtad, devad, val); in phylink_phy_write()
2633 ret = mdiobus_write(bus, addr, MII_ADVERTISE, adv); in phylink_mii_c22_pcs_set_advertisement()
2647 ret = mdiobus_write(bus, addr, MII_ADVERTISE, 0x0001); in phylink_mii_c22_pcs_set_advertisement()
2718 mdiobus_write(bus, addr, MII_BMCR, val); in phylink_mii_c22_pcs_an_restart()
Dphy.c366 mdiobus_write(phydev->mdio.bus, prtad, devad, val); in phy_mii_ioctl()
Ddp83640.c222 return mdiobus_write(phydev->mdio.bus, BROADCAST_ADDR, regnum, val); in broadcast_write()
/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-intel.c103 mdiobus_write(priv->mii, serdes_phy_addr, SERDES_GCR0, data); in intel_serdes_powerup()
108 mdiobus_write(priv->mii, serdes_phy_addr, SERDES_GCR0, data); in intel_serdes_powerup()
124 mdiobus_write(priv->mii, serdes_phy_addr, SERDES_GCR0, data); in intel_serdes_powerup()
143 mdiobus_write(priv->mii, serdes_phy_addr, SERDES_GCR0, data); in intel_serdes_powerup()
187 mdiobus_write(priv->mii, serdes_phy_addr, SERDES_GCR0, data); in intel_serdes_powerdown()
203 mdiobus_write(priv->mii, serdes_phy_addr, SERDES_GCR0, data); in intel_serdes_powerdown()
219 mdiobus_write(priv->mii, serdes_phy_addr, SERDES_GCR0, data); in intel_serdes_powerdown()
/drivers/net/dsa/qca/
Dar9331.c848 return mdiobus_write(sbus, p, r, val); in __ar9331_mdio_write()
/drivers/net/ethernet/xilinx/
Dxilinx_axienet_main.c1644 ret = mdiobus_write(lp->pcs_phy->bus, in axienet_mac_prepare()
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c8845 return mdiobus_write(adapter->mii_bus, prtad, regnum, value); in ixgbe_mdio_write()