On PC, you enter the code from the Instant Action screen. Double-click the empty space just above the Battlefront 2 logo and a text box will appear. Type in 456123 to unlock all the campaign missions and maps.