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

NAME

6       pci_reset_function_locked - quiesce and reset a PCI device function
7

SYNOPSIS

9       int pci_reset_function_locked(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. It also differs from pci_reset_function in that it
24       requires the PCI device lock to be held.
25
26       Returns 0 if the device function was successfully reset or negative if
27       the device doesn't support resetting a single function.
28
30Kernel Hackers Manual 3.10         June 2019           PCI_RESET_FUNCTION_L(9)
Impressum