Searched refs:ee_addr (Results 1 – 8 of 8) sorted by relevance
/external/syslinux/gpxe/src/drivers/net/ |
D | davicom.c | 94 #define eeprom_delay() inl(ee_addr) 297 static void phy_write_1bit(u32 ee_addr, u32 phy_data) in phy_write_1bit() argument 300 outl(phy_data, ee_addr); /* MII Clock Low */ in phy_write_1bit() 302 outl(phy_data|MDCLKH, ee_addr); /* MII Clock High */ in phy_write_1bit() 304 outl(phy_data, ee_addr); /* MII Clock Low */ in phy_write_1bit() 311 static int phy_read_1bit(u32 ee_addr) in phy_read_1bit() argument 317 outl(0x50000, ee_addr); in phy_read_1bit() 320 phy_data=(inl(ee_addr)>>19) & 0x1; in phy_read_1bit() 322 outl(0x40000, ee_addr); in phy_read_1bit() 397 long ee_addr = ioaddr + CSR9; in read_eeprom() local [all …]
|
D | w89c840.c | 731 #define eeprom_delay(ee_addr) readl(ee_addr) argument 747 int ee_addr = addr + EECtrl; in eeprom_read() local 749 writel(EE_ChipSelect, ee_addr); in eeprom_read() 754 writel(dataval, ee_addr); in eeprom_read() 755 eeprom_delay(ee_addr); in eeprom_read() 756 writel(dataval | EE_ShiftClk, ee_addr); in eeprom_read() 757 eeprom_delay(ee_addr); in eeprom_read() 759 writel(EE_ChipSelect, ee_addr); in eeprom_read() 762 writel(EE_ChipSelect | EE_ShiftClk, ee_addr); in eeprom_read() 763 eeprom_delay(ee_addr); in eeprom_read() [all …]
|
D | eepro.c | 495 int ee_addr = ioaddr + eeprom_reg; in read_eeprom() local 504 outb(ctrl_val, ee_addr); in read_eeprom() 508 outb(outval, ee_addr); in read_eeprom() 509 outb(outval | EESK, ee_addr); /* EEPROM clock tick */ in read_eeprom() 511 outb(outval, ee_addr); /* finish EEPROM clock tick */ in read_eeprom() 514 outb(ctrl_val, ee_addr); in read_eeprom() 516 outb(ctrl_val | EESK, ee_addr); in read_eeprom() 518 retval = (retval << 1) | ((inb(ee_addr) & EEDO) ? 1 : 0); in read_eeprom() 519 outb(ctrl_val, ee_addr); in read_eeprom() 524 outb(ctrl_val | EESK, ee_addr); in read_eeprom() [all …]
|
D | sis900.c | 217 long ee_addr = ioaddr + mear; in sis96x_get_mac_addr() local 223 outl(EEREQ, ee_addr); in sis96x_get_mac_addr() 225 if(inl(ee_addr) & EEGNT) { in sis96x_get_mac_addr() 231 outl(EEDONE, ee_addr); in sis96x_get_mac_addr() 238 outl(EEDONE, ee_addr); in sis96x_get_mac_addr() 449 #define eeprom_delay() inl(ee_addr) 468 long ee_addr = ioaddr + mear; in sis900_read_eeprom() local 471 outl(0, ee_addr); in sis900_read_eeprom() 473 outl(EECS, ee_addr); in sis900_read_eeprom() 479 outl(dataval, ee_addr); in sis900_read_eeprom() [all …]
|
D | natsemi.h | 197 #define eeprom_delay(ee_addr) inl(ee_addr) argument
|
D | eepro100.c | 496 unsigned long ee_addr = priv->ioaddr + CSREeprom; in ifec_spi_read_bit() local 503 ret = inw (ee_addr); in ifec_spi_read_bit() 522 unsigned long ee_addr = priv->ioaddr + CSREeprom; in ifec_spi_write_bit() local 528 val = inw ( ee_addr ); in ifec_spi_write_bit() 532 outw ( val, ee_addr ); in ifec_spi_write_bit()
|
D | tulip.c | 368 #define eeprom_delay() inl(ee_addr) 711 long ee_addr = ioaddr + CSR9; in read_eeprom() local 718 outl(EE_ENB & ~EE_CS, ee_addr); in read_eeprom() 719 outl(EE_ENB, ee_addr); in read_eeprom() 724 outl(EE_ENB | dataval, ee_addr); in read_eeprom() 726 outl(EE_ENB | dataval | EE_SHIFT_CLK, ee_addr); in read_eeprom() 729 outl(EE_ENB, ee_addr); in read_eeprom() 732 outl(EE_ENB | EE_SHIFT_CLK, ee_addr); in read_eeprom() 734 retval = (retval << 1) | ((inl(ee_addr) & EE_DATA_READ) ? 1 : 0); in read_eeprom() 735 outl(EE_ENB, ee_addr); in read_eeprom() [all …]
|
D | tlan.c | 1031 int TLan_EeReadByte(u16 io_base, u8 ee_addr, u8 * data) in TLan_EeReadByte() argument 1043 err = TLan_EeSendByte(io_base, ee_addr, TLAN_EEPROM_ACK); in TLan_EeReadByte()
|