From cavalo (“horse”) + -inha in the one sense and cavala (“mackerel”) + -inha in the other.
cavalinha f (plural cavalinhas)