Lines Matching refs:ee_addr
334 #define eeprom_delay() ioread32(ee_addr)
345 void __iomem *ee_addr = tp->base_addr + CSR9; in tulip_read_eeprom() local
354 iowrite32(EE_ENB & ~EE_CS, ee_addr); in tulip_read_eeprom()
355 iowrite32(EE_ENB, ee_addr); in tulip_read_eeprom()
360 iowrite32(EE_ENB | dataval, ee_addr); in tulip_read_eeprom()
362 iowrite32(EE_ENB | dataval | EE_SHIFT_CLK, ee_addr); in tulip_read_eeprom()
364 retval = (retval << 1) | ((ioread32(ee_addr) & EE_DATA_READ) ? 1 : 0); in tulip_read_eeprom()
366 iowrite32(EE_ENB, ee_addr); in tulip_read_eeprom()
370 iowrite32(EE_ENB | EE_SHIFT_CLK, ee_addr); in tulip_read_eeprom()
372 retval = (retval << 1) | ((ioread32(ee_addr) & EE_DATA_READ) ? 1 : 0); in tulip_read_eeprom()
373 iowrite32(EE_ENB, ee_addr); in tulip_read_eeprom()
378 iowrite32(EE_ENB & ~EE_CS, ee_addr); in tulip_read_eeprom()