Lines Matching refs:ee_addr
990 #define eeprom_delay(ee_addr) readl(ee_addr) argument
1004 void __iomem *ee_addr = addr + EECtrl; in eeprom_read() local
1007 writel(EE_Write0, ee_addr); in eeprom_read()
1012 writel(dataval, ee_addr); in eeprom_read()
1013 eeprom_delay(ee_addr); in eeprom_read()
1014 writel(dataval | EE_ShiftClk, ee_addr); in eeprom_read()
1015 eeprom_delay(ee_addr); in eeprom_read()
1017 writel(EE_ChipSelect, ee_addr); in eeprom_read()
1018 eeprom_delay(ee_addr); in eeprom_read()
1021 writel(EE_ChipSelect | EE_ShiftClk, ee_addr); in eeprom_read()
1022 eeprom_delay(ee_addr); in eeprom_read()
1023 retval |= (readl(ee_addr) & EE_DataOut) ? 1 << i : 0; in eeprom_read()
1024 writel(EE_ChipSelect, ee_addr); in eeprom_read()
1025 eeprom_delay(ee_addr); in eeprom_read()
1029 writel(EE_Write0, ee_addr); in eeprom_read()
1030 writel(0, ee_addr); in eeprom_read()