Repetition as a stylistic device is a direct successor of repetition as an expressive language means, which serves to emphasize certain statements of the speaker, and so possesses considerable emotive force.
There are many classifications of these stylistic device and i'll give you one of them because i think it's very difficult to determine the type of repetition.
Conduplicatio is the repetition of a word in various places throughout a paragraph.
"And the world said, 'Disarm, disclose, or face serious consequences'—and therefore, we worked with the world, we worked to make sure that Saddam Hussein heard the message of the world." (George W. Bush)
Mesodiplosis is the repetition of a word or phrase at the middle of every clause.
"We are troubled on every side, yet not distressed; we are perplexed, but not in despair; persecuted, but not forsaken; cast down, but not destroyed..." (Second Epistle to the Corinthians)
Diaphora is the repetition of a name, first to signify the person or persons it describes, then to signify its meaning."For your gods are not gods but man-made idols." (The Passion of Saints Sergius and Bacchus)
Diacope is a rhetorical term meaning uninterrupted repetition of a word, or repetition with only one or two words between each repeated phrase.