Lines Matching refs:Control
2228 u32 i, Control; in get_permanent_address() local
2246 if (atl2_read_eeprom(hw, i + 0x100, &Control)) { in get_permanent_address()
2249 Addr[0] = Control; in get_permanent_address()
2252 Addr[1] = Control; in get_permanent_address()
2254 } else if ((Control & 0xff) == 0x5A) { in get_permanent_address()
2256 Register = (u16) (Control >> 16); in get_permanent_address()
2284 if (atl2_spi_read(hw, i + 0x1f000, &Control)) { in get_permanent_address()
2287 Addr[0] = Control; in get_permanent_address()
2289 Addr[1] = Control; in get_permanent_address()
2291 } else if ((Control & 0xff) == 0x5A) { in get_permanent_address()
2293 Register = (u16) (Control >> 16); in get_permanent_address()
2767 u32 Control; in atl2_read_eeprom() local
2773 Control = (Offset & VPD_CAP_VPD_ADDR_MASK) << VPD_CAP_VPD_ADDR_SHIFT; in atl2_read_eeprom()
2774 ATL2_WRITE_REG(hw, REG_VPD_CAP, Control); in atl2_read_eeprom()
2778 Control = ATL2_READ_REG(hw, REG_VPD_CAP); in atl2_read_eeprom()
2779 if (Control & VPD_CAP_VPD_FLAG) in atl2_read_eeprom()
2783 if (Control & VPD_CAP_VPD_FLAG) { in atl2_read_eeprom()