Linux Kernel
3.7.1
|
#include <linux/workqueue.h>
Go to the source code of this file.
Data Structures | |
struct | pci_platform_pm_ops |
struct | pci_vpd_ops |
struct | pci_vpd |
struct | pci_slot_attribute |
struct | pci_sriov |
struct | pci_dev_reset_methods |
Macros | |
#define | PCI_CFG_SPACE_SIZE 256 |
#define | PCI_CFG_SPACE_EXP_SIZE 4096 |
#define | pci_bus_attrs NULL |
#define | to_pci_slot(s) container_of(s, struct pci_slot, kobj) |
#define | to_pci_slot_attr(s) container_of(s, struct pci_slot_attribute, attr) |
Enumerations | |
enum | pci_bar_type { pci_bar_unknown, pci_bar_io, pci_bar_mem32, pci_bar_mem64 } |
Variables | |
struct rw_semaphore | pci_bus_sem |
raw_spinlock_t | pci_lock |
unsigned int | pci_pm_d3_delay |
struct device_attribute | pci_dev_attrs [] |
struct device_attribute | pcibus_dev_attrs [] |
struct kset * | pci_slots_kset |
#define to_pci_slot | ( | s | ) | container_of(s, struct pci_slot, kobj) |
#define to_pci_slot_attr | ( | s | ) | container_of(s, struct pci_slot_attribute, attr) |
enum pci_bar_type |
Definition at line 945 of file setup-bus.c.
Definition at line 1226 of file pci-sysfs.c.
Definition at line 135 of file setup-res.c.
Definition at line 7 of file hotplug-pci.c.
pci_probe_reset_function - check whether the device can be safely reset : PCI device to reset
Some devices allow an individual function to be reset without affecting other functions in the same device. The PCI device must be responsive to PCI config space in order to use this function.
Returns 0 if the device function can be reset or negative if the device doesn't support resetting a single function.
Definition at line 1350 of file setup-bus.c.
pci_remove_sysfs_dev_files - cleanup PCI specific sysfs files : device whose entries we should free
Cleanup when is removed from sysfs.
Definition at line 1332 of file pci-sysfs.c.
int pci_resource_bar | ( | struct pci_dev * | dev, |
int | resno, | ||
enum pci_bar_type * | type | ||
) |
int pci_set_platform_pm | ( | struct pci_platform_pm_ops * | ops | ) |
pci_setup_device - fill in class and map information of a device : the device structure to fill
Initialize the device structure with information about the device's vendor,class,memory and IO-space addresses,IRQ lines etc. Called at initialisation of the PCI subsystem and by CardBus services. Returns 0 on success and negative if unknown type of device (not normal, bridge or CardBus).
int pci_uevent | ( | struct device * | dev, |
struct kobj_uevent_env * | env | ||
) |
void pci_update_current_state | ( | struct pci_dev * | dev, |
pci_power_t | state | ||
) |
platform_pci_wakeup_init - init platform wakeup if present : PCI device
Some devices don't have PCI PM caps but can still generate wakeup events through platform methods (like ACPI events). If supports platform wakeup events, set the device flag to indicate as much. This may be redundant if the device also supports PCI PM caps, but double initialization should be safe in that case.
struct rw_semaphore pci_bus_sem |
struct device_attribute pci_dev_attrs[] |
Definition at line 407 of file pci-sysfs.c.
raw_spinlock_t pci_lock |
struct device_attribute pcibus_dev_attrs[] |
Definition at line 437 of file pci-sysfs.c.