aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2018-01-16 18:37:50 -0500
committerBjorn Helgaas <helgaas@kernel.org>2018-01-30 16:26:25 -0500
commit01060e3d4e423146ecf9d308814e16a357671ddf (patch)
treea87a20d4b9558000bbd59a474121a13c1b3b3544 /include/uapi/linux
parent716f0f732ff9eedcf31ff887a4ac7be3ac9bc1c0 (diff)
PCI/DPC: Add and use DPC Status register field definitions
Add definitions for DPC Status register fields and use them in the code. No functional change intended. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Keith Busch <keith.busch@intel.com> Reviewed-by: Sinan Kaya <okaya@codeaurora.org>
Diffstat (limited to 'include/uapi/linux')
-rw-r--r--include/uapi/linux/pci_regs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/pci_regs.h b/include/uapi/linux/pci_regs.h
index 70c2b2ade048..970a0dc535c4 100644
--- a/include/uapi/linux/pci_regs.h
+++ b/include/uapi/linux/pci_regs.h
@@ -979,8 +979,10 @@
979 979
980#define PCI_EXP_DPC_STATUS 8 /* DPC Status */ 980#define PCI_EXP_DPC_STATUS 8 /* DPC Status */
981#define PCI_EXP_DPC_STATUS_TRIGGER 0x01 /* Trigger Status */ 981#define PCI_EXP_DPC_STATUS_TRIGGER 0x01 /* Trigger Status */
982#define PCI_EXP_DPC_STATUS_TRIGGER_RSN 0x06 /* Trigger Reason */
982#define PCI_EXP_DPC_STATUS_INTERRUPT 0x08 /* Interrupt Status */ 983#define PCI_EXP_DPC_STATUS_INTERRUPT 0x08 /* Interrupt Status */
983#define PCI_EXP_DPC_RP_BUSY 0x10 /* Root Port Busy */ 984#define PCI_EXP_DPC_RP_BUSY 0x10 /* Root Port Busy */
985#define PCI_EXP_DPC_STATUS_TRIGGER_RSN_EXT 0x60 /* Trig Reason Extension */
984 986
985#define PCI_EXP_DPC_SOURCE_ID 10 /* DPC Source Identifier */ 987#define PCI_EXP_DPC_SOURCE_ID 10 /* DPC Source Identifier */
986 988