Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/broadcom/
H A Dbgmac-bcma-mdio.c40 u16 phy_ctl_addr; in bcma_mdio_phy_read() local
58 phy_ctl_addr = BCMA_GMAC_CMN_PHY_CTL; in bcma_mdio_phy_read()
62 phy_ctl_addr = BGMAC_PHY_CNTL; in bcma_mdio_phy_read()
65 tmp = bcma_read32(core, phy_ctl_addr); in bcma_mdio_phy_read()
68 bcma_write32(core, phy_ctl_addr, tmp); in bcma_mdio_phy_read()
91 u16 phy_ctl_addr; in bcma_mdio_phy_write() local
97 phy_ctl_addr = BCMA_GMAC_CMN_PHY_CTL; in bcma_mdio_phy_write()
101 phy_ctl_addr = BGMAC_PHY_CNTL; in bcma_mdio_phy_write()
104 tmp = bcma_read32(core, phy_ctl_addr); in bcma_mdio_phy_write()
107 bcma_write32(core, phy_ctl_addr, tmp); in bcma_mdio_phy_write()