Searched refs:miiport (Results 1 – 1 of 1) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/ |
D | fealnx.c | 696 static ulong m80x_send_cmd_to_phy(void __iomem *miiport, int opcode, int phyad, int regad) in m80x_send_cmd_to_phy() argument 703 miir = (ulong) ioread32(miiport); in m80x_send_cmd_to_phy() 712 iowrite32(miir, miiport); in m80x_send_cmd_to_phy() 716 iowrite32(miir, miiport); in m80x_send_cmd_to_phy() 730 iowrite32(miir, miiport); in m80x_send_cmd_to_phy() 733 iowrite32(miir, miiport); in m80x_send_cmd_to_phy() 748 void __iomem *miiport = np->mem + MANAGEMENT; in mdio_read() local 752 miir = m80x_send_cmd_to_phy(miiport, OP_READ, phyad, regad); in mdio_read() 760 iowrite32(miir, miiport); in mdio_read() 763 miir = ioread32(miiport); in mdio_read() [all …]
|