id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
pch_udc_read_csr(9) | NAME pch_udc_read_csr - Read the command and status registers.
SYNOPSIS u32 pch_udc_read_csr (struct pch_udc_dev *dev , unsigned int ep );
ARGUMENTS dev Reference to pch_udc_dev structure
ep end-point number
DESCRIPTION Return codes: content of CSR register
SEE ALSO Kernel file ./dri... |
pch_udc_read_device_interrupts(9) | NAME pch_udc_read_device_interrupts - Read the device interrupts
SYNOPSIS u32 pch_udc_read_device_interrupts (struct pch_udc_dev *dev );
ARGUMENTS dev Reference to structure of type pch_udc_regs Retern The device interrupts
SEE ALSO Kernel file ./drivers/usb/gadget/udc/pch_udc.c struct pch_udc_data_dma... |
pch_udc_read_device_status(9) | NAME pch_udc_read_device_status - Read the device status
SYNOPSIS u32 pch_udc_read_device_status (struct pch_udc_dev *dev );
ARGUMENTS dev Reference to structure of type pch_udc_regs Retern The device status
SEE ALSO Kernel file ./drivers/usb/gadget/udc/pch_udc.c struct pch_udc_data_dma_desc(9), struct... |
pch_udc_read_ep_control(9) | NAME pch_udc_read_ep_control - Read the endpoint control
SYNOPSIS u32 pch_udc_read_ep_control (struct pch_udc_ep *ep );
ARGUMENTS ep Reference to structure of type pch_udc_ep_regs Retern The endpoint control register value
SEE ALSO Kernel file ./drivers/usb/gadget/udc/pch_udc.c struct pch_udc_data_dma... |
pch_udc_read_ep_interrupts(9) | NAME pch_udc_read_ep_interrupts - Read the endpoint interrupts
SYNOPSIS u32 pch_udc_read_ep_interrupts (struct pch_udc_dev *dev );
ARGUMENTS dev Reference to structure of type pch_udc_regs Retern The endpoint interrupt
SEE ALSO Kernel file ./drivers/usb/gadget/udc/pch_udc.c struct pch_udc_data_dma_desc... |
pch_udc_read_ep_status(9) | NAME pch_udc_read_ep_status - Read the endpoint status
SYNOPSIS u32 pch_udc_read_ep_status (struct pch_udc_ep *ep );
ARGUMENTS ep Reference to structure of type pch_udc_ep_regs Retern The endpoint status
SEE ALSO Kernel file ./drivers/usb/gadget/udc/pch_udc.c struct pch_udc_data_dma_desc(9), struct pc... |
pch_udc_reconnect(9) | NAME pch_udc_reconnect - This API initializes usb device controller, and clear the disconnect status.
SYNOPSIS void pch_udc_reconnect (struct pch_udc_dev *dev );
ARGUMENTS dev Reference to pch_udc_regs structure
SEE ALSO Kernel file ./drivers/usb/gadget/udc/pch_udc.c struct pch_udc_data_dma_desc(9), struct p... |
pch_udc_rmt_wakeup(9) | NAME pch_udc_rmt_wakeup - Initiate for remote wakeup
SYNOPSIS void pch_udc_rmt_wakeup (struct pch_udc_dev *dev );
ARGUMENTS dev Reference to pch_udc_dev structure
SEE ALSO Kernel file ./drivers/usb/gadget/udc/pch_udc.c struct pch_udc_data_dma_desc(9), struct pch_udc_stp_dma_desc(9), struct pch_udc_cfg_data(9... |
pch_udc_set_csr_done(9) | NAME pch_udc_set_csr_done - Set the device control register CSR done field (bit 13)
SYNOPSIS void pch_udc_set_csr_done (struct pch_udc_dev *dev );
ARGUMENTS dev reference to structure of type pch_udc_regs
SEE ALSO Kernel file ./drivers/usb/gadget/udc/pch_udc.c struct pch_udc_data_dma_desc(9), struct pch_udc_... |
pch_udc_set_disconnect(9) | NAME pch_udc_set_disconnect - Set the disconnect status.
SYNOPSIS void pch_udc_set_disconnect (struct pch_udc_dev *dev );
ARGUMENTS dev Reference to pch_udc_regs structure
SEE ALSO Kernel file ./drivers/usb/gadget/udc/pch_udc.c struct pch_udc_data_dma_desc(9), struct pch_udc_stp_dma_desc(9), struct pch_udc_c... |
pch_udc_set_dma(9) | NAME pch_udc_set_dma - Set the 'TDE' or RDE bit of device control register depending on the direction specified
SYNOPSIS void pch_udc_set_dma (struct pch_udc_dev *dev , int dir );
ARGUMENTS dev Reference to structure of type pch_udc_regs
dir whether Tx or Rx DMA_DIR_RX: Receive DMA_DIR_TX: Tra... |
pch_udc_set_selfpowered(9) | NAME pch_udc_set_selfpowered - Set the self power control
SYNOPSIS void pch_udc_set_selfpowered (struct pch_udc_dev *dev );
ARGUMENTS dev Reference to pch_udc_regs structure
SEE ALSO Kernel file ./drivers/usb/gadget/udc/pch_udc.c struct pch_udc_data_dma_desc(9), struct pch_udc_stp_dma_desc(9), struct pch_udc... |
pch_udc_setup_ep0(9) | NAME pch_udc_setup_ep0 - This function enables control endpoint for traffic
SYNOPSIS void pch_udc_setup_ep0 (struct pch_udc_dev *dev );
ARGUMENTS dev Reference to the device structure
SEE ALSO Kernel file ./drivers/usb/gadget/udc/pch_udc.c struct pch_udc_data_dma_desc(9), struct pch_udc_stp_dma_desc(9), stru... |
pch_udc_start_next_txrequest(9) | NAME pch_udc_start_next_txrequest - This function starts the next transmission requirement
SYNOPSIS void pch_udc_start_next_txrequest (struct pch_udc_ep *ep );
ARGUMENTS ep Reference to the endpoint structure
SEE ALSO Kernel file ./drivers/usb/gadget/udc/pch_udc.c struct pch_udc_data_dma_desc(9), struct pch... |
pch_udc_start_rxrequest(9) | NAME pch_udc_start_rxrequest - This function starts the receive requirement.
SYNOPSIS void pch_udc_start_rxrequest (struct pch_udc_ep *ep , struct pch_udc_request *req );
ARGUMENTS ep Reference to the endpoint structure
req Reference to the request structure
SEE ALSO Kernel file ./drivers/us... |
pch_udc_svc_cfg_interrupt(9) | NAME pch_udc_svc_cfg_interrupt - This function handles a set configuration interrupt
SYNOPSIS void pch_udc_svc_cfg_interrupt (struct pch_udc_dev *dev );
ARGUMENTS dev Reference to driver structure
SEE ALSO Kernel file ./drivers/usb/gadget/udc/pch_udc.c struct pch_udc_data_dma_desc(9), struct pch_udc_stp_dma_... |
pch_udc_svc_control_in(9) | NAME pch_udc_svc_control_in - Handle Control IN endpoint interrupts
SYNOPSIS void pch_udc_svc_control_in (struct pch_udc_dev *dev );
ARGUMENTS dev Reference to the device structure
SEE ALSO Kernel file ./drivers/usb/gadget/udc/pch_udc.c struct pch_udc_data_dma_desc(9), struct pch_udc_stp_dma_desc(9), struct ... |
pch_udc_svc_control_out(9) | NAME pch_udc_svc_control_out - Routine that handle Control OUT endpoint interrupts
SYNOPSIS void pch_udc_svc_control_out (struct pch_udc_dev *dev );
ARGUMENTS dev Reference to the device structure
SEE ALSO Kernel file ./drivers/usb/gadget/udc/pch_udc.c struct pch_udc_data_dma_desc(9), struct pch_udc_stp_dma_... |
pch_udc_svc_data_in(9) | NAME pch_udc_svc_data_in - This function process endpoint interrupts for IN endpoints
SYNOPSIS void pch_udc_svc_data_in (struct pch_udc_dev *dev , int ep_num );
ARGUMENTS dev Reference to the device structure
ep_num Endpoint that generated the interrupt
SEE ALSO Kernel file ./drivers/usb/gadget/... |
pch_udc_svc_data_out(9) | NAME pch_udc_svc_data_out - Handles interrupts from OUT endpoint
SYNOPSIS void pch_udc_svc_data_out (struct pch_udc_dev *dev , int ep_num );
ARGUMENTS dev Reference to the device structure
ep_num Endpoint that generated the interrupt
SEE ALSO Kernel file ./drivers/usb/gadget/udc/pch_udc.c struct... |
pch_udc_svc_enum_interrupt(9) | NAME pch_udc_svc_enum_interrupt - This function handles a USB speed enumeration done interrupt
SYNOPSIS void pch_udc_svc_enum_interrupt (struct pch_udc_dev *dev );
ARGUMENTS dev Reference to driver structure
SEE ALSO Kernel file ./drivers/usb/gadget/udc/pch_udc.c struct pch_udc_data_dma_desc(9), struct pch_u... |
pch_udc_svc_intf_interrupt(9) | NAME pch_udc_svc_intf_interrupt - This function handles a set interface interrupt
SYNOPSIS void pch_udc_svc_intf_interrupt (struct pch_udc_dev *dev );
ARGUMENTS dev Reference to driver structure
SEE ALSO Kernel file ./drivers/usb/gadget/udc/pch_udc.c struct pch_udc_data_dma_desc(9), struct pch_udc_stp_dma_de... |
pch_udc_svc_ur_interrupt(9) | NAME pch_udc_svc_ur_interrupt - This function handles a USB reset interrupt
SYNOPSIS void pch_udc_svc_ur_interrupt (struct pch_udc_dev *dev );
ARGUMENTS dev Reference to driver structure
SEE ALSO Kernel file ./drivers/usb/gadget/udc/pch_udc.c struct pch_udc_data_dma_desc(9), struct pch_udc_stp_dma_desc(9), s... |
pch_udc_vbus_session(9) | NAME pch_udc_vbus_session - set or clearr the disconnect status.
SYNOPSIS void pch_udc_vbus_session (struct pch_udc_dev *dev , int is_active );
ARGUMENTS dev Reference to pch_udc_regs structure
is_active Parameter specifying the action 0: indicating VBUS power is ending !0: indicating VBUS power ... |
pch_udc_wait_ep_stall(9) | NAME pch_udc_wait_ep_stall - Wait EP stall.
SYNOPSIS void pch_udc_wait_ep_stall (struct pch_udc_ep *ep );
ARGUMENTS ep reference to structure of type pch_udc_ep_regs
SEE ALSO Kernel file ./drivers/usb/gadget/udc/pch_udc.c struct pch_udc_data_dma_desc(9), struct pch_udc_stp_dma_desc(9), struct pch_udc_cfg... |
pch_udc_write_csr(9) | NAME pch_udc_write_csr - Write the command and status registers.
SYNOPSIS void pch_udc_write_csr (struct pch_udc_dev *dev , unsigned long val , unsigned int ep );
ARGUMENTS dev Reference to pch_udc_dev structure
val value to be written to CSR register
ep end-point number
SEE ... |
pch_udc_write_device_interrupts(9) | NAME pch_udc_write_device_interrupts - Write device interrupts
SYNOPSIS void pch_udc_write_device_interrupts (struct pch_udc_dev *dev , u32 val );
ARGUMENTS dev Reference to structure of type pch_udc_regs
val The value to be written to interrupt register
SEE ALSO Kernel file ./drivers/usb/gad... |
pch_udc_write_ep_interrupts(9) | NAME pch_udc_write_ep_interrupts - Clear endpoint interupts
SYNOPSIS void pch_udc_write_ep_interrupts (struct pch_udc_dev *dev , u32 val );
ARGUMENTS dev Reference to structure of type pch_udc_regs
val The value to be written to interrupt register
SEE ALSO Kernel file ./drivers/usb/gadget/udc... |
pch_vbus_gpio_free(9) | NAME pch_vbus_gpio_free - This API frees resources of GPIO port
SYNOPSIS void pch_vbus_gpio_free (struct pch_udc_dev *dev );
ARGUMENTS dev Reference to the driver structure
SEE ALSO Kernel file ./drivers/usb/gadget/udc/pch_udc.c struct pch_udc_data_dma_desc(9), struct pch_udc_stp_dma_desc(9), struct pch_udc_... |
pch_vbus_gpio_get_value(9) | NAME pch_vbus_gpio_get_value - This API gets value of GPIO port as VBUS status.
SYNOPSIS int pch_vbus_gpio_get_value (struct pch_udc_dev *dev );
ARGUMENTS dev Reference to the driver structure
DESCRIPTION Return value: 1: VBUS is high 0: VBUS is low -1: It is not enable to detect VBUS using GPIO
SEE ALSO Ke... |
pch_vbus_gpio_init(9) | NAME pch_vbus_gpio_init - This API initializes GPIO port detecting VBUS.
SYNOPSIS int pch_vbus_gpio_init (struct pch_udc_dev *dev );
ARGUMENTS dev Reference to the driver structure
DESCRIPTION Return codes: 0: Success -EINVAL: GPIO port is invalid or can't be initialized.
SEE ALSO Kernel file ./drivers/usb/... |
pch_vbus_gpio_irq(9) | NAME pch_vbus_gpio_irq - IRQ handler for GPIO interrupt for changing VBUS
SYNOPSIS irqreturn_t pch_vbus_gpio_irq (int irq , void *data );
ARGUMENTS irq Interrupt request number
data Reference to the device structure
DESCRIPTION Return codes: 0: Success -EINVAL: GPIO port is invalid or can't be... |
pch_vbus_gpio_work_fall(9) | NAME pch_vbus_gpio_work_fall - This API keeps watch on VBUS becoming Low. If VBUS is Low, disconnect is processed
SYNOPSIS void pch_vbus_gpio_work_fall (struct work_struct *irq_work );
ARGUMENTS irq_work Structure for WorkQueue
SEE ALSO Kernel file ./drivers/usb/gadget/udc/pch_udc.c struct pch_udc_data_dma_desc(9... |
pch_vbus_gpio_work_rise(9) | NAME pch_vbus_gpio_work_rise - This API checks VBUS is High. If VBUS is High, connect is processed
SYNOPSIS void pch_vbus_gpio_work_rise (struct work_struct *irq_work );
ARGUMENTS irq_work Structure for WorkQueue
SEE ALSO Kernel file ./drivers/usb/gadget/udc/pch_udc.c struct pch_udc_data_dma_desc(9), struct pch_u... |
pci.ids(5) | NAME pci.ids - list of known identifiers related to PCI devices
INTRODUCTION Devices on the PCI bus are identified by a combination of a vendor ID (assigned by the PCI SIG) and device ID (assigned by the vendor). Both IDs are 16-bit integers and the device itself provides no translation to a hu‐ man-readable string.... |
pci_acpi_add_pm_notifier(9) | NAME pci_acpi_add_pm_notifier - Register PM notifier for given PCI device.
SYNOPSIS acpi_status pci_acpi_add_pm_notifier (struct acpi_device *dev , struct pci_dev *pci_dev );
ARGUMENTS dev ACPI device to add the notifier for.
pci_dev PCI device to check for the PME status if an event is signaled.
... |
pci_acpi_add_root_pm_notifier(9) | NAME pci_acpi_add_root_pm_notifier - Register PM notifier for root PCI bus.
SYNOPSIS acpi_status pci_acpi_add_root_pm_notifier (struct acpi_device *dev , struct acpi_pci_root *root );
ARGUMENTS dev PCI root bridge ACPI device.
root PCI root corresponding to dev.
SEE ALSO Kernel file ./driver... |
pci_acpi_clear_companion_lookup_hook(9) | NAME pci_acpi_clear_companion_lookup_hook - Clear ACPI companion lookup callback.
SYNOPSIS void pci_acpi_clear_companion_lookup_hook (void );
ARGUMENTS void no arguments
DESCRIPTION Clear the special ACPI companion lookup callback previously set by pci_acpi_set_companion_lookup_hook. Block until the last ru... |
pci_acpi_optimize_delay(9) | NAME pci_acpi_optimize_delay - optimize PCI D3 and D3cold delay from ACPI
SYNOPSIS void pci_acpi_optimize_delay (struct pci_dev *pdev , acpi_handle handle );
ARGUMENTS pdev the PCI device whose delay is to be updated
handle ACPI handle of this device
DESCRIPTION Update the d3hot_delay and d3co... |
pci_acpi_set_companion_lookup_hook(9) | NAME pci_acpi_set_companion_lookup_hook - Set ACPI companion lookup callback.
SYNOPSIS int pci_acpi_set_companion_lookup_hook (struct acpi_device *(*func)(struct pci_dev *) );
ARGUMENTS func ACPI companion lookup callback pointer or NULL.
DESCRIPTION Set a special ACPI companion lookup callback for PCI devic... |
pci_acpi_wake_bus(9) | NAME pci_acpi_wake_bus - Root bus wakeup notification fork function.
SYNOPSIS void pci_acpi_wake_bus (struct acpi_device_wakeup_context *context );
ARGUMENTS context Device wakeup context.
SEE ALSO Kernel file ./drivers/pci/pci-acpi.c pciehp_is_native(9), shpchp_is_native(9), pci_acpi_wake_dev(9), pci... |
pci_acpi_wake_dev(9) | NAME pci_acpi_wake_dev - PCI device wakeup notification work function.
SYNOPSIS void pci_acpi_wake_dev (struct acpi_device_wakeup_context *context );
ARGUMENTS context Device wakeup context.
SEE ALSO Kernel file ./drivers/pci/pci-acpi.c pciehp_is_native(9), shpchp_is_native(9), pci_acpi_wake_bus(9), p... |
pci_acs_enabled(9) | NAME pci_acs_enabled - test ACS against required flags for a given device
SYNOPSIS bool pci_acs_enabled (struct pci_dev *pdev , u16 acs_flags );
ARGUMENTS pdev device to test
acs_flags required PCI ACS flags
DESCRIPTION Return true if the device supports the provided flags. Automatically filte... |
pci_acs_init(9) | NAME pci_acs_init - Initialize ACS if hardware supports it
SYNOPSIS void pci_acs_init (struct pci_dev *dev );
ARGUMENTS dev the PCI device
SEE ALSO Kernel file ./drivers/pci/pci.c pci_bus_max_busnr(9), pci_status_get_and_clear_errors(9), pci_dev_str_match_path(9), pci_dev_str_match(9), pci_find_capabilit... |
pci_acs_path_enabled(9) | NAME pci_acs_path_enabled - test ACS flags from start to end in a hierarchy
SYNOPSIS bool pci_acs_path_enabled (struct pci_dev *start , struct pci_dev *end , u16 acs_flags );
ARGUMENTS start starting downstream device
end ending upstream device or NULL to search to the root bus
acs_flags... |
pci_add_dma_alias(9) | NAME pci_add_dma_alias - Add a DMA devfn alias for a device
SYNOPSIS void pci_add_dma_alias (struct pci_dev *dev , u8 devfn_from , unsigned int nr_devfns );
ARGUMENTS dev the PCI device for which alias is added
devfn_from alias slot and function
nr_devfns number of subsequent devfns to alia... |
pci_add_dynid(9) | NAME pci_add_dynid - add a new PCI device ID to this driver and re-probe devices
SYNOPSIS int pci_add_dynid (struct pci_driver *drv , unsigned int vendor , unsigned int device , unsigned int subvendor , unsigned int subdevice , unsigned int class , unsigned int class_mask , unsigned long driver_data );
ARGUMENTS drv ... |
pci_adjust_legacy_attr(9) | NAME pci_adjust_legacy_attr - adjustment of legacy file attributes
SYNOPSIS void pci_adjust_legacy_attr (struct pci_bus *b , enum pci_mmap_state mmap_type );
ARGUMENTS b bus to create files under
mmap_type I/O port or memory
DESCRIPTION Stub implementation. Can be overridden by arch if necessary.... |
pci_aer_handle_error(9) | NAME pci_aer_handle_error - handle logging error into an event log
SYNOPSIS void pci_aer_handle_error (struct pci_dev *dev , struct aer_err_info *info );
ARGUMENTS dev pointer to pci_dev data structure of error source device
info comprehensive error information
DESCRIPTION Invoked when an erro... |
pci_aer_raw_clear_status(9) | NAME pci_aer_raw_clear_status - Clear AER error registers.
SYNOPSIS int pci_aer_raw_clear_status (struct pci_dev *dev );
ARGUMENTS dev the PCI device
DESCRIPTION Clear AER error status registers unconditionally, regardless of whether they're owned by firmware or the OS.
RETURN 0 on success, or negative on f... |
pci_aer_unmask_internal_errors(9) | NAME pci_aer_unmask_internal_errors - unmask internal errors
SYNOPSIS void pci_aer_unmask_internal_errors (struct pci_dev *dev );
ARGUMENTS dev pointer to the pci_dev data structure
DESCRIPTION Unmask internal errors in the Uncorrectable and Correctable Error Mask registers.
NOTE AER must be enabled and sup... |
pci_alloc_irq_vectors(9) | NAME pci_alloc_irq_vectors - Allocate multiple device interrupt vectors
SYNOPSIS int pci_alloc_irq_vectors (struct pci_dev *dev , unsigned int min_vecs , unsigned int max_vecs , unsigned int flags );
ARGUMENTS dev the PCI device to operate on
min_vecs minimum required number of vectors (must be >= ... |
pci_alloc_irq_vectors_affinity(9) | NAME pci_alloc_irq_vectors_affinity - Allocate multiple device interrupt vectors with affinity requirements
SYNOPSIS int pci_alloc_irq_vectors_affinity (struct pci_dev *dev , unsigned int min_vecs , unsigned int max_vecs , unsigned int flags , struct irq_affinity *affd );
ARGUMENTS dev the PCI device to opera... |
pci_alloc_p2pmem(9) | NAME pci_alloc_p2pmem - allocate peer-to-peer DMA memory
SYNOPSIS void * pci_alloc_p2pmem (struct pci_dev *pdev , size_t size );
ARGUMENTS pdev the device to allocate memory from
size number of bytes to allocate
DESCRIPTION Returns the allocated memory or NULL on error.
SEE ALSO Kernel file... |
pci_allocate_cap_save_buffers(9) | NAME pci_allocate_cap_save_buffers - allocate buffers for saving capabilities
SYNOPSIS void pci_allocate_cap_save_buffers (struct pci_dev *dev );
ARGUMENTS dev the PCI device
SEE ALSO Kernel file ./drivers/pci/pci.c pci_bus_max_busnr(9), pci_status_get_and_clear_errors(9), pci_dev_str_match_path(9), pci_... |
pci_allocate_vc_save_buffers(9) | NAME pci_allocate_vc_save_buffers - Allocate save buffers for VC caps
SYNOPSIS void pci_allocate_vc_save_buffers (struct pci_dev *dev );
ARGUMENTS dev device
DESCRIPTION For each type of VC capability, VC/VC9/MFVC, find the capability, size it, and allocate a buffer for save/restore.
SEE ALSO Kernel file ./... |
pci_ari_enabled(9) | NAME pci_ari_enabled - query ARI forwarding status
SYNOPSIS bool pci_ari_enabled (struct pci_bus *bus );
ARGUMENTS bus the PCI bus
DESCRIPTION Returns true if ARI forwarding is enabled.
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... |
pci_ats_page_aligned(9) | NAME pci_ats_page_aligned - Return Page Aligned Request bit status.
SYNOPSIS int pci_ats_page_aligned (struct pci_dev *pdev );
ARGUMENTS pdev the PCI device
DESCRIPTION Returns 1, if the Untranslated Addresses generated by the device are always aligned or 0 otherwise. Per PCIe spec r4.0, sec 10.5.1.2, if the... |
pci_ats_queue_depth(9) | NAME pci_ats_queue_depth - query the ATS Invalidate Queue Depth
SYNOPSIS int pci_ats_queue_depth (struct pci_dev *dev );
ARGUMENTS dev the PCI device
DESCRIPTION Returns the queue depth on success, or negative on failure. The ATS spec uses 0 in the Invalidate Queue Depth field to indicate that the function ... |
pci_ats_supported(9) | NAME pci_ats_supported - check if the device can use ATS
SYNOPSIS bool pci_ats_supported (struct pci_dev *dev );
ARGUMENTS dev the PCI device
DESCRIPTION Returns true if the device supports ATS and is allowed to use it, false otherwise.
SEE ALSO Kernel file ./drivers/pci/ats.c pci_prepare_ats(9), pci_en... |
pci_back_from_sleep(9) | NAME pci_back_from_sleep - turn PCI device on during system-wide transition into working state
SYNOPSIS int pci_back_from_sleep (struct pci_dev *dev );
ARGUMENTS dev Device to handle.
DESCRIPTION Disable device's system wake-up capability and put it into D0.
SEE ALSO Kernel file ./drivers/pci/pci.c pci_b... |
pci_bar_index_is_valid(9) | NAME pci_bar_index_is_valid - Check whether a BAR index is within valid range
SYNOPSIS bool pci_bar_index_is_valid (int bar );
ARGUMENTS bar BAR index
DESCRIPTION Protects against overflowing struct pci_dev.resource array.
RETURN true for valid index, false otherwise.
SEE ALSO Kernel file ./drivers/pci/pci... |
pci_bridge_d3_possible(9) | NAME pci_bridge_d3_possible - Is it possible to put the bridge into D3
SYNOPSIS bool pci_bridge_d3_possible (struct pci_dev *bridge );
ARGUMENTS bridge Bridge to check
DESCRIPTION Currently we only allow D3 for some PCIe ports and for Thunderbolt. The return value is guaranteed to be constant across the entire... |
pci_bridge_secondary_bus_reset(9) | NAME pci_bridge_secondary_bus_reset - Reset the secondary bus on a PCI bridge.
SYNOPSIS int pci_bridge_secondary_bus_reset (struct pci_dev *dev );
ARGUMENTS dev Bridge device
DESCRIPTION Use the bridge control register to assert reset on the secondary bus. Devices on the secondary bus are left in power-on s... |
pci_bridge_wait_for_secondary_bus(9) | NAME pci_bridge_wait_for_secondary_bus - Wait for secondary bus to be accessible
SYNOPSIS int pci_bridge_wait_for_secondary_bus (struct pci_dev *dev , char *reset_type );
ARGUMENTS dev PCI bridge
reset_type reset type in human-readable form
DESCRIPTION Handle necessary delays before access to the... |
pci_bus_add_device(9) | NAME pci_bus_add_device - start driver for a single device
SYNOPSIS void pci_bus_add_device (struct pci_dev *dev );
ARGUMENTS dev device to add
DESCRIPTION This adds add sysfs entries and start device drivers
SEE ALSO Kernel file ./drivers/pci/bus.c pci_bus_alloc_resource(9), pci_bus_add_devices(9), pci_wal... |
pci_bus_add_devices(9) | NAME pci_bus_add_devices - start driver for PCI devices
SYNOPSIS void pci_bus_add_devices (const struct pci_bus *bus );
ARGUMENTS bus bus to check for new devices
DESCRIPTION Start driver for PCI devices and add some sysfs entries.
SEE ALSO Kernel file ./drivers/pci/bus.c pci_bus_alloc_resource(9), pci_bus_... |
pci_bus_alloc_resource(9) | NAME pci_bus_alloc_resource - allocate a resource from a parent bus
SYNOPSIS int pci_bus_alloc_resource (struct pci_bus *bus , struct resource *res , resource_size_t size , resource_size_t align , resource_size_t min , unsigned long type_mask , resource_alignf alignf , void *alignf_data );
ARGUMENTS bus PCI b... |
pci_bus_error_reset(9) | NAME pci_bus_error_reset - reset the bridge's subordinate bus
SYNOPSIS int pci_bus_error_reset (struct pci_dev *bridge );
ARGUMENTS bridge The parent device that connects to the bus to reset
DESCRIPTION This function will first try to reset the slots on this bus if the method is available. If slot reset fails o... |
pci_bus_find_capability(9) | NAME pci_bus_find_capability - query for devices' capabilities
SYNOPSIS u8 pci_bus_find_capability (struct pci_bus *bus , unsigned int devfn , int cap );
ARGUMENTS bus the PCI bus to query
devfn PCI device to query
cap capability code
DESCRIPTION Like pci_find_capability but w... |
pci_bus_find_emul_domain_nr(9) | NAME pci_bus_find_emul_domain_nr - allocate a PCI domain number per constraints
SYNOPSIS int pci_bus_find_emul_domain_nr (u32 hint , u32 min , u32 max );
ARGUMENTS hint desired domain, 0 if any ID in the range of min to max is acceptable
min minimum allowable domain
max maximum ... |
pci_bus_for_each_resource(9) | NAME pci_bus_for_each_resource - iterate over PCI bus resources
SYNOPSIS pci_bus_for_each_resource (bus , res , ... );
ARGUMENTS bus the PCI bus
res pointer to the current resource
... optional index of the current resource
DESCRIPTION Iterate over PCI bus resources. The fir... |
pci_bus_match(9) | NAME pci_bus_match - Tell if a PCI device structure has a matching PCI device id structure
SYNOPSIS int pci_bus_match (struct device *dev , const struct device_driver *drv );
ARGUMENTS dev the PCI device structure to match against
drv the device driver to search for matching PCI device id stru... |
pci_bus_max_busnr(9) | NAME pci_bus_max_busnr - returns maximum PCI bus number of given bus' children
SYNOPSIS unsigned char pci_bus_max_busnr (struct pci_bus *bus );
ARGUMENTS bus pointer to PCI bus structure to search
DESCRIPTION Given a PCI bus, returns the highest PCI bus number present in the set including the given PCI bus a... |
pci_bus_set_current_state(9) | NAME pci_bus_set_current_state - Walk given bus and set current state of devices
SYNOPSIS void pci_bus_set_current_state (struct pci_bus *bus , pci_power_t state );
ARGUMENTS bus Top bus of the subtree to walk.
state state to be set
SEE ALSO Kernel file ./drivers/pci/pci.c pci_bus_max_busnr(... |
pci_bus_set_ops(9) | NAME pci_bus_set_ops - Set raw operations of pci bus
SYNOPSIS struct pci_ops * pci_bus_set_ops (struct pci_bus *bus , struct pci_ops *ops );
ARGUMENTS bus pci bus struct
ops new raw operations
DESCRIPTION Return previous raw operations
SEE ALSO Kernel file ./drivers/pci/access.c pci_cfg_acce... |
pci_cfg_access_lock(9) | NAME pci_cfg_access_lock - Lock PCI config reads/writes
SYNOPSIS void pci_cfg_access_lock (struct pci_dev *dev );
ARGUMENTS dev pci device struct
DESCRIPTION When access is locked, any userspace reads or writes to config space and concurrent lock requests will sleep until access is allowed via pci_cfg_access... |
pci_cfg_access_trylock(9) | NAME pci_cfg_access_trylock - try to lock PCI config reads/writes
SYNOPSIS bool pci_cfg_access_trylock (struct pci_dev *dev );
ARGUMENTS dev pci device struct
DESCRIPTION Same as pci_cfg_access_lock, but will return 0 if access is already locked, 1 otherwise. This function can be used from atomic contexts.
... |
pci_cfg_access_unlock(9) | NAME pci_cfg_access_unlock - Unlock PCI config reads/writes
SYNOPSIS void pci_cfg_access_unlock (struct pci_dev *dev );
ARGUMENTS dev pci device struct
DESCRIPTION This function allows PCI config accesses to resume.
SEE ALSO Kernel file ./drivers/pci/access.c pci_bus_set_ops(9), pci_cfg_access_lock(9), pci_... |
pci_cfg_space_size_ext(9) | NAME pci_cfg_space_size_ext - Get the configuration space size of the PCI device
SYNOPSIS int pci_cfg_space_size_ext (struct pci_dev *dev );
ARGUMENTS dev PCI device
DESCRIPTION Regular PCI devices have 256 bytes, but PCI-X 2 and PCI Express devices have 4096 bytes. Even if the device is capable, that doesn... |
pci_channel_state_t(9) | Kernel API(9) API Manual Kernel API(9)
NAME typedef pci_channel_state_t -
Description The pci_channel state describes connectivi... |
pci_check_and_mask_intx(9) | NAME pci_check_and_mask_intx - mask INTx on pending interrupt
SYNOPSIS bool pci_check_and_mask_intx (struct pci_dev *dev );
ARGUMENTS dev the PCI device to operate on
DESCRIPTION Check if the device dev has its INTx line asserted, mask it and return true in that case. False is returned if no interrupt was pe... |
pci_check_and_unmask_intx(9) | NAME pci_check_and_unmask_intx - unmask INTx if no interrupt is pending
SYNOPSIS bool pci_check_and_unmask_intx (struct pci_dev *dev );
ARGUMENTS dev the PCI device to operate on
DESCRIPTION Check if the device dev has its INTx line asserted, unmask it if not and return true. False is returned and the mask r... |
pci_check_pme_status(9) | NAME pci_check_pme_status - Check if given device has generated PME.
SYNOPSIS bool pci_check_pme_status (struct pci_dev *dev );
ARGUMENTS dev Device to check.
DESCRIPTION Check the PME status of the device and if set, clear it and clear PME enable (if set). Return 'true' if PME status and PME enable were bo... |
pci_choose_state(9) | NAME pci_choose_state - Choose the power state of a PCI device.
SYNOPSIS pci_power_t pci_choose_state (struct pci_dev *dev , pm_message_t state );
ARGUMENTS dev Target PCI device.
state Target state for the whole system.
DESCRIPTION Returns PCI power state suitable for dev and state.
SEE ALSO ... |
pci_clear_master(9) | NAME pci_clear_master - disables bus-mastering for device dev
SYNOPSIS void pci_clear_master (struct pci_dev *dev );
ARGUMENTS dev the PCI device to disable
SEE ALSO Kernel file ./drivers/pci/pci.c pci_bus_max_busnr(9), pci_status_get_and_clear_errors(9), pci_dev_str_match_path(9), pci_dev_str_match(9), ... |
pci_clear_mwi(9) | NAME pci_clear_mwi - disables Memory-Write-Invalidate for device dev
SYNOPSIS void pci_clear_mwi (struct pci_dev *dev );
ARGUMENTS dev the PCI device to disable
DESCRIPTION Disables PCI Memory-Write-Invalidate transaction on the device
SEE ALSO Kernel file ./drivers/pci/pci.c pci_bus_max_busnr(9), pci_s... |
pci_common_swizzle(9) | NAME pci_common_swizzle - swizzle INTx all the way to root bridge
SYNOPSIS u8 pci_common_swizzle (struct pci_dev *dev , u8 *pinp );
ARGUMENTS dev the PCI device
pinp pointer to the INTx pin value (1=INTA, 2=INTB, 3=INTD, 4=INTD)
DESCRIPTION Perform INTx swizzling for a device. This traverses ... |
pci_configure_ari(9) | NAME pci_configure_ari - enable or disable ARI forwarding
SYNOPSIS void pci_configure_ari (struct pci_dev *dev );
ARGUMENTS dev the PCI device
DESCRIPTION If dev and its upstream bridge both support ARI, enable ARI in the bridge. Otherwise, disable ARI in the bridge.
SEE ALSO Kernel file ./drivers/pci/pc... |
pci_create_legacy_files(9) | NAME pci_create_legacy_files - create legacy I/O port and memory files
SYNOPSIS void pci_create_legacy_files (struct pci_bus *b );
ARGUMENTS b bus to create files under
DESCRIPTION Some platforms allow access to legacy I/O port and ISA memory space on a per-bus basis. This routine creates the files and t... |
pci_create_resource_files(9) | NAME pci_create_resource_files - create resource files in sysfs for @dev
SYNOPSIS int pci_create_resource_files (struct pci_dev *pdev );
ARGUMENTS pdev dev in question
DESCRIPTION Walk the resources in pdev creating files for each resource available.
SEE ALSO Kernel file ./drivers/pci/pci-sysfs.c pci_read... |
pci_create_slot(9) | NAME pci_create_slot - create or increment refcount for physical PCI slot
SYNOPSIS struct pci_slot * pci_create_slot (struct pci_bus *parent , int slot_nr , const char *name , struct hotplug_slot *hotplug );
ARGUMENTS parent struct pci_bus of parent bridge
slot_nr PCI_SLOT(pci_dev->devfn) or -1 for p... |
pci_d3cold_disable(9) | NAME pci_d3cold_disable - Disable D3cold for device
SYNOPSIS void pci_d3cold_disable (struct pci_dev *dev );
ARGUMENTS dev PCI device to handle
DESCRIPTION This function can be used in drivers to disable D3cold from the device they handle. It also updates upstream PCI bridge PM capabilities accordingly.
SE... |
pci_d3cold_enable(9) | NAME pci_d3cold_enable - Enable D3cold for device
SYNOPSIS void pci_d3cold_enable (struct pci_dev *dev );
ARGUMENTS dev PCI device to handle
DESCRIPTION This function can be used in drivers to enable D3cold from the device they handle. It also updates upstream PCI bridge PM capabilities accordingly.
SEE AL... |
pci_destroy_slot(9) | NAME pci_destroy_slot - decrement refcount for physical PCI slot
SYNOPSIS void pci_destroy_slot (struct pci_slot *slot );
ARGUMENTS slot struct pci_slot to decrement
DESCRIPTION struct pci_slot is refcounted, so destroying them is really easy; we just call kobject_put on its kobj and let our release methods d... |
pci_dev_acpi_reset(9) | NAME pci_dev_acpi_reset - do a function level reset using _RST method
SYNOPSIS int pci_dev_acpi_reset (struct pci_dev *dev , bool probe );
ARGUMENTS dev device to reset
probe if true, return 0 if device supports _RST
SEE ALSO Kernel file ./drivers/pci/pci-acpi.c pciehp_is_native(9), shp... |
pci_dev_adjust_pme(9) | NAME pci_dev_adjust_pme - Adjust PME setting for a suspended device.
SYNOPSIS void pci_dev_adjust_pme (struct pci_dev *pci_dev );
ARGUMENTS pci_dev Device to check.
DESCRIPTION If the device is suspended and it is not configured for system wakeup, disable PME for it to prevent it from waking up the system unne... |
pci_dev_complete_resume(9) | NAME pci_dev_complete_resume - Finalize resume from system sleep for a device.
SYNOPSIS void pci_dev_complete_resume (struct pci_dev *pci_dev );
ARGUMENTS pci_dev Device to handle.
DESCRIPTION If the device is runtime suspended and wakeup-capable, enable PME for it as it might have been disabled during the prepa... |
pci_dev_driver(9) | NAME pci_dev_driver - get the pci_driver of a device
SYNOPSIS struct pci_driver * pci_dev_driver (const struct pci_dev *dev );
ARGUMENTS dev the device to query
DESCRIPTION Returns the appropriate pci_driver structure or NULL if there is no registered driver for the device.
SEE ALSO Kernel file ./drivers/... |
pci_dev_get(9) | NAME pci_dev_get - increments the reference count of the pci device structure
SYNOPSIS struct pci_dev * pci_dev_get (struct pci_dev *dev );
ARGUMENTS dev the device being referenced
DESCRIPTION Each live reference to a device should be refcounted. Drivers for PCI devices should normally record such refere... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.