|
| EXPORT_SYMBOL_GPL (pci_power_names) |
|
| EXPORT_SYMBOL (isa_dma_bridge_buggy) |
|
| EXPORT_SYMBOL (pci_pci_problems) |
|
unsigned char | pci_bus_max_busnr (struct pci_bus *bus) |
|
| EXPORT_SYMBOL_GPL (pci_bus_max_busnr) |
|
int | pci_find_next_capability (struct pci_dev *dev, u8 pos, int cap) |
|
| EXPORT_SYMBOL_GPL (pci_find_next_capability) |
|
int | pci_find_capability (struct pci_dev *dev, int cap) |
|
int | pci_bus_find_capability (struct pci_bus *bus, unsigned int devfn, int cap) |
|
int | pci_find_next_ext_capability (struct pci_dev *dev, int start, int cap) |
|
| EXPORT_SYMBOL_GPL (pci_find_next_ext_capability) |
|
int | pci_find_ext_capability (struct pci_dev *dev, int cap) |
|
| EXPORT_SYMBOL_GPL (pci_find_ext_capability) |
|
int | pci_find_next_ht_capability (struct pci_dev *dev, int pos, int ht_cap) |
|
| EXPORT_SYMBOL_GPL (pci_find_next_ht_capability) |
|
int | pci_find_ht_capability (struct pci_dev *dev, int ht_cap) |
|
| EXPORT_SYMBOL_GPL (pci_find_ht_capability) |
|
struct resource * | pci_find_parent_resource (const struct pci_dev *dev, struct resource *res) |
|
int | pci_set_platform_pm (struct pci_platform_pm_ops *ops) |
|
void | pci_update_current_state (struct pci_dev *dev, pci_power_t state) |
|
void | pci_power_up (struct pci_dev *dev) |
|
int | __pci_complete_power_transition (struct pci_dev *dev, pci_power_t state) |
|
| EXPORT_SYMBOL_GPL (__pci_complete_power_transition) |
|
int | pci_set_power_state (struct pci_dev *dev, pci_power_t state) |
|
pci_power_t | pci_choose_state (struct pci_dev *dev, pm_message_t state) |
|
| EXPORT_SYMBOL (pci_choose_state) |
|
int | pci_save_state (struct pci_dev *dev) |
|
void | pci_restore_state (struct pci_dev *dev) |
|
struct pci_saved_state * | pci_store_saved_state (struct pci_dev *dev) |
|
| EXPORT_SYMBOL_GPL (pci_store_saved_state) |
|
int | pci_load_saved_state (struct pci_dev *dev, struct pci_saved_state *state) |
|
| EXPORT_SYMBOL_GPL (pci_load_saved_state) |
|
int | pci_load_and_free_saved_state (struct pci_dev *dev, struct pci_saved_state **state) |
|
| EXPORT_SYMBOL_GPL (pci_load_and_free_saved_state) |
|
int | pci_reenable_device (struct pci_dev *dev) |
|
int | pci_enable_device_io (struct pci_dev *dev) |
|
int | pci_enable_device_mem (struct pci_dev *dev) |
|
int | pci_enable_device (struct pci_dev *dev) |
|
int | pcim_enable_device (struct pci_dev *pdev) |
|
void | pcim_pin_device (struct pci_dev *pdev) |
|
void __weak | pcibios_disable_device (struct pci_dev *dev) |
|
void | pci_disable_enabled_device (struct pci_dev *dev) |
|
void | pci_disable_device (struct pci_dev *dev) |
|
int __weak | pcibios_set_pcie_reset_state (struct pci_dev *dev, enum pcie_reset_state state) |
|
int | pci_set_pcie_reset_state (struct pci_dev *dev, enum pcie_reset_state state) |
|
bool | pci_check_pme_status (struct pci_dev *dev) |
|
void | pci_pme_wakeup_bus (struct pci_bus *bus) |
|
void | pci_wakeup_bus (struct pci_bus *bus) |
|
bool | pci_pme_capable (struct pci_dev *dev, pci_power_t state) |
|
void | pci_pme_active (struct pci_dev *dev, bool enable) |
|
int | __pci_enable_wake (struct pci_dev *dev, pci_power_t state, bool runtime, bool enable) |
|
| EXPORT_SYMBOL (__pci_enable_wake) |
|
int | pci_wake_from_d3 (struct pci_dev *dev, bool enable) |
|
pci_power_t | pci_target_state (struct pci_dev *dev) |
|
int | pci_prepare_to_sleep (struct pci_dev *dev) |
|
int | pci_back_from_sleep (struct pci_dev *dev) |
|
int | pci_finish_runtime_suspend (struct pci_dev *dev) |
|
bool | pci_dev_run_wake (struct pci_dev *dev) |
|
| EXPORT_SYMBOL_GPL (pci_dev_run_wake) |
|
void | pci_config_pm_runtime_get (struct pci_dev *pdev) |
|
void | pci_config_pm_runtime_put (struct pci_dev *pdev) |
|
void | pci_pm_init (struct pci_dev *dev) |
|
void | platform_pci_wakeup_init (struct pci_dev *dev) |
|
void | pci_allocate_cap_save_buffers (struct pci_dev *dev) |
|
void | pci_free_cap_save_buffers (struct pci_dev *dev) |
|
void | pci_enable_ari (struct pci_dev *dev) |
|
void | pci_enable_ido (struct pci_dev *dev, unsigned long type) |
|
| EXPORT_SYMBOL (pci_enable_ido) |
|
void | pci_disable_ido (struct pci_dev *dev, unsigned long type) |
|
| EXPORT_SYMBOL (pci_disable_ido) |
|
int | pci_enable_obff (struct pci_dev *dev, enum pci_obff_signal_type type) |
|
| EXPORT_SYMBOL (pci_enable_obff) |
|
void | pci_disable_obff (struct pci_dev *dev) |
|
| EXPORT_SYMBOL (pci_disable_obff) |
|
int | pci_enable_ltr (struct pci_dev *dev) |
|
| EXPORT_SYMBOL (pci_enable_ltr) |
|
void | pci_disable_ltr (struct pci_dev *dev) |
|
| EXPORT_SYMBOL (pci_disable_ltr) |
|
int | pci_set_ltr (struct pci_dev *dev, int snoop_lat_ns, int nosnoop_lat_ns) |
|
| EXPORT_SYMBOL (pci_set_ltr) |
|
void | pci_request_acs (void) |
|
void | pci_enable_acs (struct pci_dev *dev) |
|
bool | pci_acs_enabled (struct pci_dev *pdev, u16 acs_flags) |
|
bool | pci_acs_path_enabled (struct pci_dev *start, struct pci_dev *end, u16 acs_flags) |
|
u8 | pci_swizzle_interrupt_pin (const struct pci_dev *dev, u8 pin) |
|
int | pci_get_interrupt_pin (struct pci_dev *dev, struct pci_dev **bridge) |
|
u8 | pci_common_swizzle (struct pci_dev *dev, u8 *pinp) |
|
void | pci_release_region (struct pci_dev *pdev, int bar) |
|
int | pci_request_region (struct pci_dev *pdev, int bar, const char *res_name) |
|
int | pci_request_region_exclusive (struct pci_dev *pdev, int bar, const char *res_name) |
|
void | pci_release_selected_regions (struct pci_dev *pdev, int bars) |
|
int | __pci_request_selected_regions (struct pci_dev *pdev, int bars, const char *res_name, int excl) |
|
int | pci_request_selected_regions (struct pci_dev *pdev, int bars, const char *res_name) |
|
int | pci_request_selected_regions_exclusive (struct pci_dev *pdev, int bars, const char *res_name) |
|
void | pci_release_regions (struct pci_dev *pdev) |
|
int | pci_request_regions (struct pci_dev *pdev, const char *res_name) |
|
int | pci_request_regions_exclusive (struct pci_dev *pdev, const char *res_name) |
|
char *__weak __init | pcibios_setup (char *str) |
|
void __weak | pcibios_set_master (struct pci_dev *dev) |
|
void | pci_set_master (struct pci_dev *dev) |
|
void | pci_clear_master (struct pci_dev *dev) |
|
int | pci_set_cacheline_size (struct pci_dev *dev) |
|
| EXPORT_SYMBOL_GPL (pci_set_cacheline_size) |
|
int | pci_set_mwi (struct pci_dev *dev) |
|
int | pci_try_set_mwi (struct pci_dev *dev) |
|
void | pci_clear_mwi (struct pci_dev *dev) |
|
void | pci_intx (struct pci_dev *pdev, int enable) |
|
bool | pci_intx_mask_supported (struct pci_dev *dev) |
|
| EXPORT_SYMBOL_GPL (pci_intx_mask_supported) |
|
bool | pci_check_and_mask_intx (struct pci_dev *dev) |
|
| EXPORT_SYMBOL_GPL (pci_check_and_mask_intx) |
|
bool | pci_check_and_unmask_intx (struct pci_dev *dev) |
|
| EXPORT_SYMBOL_GPL (pci_check_and_unmask_intx) |
|
void | pci_msi_off (struct pci_dev *dev) |
|
| EXPORT_SYMBOL_GPL (pci_msi_off) |
|
int | pci_set_dma_max_seg_size (struct pci_dev *dev, unsigned int size) |
|
| EXPORT_SYMBOL (pci_set_dma_max_seg_size) |
|
int | pci_set_dma_seg_boundary (struct pci_dev *dev, unsigned long mask) |
|
| EXPORT_SYMBOL (pci_set_dma_seg_boundary) |
|
int | __pci_reset_function (struct pci_dev *dev) |
|
| EXPORT_SYMBOL_GPL (__pci_reset_function) |
|
int | __pci_reset_function_locked (struct pci_dev *dev) |
|
| EXPORT_SYMBOL_GPL (__pci_reset_function_locked) |
|
int | pci_probe_reset_function (struct pci_dev *dev) |
|
int | pci_reset_function (struct pci_dev *dev) |
|
| EXPORT_SYMBOL_GPL (pci_reset_function) |
|
int | pcix_get_max_mmrbc (struct pci_dev *dev) |
|
| EXPORT_SYMBOL (pcix_get_max_mmrbc) |
|
int | pcix_get_mmrbc (struct pci_dev *dev) |
|
| EXPORT_SYMBOL (pcix_get_mmrbc) |
|
int | pcix_set_mmrbc (struct pci_dev *dev, int mmrbc) |
|
| EXPORT_SYMBOL (pcix_set_mmrbc) |
|
int | pcie_get_readrq (struct pci_dev *dev) |
|
| EXPORT_SYMBOL (pcie_get_readrq) |
|
int | pcie_set_readrq (struct pci_dev *dev, int rq) |
|
| EXPORT_SYMBOL (pcie_set_readrq) |
|
int | pcie_get_mps (struct pci_dev *dev) |
|
int | pcie_set_mps (struct pci_dev *dev, int mps) |
|
int | pci_select_bars (struct pci_dev *dev, unsigned long flags) |
|
int | pci_resource_bar (struct pci_dev *dev, int resno, enum pci_bar_type *type) |
|
void __init | pci_register_set_vga_state (arch_set_vga_state_t func) |
|
int | pci_set_vga_state (struct pci_dev *dev, bool decode, unsigned int command_bits, u32 flags) |
|
resource_size_t | pci_specified_resource_alignment (struct pci_dev *dev) |
|
int | pci_is_reassigndev (struct pci_dev *dev) |
|
void | pci_reassigndev_resource_alignment (struct pci_dev *dev) |
|
ssize_t | pci_set_resource_alignment_param (const char *buf, size_t count) |
|
ssize_t | pci_get_resource_alignment_param (char *buf, size_t size) |
|
| BUS_ATTR (resource_alignment, 0644, pci_resource_alignment_show, pci_resource_alignment_store) |
|
| late_initcall (pci_resource_alignment_sysfs_init) |
|
int __weak | pci_ext_cfg_avail (struct pci_dev *dev) |
|
void __weak | pci_fixup_cardbus (struct pci_bus *bus) |
|
| EXPORT_SYMBOL (pci_fixup_cardbus) |
|
| early_param ("pci", pci_setup) |
|
| EXPORT_SYMBOL (pci_reenable_device) |
|
| EXPORT_SYMBOL (pci_enable_device_io) |
|
| EXPORT_SYMBOL (pci_enable_device_mem) |
|
| EXPORT_SYMBOL (pci_enable_device) |
|
| EXPORT_SYMBOL (pcim_enable_device) |
|
| EXPORT_SYMBOL (pcim_pin_device) |
|
| EXPORT_SYMBOL (pci_disable_device) |
|
| EXPORT_SYMBOL (pci_find_capability) |
|
| EXPORT_SYMBOL (pci_bus_find_capability) |
|
| EXPORT_SYMBOL (pci_release_regions) |
|
| EXPORT_SYMBOL (pci_request_regions) |
|
| EXPORT_SYMBOL (pci_request_regions_exclusive) |
|
| EXPORT_SYMBOL (pci_release_region) |
|
| EXPORT_SYMBOL (pci_request_region) |
|
| EXPORT_SYMBOL (pci_request_region_exclusive) |
|
| EXPORT_SYMBOL (pci_release_selected_regions) |
|
| EXPORT_SYMBOL (pci_request_selected_regions) |
|
| EXPORT_SYMBOL (pci_request_selected_regions_exclusive) |
|
| EXPORT_SYMBOL (pci_set_master) |
|
| EXPORT_SYMBOL (pci_clear_master) |
|
| EXPORT_SYMBOL (pci_set_mwi) |
|
| EXPORT_SYMBOL (pci_try_set_mwi) |
|
| EXPORT_SYMBOL (pci_clear_mwi) |
|
| EXPORT_SYMBOL_GPL (pci_intx) |
|
| EXPORT_SYMBOL (pci_assign_resource) |
|
| EXPORT_SYMBOL (pci_find_parent_resource) |
|
| EXPORT_SYMBOL (pci_select_bars) |
|
| EXPORT_SYMBOL (pci_set_power_state) |
|
| EXPORT_SYMBOL (pci_save_state) |
|
| EXPORT_SYMBOL (pci_restore_state) |
|
| EXPORT_SYMBOL (pci_pme_capable) |
|
| EXPORT_SYMBOL (pci_pme_active) |
|
| EXPORT_SYMBOL (pci_wake_from_d3) |
|
| EXPORT_SYMBOL (pci_target_state) |
|
| EXPORT_SYMBOL (pci_prepare_to_sleep) |
|
| EXPORT_SYMBOL (pci_back_from_sleep) |
|
| EXPORT_SYMBOL_GPL (pci_set_pcie_reset_state) |
|
__pci_enable_wake - enable PCI device as wakeup event source : PCI device affected : PCI state from which device will issue wakeup events : True if the events are to be generated at run time : True to enable event generation; false to disable
This enables the device as a wakeup event source, or disables it. When such events involves platform-specific hooks, those hooks are called automatically by this routine.
Devices with legacy power management (no standard PCI PM capabilities) always require such platform hooks.
RETURN VALUE: 0 is returned on success -EINVAL is returned if device is not supposed to wake up the system Error code depending on the platform is returned if both the platform and the native mechanism fail to enable the generation of wake-up events
Definition at line 1642 of file pci.c.
__pci_reset_function - reset a PCI device function : 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.
The device function is presumed to be unused when this function is called. Resetting the device will make the contents of PCI configuration space random, so any caller of this must be prepared to reinitialise the device including MSI, bus mastering, BARs, decoding IO and memory spaces, etc.
Returns 0 if the device function was successfully reset or negative if the device doesn't support resetting a single function.
Definition at line 3294 of file pci.c.
__pci_reset_function_locked - reset a PCI device function while holding the mutex lock. : 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.
The device function is presumed to be unused and the caller is holding the device mutex lock when this function is called. Resetting the device will make the contents of PCI configuration space random, so any caller of this must be prepared to reinitialise the device including MSI, bus mastering, BARs, decoding IO and memory spaces, etc.
Returns 0 if the device function was successfully reset or negative if the device doesn't support resetting a single function.
Definition at line 3319 of file pci.c.
pci_enable_device - Initialize device before it's used by a driver. : PCI device to be initialized
Initialize device before it's used by a driver. Ask low-level code to enable I/O and memory. Wake up the device if it was suspended. Beware, this function can fail.
Note we don't actually enable the device many times if we call this function repeatedly (we just increment the count).
Definition at line 1231 of file pci.c.
pci_enable_obff - enable optimized buffer flush/fill : PCI device : type of signaling to use
Try to enable OBFF signaling on . It will try using WAKE# signaling if possible, falling back to message signaling only if WAKE# isn't supported. should indicate whether the PCIe link be brought out of L0s or L1 to send the message. It should be either PCI_EXP_OBFF_SIGNAL_ALWAYS or PCI_OBFF_SIGNAL_L0.
If your device can benefit from receiving all messages, even at the power cost of bringing the link back up from a low power state, use PCI_EXP_OBFF_SIGNAL_ALWAYS. Otherwise, use PCI_OBFF_SIGNAL_L0 (the preferred type).
RETURNS: Zero on success, appropriate error number on failure.
Definition at line 2130 of file pci.c.
pci_find_capability - query for devices' capabilities : PCI device to query : capability code
Tell if a device supports a given PCI capability. Returns the address of the requested capability structure within the device's PCI configuration space or 0 in case the device does not support it. Possible values for :
PCI_CAP_ID_PM Power Management PCI_CAP_ID_AGP Accelerated Graphics Port PCI_CAP_ID_VPD Vital Product Data PCI_CAP_ID_SLOTID Slot Identification PCI_CAP_ID_MSI Message Signalled Interrupts PCI_CAP_ID_CHSWP CompactPCI HotSwap PCI_CAP_ID_PCIX PCI-X PCI_CAP_ID_EXP PCI Express
Definition at line 218 of file pci.c.
pci_find_next_ext_capability - Find an extended capability : PCI device to query : address at which to start looking (0 to start at beginning of list) : capability code
Returns the address of the next matching extended capability structure within the device's PCI configuration space or 0 if the device does not support it. Some capabilities can occur several times, e.g., the vendor-specific capability, and this provides a way to find them all.
Definition at line 267 of file pci.c.
pci_request_region_exclusive - Reserved PCI I/O and memory resource : PCI device whose resources are to be reserved : BAR to be reserved : Name to be associated with resource.
Mark the PCI region associated with PCI device BR as being reserved by owner . Do not access any address inside the PCI regions unless this call returns successfully.
Returns 0 on success, or EBUSY on error. A warning message is also printed on failure.
The key difference that _exclusive makes it that userspace is explicitly not allowed to map the resource via /dev/mem or sysfs.
Definition at line 2593 of file pci.c.
pci_request_regions_exclusive - Reserved PCI I/O and memory resources : PCI device whose resources are to be reserved : Name to be associated with resource.
Mark all PCI regions associated with PCI device as being reserved by owner . Do not access any address inside the PCI regions unless this call returns successfully.
pci_request_regions_exclusive() will mark the region so that /dev/mem and the sysfs MMIO access will not be allowed.
Returns 0 on success, or EBUSY on error. A warning message is also printed on failure.
Definition at line 2701 of file pci.c.
pci_reset_function - quiesce and reset a PCI device function : 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.
This function does not just reset the PCI portion of a device, but clears all the state associated with the device. This function differs from __pci_reset_function in that it saves and restores device state over the reset.
Returns 0 if the device function was successfully reset or negative if the device doesn't support resetting a single function.
Definition at line 3357 of file pci.c.
pci_set_power_state - Set the power state of a PCI device : PCI device to handle. : PCI power state (D0, D1, D2, D3hot) to put the device into.
Transition a device to a new power state, using the platform firmware and/or the device's PCI PM registers.
RETURN VALUE: -EINVAL if the requested state is invalid. -EIO if device does not support PCI PM or its PM capabilities register has a wrong version, or device doesn't support the requested state. 0 if device already is in the requested state. 0 if device's power state has been successfully changed.
Definition at line 756 of file pci.c.
pci_swizzle_interrupt_pin - swizzle INTx for device behind bridge : the PCI device : the INTx pin (1=INTA, 2=INTB, 3=INTD, 4=INTD)
Perform INTx swizzling for a device behind one level of bridge. This is required by section 9.1 of the PCI-to-PCI bridge specification for devices behind bridges on add-in cards. For devices with ARI enabled, the slot number is always 0 (see the Implementation Note in section 2.2.8.1 of the PCI Express Base Specification, Revision 2.1)
Definition at line 2429 of file pci.c.
pci_wake_from_d3 - enable/disable device to wake up from D3_hot or D3_cold : PCI device to prepare : True to enable wake-up event generation; false to disable
Many drivers want the device to wake up the system from D3_hot or D3_cold and this function allows them to set that up cleanly - pci_enable_wake() should not be called twice in a row to enable wake-up due to PCI PM vs ACPI ordering constraints.
This function only returns error code if the device is not capable of generating PME# from both D3_hot and D3_cold, and the platform is unable to enable wake-up power for it.
Definition at line 1700 of file pci.c.
pcie_set_readrq - set PCI Express maximum memory read request : PCI device to query : maximum memory read count in bytes valid values are 128, 256, 512, 1024, 2048, 4096
If possible sets maximum memory read request in bytes
Definition at line 3499 of file pci.c.