Lines Matching defs:capability

834 	 * Read capability entries.
839 printf("illegal PCI extended capability offset %d\n",
859 /* Determine HT-specific capability type. */
927 * capability. Note that some systems with
1377 * Find the requested HyperTransport capability and return the offset
1382 pci_find_htcap_method(device_t dev, device_t child, int capability, int *capreg)
1392 * Traverse the capabilities list checking each HT capability
1393 * to see if it matches the requested HT capability.
1397 if (capability == PCIM_HTCAP_SLAVE ||
1398 capability == PCIM_HTCAP_HOST)
1402 if (val == capability) {
1408 /* Skip to the next HT capability. */
1417 * Find the next requested HyperTransport capability after start and return
1422 pci_find_next_htcap_method(device_t dev, device_t child, int capability,
1429 ("start capability is not HyperTransport capability"));
1433 * Traverse the capabilities list checking each HT capability
1434 * to see if it matches the requested HT capability.
1437 /* Skip to the next HT capability. */
1442 if (capability == PCIM_HTCAP_SLAVE ||
1443 capability == PCIM_HTCAP_HOST)
1447 if (val == capability) {
1458 * Find the requested capability and return the offset in
1463 pci_find_cap_method(device_t dev, device_t child, int capability,
1499 if (pci_read_config(child, ptr + PCICAP_ID, 1) == capability) {
1511 * Find the next requested capability after start and return the offset in
1516 pci_find_next_cap_method(device_t dev, device_t child, int capability,
1521 KASSERT(pci_read_config(child, start + PCICAP_ID, 1) == capability,
1522 ("start capability is not expected capability"));
1526 if (pci_read_config(child, ptr + PCICAP_ID, 1) == capability) {
1538 * Find the requested extended capability and return the offset in
1543 pci_find_extcap_method(device_t dev, device_t child, int capability,
1560 if (PCI_EXTCAP_ID(ecap) == capability) {
1575 * Find the next requested extended capability after start and return the
1580 pci_find_next_extcap_method(device_t dev, device_t child, int capability,
1593 KASSERT(PCI_EXTCAP_ID(ecap) == capability,
1594 ("start extended capability is not expected capability"));
1598 if (PCI_EXTCAP_ID(ecap) == capability) {
1769 /* MSI-X capability present? */
2237 * Adjusts a PCI-e capability register by clearing the bits in mask
2535 /* MSI capability present? */