/* * File: portdrv.h * Purpose: PCI Express Port Bus Driver's Internal Data Structures * * Copyright (C) 2004 Intel * Copyright (C) Tom Long Nguyen (tom.l.nguyen@intel.com) */ #ifndef _PORTDRV_H_ #define _PORTDRV_H_ #include <linux/compiler.h> #define PCIE_PORT_DEVICE_MAXSERVICES 5 /* * According to the PCI Express Base Specification 2.0, the indices of * the MSI-X table entries used by port services must not exceed 31 */ #define PCIE_PORT_MAX_MSIX_ENTRIES 32 #define get_descriptor_id(type, service) (((type - 4) << 8) | service) extern struct bus_type pcie_port_bus_type; int pcie_port_device_register(struct pci_dev *dev); #ifdef CONFIG_PM int pcie_port_device_suspend(struct device *dev); int pcie_port_device_resume(struct device *dev); #endif void pcie_port_device_remove(struct pci_dev *dev); int __must_check pcie_port_bus_register(void); void pcie_port_bus_unregister(void); struct pci_dev; void pcie_clear_root_pme_status(struct pci_dev *dev); #ifdef CONFIG_HOTPLUG_PCI_PCIE extern bool pciehp_msi_disabled;
static inline bool pciehp_no_msi(void) { return pciehp_msi_disabled; }Contributors
Person | Tokens | Prop | Commits | CommitProp | |
muneda takahiro | muneda takahiro | 12 | 100.00% | 1 | 100.00% |
Total | 12 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
muneda takahiro | muneda takahiro | 12 | 100.00% | 1 | 100.00% |
Total | 12 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
rafael j. wysocki | rafael j. wysocki | 13 | 100.00% | 1 | 100.00% |
Total | 13 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
rafael j. wysocki | rafael j. wysocki | 12 | 100.00% | 1 | 100.00% |
Total | 12 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
rafael j. wysocki | rafael j. wysocki | 8 | 100.00% | 1 | 100.00% |
Total | 8 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
rafael j. wysocki | rafael j. wysocki | 12 | 100.00% | 1 | 100.00% |
Total | 12 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
rafael j. wysocki | rafael j. wysocki | 14 | 100.00% | 1 | 100.00% |
Total | 14 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
rafael j. wysocki | rafael j. wysocki | 21 | 91.30% | 1 | 50.00% |
jon derrick | jon derrick | 2 | 8.70% | 1 | 50.00% |
Total | 23 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
rafael j. wysocki | rafael j. wysocki | 13 | 86.67% | 1 | 50.00% |
jon derrick | jon derrick | 2 | 13.33% | 1 | 50.00% |
Total | 15 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
rafael j. wysocki | rafael j. wysocki | 157 | 55.48% | 5 | 35.71% |
tom l. nguyen | tom l. nguyen | 76 | 26.86% | 2 | 14.29% |
muneda takahiro | muneda takahiro | 37 | 13.07% | 1 | 7.14% |
jon derrick | jon derrick | 5 | 1.77% | 1 | 7.14% |
andrew morton | andrew morton | 4 | 1.41% | 1 | 7.14% |
keith busch | keith busch | 2 | 0.71% | 2 | 14.29% |
bjorn helgaas | bjorn helgaas | 1 | 0.35% | 1 | 7.14% |
randy dunlap | randy dunlap | 1 | 0.35% | 1 | 7.14% |
Total | 283 | 100.00% | 14 | 100.00% |