Function of testosterone and regulation of testicular function