Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/realtek/
H A D8139too.c316 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()
[all …]
H A Dr8169_main.c212 Config4 = 0x55, enumerator
2523 RTL_W8(tp, Config4, RTL_R8(tp, Config4) | Jumbo_En1); in r8168c_hw_jumbo_enable()
2529 RTL_W8(tp, Config4, RTL_R8(tp, Config4) & ~Jumbo_En1); in r8168c_hw_jumbo_disable()
2546 RTL_W8(tp, Config4, RTL_R8(tp, Config4) | 0x01); in r8168e_hw_jumbo_enable()
2553 RTL_W8(tp, Config4, RTL_R8(tp, Config4) & ~0x01); in r8168e_hw_jumbo_disable()
2558 RTL_W8(tp, Config4, RTL_R8(tp, Config4) | (1 << 0)); in r8168b_1_hw_jumbo_enable()
2563 RTL_W8(tp, Config4, RTL_R8(tp, Config4) & ~(1 << 0)); in r8168b_1_hw_jumbo_disable()
H A D8139cp.c153 Config4 = 0x5A, /* Config4 */ enumerator