PCI/ASPM: Add L1 Substates definitions
authorBjorn Helgaas <bhelgaas@google.com>
Mon, 13 Nov 2017 14:36:40 +0000 (08:36 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 14 Nov 2017 14:32:47 +0000 (08:32 -0600)
commita48f3d5b197494d903c97ff7bc0909dac65740f8
tree96cda0b6c952870e9d7614169b9caaebb673688e
parent7f88ba4a19b91d310eca836b647edeb100c61c8d
PCI/ASPM: Add L1 Substates definitions

Add and use #defines for L1 Substate register fields instead of hard-coding
the masks.  Also update comments to use names from the spec.  No functional
change intended.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Vidya Sagar <vidyas@nvidia.com>
drivers/pci/pcie/aspm.c
include/uapi/linux/pci_regs.h