The home secretary says the “entire machinery of government” is focused on getting a deal with the EU.