How do pituitary hormones affect the function of the testis?

The Pituitary gland secretes a hormone called Follicle Stimulating Hormone.

FSH acts on the Sertoli cells of the testis. It stimulates the primary spermatocytes to undergo the first meiotic division.