Searched refs:MDIO_CMD_REG (Results 1 – 3 of 3) sorted by relevance
19 #define MDIO_CMD_REG 0x50 macro43 return readl_poll_timeout(priv->membase + MDIO_CMD_REG, busy, in ipq4019_mdio_wait_busy()91 writel(cmd, priv->membase + MDIO_CMD_REG); in ipq4019_mdio_read()100 writel(cmd, priv->membase + MDIO_CMD_REG); in ipq4019_mdio_read()140 writel(cmd, priv->membase + MDIO_CMD_REG); in ipq4019_mdio_write()165 writel(cmd, priv->membase + MDIO_CMD_REG); in ipq4019_mdio_write()
52 #define MDIO_CMD_REG(x) ((x) << 16) macro
143 err = nb8800_mdio_cmd(bus, MDIO_CMD_ADDR(phy_id) | MDIO_CMD_REG(reg)); in nb8800_mdio_read()156 u32 cmd = MDIO_CMD_ADDR(phy_id) | MDIO_CMD_REG(reg) | in nb8800_mdio_write()