Have (something) on the brain

To be obsessed with something.

My sister has tennis on the brain and she is always talking about it.