Lines Matching refs:adap_mdio
123 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()
181 while (readl(&adap_mdio->useraccess0) & MDIO_USERACCESS0_GO) in keystone2_mdio_write()
681 struct mdio_regs *adap_mdio = (struct mdio_regs *)EMAC_MDIO_BASE_ADDR; in keystone2_emac_initialize() local