Lines Matching refs:mdio_addr
535 unsigned int mdio_addr = ioaddr + Wn4_PhysicalMgmt; in mdio_sync() local
539 outw(MDIO_DATA_WRITE1, mdio_addr); in mdio_sync()
540 outw(MDIO_DATA_WRITE1 | MDIO_SHIFT_CLK, mdio_addr); in mdio_sync()
549 unsigned int mdio_addr = ioaddr + Wn4_PhysicalMgmt; in mdio_read() local
557 outw(dataval, mdio_addr); in mdio_read()
558 outw(dataval | MDIO_SHIFT_CLK, mdio_addr); in mdio_read()
562 outw(MDIO_ENB_IN, mdio_addr); in mdio_read()
563 retval = (retval << 1) | ((inw(mdio_addr) & MDIO_DATA_READ) ? 1 : 0); in mdio_read()
564 outw(MDIO_ENB_IN | MDIO_SHIFT_CLK, mdio_addr); in mdio_read()
572 unsigned int mdio_addr = ioaddr + Wn4_PhysicalMgmt; in mdio_write() local
581 outw(dataval, mdio_addr); in mdio_write()
582 outw(dataval | MDIO_SHIFT_CLK, mdio_addr); in mdio_write()
586 outw(MDIO_ENB_IN, mdio_addr); in mdio_write()
587 outw(MDIO_ENB_IN | MDIO_SHIFT_CLK, mdio_addr); in mdio_write()