Home
last modified time | relevance | path

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

/drivers/net/ethernet/broadcom/
Dbgmac-bcma-mdio.c39 u16 phy_access_addr; in bcma_mdio_phy_read() local
57 phy_access_addr = BCMA_GMAC_CMN_PHY_ACCESS; in bcma_mdio_phy_read()
61 phy_access_addr = BGMAC_PHY_ACCESS; in bcma_mdio_phy_read()
73 bcma_write32(core, phy_access_addr, tmp); in bcma_mdio_phy_read()
75 if (!bcma_mdio_wait_value(core, phy_access_addr, BGMAC_PA_START, 0, in bcma_mdio_phy_read()
82 return bcma_read32(core, phy_access_addr) & BGMAC_PA_DATA_MASK; in bcma_mdio_phy_read()
90 u16 phy_access_addr; in bcma_mdio_phy_write() local
96 phy_access_addr = BCMA_GMAC_CMN_PHY_ACCESS; in bcma_mdio_phy_write()
100 phy_access_addr = BGMAC_PHY_ACCESS; in bcma_mdio_phy_write()
118 bcma_write32(core, phy_access_addr, tmp); in bcma_mdio_phy_write()
[all …]