IMO, it would be determined by the Tyros not the Casio. The Casio in your scenario is used as a controller (no polyphony), it is merely sending MIDI notes to the Tyros. The Tyros is creating the voices, so it's polyphony are being used up.
Starkeeper
_________________________
I play Roland EM20 and Yamaha PSR550