centos man page for pci_get_slot

Query: pci_get_slot

OS: centos

Section: 9

Links: centos man pages | All man pages

Forums: Unix Linux Community | Forum Categories

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

PCI_GET_SLOT(9) 						Hardware Interfaces						   PCI_GET_SLOT(9)

NAME
pci_get_slot - locate PCI device for a given PCI slot
SYNOPSIS
struct pci_dev * pci_get_slot(struct pci_bus * bus, unsigned int devfn);
ARGUMENTS
bus PCI bus on which desired PCI device resides devfn encodes number of PCI slot in which the desired PCI device resides and the logical device number within that slot in case of multi-function devices.
DESCRIPTION
Given a PCI bus and slot/function number, the desired PCI device is located in the list of PCI devices. If the device is found, its reference count is increased and this function returns a pointer to its data structure. The caller must decrement the reference count by calling pci_dev_put. If no device is found, NULL is returned.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 PCI_GET_SLOT(9)
Related Man Pages
pci_create_slot(9) - suse
cbb(4) - debian
pccbb(4) - freebsd
pccbb(4) - plan9
pccbb(4) - redhat
Similar Topics in the Unix Linux Community
Set hard block limit for user using quota
DB2 convert digits to binary format
Tar Command
Unsure why access time on a directory change isn't changing
Controlling user input