Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/net/ethernet/realtek/r8168/
H A Drtl_eeprom.c87 x = RTL_R8(tp, Cfg9346); in rtl8168_eeprom_cleanup()
90 RTL_W8(tp, Cfg9346, x); in rtl8168_eeprom_cleanup()
104 x = RTL_R8(tp, Cfg9346); in rtl8168_eeprom_cmd_done()
136 RTL_W8(tp, Cfg9346, x); in rtl8168_eeprom_read_sc()
145 RTL_W8(tp, Cfg9346, 0); in rtl8168_eeprom_read_sc()
173 RTL_W8(tp, Cfg9346, x); in rtl8168_eeprom_write_sc()
198 RTL_W8(tp, Cfg9346, 0); in rtl8168_eeprom_write_sc()
204 RTL_W8(tp, Cfg9346, *x); in rtl8168_raise_clock()
212 RTL_W8(tp, Cfg9346, *x); in rtl8168_lower_clock()
222 x = RTL_R8(tp, Cfg9346); in rtl8168_shift_out_bits()
[all …]
H A Dr8168.h1064 Cfg9346 = 0x50, enumerator
H A Dr8168_n.c3836 RTL_W8(tp, Cfg9346, RTL_R8(tp, Cfg9346) | Cfg9346_Unlock); in rtl8168_enable_cfg9346_write()
3842 RTL_W8(tp, Cfg9346, RTL_R8(tp, Cfg9346) & ~Cfg9346_Unlock); in rtl8168_disable_cfg9346_write()
/OK3568_Linux_fs/kernel/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()
1145 #define eeprom_delay() (void)RTL_R8(Cfg9346)
1158 RTL_W8 (Cfg9346, EE_ENB & ~EE_CS); in read_eeprom()
1159 RTL_W8 (Cfg9346, EE_ENB); in read_eeprom()
1165 RTL_W8 (Cfg9346, EE_ENB | dataval); in read_eeprom()
1167 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()
1631 cpw8_f(Cfg9346, Cfg9346_Unlock); in cp_set_mac_address()
1634 cpw8_f(Cfg9346, Cfg9346_Lock); in cp_set_mac_address()
1714 void __iomem *ee_addr = ioaddr + Cfg9346; in read_eeprom()
[all …]
H A Dr8169_main.c213 Cfg9346 = 0x50, enumerator
672 RTL_W8(tp, Cfg9346, Cfg9346_Lock); in rtl_lock_config_regs()
677 RTL_W8(tp, Cfg9346, Cfg9346_Unlock); in rtl_unlock_config_regs()
/OK3568_Linux_fs/u-boot/drivers/net/
H A Drtl8139.c116 Cfg9346=0x50, Config0=0x51, Config1=0x52, enumerator
304 long ee_addr = ioaddr + Cfg9346; in read_eeprom()
H A Drtl8169.c131 Cfg9346 = 0x50, enumerator
744 RTL_W8(Cfg9346, Cfg9346_Unlock); in rtl8169_hw_start()
788 RTL_W8(Cfg9346, Cfg9346_Lock); in rtl8169_hw_start()