Functional regulation of opioid receptor signaling