The regulation of protein phosphorylation.