Lines Matching defs:ht_cap
623 static int __pci_find_next_ht_cap(struct pci_dev *dev, int pos, int ht_cap)
628 if (ht_cap == HT_CAPTYPE_SLAVE || ht_cap == HT_CAPTYPE_HOST)
640 if ((cap & mask) == ht_cap)
654 * @ht_cap: Hypertransport capability code
657 * all capabilities matching @ht_cap. @pos should always be a value returned
663 int pci_find_next_ht_capability(struct pci_dev *dev, int pos, int ht_cap)
665 return __pci_find_next_ht_cap(dev, pos + PCI_CAP_LIST_NEXT, ht_cap);
672 * @ht_cap: Hypertransport capability code
678 * which has a Hypertransport capability matching @ht_cap.
680 int pci_find_ht_capability(struct pci_dev *dev, int ht_cap)
686 pos = __pci_find_next_ht_cap(dev, pos, ht_cap);