Lines Matching refs:miiport
698 static ulong m80x_send_cmd_to_phy(void __iomem *miiport, int opcode, int phyad, int regad) in m80x_send_cmd_to_phy() argument
705 miir = (ulong) ioread32(miiport); in m80x_send_cmd_to_phy()
714 iowrite32(miir, miiport); in m80x_send_cmd_to_phy()
718 iowrite32(miir, miiport); in m80x_send_cmd_to_phy()
732 iowrite32(miir, miiport); in m80x_send_cmd_to_phy()
735 iowrite32(miir, miiport); in m80x_send_cmd_to_phy()
750 void __iomem *miiport = np->mem + MANAGEMENT; in mdio_read() local
754 miir = m80x_send_cmd_to_phy(miiport, OP_READ, phyad, regad); in mdio_read()
762 iowrite32(miir, miiport); in mdio_read()
765 miir = ioread32(miiport); in mdio_read()
771 iowrite32(miir, miiport); in mdio_read()
780 iowrite32(miir, miiport); in mdio_read()
789 void __iomem *miiport = np->mem + MANAGEMENT; in mdio_write() local
793 miir = m80x_send_cmd_to_phy(miiport, OP_WRITE, phyad, regad); in mdio_write()
802 iowrite32(miir, miiport); in mdio_write()
806 iowrite32(miir, miiport); in mdio_write()
814 iowrite32(miir, miiport); in mdio_write()