Home
last modified time | relevance | path

Searched refs:miiport (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/net/ethernet/
H A Dfealnx.c698 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()
[all …]