Lines Matching full:ecap
1603 uint32_t ecap; in pci_find_extcap_method() local
1611 ecap = pci_read_config(child, ptr, 4); in pci_find_extcap_method()
1612 if (ecap == 0xffffffff || ecap == 0) in pci_find_extcap_method()
1615 if (PCI_EXTCAP_ID(ecap) == capability) { in pci_find_extcap_method()
1620 ptr = PCI_EXTCAP_NEXTPTR(ecap); in pci_find_extcap_method()
1623 ecap = pci_read_config(child, ptr, 4); in pci_find_extcap_method()
1640 uint32_t ecap; in pci_find_next_extcap_method() local
1647 ecap = pci_read_config(child, start, 4); in pci_find_next_extcap_method()
1648 KASSERT(PCI_EXTCAP_ID(ecap) == capability, in pci_find_next_extcap_method()
1650 ptr = PCI_EXTCAP_NEXTPTR(ecap); in pci_find_next_extcap_method()
1652 ecap = pci_read_config(child, ptr, 4); in pci_find_next_extcap_method()
1653 if (PCI_EXTCAP_ID(ecap) == capability) { in pci_find_next_extcap_method()
1658 ptr = PCI_EXTCAP_NEXTPTR(ecap); in pci_find_next_extcap_method()