Home | History | Annotate | Download | only in netboot

Lines Matching refs:ee_addr

339 #define eeprom_delay(ee_addr)	inl(ee_addr)
357 int ee_addr = addr + EECtrl;
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);
373 writel(EE_ChipSelect | EE_ShiftClk, ee_addr);
374 eeprom_delay(ee_addr);
375 retval |= (readl(ee_addr) & EE_DataOut) ? 1 << i : 0;
376 writel(EE_ChipSelect, ee_addr);
377 eeprom_delay(ee_addr);
381 writel(EE_Write0, ee_addr);
382 writel(0, ee_addr);