pci_find_next_ht_capability(9)

pci_find_next_ht_capability9

Query a device's hypertransport capabilities

Usage

int pci_find_next_ht_capability(struct pci_dev * dev, int pos, int ht_cap);

Arguments

dev

PCI device to query

pos

Position from which to continue searching

ht_cap

Hypertransport capability code

Overview

To be used in conjunction with pci_find_ht_capability to search for all capabilities matching ht_cap. pos should always be a value returned from pci_find_ht_capability.

NB. To be 100% safe against broken PCI devices, the caller should take steps to avoid an infinite loop.

Releases

6 releases since Debian 4.0 (Etch); the text changed 5 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.