have on mind

have someone or something on one's mind

 and have someone or something on the brain (More informal with brain.)
to think often about someone or something; to be obsessed with someone or something. Bill has chocolate on his mind. John has Mary on his mind every minute. Karen has Ken on the brain.
See also: have, mind, on