Lines Matching defs:capability
874 * Read capability entries.
879 printf("illegal PCI extended capability offset %d\n",
899 /* Determine HT-specific capability type. */
967 * capability. Note that some systems with
1429 * Find the requested HyperTransport capability and return the offset
1434 pci_find_htcap_method(device_t dev, device_t child, int capability, int *capreg)
1444 * Traverse the capabilities list checking each HT capability
1445 * to see if it matches the requested HT capability.
1449 if (capability == PCIM_HTCAP_SLAVE ||
1450 capability == PCIM_HTCAP_HOST)
1454 if (val == capability) {
1460 /* Skip to the next HT capability. */
1469 * Find the next requested HyperTransport capability after start and return
1474 pci_find_next_htcap_method(device_t dev, device_t child, int capability,
1481 ("start capability is not HyperTransport capability"));
1485 * Traverse the capabilities list checking each HT capability
1486 * to see if it matches the requested HT capability.
1489 /* Skip to the next HT capability. */
1494 if (capability == PCIM_HTCAP_SLAVE ||
1495 capability == PCIM_HTCAP_HOST)
1499 if (val == capability) {
1510 * Find the requested capability and return the offset in
1515 pci_find_cap_method(device_t dev, device_t child, int capability,
1550 * maximum number of caps: capability needs at least id and
1554 if (pci_read_config(child, ptr + PCICAP_ID, 1) == capability) {
1566 * Find the next requested capability after start and return the offset in
1571 pci_find_next_cap_method(device_t dev, device_t child, int capability,
1576 KASSERT(pci_read_config(child, start + PCICAP_ID, 1) == capability,
1577 ("start capability is not expected capability"));
1581 if (pci_read_config(child, ptr + PCICAP_ID, 1) == capability) {
1593 * Find the requested extended capability and return the offset in
1598 pci_find_extcap_method(device_t dev, device_t child, int capability,
1615 if (PCI_EXTCAP_ID(ecap) == capability) {
1630 * Find the next requested extended capability after start and return the
1635 pci_find_next_extcap_method(device_t dev, device_t child, int capability,
1648 KASSERT(PCI_EXTCAP_ID(ecap) == capability,
1649 ("start extended capability is not expected capability"));
1653 if (PCI_EXTCAP_ID(ecap) == capability) {
1824 /* MSI-X capability present? */
2307 * Adjusts a PCI-e capability register by clearing the bits in mask
2607 /* MSI capability present? */