/external/grub/netboot/ |
davicom.c | 100 #define eeprom_delay() inl(ee_addr) 311 static void phy_write_1bit(u32 ee_addr, u32 phy_data) 314 outl(phy_data, ee_addr); /* MII Clock Low */ 316 outl(phy_data|MDCLKH, ee_addr); /* MII Clock High */ 318 outl(phy_data, ee_addr); /* MII Clock Low */ 325 static int phy_read_1bit(u32 ee_addr) 331 outl(0x50000, ee_addr); 334 phy_data=(inl(ee_addr)>>19) & 0x1; 336 outl(0x40000, ee_addr); 411 long ee_addr = ioaddr + CSR9 406 long ee_addr = ioaddr + CSR9; local [all...] |
fa311.c | 339 #define eeprom_delay(ee_addr) inl(ee_addr) 357 int ee_addr = addr + EECtrl; local 359 writel(EE_Write0, ee_addr); 364 writel(dataval, ee_addr); 365 eeprom_delay(ee_addr); 366 writel(dataval | EE_ShiftClk, ee_addr); 367 eeprom_delay(ee_addr); 369 writel(EE_ChipSelect, ee_addr); 370 eeprom_delay(ee_addr); [all...] |
natsemi.c | 336 #define eeprom_delay(ee_addr) inl(ee_addr) 357 int ee_addr = addr + EECtrl; 359 outl(EE_Write0, ee_addr); 364 outl(dataval, ee_addr); 365 eeprom_delay(ee_addr); 366 outl(dataval | EE_ShiftClk, ee_addr); 367 eeprom_delay(ee_addr); 369 outl(EE_ChipSelect, ee_addr); 370 eeprom_delay(ee_addr); 356 int ee_addr = addr + EECtrl; local [all...] |
rtl8139.c | 244 #define eeprom_delay() inl(ee_addr) 255 long ee_addr = ioaddr + Cfg9346; local 258 outb(EE_ENB & ~EE_CS, ee_addr); 259 outb(EE_ENB, ee_addr); 264 outb(EE_ENB | dataval, ee_addr); 266 outb(EE_ENB | dataval | EE_SHIFT_CLK, ee_addr); 269 outb(EE_ENB, ee_addr); 273 outb(EE_ENB | EE_SHIFT_CLK, ee_addr); 275 retval = (retval << 1) | ((inb(ee_addr) & EE_DATA_READ) ? 1 : 0); 276 outb(EE_ENB, ee_addr); [all...] |
w89c840.c | 713 #define eeprom_delay(ee_addr) readl(ee_addr) 729 int ee_addr = addr + EECtrl; local 731 writel(EE_ChipSelect, ee_addr); 736 writel(dataval, ee_addr); 737 eeprom_delay(ee_addr); 738 writel(dataval | EE_ShiftClk, ee_addr); 739 eeprom_delay(ee_addr); 741 writel(EE_ChipSelect, ee_addr); 744 writel(EE_ChipSelect | EE_ShiftClk, ee_addr); [all...] |
sis900.c | 327 #define eeprom_delay() inl(ee_addr) 347 long ee_addr = ioaddr + mear; 350 outl(0, ee_addr); 352 outl(EECLK, ee_addr); 358 outl(dataval, ee_addr); 360 outl(dataval | EECLK, ee_addr); 363 outb(EECS, ee_addr); 368 outl(EECS, ee_addr); 370 outl(EECS | EECLK, ee_addr); 372 retval = (retval << 1) | ((inl(ee_addr) & EEDO) ? 1 : 0) 342 long ee_addr = ioaddr + mear; local [all...] |
eepro100.c | 324 long ee_addr = ioaddr + SCBeeprom; local 326 outw(EE_ENB, ee_addr); udelay(2); 327 outw(EE_ENB | EE_SHIFT_CLK, ee_addr); udelay(2); 332 outw(dataval, ee_addr); udelay(2); 333 outw(dataval | EE_SHIFT_CLK, ee_addr); udelay(2); 334 retval = (retval << 1) | ((inw(ee_addr) & EE_DATA_READ) ? 1 : 0); 336 outw(EE_ENB, ee_addr); udelay(2); 339 outw(EE_ENB & ~EE_CS, ee_addr);
|
eepro.c | 465 int ee_addr = ioaddr + eeprom_reg; local 474 outb(ctrl_val, ee_addr); 478 outb(outval, ee_addr); 479 outb(outval | EESK, ee_addr); /* EEPROM clock tick */ 481 outb(outval, ee_addr); /* finish EEPROM clock tick */ 484 outb(ctrl_val, ee_addr); 486 outb(ctrl_val | EESK, ee_addr); 488 retval = (retval << 1) | ((inb(ee_addr) & EEDO) ? 1 : 0); 489 outb(ctrl_val, ee_addr); 494 outb(ctrl_val | EESK, ee_addr); [all...] |
tulip.c | 350 #define eeprom_delay() inl(ee_addr) 702 long ee_addr = ioaddr + CSR9; 709 outl(EE_ENB & ~EE_CS, ee_addr); 710 outl(EE_ENB, ee_addr); 715 outl(EE_ENB | dataval, ee_addr); 717 outl(EE_ENB | dataval | EE_SHIFT_CLK, ee_addr); 720 outl(EE_ENB, ee_addr); 723 outl(EE_ENB | EE_SHIFT_CLK, ee_addr); 725 retval = (retval << 1) | ((inl(ee_addr) & EE_DATA_READ) ? 1 : 0); 726 outl(EE_ENB, ee_addr); 697 long ee_addr = ioaddr + CSR9; local [all...] |
tlan.c | 542 * ee_addr The address of the byte in the 553 static int TLan_EeReadByte( u16 io_base, u8 ee_addr, u8 *data ) 566 err = TLan_EeSendByte( io_base, ee_addr, TLAN_EEPROM_ACK ); [all...] |