Index of values


G
get_devices [Pci]
get_devices a returns a list of devices found on the PCI bus for access value a.

L
lookup_class_name [Pci]
lookup_class_name a id wraps pci_lookup_name with the right flags to lookup the name for the class whose identifier is id using the access value a.
lookup_device_name [Pci]
lookup_device_name a v_id id is like Pci.lookup_class_name but returns the name of the device with ID id by the vendor with ID v_id.
lookup_progif_name [Pci]
lookup_progif_name a c_id id is like Pci.lookup_class_name but returns the name of the programming interface with ID id within the class with ID c_id.
lookup_subsystem_device_name [Pci]
lookup_subsystem_device_name a v_id d_id sv_id sd_id is like Pci.lookup_class_name but returns the name of the PCI subsystem of a device with ID d_id made by vendor with ID v_id whose subvendor and subdevice IDs are sv_id and sd_id respectively.
lookup_subsystem_vendor_name [Pci]
lookup_subsystem_vendor_name a id is like Pci.lookup_class_name but returns the name of the PCI vendor with ID id.
lookup_vendor_name [Pci]
lookup_vendor_name a id is like Pci.lookup_class_name but returns the name of the PCI vendor with ID id.

W
with_access [Pci]
with_access ~cleanup f wraps the libpci calls to pci_alloc, pci_init and pci_cleanup and constructs (access:Pci_access.t) and returns f access.