Home
last modified time | relevance | path

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

/external/u-boot/drivers/net/
Ddavinci_emac.c85 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()
[all …]
Dkeystone_net.c123 struct mdio_regs *adap_mdio = bus->priv; in keystone2_mdio_reset() local
129 &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() local
147 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() local
173 while (readl(&adap_mdio->useraccess0) & MDIO_USERACCESS0_GO) in keystone2_mdio_write()
178 (val & 0xffff), &adap_mdio->useraccess0); in keystone2_mdio_write()
[all …]