In Greek, "pan" means "all". It was used for the pastoral god of that name, perhaps because he was thought to live everywhere and anywhere there is nature.