Lines Matching defs:ht_cap
651 static u8 __pci_find_next_ht_cap(struct pci_dev *dev, u8 pos, int ht_cap)
656 if (ht_cap == HT_CAPTYPE_SLAVE || ht_cap == HT_CAPTYPE_HOST)
668 if ((cap & mask) == ht_cap)
683 * @ht_cap: HyperTransport capability code
686 * all capabilities matching @ht_cap. @pos should always be a value returned
692 u8 pci_find_next_ht_capability(struct pci_dev *dev, u8 pos, int ht_cap)
694 return __pci_find_next_ht_cap(dev, pos + PCI_CAP_LIST_NEXT, ht_cap);
701 * @ht_cap: HyperTransport capability code
707 * which has a HyperTransport capability matching @ht_cap.
709 u8 pci_find_ht_capability(struct pci_dev *dev, int ht_cap)
715 pos = __pci_find_next_ht_cap(dev, pos, ht_cap);