Query: pci_reset_function
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
PCI_RESET_FUNCTION(9) Hardware Interfaces PCI_RESET_FUNCTION(9)NAMEpci_reset_function - quiesce and reset a PCI device functionSYNOPSISint pci_reset_function(struct pci_dev * dev);ARGUMENTSdev PCI device to resetDESCRIPTIONSome devices allow an individual function to be reset without affecting other functions in the same device. The PCI device must be responsive to PCI config space in order to use this function. This function does not just reset the PCI portion of a device, but clears all the state associated with the device. This function differs from __pci_reset_function in that it saves and restores device state over the reset. Returns 0 if the device function was successfully reset or negative if the device doesn't support resetting a single function.COPYRIGHTKernel Hackers Manual 3.10 June 2014 PCI_RESET_FUNCTION(9)