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

NAME

6       __pci_reset_function - 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       The device function is presumed to be unused when this function is
21       called. Resetting the device will make the contents of PCI
22       configuration space random, so any caller of this must be prepared to
23       reinitialise the device including MSI, bus mastering, BARs, decoding IO
24       and memory spaces, etc.
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(9)
Impressum