Searched refs:mdio_regs (Results 1 – 5 of 5) sorted by relevance
123 struct mdio_regs *adap_mdio = bus->priv; in keystone2_mdio_reset()145 struct mdio_regs *adap_mdio = bus->priv; in keystone2_mdio_read()171 struct mdio_regs *adap_mdio = bus->priv; in keystone2_mdio_write()681 struct mdio_regs *adap_mdio = (struct mdio_regs *)EMAC_MDIO_BASE_ADDR; in keystone2_emac_initialize()
495 static struct cpsw_mdio_regs *mdio_regs; variable504 ((reg = __raw_readl(&mdio_regs->user[0].access)) & USERACCESS_GO)) in wait_for_user_access()520 ((__raw_readl(&mdio_regs->control) & CONTROL_IDLE) == 0)) in wait_for_idle()539 __raw_writel(reg, &mdio_regs->user[0].access); in cpsw_mdio_read()557 __raw_writel(reg, &mdio_regs->user[0].access); in cpsw_mdio_write()567 mdio_regs = (struct cpsw_mdio_regs *)mdio_base; in cpsw_mdio_init()570 __raw_writel(div | CONTROL_ENABLE, &mdio_regs->control); in cpsw_mdio_init()
85 static volatile mdio_regs *adap_mdio = (mdio_regs *)EMAC_MDIO_BASE_ADDR;
291 } mdio_regs; typedef
226 struct mdio_regs { struct