WASHINGTON - The U.S. government said Monday it will provide up to $6.4 billion in direct funding to Samsung Electronics Co. to help it expand production of semiconductors in Texas.