i965: create populate key functions for tcs and tes