.TH "pci_find_class" 9 "pci_find_class" "25 May 1998" "Kernel Hacker's Manual" LINUX .SH NAME pci_find_class \- begin or continue searching for a PCI device by class .SH SYNOPSIS .B "struct pci_dev *" pci_find_class .BI "(unsigned int " class "," .BI "const struct pci_dev *" from ");" .SH ARGUMENTS .IP "class" 12 search for a PCI device with this class designation .IP "from" 12 Previous PCI device found in search, or NULL for new search. .SH "DESCRIPTION" Iterates through the list of known PCI devices. If a PCI device is found with a matching \fIclass\fP, a pointer to its device structure is returned. Otherwise, NULL is returned. A new search is initiated by passing NULL to the \fIfrom\fP argument. Otherwise if \fIfrom\fP is not NULL, searches continue from next device on the global list.