1PCI_RESET_FUNCTION(9)         Hardware Interfaces        PCI_RESET_FUNCTION(9)
2
3
4

NAME

6       pci_reset_function - quiesce and reset a PCI device function
7

SYNOPSIS

9       int pci_reset_function(struct pci_dev * dev);
10

ARGUMENTS

12       dev
13           PCI device to reset
14

DESCRIPTION

16       Some devices allow an individual function to be reset without affecting
17       other functions in the same device. The PCI device must be responsive
18       to PCI config space in order to use this function.
19
20       This function does not just reset the PCI portion of a device, but
21       clears all the state associated with the device. This function differs
22       from __pci_reset_function in that it saves and restores device state
23       over the reset.
24
25       Returns 0 if the device function was successfully reset or negative if
26       the device doesn't support resetting a single function.
27
29Kernel Hackers Manual 3.10         June 2019             PCI_RESET_FUNCTION(9)
Impressum