If someone pricks up their ears or if their ears prick up, they listen eagerly when they suddenly hear an interesting sound or an important piece of information.
She stopped talking to prick up her ears. [VERB PARTICLE noun]
...ears which prick up at the mention of royalty. [VERB PARTICLE]