Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/broadcom/
H A Dsb1250-mac.c244 void __iomem *sbm_mdio; /* MDIO Register */ member
306 static void sbmac_mii_sync(void __iomem *sbm_mdio);
307 static void sbmac_mii_senddata(void __iomem *sbm_mdio, unsigned int data,
350 static void sbmac_mii_sync(void __iomem *sbm_mdio) in sbmac_mii_sync() argument
356 mac_mdio_genc = __raw_readq(sbm_mdio) & M_MAC_GENC; in sbmac_mii_sync()
360 __raw_writeq(bits | mac_mdio_genc, sbm_mdio); in sbmac_mii_sync()
363 __raw_writeq(bits | M_MAC_MDC | mac_mdio_genc, sbm_mdio); in sbmac_mii_sync()
364 __raw_writeq(bits | mac_mdio_genc, sbm_mdio); in sbmac_mii_sync()
380 static void sbmac_mii_senddata(void __iomem *sbm_mdio, unsigned int data, in sbmac_mii_senddata() argument
388 mac_mdio_genc = __raw_readq(sbm_mdio) & M_MAC_GENC; in sbmac_mii_senddata()
[all …]