Searched refs:mdio_regs (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/net/ethernet/xscale/
H A Dixp4xx_eth.c253 static struct eth_regs __iomem *mdio_regs; /* mdio command and status only */ variable in typeref:struct:__iomem
447 if (__raw_readl(&mdio_regs->mdio_command[3]) & 0x80) { ixp4xx_mdio_cmd()
453 __raw_writel(cmd & 0xFF, &mdio_regs->mdio_command[0]); ixp4xx_mdio_cmd()
454 __raw_writel(cmd >> 8, &mdio_regs->mdio_command[1]); ixp4xx_mdio_cmd()
457 &mdio_regs->mdio_command[2]); ixp4xx_mdio_cmd()
459 &mdio_regs->mdio_command[3]); ixp4xx_mdio_cmd()
462 (__raw_readl(&mdio_regs->mdio_command[3]) & 0x80)) { ixp4xx_mdio_cmd()
481 if (__raw_readl(&mdio_regs->mdio_status[3]) & 0x80) { ixp4xx_mdio_cmd()
489 return (__raw_readl(&mdio_regs->mdio_status[0]) & 0xFF) | ixp4xx_mdio_cmd()
490 ((__raw_readl(&mdio_regs->mdio_status[1]) & 0xFF) << 8); ixp4xx_mdio_cmd()
535 mdio_regs = (struct eth_regs __iomem *)IXP4XX_EthC_BASE_VIRT; ixp4xx_mdio_register()
540 mdio_regs = (struct eth_regs __iomem *)IXP4XX_EthB_BASE_VIRT; ixp4xx_mdio_register()
543 __raw_writel(DEFAULT_CORE_CNTRL, &mdio_regs->core_control); ixp4xx_mdio_register()

Completed in 71 milliseconds