Lines Matching refs:ht_cap
220 static int __pci_find_next_ht_cap(struct pci_dev *dev, int pos, int ht_cap)
225 if (ht_cap == HT_CAPTYPE_SLAVE || ht_cap == HT_CAPTYPE_HOST)
237 if ((cap & mask) == ht_cap)
251 * @ht_cap: Hypertransport capability code
254 * all capabilities matching @ht_cap. @pos should always be a value returned
260 int pci_find_next_ht_capability(struct pci_dev *dev, int pos, int ht_cap)
262 return __pci_find_next_ht_cap(dev, pos + PCI_CAP_LIST_NEXT, ht_cap);
269 * @ht_cap: Hypertransport capability code
275 * which has a Hypertransport capability matching @ht_cap.
277 int pci_find_ht_capability(struct pci_dev *dev, int ht_cap)
283 pos = __pci_find_next_ht_cap(dev, pos, ht_cap);