Searched refs:mdio_regs (Results 1 – 5 of 5) sorted by relevance
61 struct aspeed_mdio_regs __iomem *mdio_regs = (struct aspeed_mdio_regs __iomem *)bus->priv; in aspeed_mdio_read() local70 writel(phycr, &mdio_regs->phycr); in aspeed_mdio_read()74 phycr = readl(&mdio_regs->phycr); in aspeed_mdio_read()79 data = readl(&mdio_regs->phydata); in aspeed_mdio_read()86 phycr = readl(&mdio_regs->phycr); in aspeed_mdio_read()95 writel(phycr, &mdio_regs->phycr); in aspeed_mdio_read()98 phycr = readl(&mdio_regs->phycr); in aspeed_mdio_read()103 data = readl(&mdio_regs->phydata); in aspeed_mdio_read()118 struct aspeed_mdio_regs __iomem *mdio_regs = (struct aspeed_mdio_regs __iomem *)bus->priv; in aspeed_mdio_write() local125 phycr = readl(&mdio_regs->phycr); in aspeed_mdio_write()[all …]
269 static struct eth_regs __iomem *mdio_regs; /* mdio command and status only */ variable466 if (__raw_readl(&mdio_regs->mdio_command[3]) & 0x80) { in ixp4xx_mdio_cmd()472 __raw_writel(cmd & 0xFF, &mdio_regs->mdio_command[0]); in ixp4xx_mdio_cmd()473 __raw_writel(cmd >> 8, &mdio_regs->mdio_command[1]); in ixp4xx_mdio_cmd()476 &mdio_regs->mdio_command[2]); in ixp4xx_mdio_cmd()478 &mdio_regs->mdio_command[3]); in ixp4xx_mdio_cmd()481 (__raw_readl(&mdio_regs->mdio_command[3]) & 0x80)) { in ixp4xx_mdio_cmd()500 if (__raw_readl(&mdio_regs->mdio_status[3]) & 0x80) { in ixp4xx_mdio_cmd()508 return (__raw_readl(&mdio_regs->mdio_status[0]) & 0xFF) | in ixp4xx_mdio_cmd()509 ((__raw_readl(&mdio_regs->mdio_status[1]) & 0xFF) << 8); in ixp4xx_mdio_cmd()[all …]
213 struct mdio_regs { struct
85 static volatile mdio_regs *adap_mdio = (mdio_regs *)EMAC_MDIO_BASE_ADDR;
291 } mdio_regs; typedef