id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
pci_setup_msix_device_domain(9) | NAME pci_setup_msix_device_domain - Setup a device MSI-X interrupt domain
SYNOPSIS bool pci_setup_msix_device_domain (struct pci_dev *pdev , unsigned int hwsize );
ARGUMENTS pdev The PCI device to create the domain on
hwsize The size of the MSI-X vector table
RETURN True when: - The device does ... |
pci_specified_resource_alignment(9) | NAME pci_specified_resource_alignment - get resource alignment specified by user.
SYNOPSIS resource_size_t pci_specified_resource_alignment (struct pci_dev *dev , bool *resize );
ARGUMENTS dev the PCI device to get
resize whether or not to change resources' size when reassigning alignment
RETURN... |
pci_sriov_configure_simple(9) | NAME pci_sriov_configure_simple - helper to configure SR-IOV
SYNOPSIS int pci_sriov_configure_simple (struct pci_dev *dev , int nr_virtfn );
ARGUMENTS dev the PCI device
nr_virtfn number of virtual functions to enable, 0 to disable
DESCRIPTION Enable or disable SR-IOV for devices that don't require... |
pci_sriov_get_totalvfs(9) | NAME pci_sriov_get_totalvfs - - get total VFs supported on this device
SYNOPSIS int pci_sriov_get_totalvfs (struct pci_dev *dev );
ARGUMENTS dev the PCI PF device
DESCRIPTION For a PCIe device with SRIOV support, return the PCIe SRIOV capability value of TotalVFs or the value of driver_max_VFs if the driver ... |
pci_sriov_resource_alignment(9) | NAME pci_sriov_resource_alignment - get resource alignment for VF BAR
SYNOPSIS resource_size_t pci_sriov_resource_alignment (struct pci_dev *dev , int resno );
ARGUMENTS dev the PCI device
resno the resource number
DESCRIPTION Returns the alignment of the VF BAR found in the SR-IOV capability. ... |
pci_sriov_set_totalvfs(9) | NAME pci_sriov_set_totalvfs - - reduce the TotalVFs available
SYNOPSIS int pci_sriov_set_totalvfs (struct pci_dev *dev , u16 numvfs );
ARGUMENTS dev the PCI PF device
numvfs number that should be used for TotalVFs supported
DESCRIPTION Should be called from PF driver's probe routine with device... |
pci_status_get_and_clear_errors(9) | NAME pci_status_get_and_clear_errors - return and clear error bits in PCI_STATUS
SYNOPSIS int pci_status_get_and_clear_errors (struct pci_dev *pdev );
ARGUMENTS pdev the PCI device
DESCRIPTION Returns error bits set in PCI_STATUS and clears them.
SEE ALSO Kernel file ./drivers/pci/pci.c pci_bus_max_busnr(... |
pci_std_enable_acs(9) | NAME pci_std_enable_acs - enable ACS on devices using standard ACS capabilities
SYNOPSIS void pci_std_enable_acs (struct pci_dev *dev , struct pci_acs *caps );
ARGUMENTS dev the PCI device
caps default ACS controls
SEE ALSO Kernel file ./drivers/pci/pci.c pci_bus_max_busnr(9), pci_status_g... |
pci_stop_and_remove_bus_device(9) | NAME pci_stop_and_remove_bus_device - remove a PCI device and any children
SYNOPSIS void pci_stop_and_remove_bus_device (struct pci_dev *dev );
ARGUMENTS dev the device to remove
DESCRIPTION Remove a PCI device from the device lists, informing the drivers that the device has been removed. We also remove an... |
pci_store_saved_state(9) | NAME pci_store_saved_state - Allocate and return an opaque struct containing the device saved state.
SYNOPSIS struct pci_saved_state * pci_store_saved_state (struct pci_dev *dev );
ARGUMENTS dev PCI device that we're dealing with
DESCRIPTION Return NULL if no state or error.
SEE ALSO Kernel file ./drivers... |
pci_swizzle_interrupt_pin(9) | NAME pci_swizzle_interrupt_pin - swizzle INTx for device behind bridge
SYNOPSIS u8 pci_swizzle_interrupt_pin (const struct pci_dev *dev , u8 pin );
ARGUMENTS dev the PCI device
pin the INTx pin (1=INTA, 2=INTB, 3=INTC, 4=INTD)
DESCRIPTION Perform INTx swizzling for a device behind one level... |
pci_target_state(9) | NAME pci_target_state - find an appropriate low power state for a given PCI dev
SYNOPSIS pci_power_t pci_target_state (struct pci_dev *dev , bool wakeup );
ARGUMENTS dev PCI device
wakeup Whether or not wakeup functionality will be enabled for the device.
DESCRIPTION Use underlying platform code... |
pci_try_reset_function(9) | NAME pci_try_reset_function - quiesce and reset a PCI device function
SYNOPSIS int pci_try_reset_function (struct pci_dev *dev );
ARGUMENTS dev PCI device to reset
DESCRIPTION Same as above, except return -EAGAIN if unable to lock device.
SEE ALSO Kernel file ./drivers/pci/pci.c pci_bus_max_busnr(9), pc... |
pci_try_set_mwi(9) | NAME pci_try_set_mwi - enables memory-write-invalidate PCI transaction
SYNOPSIS int pci_try_set_mwi (struct pci_dev *dev );
ARGUMENTS dev the PCI device for which MWI is enabled
DESCRIPTION Enables the Memory-Write-Invalidate transaction in PCI_COMMAND. Callers are not required to check the return value.
R... |
pci_tsm_bind(9) | NAME pci_tsm_bind - Bind @pdev as a TDI for @kvm
SYNOPSIS int pci_tsm_bind (struct pci_dev *pdev , struct kvm *kvm , u32 tdi_id );
ARGUMENTS pdev PCI device function to bind
kvm Private memory attach context
tdi_id Identifier (virtual BDF) for the TDI as referenced by the TSM and D... |
pci_tsm_guest_req(9) | NAME pci_tsm_guest_req - helper to marshal guest requests to the TSM driver
SYNOPSIS ssize_t pci_tsm_guest_req (struct pci_dev *pdev , enum pci_tsm_req_scope scope , sockptr_t req_in , size_t in_len , sockptr_t req_out , size_t out_len , u64 *tsm_code );
ARGUMENTS pdev pdev representing a bound tdi
sco... |
pci_tsm_link_constructor(9) | NAME pci_tsm_link_constructor - base 'struct pci_tsm' initialization for link TSMs
SYNOPSIS int pci_tsm_link_constructor (struct pci_dev *pdev , struct pci_tsm *tsm , struct tsm_dev *tsm_dev );
ARGUMENTS pdev The PCI device
tsm context to initialize
tsm_dev Platform TEE Security Man... |
pci_tsm_pf0_constructor(9) | NAME pci_tsm_pf0_constructor - common 'struct pci_tsm_pf0' (DSM) initialization
SYNOPSIS int pci_tsm_pf0_constructor (struct pci_dev *pdev , struct pci_tsm_pf0 *tsm , struct tsm_dev *tsm_dev );
ARGUMENTS pdev Physical Function 0 PCI device (as indicated by is_pci_tsm_pf0)
tsm context to initial... |
pci_tsm_tdi_constructor(9) | NAME pci_tsm_tdi_constructor - base 'struct pci_tdi' initialization for link TSMs
SYNOPSIS void pci_tsm_tdi_constructor (struct pci_dev *pdev , struct pci_tdi *tdi , struct kvm *kvm , u32 tdi_id );
ARGUMENTS pdev PCI device function representing the TDI
tdi context to initialize
kvm ... |
pci_uevent_ers(9) | NAME pci_uevent_ers - emit a uevent during recovery path of PCI device
SYNOPSIS void pci_uevent_ers (struct pci_dev *pdev , enum pci_ers_result err_type );
ARGUMENTS pdev PCI device undergoing error recovery
err_type type of error event
SEE ALSO Kernel file ./drivers/pci/pci-driver.c pci_add_dynid... |
pci_unmap_iospace(9) | NAME pci_unmap_iospace - Unmap the memory mapped I/O space
SYNOPSIS void pci_unmap_iospace (struct resource *res );
ARGUMENTS res resource to be unmapped
DESCRIPTION Unmap the CPU virtual address res from virtual address space. Only architectures that have memory mapped IO functions defined (and the PCI_IOB... |
pci_unmap_rom(9) | NAME pci_unmap_rom - unmap the ROM from kernel space
SYNOPSIS void pci_unmap_rom (struct pci_dev *pdev , void __iomem *rom );
ARGUMENTS pdev pointer to pci device struct
rom virtual address of the previous mapping
DESCRIPTION Remove a mapping of a previously mapped ROM
SEE ALSO Kernel file ./... |
pci_unregister_driver(9) | NAME pci_unregister_driver - unregister a pci driver
SYNOPSIS void pci_unregister_driver (struct pci_driver *drv );
ARGUMENTS drv the driver structure to unregister
DESCRIPTION Deletes the driver structure from the list of registered PCI drivers, gives it a chance to clean up by calling its remove function f... |
pci_update_current_state(9) | NAME pci_update_current_state - Read power state of given device and cache it
SYNOPSIS void pci_update_current_state (struct pci_dev *dev , pci_power_t state );
ARGUMENTS dev PCI device to handle.
state State to cache in case the device doesn't have the PM capability
DESCRIPTION The power sta... |
pci_vc_do_save_buffer(9) | NAME pci_vc_do_save_buffer - Size, save, or restore VC state
SYNOPSIS int pci_vc_do_save_buffer (struct pci_dev *dev , int pos , struct pci_cap_saved_state *save_state , bool save );
ARGUMENTS dev device
pos starting position of VC capability (VC/VC9/MFVC)
save_state buffer for save/r... |
pci_vc_enable(9) | NAME pci_vc_enable - Enable virtual channel
SYNOPSIS void pci_vc_enable (struct pci_dev *dev , int pos , int res );
ARGUMENTS dev device
pos starting position of VC capability (VC/VC9/MFVC)
res VC res number, ie. VCn (0-7)
DESCRIPTION A VC is enabled by setting the enable bit ... |
pci_vc_load_arb_table(9) | NAME pci_vc_load_arb_table - load and wait for VC arbitration table
SYNOPSIS void pci_vc_load_arb_table (struct pci_dev *dev , int pos );
ARGUMENTS dev device
pos starting position of VC capability (VC/VC9/MFVC)
DESCRIPTION Set Load VC Arbitration Table bit requesting hardware to apply the VC... |
pci_vc_load_port_arb_table(9) | NAME pci_vc_load_port_arb_table - Load and wait for VC port arbitration table
SYNOPSIS void pci_vc_load_port_arb_table (struct pci_dev *dev , int pos , int res );
ARGUMENTS dev device
pos starting position of VC capability (VC/VC9/MFVC)
res VC resource number, ie. VCn (0-7)
DE... |
pci_vc_save_restore_dwords(9) | NAME pci_vc_save_restore_dwords - Save or restore a series of dwords
SYNOPSIS void pci_vc_save_restore_dwords (struct pci_dev *dev , int pos , u32 *buf , int dwords , bool save );
ARGUMENTS dev device
pos starting config space position
buf buffer to save to or restore from
... |
pci_vf_drivers_autoprobe(9) | NAME pci_vf_drivers_autoprobe - set PF property drivers_autoprobe for VFs
SYNOPSIS void pci_vf_drivers_autoprobe (struct pci_dev *dev , bool auto_probe );
ARGUMENTS dev the PCI device
auto_probe set VF drivers auto probe flag
SEE ALSO Kernel file ./drivers/pci/iov.c pci_iov_get_pf_drvdata(9)... |
pci_vfs_assigned(9) | NAME pci_vfs_assigned - returns number of VFs are assigned to a guest
SYNOPSIS int pci_vfs_assigned (struct pci_dev *dev );
ARGUMENTS dev the PCI device
DESCRIPTION Returns number of VFs belonging to this device that are assigned to a guest. If device is not a physical function returns 0.
SEE ALSO Kernel ... |
pci_vpd_alloc(9) | NAME pci_vpd_alloc - Allocate buffer and read VPD into it
SYNOPSIS void * pci_vpd_alloc (struct pci_dev *dev , unsigned int *size );
ARGUMENTS dev PCI device
size pointer to field where VPD length is returned
DESCRIPTION Returns pointer to allocated buffer or an ERR_PTR in case of failure
SEE... |
pci_vpd_check_csum(9) | NAME pci_vpd_check_csum - Check VPD checksum
SYNOPSIS int pci_vpd_check_csum (const void *buf , unsigned int len );
ARGUMENTS buf Pointer to buffered VPD data
len VPD size
DESCRIPTION Returns 1 if VPD has no checksum, otherwise 0 or an errno
SEE ALSO Kernel file ./include/linux/pci.h enum pc... |
pci_vpd_find_id_string(9) | NAME pci_vpd_find_id_string - Locate id string in VPD
SYNOPSIS int pci_vpd_find_id_string (const u8 *buf , unsigned int len , unsigned int *size );
ARGUMENTS buf Pointer to buffered VPD data
len The length of the buffer area in which to search
size Pointer to field where length ... |
pci_vpd_find_ro_info_keyword(9) | NAME pci_vpd_find_ro_info_keyword - Locate info field keyword in VPD RO section
SYNOPSIS int pci_vpd_find_ro_info_keyword (const void *buf , unsigned int len , const char *kw , unsigned int *size );
ARGUMENTS buf Pointer to buffered VPD data
len The length of the buffer area in which to search... |
pci_vpd_size(9) | NAME pci_vpd_size - determine actual size of Vital Product Data
SYNOPSIS size_t pci_vpd_size (struct pci_dev *dev );
ARGUMENTS dev pci device struct
SEE ALSO Kernel file ./drivers/pci/vpd.c pci_read_vpd(9), pci_write_vpd(9)
April 2026 ... |
pci_wait_for_pending(9) | NAME pci_wait_for_pending - wait for @mask bit(s) to clear in status word @pos
SYNOPSIS int pci_wait_for_pending (struct pci_dev *dev , int pos , u16 mask );
ARGUMENTS dev the PCI device to operate on
pos config space offset of status word
mask mask of bit(s) to care about in st... |
pci_wait_for_pending_transaction(9) | NAME pci_wait_for_pending_transaction - wait for pending transaction
SYNOPSIS int pci_wait_for_pending_transaction (struct pci_dev *dev );
ARGUMENTS dev the PCI device to operate on
DESCRIPTION Return 0 if transaction is pending 1 otherwise.
SEE ALSO Kernel file ./drivers/pci/pci.c pci_bus_max_busnr(9), ... |
pci_wake_from_d3(9) | NAME pci_wake_from_d3 - enable/disable device to wake up from D3_hot or D3_cold
SYNOPSIS int pci_wake_from_d3 (struct pci_dev *dev , bool enable );
ARGUMENTS dev PCI device to prepare
enable True to enable wake-up event generation; false to disable
DESCRIPTION Many drivers want the device to wa... |
pci_walk_bridge(9) | NAME pci_walk_bridge - walk bridges potentially AER affected
SYNOPSIS void pci_walk_bridge (struct pci_dev *bridge , int (*cb)(struct pci_dev *, void *) , void *userdata );
ARGUMENTS bridge bridge which may be a Port, an RCEC, or an RCiEP
cb callback to be called for each device found
us... |
pci_walk_bus(9) | NAME pci_walk_bus - walk devices on/under bus, calling callback.
SYNOPSIS void pci_walk_bus (struct pci_bus *top , int (*cb)(struct pci_dev *, void *) , void *userdata );
ARGUMENTS top bus whose devices should be walked
cb callback to be called for each device found
userdata arbitr... |
pci_walk_bus_reverse(9) | NAME pci_walk_bus_reverse - walk devices on/under bus, calling callback.
SYNOPSIS void pci_walk_bus_reverse (struct pci_bus *top , int (*cb)(struct pci_dev *, void *) , void *userdata );
ARGUMENTS top bus whose devices should be walked
cb callback to be called for each device found
us... |
pci_write_legacy_io(9) | NAME pci_write_legacy_io - write byte(s) to legacy I/O port space
SYNOPSIS ssize_t pci_write_legacy_io (struct file *filp , struct kobject *kobj , const struct bin_attribute *bin_attr , char *buf , loff_t off , size_t count );
ARGUMENTS filp open sysfs file
kobj kobject corresponding to file to ... |
pci_write_rom(9) | NAME pci_write_rom - used to enable access to the PCI ROM display
SYNOPSIS ssize_t pci_write_rom (struct file *filp , struct kobject *kobj , const struct bin_attribute *bin_attr , char *buf , loff_t off , size_t count );
ARGUMENTS filp sysfs file
kobj kernel object handle
bin_attr str... |
pci_write_vpd(9) | NAME pci_write_vpd - Write entry to Vital Product Data
SYNOPSIS ssize_t pci_write_vpd (struct pci_dev *dev , loff_t pos , size_t count , const void *buf );
ARGUMENTS dev PCI device struct
pos offset in VPD space
count number of bytes to write
buf buffer containing... |
pcibios_disable_device(9) | NAME pcibios_disable_device - disable arch specific PCI resources for device dev
SYNOPSIS void pcibios_disable_device (struct pci_dev *dev );
ARGUMENTS dev the PCI device to disable
DESCRIPTION Disables architecture specific PCI resources for the device. This is the default implementation. Architecture imple... |
pcibios_penalize_isa_irq(9) | NAME pcibios_penalize_isa_irq - penalize an ISA IRQ
SYNOPSIS void pcibios_penalize_isa_irq (int irq , int active );
ARGUMENTS irq ISA IRQ to penalize
active IRQ active or not
DESCRIPTION Permits the platform to provide architecture-specific functionality when penalizing ISA IRQs. This is the def... |
pcibios_release_device(9) | NAME pcibios_release_device - provide arch specific hooks when releasing device dev
SYNOPSIS void pcibios_release_device (struct pci_dev *dev );
ARGUMENTS dev the PCI device being released
DESCRIPTION Permits the platform to provide architecture specific functionality when devices are released. This is the d... |
pcibios_root_bridge_prepare(9) | NAME pcibios_root_bridge_prepare - Platform-specific host bridge setup
SYNOPSIS int pcibios_root_bridge_prepare (struct pci_host_bridge *bridge );
ARGUMENTS bridge Host bridge to set up
DESCRIPTION Default empty implementation. Replace with an architecture-specific setup routine, if necessary.
SEE ALSO Kernel... |
pcibios_set_master(9) | NAME pcibios_set_master - enable PCI bus-mastering for device dev
SYNOPSIS void pcibios_set_master (struct pci_dev *dev );
ARGUMENTS dev the PCI device to enable
DESCRIPTION Enables PCI bus-mastering for the device. This is the default implementation. Architecture specific implementations can override this... |
pcibios_set_pcie_reset_state(9) | NAME pcibios_set_pcie_reset_state - set reset state for device dev
SYNOPSIS int pcibios_set_pcie_reset_state (struct pci_dev *dev , enum pcie_reset_state state );
ARGUMENTS dev the PCIe device reset
state Reset state to enter into
DESCRIPTION Set the PCIe reset state for the device. This is the... |
pcibios_setup(9) | NAME pcibios_setup - process "pci=" kernel boot arguments
SYNOPSIS char * pcibios_setup (char *str );
ARGUMENTS str string used to pass in "pci=" kernel boot arguments
DESCRIPTION Process kernel boot arguments. This is the default implementation. Architecture specific implementations can override this as n... |
pciconfig_iobase(2) | NAME pciconfig_read, pciconfig_write, pciconfig_iobase - pci device information handling
LIBRARY Standard C library (libc, -lc)
SYNOPSIS #include <pci.h>
int pciconfig_read(unsigned long bus, unsigned long dfn,
unsigned long off, unsigned long size,
unsigned... |
pciconfig_read(2) | NAME pciconfig_read, pciconfig_write, pciconfig_iobase - pci device information handling
LIBRARY Standard C library (libc, -lc)
SYNOPSIS #include <pci.h>
int pciconfig_read(unsigned long bus, unsigned long dfn,
unsigned long off, unsigned long size,
unsigned... |
pciconfig_write(2) | NAME pciconfig_read, pciconfig_write, pciconfig_iobase - pci device information handling
LIBRARY Standard C library (libc, -lc)
SYNOPSIS #include <pci.h>
int pciconfig_read(unsigned long bus, unsigned long dfn,
unsigned long off, unsigned long size,
unsigned... |
pcie_aer_init(9) | NAME pcie_aer_init - register AER service driver
SYNOPSIS int pcie_aer_init (void );
ARGUMENTS void no arguments
DESCRIPTION Invoked when AER service driver is loaded.
SEE ALSO Kernel file ./drivers/pci/pcie/aer.c enable_ecrc_checking(9), disable_ecrc_checking(9), pcie_set_ecrc_checking(9), pcie_ecr... |
pcie_aspm_enabled(9) | NAME pcie_aspm_enabled - Check if PCIe ASPM has been enabled for a device.
SYNOPSIS bool pcie_aspm_enabled (struct pci_dev *pdev );
ARGUMENTS pdev Target device.
DESCRIPTION Relies on the upstream bridge's link_state being valid. The link_state is deallocated only when the last child of the bridge (i.e., pd... |
pcie_bandwidth_available(9) | NAME pcie_bandwidth_available - determine minimum link settings of a PCIe device and its bandwidth limitation
SYNOPSIS u32 pcie_bandwidth_available (struct pci_dev *dev , struct pci_dev **limiting_dev , enum pci_bus_speed *speed , enum pcie_link_width *width );
ARGUMENTS dev PCI device to query
limiti... |
pcie_bandwidth_capable(9) | NAME pcie_bandwidth_capable - calculate a PCI device's link bandwidth capability
SYNOPSIS u32 pcie_bandwidth_capable (struct pci_dev *dev , enum pci_bus_speed *speed , enum pcie_link_width *width );
ARGUMENTS dev PCI device
speed storage for link speed
width storage for link width
... |
pcie_bwctrl_select_speed(9) | NAME pcie_bwctrl_select_speed - Select Target Link Speed
SYNOPSIS u16 pcie_bwctrl_select_speed (struct pci_dev *port , enum pci_bus_speed speed_req );
ARGUMENTS port PCIe Port
speed_req Requested PCIe Link Speed
DESCRIPTION Select Target Link Speed by take into account Supported Link Speeds of both ... |
pcie_capability_clear_and_set_word(9) | NAME pcie_capability_clear_and_set_word - RMW accessor for PCI Express Capability Registers
SYNOPSIS int pcie_capability_clear_and_set_word (struct pci_dev *dev , int pos , u16 clear , u16 set );
ARGUMENTS dev PCI device structure of the PCI Express device
pos PCI Express Capability Register
... |
pcie_caps_reg(9) | NAME pcie_caps_reg - get the PCIe Capabilities Register
SYNOPSIS u16 pcie_caps_reg (const struct pci_dev *dev );
ARGUMENTS dev PCI device
SEE ALSO Kernel file ./include/linux/pci.h enum pci_interrupt_pin(9), pci_channel_state_t(9), pci_is_bridge(9), pci_is_vga(9), pci_is_display(9), struct pci_driver(9), PCI... |
pcie_clear_root_pme_status(9) | NAME pcie_clear_root_pme_status - Clear root port PME interrupt status.
SYNOPSIS void pcie_clear_root_pme_status (struct pci_dev *dev );
ARGUMENTS dev PCIe root port or event collector.
SEE ALSO Kernel file ./drivers/pci/pci.c pci_bus_max_busnr(9), pci_status_get_and_clear_errors(9), pci_dev_str_match_pa... |
pcie_device_free(9) | NAME pcie_device_free - Release the pcie device object @r - kref object
SYNOPSIS void pcie_device_free (struct kref *r );
ARGUMENTS r -- undescribed --
DESCRIPTION Free's the pcie device object. It will be called when reference count reaches to zero.
SEE ALSO Kernel file ./drivers/scsi/mpt3sas/mpt3sas_b... |
pcie_device_get(9) | NAME pcie_device_get - Increment the pcie device reference count
SYNOPSIS void pcie_device_get (struct _pcie_device *p );
ARGUMENTS p pcie_device object
DESCRIPTION When ever this function called it will increment the reference count of the pcie device for which this function called.
SEE ALSO Kernel file ... |
pcie_device_init(9) | NAME pcie_device_init - allocate and initialize PCI Express port service device
SYNOPSIS int pcie_device_init (struct pci_dev *pdev , int service , int irq );
ARGUMENTS pdev PCI Express port to associate the service device with
service Type of service to associate with the service device
ir... |
pcie_device_make_active(9) | NAME pcie_device_make_active - Add pcie device to pcie_device_list list
SYNOPSIS void pcie_device_make_active (struct MPT3SAS_ADAPTER *ioc , struct _pcie_device *pcie_device );
ARGUMENTS ioc per adapter object
pcie_device pcie device object
DESCRIPTION Add the pcie device which has registered with SC... |
pcie_device_put(9) | NAME pcie_device_put - Decrement the pcie device reference count
SYNOPSIS void pcie_device_put (struct _pcie_device *p );
ARGUMENTS p pcie_device object
DESCRIPTION When ever this function called it will decrement the reference count of the pcie device for which this function called. When refernce count r... |
pcie_disable_tph(9) | NAME pcie_disable_tph - Turn off TPH support for device
SYNOPSIS void pcie_disable_tph (struct pci_dev *pdev );
ARGUMENTS pdev PCI device
RETURN none
SEE ALSO Kernel file ./drivers/pci/tph.c pcie_tph_get_st_table_loc(9), pcie_tph_get_cpu_st(9), pcie_tph_set_st_entry(9), pcie_enable_tph(9)
April 2026 ... |
pcie_ecrc_get_policy(9) | NAME pcie_ecrc_get_policy - parse kernel command-line ecrc option
SYNOPSIS void pcie_ecrc_get_policy (char *str );
ARGUMENTS str ECRC policy from kernel command line to use
SEE ALSO Kernel file ./drivers/pci/pcie/aer.c enable_ecrc_checking(9), disable_ecrc_checking(9), pcie_set_ecrc_checking(9), pci_aer_ra... |
pcie_enable_tph(9) | NAME pcie_enable_tph - Enable TPH support for device using a specific ST mode
SYNOPSIS int pcie_enable_tph (struct pci_dev *pdev , int mode );
ARGUMENTS pdev PCI device
mode ST mode to enable. Current supported modes include:
DESCRIPTION - PCI_TPH_ST_NS_MODE: NO ST Mode - PCI_TPH_ST_IV_MODE... |
pcie_find_root_port(9) | NAME pcie_find_root_port - Get the PCIe root port device
SYNOPSIS struct pci_dev * pcie_find_root_port (struct pci_dev *dev );
ARGUMENTS dev PCI device
DESCRIPTION Traverse up the parent chain and return the PCIe Root Port PCI Device for a given PCI/PCIe Device.
SEE ALSO Kernel file ./include/linux/pci.h en... |
pcie_flr(9) | NAME pcie_flr - initiate a PCIe function level reset
SYNOPSIS int pcie_flr (struct pci_dev *dev );
ARGUMENTS dev device to reset
DESCRIPTION Initiate a function level reset unconditionally on dev without checking any flags and DEVCAP
SEE ALSO Kernel file ./drivers/pci/pci.c pci_bus_max_busnr(9), pci_sta... |
pcie_get_mps(9) | NAME pcie_get_mps - get PCI Express maximum payload size
SYNOPSIS int pcie_get_mps (struct pci_dev *dev );
ARGUMENTS dev PCI device to query
DESCRIPTION Returns maximum payload size in bytes
SEE ALSO Kernel file ./drivers/pci/pci.c pci_bus_max_busnr(9), pci_status_get_and_clear_errors(9), pci_dev_str_ma... |
pcie_get_readrq(9) | NAME pcie_get_readrq - get PCI Express read request size
SYNOPSIS int pcie_get_readrq (struct pci_dev *dev );
ARGUMENTS dev PCI device to query
DESCRIPTION Returns maximum memory read request in bytes or appropriate error value.
SEE ALSO Kernel file ./drivers/pci/pci.c pci_bus_max_busnr(9), pci_status_g... |
pcie_get_speed_cap(9) | NAME pcie_get_speed_cap - query for the PCI device's link speed capability
SYNOPSIS enum pci_bus_speed pcie_get_speed_cap (struct pci_dev *dev );
ARGUMENTS dev PCI device to query
DESCRIPTION Query the PCI device speed capability.
RETURN the maximum link speed supported by the device.
SEE ALSO Kernel file... |
pcie_get_supported_speeds(9) | NAME pcie_get_supported_speeds - query Supported Link Speed Vector
SYNOPSIS u8 pcie_get_supported_speeds (struct pci_dev *dev );
ARGUMENTS dev PCI device to query
DESCRIPTION Query dev supported link speeds. Implementation Note in PCIe r6.0 sec 7.5.3.18 recommends determining supported link speeds using... |
pcie_get_width_cap(9) | NAME pcie_get_width_cap - query for the PCI device's link width capability
SYNOPSIS enum pcie_link_width pcie_get_width_cap (struct pci_dev *dev );
ARGUMENTS dev PCI device to query
DESCRIPTION Query the PCI device width capability. Return the maximum link width supported by the device.
SEE ALSO Kernel fi... |
pcie_init_service_irqs(9) | NAME pcie_init_service_irqs - initialize irqs for PCI Express port services
SYNOPSIS int pcie_init_service_irqs (struct pci_dev *dev , int *irqs , int mask );
ARGUMENTS dev PCI Express port to handle
irqs Array of irqs to populate
mask Bitmask of port capabilities returned by get... |
pcie_link_rcec(9) | NAME pcie_link_rcec - Link RCiEP devices associated with RCEC.
SYNOPSIS void pcie_link_rcec (struct pci_dev *rcec );
ARGUMENTS rcec RCEC whose RCiEP devices should be linked.
DESCRIPTION Link the given RCEC to each RCiEP device found.
SEE ALSO Kernel file ./drivers/pci/pcie/rcec.c pcie_walk_rcec(9)
April 20... |
pcie_pme_can_wakeup(9) | NAME pcie_pme_can_wakeup - Set the wakeup capability flag.
SYNOPSIS int pcie_pme_can_wakeup (struct pci_dev *dev , void *ign );
ARGUMENTS dev PCI device to handle.
ign Ignored.
SEE ALSO Kernel file ./drivers/pci/pcie/pme.c pcie_pme_interrupt_enable(9), pcie_pme_walk_bus(9), pcie_pme_f... |
pcie_pme_from_pci_bridge(9) | NAME pcie_pme_from_pci_bridge - Check if PCIe-PCI bridge generated a PME.
SYNOPSIS bool pcie_pme_from_pci_bridge (struct pci_bus *bus , u8 devfn );
ARGUMENTS bus Secondary bus of the bridge.
devfn Device/function number to check.
DESCRIPTION PME from PCI devices under a PCIe-PCI bridge may be c... |
pcie_pme_handle_request(9) | NAME pcie_pme_handle_request - Find device that generated PME and handle it.
SYNOPSIS void pcie_pme_handle_request (struct pci_dev *port , u16 req_id );
ARGUMENTS port Root port or event collector that generated the PME interrupt.
req_id PCIe Requester ID of the device that generated the PME.
SEE... |
pcie_pme_init(9) | NAME pcie_pme_init - Register the PCIe PME service driver.
SYNOPSIS int pcie_pme_init (void );
ARGUMENTS void no arguments
SEE ALSO Kernel file ./drivers/pci/pcie/pme.c pcie_pme_interrupt_enable(9), pcie_pme_walk_bus(9), pcie_pme_from_pci_bridge(9), pcie_pme_handle_request(9), pcie_pme_work_fn(9),... |
pcie_pme_interrupt_enable(9) | NAME pcie_pme_interrupt_enable - Enable/disable PCIe PME interrupt generation.
SYNOPSIS void pcie_pme_interrupt_enable (struct pci_dev *dev , bool enable );
ARGUMENTS dev PCIe root port or event collector.
enable Enable or disable the interrupt.
SEE ALSO Kernel file ./drivers/pci/pcie/pme.c ... |
pcie_pme_irq(9) | NAME pcie_pme_irq - Interrupt handler for PCIe root port PME interrupt.
SYNOPSIS irqreturn_t pcie_pme_irq (int irq , void *context );
ARGUMENTS irq Interrupt vector.
context Interrupt context pointer.
SEE ALSO Kernel file ./drivers/pci/pcie/pme.c pcie_pme_interrupt_enable(9), pcie_pme_walk_bu... |
pcie_pme_mark_devices(9) | NAME pcie_pme_mark_devices - Set the wakeup flag for devices below a port.
SYNOPSIS void pcie_pme_mark_devices (struct pci_dev *port );
ARGUMENTS port PCIe root port or event collector to handle.
DESCRIPTION For each device below given root port, including the port itself (or for each root complex integrated ... |
pcie_pme_probe(9) | NAME pcie_pme_probe - Initialize PCIe PME service for given root port.
SYNOPSIS int pcie_pme_probe (struct pcie_device *srv );
ARGUMENTS srv PCIe service to initialize.
SEE ALSO Kernel file ./drivers/pci/pcie/pme.c pcie_pme_interrupt_enable(9), pcie_pme_walk_bus(9), pcie_pme_from_pci_bridge(9), pc... |
pcie_pme_remove(9) | NAME pcie_pme_remove - Prepare PCIe PME service device for removal.
SYNOPSIS void pcie_pme_remove (struct pcie_device *srv );
ARGUMENTS srv PCIe service device to remove.
SEE ALSO Kernel file ./drivers/pci/pcie/pme.c pcie_pme_interrupt_enable(9), pcie_pme_walk_bus(9), pcie_pme_from_pci_bridge(9), pcie_pme... |
pcie_pme_resume(9) | NAME pcie_pme_resume - Resume PCIe PME service device.
SYNOPSIS int pcie_pme_resume (struct pcie_device *srv );
ARGUMENTS srv PCIe service device to resume.
SEE ALSO Kernel file ./drivers/pci/pcie/pme.c pcie_pme_interrupt_enable(9), pcie_pme_walk_bus(9), pcie_pme_from_pci_bridge(9), pcie_pme_handl... |
pcie_pme_suspend(9) | NAME pcie_pme_suspend - Suspend PCIe PME service device.
SYNOPSIS int pcie_pme_suspend (struct pcie_device *srv );
ARGUMENTS srv PCIe service device to suspend.
SEE ALSO Kernel file ./drivers/pci/pcie/pme.c pcie_pme_interrupt_enable(9), pcie_pme_walk_bus(9), pcie_pme_from_pci_bridge(9), pcie_pme_handle_re... |
pcie_pme_walk_bus(9) | NAME pcie_pme_walk_bus - Scan a PCI bus for devices asserting PME#.
SYNOPSIS bool pcie_pme_walk_bus (struct pci_bus *bus );
ARGUMENTS bus PCI bus to scan.
DESCRIPTION Scan given PCI bus and all buses under it for devices asserting PME#.
SEE ALSO Kernel file ./drivers/pci/pcie/pme.c pcie_pme_interrupt_en... |
pcie_pme_work_fn(9) | NAME pcie_pme_work_fn - Work handler for PCIe PME interrupt.
SYNOPSIS void pcie_pme_work_fn (struct work_struct *work );
ARGUMENTS work Work structure giving access to service data.
SEE ALSO Kernel file ./drivers/pci/pcie/pme.c pcie_pme_interrupt_enable(9), pcie_pme_walk_bus(9), pcie_pme_from_pci_bridge(... |
pcie_port_bus_probe(9) | NAME pcie_port_bus_probe - probe driver for given PCI Express port service
SYNOPSIS int pcie_port_bus_probe (struct device *dev );
ARGUMENTS dev PCI Express port service device to probe against
DESCRIPTION If PCI Express port service driver is registered with pcie_port_service_register, this function will be... |
pcie_port_bus_remove(9) | NAME pcie_port_bus_remove - detach driver from given PCI Express port service
SYNOPSIS void pcie_port_bus_remove (struct device *dev );
ARGUMENTS dev PCI Express port service device to handle
DESCRIPTION If PCI Express port service driver is registered with pcie_port_service_register, this function will be c... |
pcie_port_device_register(9) | NAME pcie_port_device_register - register PCI Express port
SYNOPSIS int pcie_port_device_register (struct pci_dev *dev );
ARGUMENTS dev PCI Express port to register
DESCRIPTION Allocate the port extension structure and register services associated with the port.
SEE ALSO Kernel file ./drivers/pci/pcie/por... |
pcie_port_device_remove(9) | NAME pcie_port_device_remove - unregister PCI Express port service devices
SYNOPSIS void pcie_port_device_remove (struct pci_dev *dev );
ARGUMENTS dev PCI Express port the service devices to unregister are associated with
DESCRIPTION Remove PCI Express port service devices associated with given port and disa... |
pcie_port_device_resume(9) | NAME pcie_port_device_resume - resume port services associated with a PCIe port
SYNOPSIS int pcie_port_device_resume (struct device *dev );
ARGUMENTS dev PCI Express port to handle
SEE ALSO Kernel file ./drivers/pci/pcie/portdrv.c release_pcie_device(9), pcie_port_enable_irq_vec(9), pcie_init_service_ir... |
pcie_port_device_runtime_resume(9) | NAME pcie_port_device_runtime_resume - runtime resume port services
SYNOPSIS int pcie_port_device_runtime_resume (struct device *dev );
ARGUMENTS dev PCI Express port to handle
SEE ALSO Kernel file ./drivers/pci/pcie/portdrv.c release_pcie_device(9), pcie_port_enable_irq_vec(9), pcie_init_service_irqs(9... |
pcie_port_device_runtime_suspend(9) | NAME pcie_port_device_runtime_suspend - runtime suspend port services
SYNOPSIS int pcie_port_device_runtime_suspend (struct device *dev );
ARGUMENTS dev PCI Express port to handle
SEE ALSO Kernel file ./drivers/pci/pcie/portdrv.c release_pcie_device(9), pcie_port_enable_irq_vec(9), pcie_init_service_irq... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.