Searched refs:adap_mdio (Results 1 – 2 of 2) sorted by relevance
85 static volatile mdio_regs *adap_mdio = (mdio_regs *)EMAC_MDIO_BASE_ADDR; variable157 &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()[all …]
123 struct mdio_regs *adap_mdio = bus->priv; in keystone2_mdio_reset() local129 &adap_mdio->control); in keystone2_mdio_reset()131 while (readl(&adap_mdio->control) & MDIO_CONTROL_IDLE) in keystone2_mdio_reset()145 struct mdio_regs *adap_mdio = bus->priv; in keystone2_mdio_read() local147 while (readl(&adap_mdio->useraccess0) & MDIO_USERACCESS0_GO) in keystone2_mdio_read()152 &adap_mdio->useraccess0); in keystone2_mdio_read()155 while ((tmp = readl(&adap_mdio->useraccess0)) & MDIO_USERACCESS0_GO) in keystone2_mdio_read()171 struct mdio_regs *adap_mdio = bus->priv; in keystone2_mdio_write() local173 while (readl(&adap_mdio->useraccess0) & MDIO_USERACCESS0_GO) in keystone2_mdio_write()178 (val & 0xffff), &adap_mdio->useraccess0); in keystone2_mdio_write()[all …]