/openbmc/linux/drivers/media/pci/solo6x10/ |
H A D | solo6x10-eeprom.c | 19 #define EE_CS 0x08 macro 22 #define EE_ENB (0x80 | EE_CS) 88 solo_eeprom_reg_write(solo_dev, ~EE_CS); in solo_eeprom_ewen() 109 solo_eeprom_reg_write(solo_dev, ~EE_CS); in solo_eeprom_read() 132 solo_eeprom_reg_write(solo_dev, ~EE_CS); in solo_eeprom_write() 138 solo_eeprom_reg_write(solo_dev, ~EE_CS); in solo_eeprom_write()
|
/openbmc/linux/drivers/net/ethernet/8390/ |
H A D | pcnet_cs.c | 759 #define EE_CS 0x08 macro 775 outb(EE_EEP|EE_CS, ee_addr); in read_eeprom() 780 outb_p(EE_EEP|EE_CS|dataval, ee_addr); in read_eeprom() 781 outb_p(EE_EEP|EE_CS|dataval|EE_CK, ee_addr); in read_eeprom() 783 outb(EE_EEP|EE_CS, ee_addr); in read_eeprom() 786 outb_p(EE_EEP|EE_CS | EE_CK, ee_addr); in read_eeprom() 788 outb_p(EE_EEP|EE_CS, ee_addr); in read_eeprom() 812 outb(EE_ASIC|EE_CS|EE_DI, ee_addr); in write_asic() 819 outb_p(EE_ASIC|EE_CS|EE_DI|dataval, ee_addr); in write_asic() 820 outb_p(EE_ASIC|EE_CS|EE_DI|dataval|EE_CK, ee_addr); in write_asic() [all …]
|
/openbmc/u-boot/drivers/net/ |
H A D | eepro100.c | 94 #define EE_CS 0x02 /* EEPROM chip select. */ macro 99 #define EE_ENB (0x4800 | EE_CS) 755 OUTW (dev, EE_ENB & ~EE_CS, SCBeeprom); in read_eeprom() 779 OUTW (dev, EE_ENB & ~EE_CS, SCBeeprom); in read_eeprom() 792 OUTW(dev, EE_ENB & ~EE_CS, SCBeeprom); in eepro100_write_eeprom() 808 OUTW(dev, EE_ENB & ~EE_CS, SCBeeprom); in eepro100_write_eeprom() 842 OUTW(dev, EE_ENB & ~EE_CS, SCBeeprom); in eepro100_write_eeprom() 864 OUTW(dev, EE_ENB & ~EE_CS, SCBeeprom); in eepro100_write_eeprom()
|
H A D | rtl8139.c | 273 #define EE_CS 0x08 /* EEPROM chip select. */ macro 278 #define EE_ENB (0x80 | EE_CS) 299 outb(EE_ENB & ~EE_CS, ee_addr); in read_eeprom() 323 outb(~EE_CS, ee_addr); in read_eeprom()
|
/openbmc/linux/drivers/net/ethernet/dec/tulip/ |
H A D | eeprom.c | 324 #define EE_CS 0x01 /* EEPROM chip select. */ macro 329 #define EE_ENB (0x4800 | EE_CS) 354 iowrite32(EE_ENB & ~EE_CS, ee_addr); in tulip_read_eeprom() 378 iowrite32(EE_ENB & ~EE_CS, ee_addr); in tulip_read_eeprom()
|
H A D | de2104x.c | 213 EE_CS = 0x01, /* EEPROM chip select. */ enumerator 218 EE_ENB = (0x4800 | EE_CS), 1772 writel(EE_ENB & ~EE_CS, ee_addr); in tulip_read_eeprom() 1796 writel(EE_ENB & ~EE_CS, ee_addr); in tulip_read_eeprom()
|
/openbmc/linux/drivers/net/ethernet/realtek/ |
H A D | atp.h | 252 #define EE_CS 0x02 /* EEPROM chip select. */ macro
|
H A D | 8139cp.c | 1647 #define EE_CS 0x08 /* EEPROM chip select. */ macro 1652 #define EE_ENB (0x80 | EE_CS) 1675 writeb (EE_ENB & ~EE_CS, ee_addr); in eeprom_cmd_start()
|
H A D | 8139too.c | 1135 #define EE_CS 0x08 /* EEPROM chip select. */ macro 1140 #define EE_ENB (0x80 | EE_CS) 1159 RTL_W8 (Cfg9346, EE_ENB & ~EE_CS); in read_eeprom()
|
H A D | atp.c | 415 write_reg_high(ioaddr, PROM_CMD, EE_CLK_LOW & ~EE_CS); in eeprom_op()
|
/openbmc/linux/drivers/net/ethernet/smsc/ |
H A D | epic100.c | 520 #define EE_CS 0x02 /* EEPROM chip select. */ macro 525 #define EE_ENB (0x0001 | EE_CS) 579 ew32(EECTL, EE_ENB & ~EE_CS); in read_eeprom() 601 ew32(EECTL, EE_ENB & ~EE_CS); in read_eeprom()
|