Home
last modified time | relevance | path

Searched refs:EE_ENB (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Depic100.c444 #define EE_ENB (0x0001 | EE_CS) macro
460 outl(EE_ENB & ~EE_CS, eectl); in read_eeprom()
461 outl(EE_ENB, eectl); in read_eeprom()
466 outl(EE_ENB | dataval, eectl); in read_eeprom()
468 outl(EE_ENB | dataval | EE_SHIFT_CLK, eectl); in read_eeprom()
470 outl(EE_ENB | dataval, eectl); /* Finish EEPROM a clock tick. */ in read_eeprom()
473 outl(EE_ENB, eectl); in read_eeprom()
476 outl(EE_ENB | EE_SHIFT_CLK, eectl); in read_eeprom()
479 outl(EE_ENB, eectl); in read_eeprom()
484 outl(EE_ENB & ~EE_CS, eectl); in read_eeprom()
H A Ddavicom.c87 #define EE_ENB (0x4800 | EE_CS) macro
398 outl(EE_ENB & ~EE_CS, ee_addr); in read_eeprom()
399 outl(EE_ENB, ee_addr); in read_eeprom()
404 outl(EE_ENB | dataval, ee_addr); in read_eeprom()
406 outl(EE_ENB | dataval | EE_SHIFT_CLK, ee_addr); in read_eeprom()
409 outl(EE_ENB, ee_addr); in read_eeprom()
412 outl(EE_ENB | EE_SHIFT_CLK, ee_addr); in read_eeprom()
415 outl(EE_ENB, ee_addr); in read_eeprom()
420 outl(EE_ENB & ~EE_CS, ee_addr); in read_eeprom()
H A Drtl8139.c242 #define EE_ENB (0x80 | EE_CS) macro
263 outb(EE_ENB & ~EE_CS, ee_addr); in read_eeprom()
264 outb(EE_ENB, ee_addr); in read_eeprom()
270 outb(EE_ENB | dataval, ee_addr); in read_eeprom()
272 outb(EE_ENB | dataval | EE_SHIFT_CLK, ee_addr); in read_eeprom()
275 outb(EE_ENB, ee_addr); in read_eeprom()
279 outb(EE_ENB | EE_SHIFT_CLK, ee_addr); in read_eeprom()
282 outb(EE_ENB, ee_addr); in read_eeprom()
H A Deepro100.c148 #define EE_ENB (0x4800 | EE_CS) macro
338 outw(EE_ENB, ee_addr); udelay(2); in do_eeprom_cmd()
339 outw(EE_ENB | EE_SHIFT_CLK, ee_addr); udelay(2); in do_eeprom_cmd()
348 outw(EE_ENB, ee_addr); udelay(2); in do_eeprom_cmd()
351 outw(EE_ENB & ~EE_CS, ee_addr); in do_eeprom_cmd()
H A Dtulip.c356 #define EE_ENB (0x4800 | EE_CS) macro
701 outl(EE_ENB & ~EE_CS, ee_addr); in read_eeprom()
702 outl(EE_ENB, ee_addr); in read_eeprom()
707 outl(EE_ENB | dataval, ee_addr); in read_eeprom()
709 outl(EE_ENB | dataval | EE_SHIFT_CLK, ee_addr); in read_eeprom()
712 outl(EE_ENB, ee_addr); in read_eeprom()
715 outl(EE_ENB | EE_SHIFT_CLK, ee_addr); in read_eeprom()
718 outl(EE_ENB, ee_addr); in read_eeprom()
723 outl(EE_ENB & ~EE_CS, ee_addr); in read_eeprom()