what is the correct format for using a variable in a void?

void loop() {

 case 83595375:     matrixx(p);     break;  // push button 1

You're missing a switch.

They're called "functions", not "voids"

Posting snippets simply wastes time. Do you have time to waste?