Lines Matching refs:Control
2226 u32 i, Control; in get_permanent_address() local
2244 if (atl2_read_eeprom(hw, i + 0x100, &Control)) { in get_permanent_address()
2247 Addr[0] = Control; in get_permanent_address()
2250 Addr[1] = Control; in get_permanent_address()
2252 } else if ((Control & 0xff) == 0x5A) { in get_permanent_address()
2254 Register = (u16) (Control >> 16); in get_permanent_address()
2282 if (atl2_spi_read(hw, i + 0x1f000, &Control)) { in get_permanent_address()
2285 Addr[0] = Control; in get_permanent_address()
2287 Addr[1] = Control; in get_permanent_address()
2289 } else if ((Control & 0xff) == 0x5A) { in get_permanent_address()
2291 Register = (u16) (Control >> 16); in get_permanent_address()
2765 u32 Control; in atl2_read_eeprom() local
2771 Control = (Offset & VPD_CAP_VPD_ADDR_MASK) << VPD_CAP_VPD_ADDR_SHIFT; in atl2_read_eeprom()
2772 ATL2_WRITE_REG(hw, REG_VPD_CAP, Control); in atl2_read_eeprom()
2776 Control = ATL2_READ_REG(hw, REG_VPD_CAP); in atl2_read_eeprom()
2777 if (Control & VPD_CAP_VPD_FLAG) in atl2_read_eeprom()
2781 if (Control & VPD_CAP_VPD_FLAG) { in atl2_read_eeprom()