Home
last modified time | relevance | path

Searched refs:Cfg9346 (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/drivers/net/ethernet/realtek/
H A D8139too.c310 Cfg9346 = 0x50, enumerator
870 RTL_W8 (Cfg9346, Cfg9346_Unlock); in rtl8139_init_board()
872 RTL_W8 (Cfg9346, Cfg9346_Lock); in rtl8139_init_board()
877 RTL_W8 (Cfg9346, Cfg9346_Unlock); in rtl8139_init_board()
879 RTL_W8 (Cfg9346, Cfg9346_Lock); in rtl8139_init_board()
1146 #define eeprom_delay() (void)RTL_R8(Cfg9346)
1159 RTL_W8 (Cfg9346, EE_ENB & ~EE_CS); in read_eeprom()
1160 RTL_W8 (Cfg9346, EE_ENB); in read_eeprom()
1166 RTL_W8 (Cfg9346, EE_ENB | dataval); in read_eeprom()
1168 RTL_W8 (Cfg9346, EE_ENB | dataval | EE_SHIFT_CLK); in read_eeprom()
[all …]
H A D8139cp.c150 Cfg9346 = 0x50, /* EEPROM select/control; Cfg reg [un]lock */ enumerator
1034 cpw8_f (Cfg9346, Cfg9346_Unlock); in cp_init_hw()
1055 cpw8_f(Cfg9346, Cfg9346_Lock); in cp_init_hw()
1318 cpw8(Cfg9346, Cfg9346_Unlock); in mdio_write()
1320 cpw8(Cfg9346, Cfg9346_Lock); in mdio_write()
1338 cpw8 (Cfg9346, Cfg9346_Unlock); in netdev_set_wol()
1340 cpw8 (Cfg9346, Cfg9346_Lock); in netdev_set_wol()
1633 cpw8_f(Cfg9346, Cfg9346_Unlock); in cp_set_mac_address()
1636 cpw8_f(Cfg9346, Cfg9346_Lock); in cp_set_mac_address()
1716 void __iomem *ee_addr = ioaddr + Cfg9346; in read_eeprom()
[all …]
H A Dr8169_main.c204 Cfg9346 = 0x50, enumerator
707 RTL_W8(tp, Cfg9346, Cfg9346_Lock); in rtl_lock_config_regs()
717 RTL_W8(tp, Cfg9346, Cfg9346_Unlock); in rtl_unlock_config_regs()
/openbmc/u-boot/drivers/net/
H A Drtl8139.c112 Cfg9346=0x50, Config0=0x51, Config1=0x52, enumerator
296 long ee_addr = ioaddr + Cfg9346; in read_eeprom()
H A Drtl8169.c126 Cfg9346 = 0x50, enumerator
739 RTL_W8(Cfg9346, Cfg9346_Unlock); in rtl8169_hw_start()
783 RTL_W8(Cfg9346, Cfg9346_Lock); in rtl8169_hw_start()
/openbmc/qemu/hw/net/
H A Drtl8139.c113 Cfg9346 = 0x50, enumerator
455 uint8_t Cfg9346; member
1446 if ((s->Cfg9346 & Chip9346_op_mask) == Cfg9346_ConfigWrite) in rtl8139_config_writable()
1522 val = SET_MASKED(val, 0x31, s->Cfg9346); in rtl8139_Cfg9346_write()
1539 s->Cfg9346 = val; in rtl8139_Cfg9346_write()
1544 uint32_t ret = s->Cfg9346; in rtl8139_Cfg9346_read()
2680 case Cfg9346: in rtl8139_io_writeb()
2926 case Cfg9346: in rtl8139_io_readb()
3198 VMSTATE_UINT8(Cfg9346, RTL8139State),