Lines Matching refs:Control
2222 u32 i, Control; in get_permanent_address() local
2240 if (atl2_read_eeprom(hw, i + 0x100, &Control)) { in get_permanent_address()
2243 Addr[0] = Control; in get_permanent_address()
2246 Addr[1] = Control; in get_permanent_address()
2248 } else if ((Control & 0xff) == 0x5A) { in get_permanent_address()
2250 Register = (u16) (Control >> 16); in get_permanent_address()
2278 if (atl2_spi_read(hw, i + 0x1f000, &Control)) { in get_permanent_address()
2281 Addr[0] = Control; in get_permanent_address()
2283 Addr[1] = Control; in get_permanent_address()
2285 } else if ((Control & 0xff) == 0x5A) { in get_permanent_address()
2287 Register = (u16) (Control >> 16); in get_permanent_address()
2761 u32 Control; in atl2_read_eeprom() local
2767 Control = (Offset & VPD_CAP_VPD_ADDR_MASK) << VPD_CAP_VPD_ADDR_SHIFT; in atl2_read_eeprom()
2768 ATL2_WRITE_REG(hw, REG_VPD_CAP, Control); in atl2_read_eeprom()
2772 Control = ATL2_READ_REG(hw, REG_VPD_CAP); in atl2_read_eeprom()
2773 if (Control & VPD_CAP_VPD_FLAG) in atl2_read_eeprom()
2777 if (Control & VPD_CAP_VPD_FLAG) { in atl2_read_eeprom()