Lines Matching refs:Config4
316 Config4 = 0x5A, /* absent on RTL-8139A */ enumerator
875 tmp8 = RTL_R8 (Config4); in rtl8139_init_board()
878 RTL_W8 (Config4, tmp8 & ~LWPTN); in rtl8139_init_board()
1204 #define mdio_delay() RTL_R8(Config4)
1226 RTL_W8 (Config4, MDIO_WRITE1); in mdio_sync()
1228 RTL_W8 (Config4, MDIO_WRITE1 | MDIO_CLK); in mdio_sync()
1256 RTL_W8 (Config4, MDIO_DIR | dataval); in mdio_read()
1258 RTL_W8 (Config4, MDIO_DIR | dataval | MDIO_CLK); in mdio_read()
1264 RTL_W8 (Config4, 0); in mdio_read()
1266 retval = (retval << 1) | ((RTL_R8 (Config4) & MDIO_DATA_IN) ? 1 : 0); in mdio_read()
1267 RTL_W8 (Config4, MDIO_CLK); in mdio_read()
1304 RTL_W8 (Config4, dataval); in mdio_write()
1306 RTL_W8 (Config4, dataval | MDIO_CLK); in mdio_write()
1311 RTL_W8 (Config4, 0); in mdio_write()
1313 RTL_W8 (Config4, MDIO_CLK); in mdio_write()