Searched refs:miiport (Results 1 – 1 of 1) sorted by relevance
/Linux-v4.19/drivers/net/ethernet/ |
D | fealnx.c | 706 static ulong m80x_send_cmd_to_phy(void __iomem *miiport, int opcode, int phyad, int regad) in m80x_send_cmd_to_phy() argument 713 miir = (ulong) ioread32(miiport); in m80x_send_cmd_to_phy() 722 iowrite32(miir, miiport); in m80x_send_cmd_to_phy() 726 iowrite32(miir, miiport); in m80x_send_cmd_to_phy() 740 iowrite32(miir, miiport); in m80x_send_cmd_to_phy() 743 iowrite32(miir, miiport); in m80x_send_cmd_to_phy() 758 void __iomem *miiport = np->mem + MANAGEMENT; in mdio_read() local 762 miir = m80x_send_cmd_to_phy(miiport, OP_READ, phyad, regad); in mdio_read() 770 iowrite32(miir, miiport); in mdio_read() 773 miir = ioread32(miiport); in mdio_read() [all …]
|