aboutsummaryrefslogtreecommitdiff
path: root/include/linux/rtsx_pci.h
diff options
context:
space:
mode:
authorGravatar Bjorn Helgaas <bhelgaas@google.com> 2020-07-21 16:23:36 -0500
committerGravatar Greg Kroah-Hartman <gregkh@linuxfoundation.org> 2020-07-22 13:39:31 +0200
commit7a4462a96777b64b22412f782de226c90290bf75 (patch)
treef071913ce99e0a15a539528359cea040cd5eddb8 /include/linux/rtsx_pci.h
parentmisc: rtsx: Find L1 PM Substates capability instead of hard-coding (diff)
downloadlinux-7a4462a96777b64b22412f782de226c90290bf75.tar.gz
linux-7a4462a96777b64b22412f782de226c90290bf75.tar.bz2
linux-7a4462a96777b64b22412f782de226c90290bf75.zip
misc: rtsx: Use standard PCI definitions
When reading registers defined by the PCIe spec, use the names already defined by the PCI core. This makes maintenance of the PCI core and drivers easier. No functional change intended. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Link: https://lore.kernel.org/r/20200721212336.1159079-6-helgaas@kernel.org [ additional replacements due to changes in my tree - gregkh ] Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/rtsx_pci.h')
-rw-r--r--include/linux/rtsx_pci.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/rtsx_pci.h b/include/linux/rtsx_pci.h
index f146ca413f38..745f5e73f99a 100644
--- a/include/linux/rtsx_pci.h
+++ b/include/linux/rtsx_pci.h
@@ -1083,11 +1083,6 @@ struct pcr_ops {
enum PDEV_STAT {PDEV_STAT_IDLE, PDEV_STAT_RUN};
-#define ASPM_L1_1_EN_MASK BIT(3)
-#define ASPM_L1_2_EN_MASK BIT(2)
-#define PM_L1_1_EN_MASK BIT(1)
-#define PM_L1_2_EN_MASK BIT(0)
-
#define ASPM_L1_1_EN BIT(0)
#define ASPM_L1_2_EN BIT(1)
#define PM_L1_1_EN BIT(2)