Lines Matching refs:adap_mdio
85 static volatile mdio_regs *adap_mdio = (mdio_regs *)EMAC_MDIO_BASE_ADDR; variable
157 &adap_mdio->CONTROL); in davinci_eth_mdio_enable()
159 while (readl(&adap_mdio->CONTROL) & MDIO_CONTROL_IDLE) in davinci_eth_mdio_enable()
179 phy_act_state = readl(&adap_mdio->ALIVE); in davinci_eth_phy_detect()
210 while (readl(&adap_mdio->USERACCESS0) & MDIO_USERACCESS0_GO) in davinci_eth_phy_read()
217 &adap_mdio->USERACCESS0); in davinci_eth_phy_read()
220 while ((tmp = readl(&adap_mdio->USERACCESS0)) & MDIO_USERACCESS0_GO) in davinci_eth_phy_read()
235 while (readl(&adap_mdio->USERACCESS0) & MDIO_USERACCESS0_GO) in davinci_eth_phy_write()
243 &adap_mdio->USERACCESS0); in davinci_eth_phy_write()
246 while (readl(&adap_mdio->USERACCESS0) & MDIO_USERACCESS0_GO) in davinci_eth_phy_write()
502 &adap_mdio->CONTROL); in davinci_eth_open()
784 if (readl(&adap_mdio->ALIVE)) in davinci_emac_initialize()